The original document is too malformed to include but you can find it here.
A form feed is not a legal XML character.
Expected result | Actual result for oracle.xml.parser.v2.SAXParser |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <startElement> <namespaceURI/> <localName>doc</localName> <qualifiedName>doc</qualifiedName> <attributes/> </startElement> <fatalError/> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <startElement> <namespaceURI/> <localName>doc</localName> <qualifiedName>doc</qualifiedName> <attributes/> </startElement> <processingInstruction> <target>pi</target> <data>a\sform\sfeed\s(\uC)\sis\snot\sallowed\sin\sa\spi</data> </processingInstruction> <endElement> <namespaceURI/> <localName>doc</localName> <qualifiedName>doc</qualifiedName> </endElement> <endDocument/> </ConformanceResults> |