No, what you're describing does NOT require any option on the parser. The parser will act according to the XML declaration in your file, or lack of. So, if you don't have any XML declaration or if you have one and it specifies it is an XML 1.0 file (with version="1.0") the parser will enforce 1.0 conformance.
Only when you have an XML declaration with version="1.1" in your file the parser will use 1.1 conformance rules.
No, that's not at all what I want. In XML 1.0, XML 1.1 documents are malformed. They have been for years. An XML 1.0 parser will reject an XML 1.1 document. This is the behavior I need. I don't want auto-detection. I want XML 1.1 documents dropped on the floor with a fatal error as the XML 1.0 specification requires. I do not want to process them.
--
Elliotte Rusty Harold [EMAIL PROTECTED] Effective XML (Addison-Wesley, 2003) http://www.cafeconleche.org/books/effectivexml http://www.amazon.com/exec/obidos/ISBN%3D0321150406/ref%3Dnosim/cafeaulaitA
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
