XML processing experiments

Jarle Stabell jarle.stabell at dokpro.uio.no
Fri Nov 7 17:08:51 GMT 1997


Richard Tobin wrote:

>I don't see how that excludes my example.  The tags and elements *do*
>begin and end in the same entity.

Sorry, the sentence "it may end in a different entity from the one it
started in" "tricked" me into not reading your example fully, I thought I
saw "a</b>c" and not "a<b/>c" (as you stated).

>(suppose foo is defined as "a<b/>c";
>then the first bit returned from "x&foo;y" is "xa".

Ok. My current design will first return PCData="x", then entity ref="foo",
and (if the client want entities expanded: PCData="a" followed by
EmptyElement="b" and then PCData="c".)
ie it may return two consecutive PCData's, with perhaps some
EntityExpansionStart and -End signals between them.
(Is this design flawed?)


Cheers,
Jarle


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list