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 #xF901.
<?xml version='1.1'?> <!DOCTYPE root SYSTEM "ibm77v15.dtd"> <root> <更node/> </root>
Expected result | Actual result for net.sf.saxon.aelfred.SAXDriver |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/xml-1.1/valid/P77/ibm77v15.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/ibm77v15.xml</systemID> </resolveEntity> <fatalError/> <endDocument/> </ConformanceResults> |