The VersionNum of the document entity is 1.1 and that of the external dtd 1.0. The external dtd contains a PI with the invalid XML1.1 but valid XML 1.0 character #x9F.
<?xml version='1.1'?> <!DOCTYPE root SYSTEM "ibm77n03.dtd"> <root>Content</root>
Expected result | Actual result for oracle.xml.parser.v2.SAXParser |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/xml-1.1/not-wf/P77/ibm77n03.dtd</systemID> </resolveEntity> <fatalError/> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/xml-1.1/not-wf/P77/ibm77n03.dtd</systemID> </resolveEntity> <processingInstruction> <target>PITarget</target> <data>\u9F\sPIData</data> </processingInstruction> <startElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> <attributes/> </startElement> <char>C</char> <char>o</char> <char>n</char> <char>t</char> <char>e</char> <char>n</char> <char>t</char> <endElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> </endElement> <fatalError/> </ConformanceResults> |