Tests extSubset with wrong field ordering. In the file "ibm30n01.dtd", the TextDecl occurs after the extSubsetDecl (the element declaration).
<!DOCTYPE animal SYSTEM "ibm30n01.dtd"> <animal/> <!-- Wrong ordering extSubsetDecl TextDecl in the external DTD -->
| Expected result | Actual result for oracle.xml.parser.v2.SAXParser |
|---|---|
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
<startDocument/>
<resolveEntity>
<systemID>file:/home/elharo/SAXTest/xmlconf/ibm/not-wf/P30/ibm30n01.dtd</systemID>
</resolveEntity>
<fatalError/>
<endDocument/>
</ConformanceResults>
| <?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
<startDocument/>
<resolveEntity>
<systemID>file:/home/elharo/SAXTest/xmlconf/ibm/not-wf/P30/ibm30n01.dtd</systemID>
</resolveEntity>
<startElement>
<namespaceURI/>
<localName>animal</localName>
<qualifiedName>animal</qualifiedName>
<attributes/>
</startElement>
<endElement>
<namespaceURI/>
<localName>animal</localName>
<qualifiedName>animal</qualifiedName>
</endElement>
<fatalError/>
</ConformanceResults>
|