W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > January to March 2001

XML schema DTD not well formed?

From: Liam Quin <liam@holoweb.net>
Date: Mon, 5 Mar 2001 06:10:05 -0500
To: www-xml-schema-comments@w3.org
Message-ID: <20010305061005.A95201@dirk.holoweb.net>
How does the use of paramter entities in the DTD for a schema
relate to 4.4.8 of XML1.0,
    When a parmeter-entity reference is recognized in teh DTD and included,
    its replacment text si enlarged by the attacment of one leading
    and one following space
?

In other words, the following is illegal in XML 1.0 as I understand it:
<!ENTITY prefix 'x:'>
<!ELEMENT %prefix;nwf (Not,well,formed)>

But this is precisely what that DTD in XSchema 1 advocates.

The XML spec continues,
"The intent is to constrain the replacement text
 of parameter entities to contain an integral number of grammatical
 tokens in the DTD."

Half a name isn't an integral numher of tokens, please fix.

Thanks

Lee

-- 
Liam Quin - Barefoot in Toronto - liam@holoweb.net - http://www.holoweb.net/
Ankh: irc.sorcery.net www.valinor.sorcery.net irc.gnome.org www.advogato.org
author, The Open Source XML Database Toolkit, Wiley, August 2000
Co-author, The XML Specification Guide, Wiley, 1999
Received on Monday, 5 March 2001 06:10:06 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:12:49 GMT