The VersionNum of the document entity is 1.1 but the external dtd does not contain a textDecl and both contain the valid XML1.1 but invalid XML1.0 character #xF8.
<?xml version='1.1'?> <!DOCTYPE root SYSTEM "ibm77v13.dtd"> <root> <ønode/> </root>
Expected result | Actual result for org.apache.crimson.parser.XMLReaderImpl |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/xml-1.1/valid/P77/ibm77v13.dtd</systemID> </resolveEntity> <startElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> <attributes/> </startElement> <char>\n</char> <char>\s</char> <startElement> <namespaceURI/> <localName>ønode</localName> <qualifiedName>ønode</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI/> <localName>ønode</localName> <qualifiedName>ønode</qualifiedName> </endElement> <char>\n</char> <endElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> </endElement> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/xml-1.1/valid/P77/ibm77v13.dtd</systemID> </resolveEntity> <startElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> <attributes/> </startElement> <char>\n</char> <char>\s</char> <startElement> <namespaceURI/> <localName>ønode</localName> <qualifiedName>ønode</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI/> <localName>ønode</localName> <qualifiedName>ønode</qualifiedName> </endElement> <char>\n</char> <endElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> </endElement> <endDocument/> </ConformanceResults> |