This test contains embeded control character 0x7F.
<?xml version="1.1" encoding="UTF-8"?> <!-- Bad Comment 0x7f --> <?Bad PI 0x7f ?> <root><![CDATA[ 0x7f ]]></root>
Expected result | Actual result for com.bluecast.xml.Piccolo |
---|---|
<?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\s0x7f\s\s\u7F\s</data> </processingInstruction> <startElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> <attributes/> </startElement> <char>\u7F</char> <char>\s</char> <char>0</char> <char>x</char> <char>7</char> <char>f</char> <char>\s</char> <char>\s</char> <char>\u7F</char> <endElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> </endElement> <endDocument/> </ConformanceResults> |