The VersionNum of the primary document entity is 1.1 and testDecl of the external dtd is absent. The external dtd contains an external entity whose VersionNum is 1.1 containing a valid XML1.0 but an invalid XML 1.1 character #x7F.
<?xml version='1.1'?> <!DOCTYPE root SYSTEM "ibm77n15.dtd"> <root>&e;</root>
Expected result | Actual result for com.jclark.xml.sax.SAX2Driver |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/xml-1.1/not-wf/P77/ibm77n15.dtd</systemID> </resolveEntity> <startElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> <attributes/> </startElement> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/xml-1.1/not-wf/P77/ibm77n15.ent</systemID> </resolveEntity> <char>\n</char> <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/ibm77n15.dtd</systemID> </resolveEntity> <startElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> <attributes/> </startElement> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/xml-1.1/not-wf/P77/ibm77n15.ent</systemID> </resolveEntity> <char>\n</char> <processingInstruction> <target>PITarget</target> <data>\u7F\s</data> </processingInstruction> <char>\n</char> <char>\n</char> <char>\n</char> <endElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> </endElement> <endDocument/> </ConformanceResults> |