Tests ignoreSectContents for P64. Four "ignore" and three "ignoreSectContents" fields are included.
<?xml version="1.0"?> <!-- syntax test for Production 64--> <!DOCTYPE animal SYSTEM "ibm64v03.dtd" [ <!ELEMENT animal ANY> ]> <animal> Positive Test. Pattern3 </animal>
Expected result | Actual result for org.apache.crimson.parser.XMLReaderImpl |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/valid/P64/ibm64v03.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>3</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/ibm64v03.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>3</char> <char>\n</char> <endElement> <namespaceURI/> <localName>animal</localName> <qualifiedName>animal</qualifiedName> </endElement> <endDocument/> </ConformanceResults> |