[Home] [By Thread] [By Date] [Recent Entries]

  • From: Jarle Stabell <jarle.stabell@d...>
  • To: xml-dev@i...
  • Date: Fri, 07 Nov 1997 18:11:57 +0100

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@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member