External general entity has implausible version number
<?xml version="1.0"?> <!-- External general entity has implausible version number --> <!DOCTYPE foo [ <!ELEMENT foo ANY> <!ENTITY ent SYSTEM "009.ent"> ]> <foo>&ent;</foo>
Expected result | Actual result for com.jclark.xml.sax.SAX2Driver |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <startElement> <namespaceURI/> <localName>foo</localName> <qualifiedName>foo</qualifiedName> <attributes/> </startElement> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/eduni/xml-1.1/009.ent</systemID> </resolveEntity> <fatalError/> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <startElement> <namespaceURI/> <localName>foo</localName> <qualifiedName>foo</qualifiedName> <attributes/> </startElement> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/eduni/xml-1.1/009.ent</systemID> </resolveEntity> <char>\n</char> <char>s</char> <char>o</char> <char>m</char> <char>e</char> <char>\s</char> <char>t</char> <char>e</char> <char>x</char> <char>t</char> <char>\n</char> <endElement> <namespaceURI/> <localName>foo</localName> <qualifiedName>foo</qualifiedName> </endElement> <endDocument/> </ConformanceResults> |