The VersionNum of the primary document entity is 1.0 and that of the external dtd is 1.0. The external dtd contains an external entity whose VersionNum is 1.1.
<?xml version='1.0'?> <!DOCTYPE root SYSTEM "ibm77n13.dtd"> <root>&e;</root>
| Expected result | Actual result for org.apache.crimson.parser.XMLReaderImpl |
|---|---|
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
<startDocument/>
<resolveEntity>
<systemID>file:/home/elharo/SAXTest/xmlconf/ibm/xml-1.1/not-wf/P77/ibm77n13.dtd</systemID>
</resolveEntity>
<startElement>
<namespaceURI/>
<localName>root</localName>
<qualifiedName>root</qualifiedName>
<attributes/>
</startElement>
<resolveEntity>
<systemID>file:/home/elharo/SAXTest/xmlconf/ibm/xml-1.1/not-wf/P77/ibm77n13.ent</systemID>
</resolveEntity>
<fatalError/>
<endDocument/>
</ConformanceResults>
| <?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
<startDocument/>
<resolveEntity>
<systemID>file:/home/elharo/SAXTest/xmlconf/ibm/xml-1.1/not-wf/P77/ibm77n13.dtd</systemID>
</resolveEntity>
<startElement>
<namespaceURI/>
<localName>root</localName>
<qualifiedName>root</qualifiedName>
<attributes/>
</startElement>
<resolveEntity>
<systemID>file:/home/elharo/SAXTest/xmlconf/ibm/xml-1.1/not-wf/P77/ibm77n13.ent</systemID>
</resolveEntity>
<char>\n</char>
<char>\n</char>
<endElement>
<namespaceURI/>
<localName>root</localName>
<qualifiedName>root</qualifiedName>
</endElement>
<endDocument/>
</ConformanceResults>
|