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 oracle.xml.parser.v2.SAXParser |
---|---|
<?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> <char>&</char> <char>#</char> <char>x</char> <char>F</char> <char>F</char> <char>F</char> <char>E</char> <char>;</char> <char>\s</char> <char>0</char> <char>x</char> <char>F</char> <char>F</char> <char>F</char> <char>E</char> <char>\s</char> <char>\s</char> <char>&</char> <char>#</char> <char>x</char> <char>F</char> <char>F</char> <char>F</char> <char>E</char> <char>;</char> <char>\s</char> <endElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> </endElement> <fatalError/> <fatalError/> </ConformanceResults> |