Tests includeSect with wrong key word. The string "include" is used as a key word in the beginning sequence in the includeSect in the file ibm62n01.dtd.
<?xml version="1.0"?> <!-- syntax test for Production 62--> <!DOCTYPE animal SYSTEM "ibm62n01.dtd"> <animal> <tiger/> Negative test. Test includeSect with include(Case sensitive) </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/P62/ibm62n01.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/ibm62n01.dtd</systemID>
</resolveEntity>
<endDocument/>
<bug reason="Parser should only throw SAXExceptions" type="java.lang.NullPointerException"/>
</ConformanceResults>
|