This test contains embeded control character 0x9D.
<?xml version="1.1" encoding="UTF-8"?> <!-- Bad Comment 0x9d --> <?Bad PI 0x9d ?> <root><![CDATA[ 0x9d ]]></root>
Expected result | Actual result for gnu.xml.aelfred2.XmlReader |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <fatalError/> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <processingInstruction> <target>Bad</target> <data>PI\s0x9d\s\s\u9D\s</data> </processingInstruction> <endDocument/> <bug reason="Parser should only throw SAXExceptions" type="java.lang.ArrayIndexOutOfBoundsException">0 >= 0</bug> </ConformanceResults> |