[XML-DEV Mailing List Archive Home]
[By Thread]
[By Date]
xml prolog - what am I missing?
- To: xml-dev@...
- Subject: xml prolog - what am I missing?
- From: Chris Bentley <chris@...>
- Date: Thu, 20 May 2004 01:59:15 +1000
Hi, I'm confused can some put me right;
I keep seeing references alluding to the fact that a document type
declaration IS NOT part of an XML prolog.
e.g., http://tantek.com/XHTML/Test/minimal.html amongst others.
My confusion comes from my reading of the XML 1.0 spec
"prolog ::= XMLDecl? Misc* (doctypedecl Misc*)?"
http://www.w3.org/TR/2004/REC-xml-20040204/#sec-prolog-dtd
..doesn't this mean that a document type declaration IS part of an XML
prolog?
TIA,
Chris Bentley
|