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


Help: OASIS Mailing Lists Help | MarkMail Help



   A nice propeller head XML question :-)

[ Lists Home | Date Index | Thread Index ]
  • From: Dean Roddey <roddey@us.ibm.com>
  • To: <xml-dev@ic.ac.uk>
  • Date: Fri, 11 Sep 1998 19:56:52 -0400

If the expansion of an entity reference is required to have a space on either
side of the expanded text, correct? If so, then something like this must be

<!%Foo; Bar 'Baz'>

right? Because the expansion of Foo requires that spaces be placed on either
side, creating this:

<! ENTITY Bar 'Baz'>

and the production for a PE declaration is:

PEDecl ::=  '<!ENTITY' S '%' S Name S PEDef S? '>'

which does not allow any space between the ! and ENTITY.

Is this correct? Basically what I'm looking for here is a more general rule
which says that I can consider any %blah; occurance at some place in the
grammar that does not allow spaces at that point to be in error without even
checking any further?

Dean Roddey
Software Weenie
IBM Center for Java Technology - Silicon Valley

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