Second-level external general entity has later version number than first-level, but not later than document, so not an error.
<?xml version="1.1"?> <!-- Second-level external general entity has later version number than first-level, but not later than document, so not an error. --> <!DOCTYPE foo [ <!ELEMENT foo ANY> <!ENTITY ent1 SYSTEM "006_1.ent"> <!ENTITY ent2 SYSTEM "006_2.ent"> ]> <foo>&ent1;</foo>
Expected result | Actual result for net.sf.saxon.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/006_1.ent</systemID> </resolveEntity> <char>\n</char> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/eduni/xml-1.1/006_2.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> <char>\n</char> <endElement> <namespaceURI/> <localName>foo</localName> <qualifiedName>foo</qualifiedName> </endElement> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/eduni/xml-1.1/006.xml</systemID> </resolveEntity> <fatalError/> <endDocument/> </ConformanceResults> |