This test contains embeded control characters x82, x83 and x84.
<?xml version="1.1" encoding="UTF-8"?> <!-- Bad Comment 0x82 --> <?Bad PI 0x83 ?> <root><![CDATA[ 0x84 ]]></root>
Expected result | Actual result for org.apache.crimson.parser.XMLReaderImpl |
---|---|
<?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\s0x83\s\s\u83\s</data> </processingInstruction> <startElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> <attributes/> </startElement> <char>\s</char> <char>0</char> <char>x</char> <char>8</char> <char>4</char> <char>\s</char> <char>\s</char> <char>\u84</char> <endElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> </endElement> <endDocument/> </ConformanceResults> |