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: "Didier PH Martin" <martind@netfolder.com>
  • To: "David Megginson" <david@megginson.com>
  • Date: Sun, 2 Apr 2000 14:42:31 -0400

Hi David,

> Didier replies:
> So, if I understand well, these parser automatically turn on the
> process when a DOCTYPE is encountered in the file. You have to manually
> off validation with an command line option. Is that right? I'll enter that
> info in my notebook.

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

So, to be more precise, can we say that the DTD can be considered part of
the document, expecially if the DTD may contains external entities

As Steve pointed that out, if the standalone="yes" attribute/value is
included in the xml declaration, then what the parser does if external
entities are present in the XML document and that these external entities
are declared in the DTD? Are these external entities unresolved?

Didier PH Martin
Email: martind@netfolder.com
Conferences: XML Europe (http://www.gca.org)
Book: XML Professional (http://www.wrox.com)
column: Style Matters (http://www.xml.com)
Products: http://www.netfolder.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