[Home] [By Thread] [By Date] [Recent Entries]

  • From: David Megginson <david@m...>
  • To: XML-Dev List <xml-dev@X...>
  • Date: Sun, 2 Apr 2000 14:52:43 -0400 (EDT)

Didier PH Martin writes:

 > David said:
 > Wrong.  Non-validating processors can also include the external DTD
 > subset (it's optional for them, not forbidden).
 > 
 > Didier replies:
 > Is this because a DTD can contain external entities declarations and because
 > of this fact, the parser has to read the DTD to resolve these external
 > entities?

More likely, because it's (a) looking for default attribute values, or 
(b) trying to distinguish whitespace in element content.  AElfred does 
both of these, even though it's non-validating.  I agree with Peter
that this is all a bit of a muddle.

The safest approach seems to be to distribute XML documents normalized
(all external general entities expanded and all default attribute
values filled in) and without a DOCTYPE declaration.  Mind you, that
prevents them from being XHTML-conformant...


All the best,


David

-- 
David Megginson                 david@m...
           http://www.megginson.com/

***************************************************************************
This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member