Tests includeSect with a required field missing. The "]" is missing after the key word "INCLUDE" in the includeSect in the file ibm62n05.dtd.
<?xml version="1.0"?> <!-- syntax test for Production 62--> <!DOCTYPE animal SYSTEM "ibm62n05.dtd"> <animal> <tiger/> Negative test. Missing the required field '[' after INCLUDE. </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/P62/ibm62n05.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/ibm62n05.dtd</systemID> </resolveEntity> <startElement> <namespaceURI/> <localName>animal</localName> <qualifiedName>animal</qualifiedName> <attributes/> </startElement> <ignorable>\n</ignorable> <ignorable>\s</ignorable> <startElement> <namespaceURI/> <localName>tiger</localName> <qualifiedName>tiger</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI/> <localName>tiger</localName> <qualifiedName>tiger</qualifiedName> </endElement> <char>\n</char> <char>N</char> <char>e</char> <char>g</char> <char>a</char> <char>t</char> <char>i</char> <char>v</char> <char>e</char> <char>\s</char> <char>t</char> <char>e</char> <char>s</char> <char>t</char> <char>.</char> <char>\s</char> <char>\s</char> <char>M</char> <char>i</char> <char>s</char> <char>s</char> <char>i</char> <char>n</char> <char>g</char> <char>\s</char> <char>t</char> <char>h</char> <char>e</char> <char>\s</char> <char>r</char> <char>e</char> <char>q</char> <char>u</char> <char>i</char> <char>r</char> <char>e</char> <char>d</char> <char>\s</char> <char>f</char> <char>i</char> <char>e</char> <char>l</char> <char>d</char> <char>\s</char> <char>'</char> <char>[</char> <char>'</char> <char>\s</char> <char>a</char> <char>f</char> <char>t</char> <char>e</char> <char>r</char> <char>\s</char> <char>I</char> <char>N</char> <char>C</char> <char>L</char> <char>U</char> <char>D</char> <char>E</char> <char>.</char> <char>\n</char> <endElement> <namespaceURI/> <localName>animal</localName> <qualifiedName>animal</qualifiedName> </endElement> <fatalError/> </ConformanceResults> |