Contains a character reference to a C0 control character (form-feed), legal in XML 1.1 but not 1.0
<?xml version="1.1" encoding="iso-8859-1"?> <!-- Contains a character reference to a C0 control character (form-feed), legal in XML 1.1 but not 1.0 --> <!DOCTYPE foo [ <!ELEMENT foo ANY> ]> <foo></foo>
Expected result | Actual result for oracle.xml.parser.v2.SAXParser |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <startElement> <namespaceURI/> <localName>foo</localName> <qualifiedName>foo</qualifiedName> <attributes/> </startElement> <char>\uC</char> <endElement> <namespaceURI/> <localName>foo</localName> <qualifiedName>foo</qualifiedName> </endElement> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <startElement> <namespaceURI/> <localName>foo</localName> <qualifiedName>foo</qualifiedName> <attributes/> </startElement> <char>&</char> <char>#</char> <char>x</char> <char>0</char> <char>c</char> <char>;</char> <endElement> <namespaceURI/> <localName>foo</localName> <qualifiedName>foo</qualifiedName> </endElement> <fatalError/> <fatalError/> </ConformanceResults> |