Tests ignoreSectContents for P64. One "ignore" field is included.
<?xml version="1.0"?> <!-- syntax test for Production 64--> <!DOCTYPE animal SYSTEM "ibm64v01.dtd" [ <!ELEMENT animal ANY> ]> <animal> Positive Test. Pattern1 </animal>
Expected result | Actual result for com.jclark.xml.sax.SAX2Driver |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/valid/P64/ibm64v01.dtd</systemID> </resolveEntity> <startElement> <namespaceURI/> <localName>animal</localName> <qualifiedName>animal</qualifiedName> <attributes/> </startElement> <char>\n</char> <char>P</char> <char>o</char> <char>s</char> <char>i</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>P</char> <char>a</char> <char>t</char> <char>t</char> <char>e</char> <char>r</char> <char>n</char> <char>1</char> <char>\n</char> <endElement> <namespaceURI/> <localName>animal</localName> <qualifiedName>animal</qualifiedName> </endElement> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/valid/P64/ibm64v01.dtd</systemID> </resolveEntity> <startElement> <namespaceURI/> <localName>animal</localName> <qualifiedName>animal</qualifiedName> <attributes/> </startElement> <char>\n</char> <char>P</char> <char>o</char> <char>s</char> <char>i</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>P</char> <char>a</char> <char>t</char> <char>t</char> <char>e</char> <char>r</char> <char>n</char> <char>1</char> <char>\n</char> <endElement> <namespaceURI/> <localName>animal</localName> <qualifiedName>animal</qualifiedName> </endElement> <endDocument/> </ConformanceResults> |