The VersionNum of the primary document entity is absent and that of the external entity is 1.0. The textDecl in the external entity contains an invalid XML1.0 but valid XML 1.1 enf of line character NEL #x85.
<!DOCTYPE doc [ <!ELEMENT doc (root*)> <!ELEMENT root EMPTY> <!ENTITY e SYSTEM "ibm77n17.ent"> ]> <doc>&e;</doc>
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> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/xml-1.1/not-wf/P77/ibm77n17.ent</systemID> </resolveEntity> <fatalError/> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <startElement> <namespaceURI/> <localName>doc</localName> <qualifiedName>doc</qualifiedName> <attributes/> </startElement> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/xml-1.1/not-wf/P77/ibm77n17.ent</systemID> </resolveEntity> <char>οΎ…</char> <char>\s</char> <char>e</char> <char>n</char> <char>c</char> <char>o</char> <char>d</char> <char>i</char> <char>n</char> <char>g</char> <char>=</char> <char>'</char> <char>U</char> <char>T</char> <char>F</char> <char>-</char> <char>8</char> <char>'</char> <char>?</char> <char>></char> <char>\n</char> <endElement> <namespaceURI/> <localName>doc</localName> <qualifiedName>doc</qualifiedName> </endElement> <fatalError/> </ConformanceResults> |