Tests includeSect with wrong field ordering. The two external subset declarations occur before the key word "INCLUDE" in the includeSect in the file ibm62n06.dtd.
<?xml version="1.0"?> <!-- syntax test for Production 62--> <!DOCTYPE animal SYSTEM "ibm62n06.dtd"> <animal> <tiger/> Negative test. Wrong Ordering. External subset declaration prior to the keyword INCLUDE </animal>
Expected result | Actual result for org.dom4j.io.aelfred.SAXDriver |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/not-wf/P62/ibm62n06.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/P62/ibm62n06.xml</systemID> </resolveEntity> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/not-wf/P62/ibm62n06.dtd</systemID> </resolveEntity> <fatalError/> <endDocument/> </ConformanceResults> |