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


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: Parameter Entity Replacement and the XML 1.0 Grammar

[ Lists Home | Date Index | Thread Index ]
  • From: James Clark <jjc@jclark.com>
  • To: Tony Graham <tgraham@mulberrytech.com>
  • Date: Thu, 18 Nov 1999 14:07:51 +0700

Tony Graham wrote:
> At 17 Nov 1999 10:24 -0500, G. Ken Holman wrote:
>  > Today I started using a validating parser on the source file and it is
>  > choking on the entity declaration.
>  >
>  > I immediately thought the new parser I was using was at fault, but thought
>  > I'd check XML 1.0 and saw that perhaps parameter entity references are not
>  > allowed according to the grammar:
> ...
>  > So, my question is:  Does 4.4.8 take precedence over the grammar
>  > productions (the new parser is incorrect), or is the behaviour I am used to
>  > not correct (XT is incorrect)?
> 4.4.8 also says that "its replacement text is enlarged by the
> attachment of one leading and one following space (#x20) character".

But not inside a literal entity value. See 4.4.5.


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/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo@ic.ac.uk the following message;
unsubscribe 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