Tests ignoreSectContents with wrong beginning sequence. The "?" occurs in beginning sequence the ignoreSectContents in the file ibm64n01.dtd.
<?xml version="1.0"?> <!-- syntax test for Production 64--> <!DOCTYPE animal SYSTEM "ibm64n01.dtd" [ <!ELEMENT animal ANY> ]> <animal> Negative Test. Pattern2. Wrong character. </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/P64/ibm64n01.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/P64/ibm64n01.xml</systemID> </resolveEntity> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/not-wf/P64/ibm64n01.dtd</systemID> </resolveEntity> <fatalError/> <endDocument/> </ConformanceResults> |