parsing entity values

Chris Olds colds at nwlink.com
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
>
>  <=>
>
>not
>
>  &#60;=&#62;
>
>and should be detected as a syntax error if &elt; occurred in the
>body.


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?

    /cco


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