This test contains a reference to character 0xFFFE.
<?xml version="1.1" encoding="UTF-8"?> <!-- Bad Comment 0xFFFE --> <?Bad PI 0xFFFE  ?> <root><![CDATA[ 0xFFFE  ]]></root>
Expected result | Actual result for com.jclark.xml.sax.SAX2Driver |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <processingInstruction> <target>Bad</target> <data>PI\s0xFFFE\s&#xFFFE;\s</data> </processingInstruction> <startElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> <attributes/> </startElement> <fatalError/> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <processingInstruction> <target>Bad</target> <data>PI\s0xFFFE\s&#xFFFE;\s</data> </processingInstruction> <startElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> <attributes/> </startElement> <fatalError/> </ConformanceResults> |