Tests ignoreSectContents with a required field missing.The beginning sequence is missing in the ignoreSectContents in the file ibm64n03.dtd.
<?xml version="1.0"?> <!-- syntax test for Production 64--> <!DOCTYPE animal SYSTEM "ibm64n03.dtd" [ <!ELEMENT animal ANY> ]> <animal> Negative Test. Pattern4. Missing opening sequence. </animal>
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/P64/ibm64n03.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/ibm64n03.dtd</systemID> </resolveEntity> <fatalError/> </ConformanceResults> |