Tests ignoreSect with wrong key word. The string "ignore" is used as a key word in the beginning sequence in the ignoreSect in the file ibm63n01.dtd.
<?xml version="1.0"?> <!-- syntax test for Production 63--> <!DOCTYPE animal SYSTEM "ibm63n01.dtd" [ <!ELEMENT animal ANY> <!ELEMENT tiger (#PCDATA)> <!ATTLIST animal a (tiger) #REQUIRED> ]> <animal a = "TIGER1"> Negative test. Case sensitive(ignore is used instead of IGNORE). </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/P63/ibm63n01.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/P63/ibm63n01.xml</systemID> </resolveEntity> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/not-wf/P63/ibm63n01.dtd</systemID> </resolveEntity> <fatalError/> <endDocument/> </ConformanceResults> |