This test contains embeded control character 0x8E.
<?xml version="1.1" encoding="UTF-8"?> <!-- Bad Comment 0x8e --> <?Bad PI 0x8e ?> <root><![CDATA[ 0x8e ]]></root>
Expected result | Actual result for oracle.xml.parser.v2.SAXParser |
---|---|
<?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\s0x8e\s\s\u8E\s</data> </processingInstruction> <startElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> <attributes/> </startElement> <char>\u8E</char> <char>\s</char> <char>0</char> <char>x</char> <char>8</char> <char>e</char> <char>\s</char> <char>\s</char> <char>\u8E</char> <endElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> </endElement> <fatalError/> </ConformanceResults> |