OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: parsing entity values

[ Lists Home | Date Index | Thread Index ]
  • From: "Chris Olds" <colds@nwlink.com>
  • To: "Richard Tobin" <richard@cogsci.ed.ac.uk>,"Philip J Grabner" <grabner@interdim.com>,<xml-dev@ic.ac.uk>
  • Date: Mon, 25 Jan 1999 12:09:23 -0800

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





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS