parsing entity values

Chris Olds colds at
Mon Jan 25 20:11:44 GMT 1999

One nit:

Richard Tobin wrote (a helpful explanation, ending with):
>[...] but if we had:
><!ENTITY % less "&#38;#60;">
><!ENTITY % more "&#38;#62;">
><!ENTITY elt "%less;=%more;">
>the replacement text of elt would be
>  <=>
>  &#60;=&#62;
>and should be detected as a syntax error if &elt; occurred in the

Actually, it's already a syntax error - Section 4.3.2 says that "An internal
parsed general entity is well-formed if its replacement text matches
<i>content</i>."  Do any of the available parsers indicate an error if &elt;
is not used in the document?


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

More information about the Xml-dev mailing list