Hi Alberto, Alberto Massari <[EMAIL PROTECTED]> writes:
> Also, you should modify the SAXCount example to add > > parser->useScanner(XMLUni::fgWFXMLScanner); > > that installs a scanner that ignores DTD, XMLSchema and any other > check apart well-formedness. My understanding of the XML specification is that a conforming non-validating XML parser still has to parse and check DTDs which may be needed for things like entity reference expansion and default attribute value substitution. So I don't think a conforming parser can just ignore DTDs. -boris -- Boris Kolpackov Code Synthesis Tools CC http://www.codesynthesis.com Open-Source, Cross-Platform C++ XML Data Binding
