The original document is too malformed to include but you can find it here.
This test contains embeded control character 0x0.
Expected result | Actual result for net.sf.saxon.aelfred.SAXDriver |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <processingInstruction> <target>Bad</target> <data>PI\s0x0\s\s\s\s</data> </processingInstruction> <startElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> <attributes/> </startElement> <char>\s</char> <char>\s</char> <char>0</char> <char>x</char> <char>0</char> <char>\s</char> <char>\s</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/P02/ibm02n09.xml</systemID> </resolveEntity> <fatalError/> <endDocument/> </ConformanceResults> |