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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: Parser Behaviour (serious)

[ Lists Home | Date Index | Thread Index ]
  • From: David Megginson <david@megginson.com>
  • To: XML-Dev List <xml-dev@XML.ORG>
  • 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@megginson.com
           http://www.megginson.com/

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




 

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

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