Indirect external general entity has later version number
<?xml version="1.0"?> <!-- Indirect external general entity has later version number --> <!DOCTYPE foo [ <!ELEMENT foo ANY> <!ENTITY ent1 SYSTEM "005_1.ent"> <!ENTITY ent2 SYSTEM "005_2.ent"> ]> <foo>&ent1;</foo>
Expected result | Actual result for org.dom4j.io.aelfred.SAXDriver |
---|---|
<?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/005_1.ent</systemID> </resolveEntity> <char>\n</char> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/eduni/xml-1.1/005_2.ent</systemID> </resolveEntity> <fatalError/> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/eduni/xml-1.1/005.xml</systemID> </resolveEntity> <startElement> <namespaceURI/> <localName>foo</localName> <qualifiedName>foo</qualifiedName> <attributes/> </startElement> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/eduni/xml-1.1/005_1.ent</systemID> </resolveEntity> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/eduni/xml-1.1/005_2.ent</systemID> </resolveEntity> <char>\n</char> <fatalError/> <endDocument/> </ConformanceResults> |