Tests includeSect with wrong beginning sequence. An extra "[" occurs in the beginning sequence in the includeSect in the file ibm62n02.dtd.
<?xml version="1.0"?> <!-- syntax test for Production 62--> <!DOCTYPE animal SYSTEM "ibm62n02.dtd"> <animal> <tiger/> Negative test. An extra '[' is used. </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/ibm62n02.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/ibm62n02.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>A</char> <char>n</char> <char>\s</char> <char>e</char> <char>x</char> <char>t</char> <char>r</char> <char>a</char> <char>\s</char> <char>'</char> <char>[</char> <char>'</char> <char>\s</char> <char>i</char> <char>s</char> <char>\s</char> <char>u</char> <char>s</char> <char>e</char> <char>d</char> <char>.</char> <char>\n</char> <endElement> <namespaceURI/> <localName>animal</localName> <qualifiedName>animal</qualifiedName> </endElement> <fatalError/> </ConformanceResults> |