This test contains a reference to character 0xFFFF.
<?xml version="1.1" encoding="UTF-8"?> <!-- Bad Comment 0xFFFF --> <?Bad PI 0xFFFF  ?> <root><![CDATA[ 0xFFFF  ]]></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\s0xFFFF\s&#xFFFF;\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\s0xFFFF\s&#xFFFF;\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>F</char> <char>;</char> <char>\s</char> <char>0</char> <char>x</char> <char>F</char> <char>F</char> <char>F</char> <char>F</char> <char>\s</char> <char>\s</char> <char>&</char> <char>#</char> <char>x</char> <char>F</char> <char>F</char> <char>F</char> <char>F</char> <char>;</char> <char>\s</char> <endElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> </endElement> <fatalError/> <fatalError/> </ConformanceResults> |