Tests ignoreSect with a required field missing. The "]" is missing after the key word "IGNORE" in the ignoreSect in the file ibm63n05.dtd.
<?xml version="1.0"?> <!-- syntax test for Production 63--> <!DOCTYPE animal SYSTEM "ibm63n05.dtd" [ <!ELEMENT animal ANY> <!ELEMENT tiger (#PCDATA)> <!ATTLIST animal a (tiger) #REQUIRED> ]> <animal a = "TIGER1"> Negative test. Missing required field( '[' is missing after IGNORE ). </animal>
Expected result | Actual result for com.bluecast.xml.Piccolo |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/not-wf/P63/ibm63n05.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/ibm63n05.dtd</systemID> </resolveEntity> <endDocument/> <bug reason="Parser should only throw SAXExceptions" type="java.lang.NullPointerException"/> </ConformanceResults> |