Tests ignoreSect for P63. The white space is not included before the key word "IGNORE" in the beginning sequence.
<?xml version="1.0"?> <!-- syntax test for Production 63--> <!DOCTYPE animal SYSTEM "ibm63v01.dtd" [ <!ELEMENT animal ANY> <!ELEMENT tiger (#PCDATA)> <!ATTLIST animal a (tiger) #REQUIRED> ]> <animal a = "tiger"> Positive test. Test for IGNORE with pattern 1. </animal>
Expected result | Actual result for net.sf.saxon.aelfred.SAXDriver |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/valid/P63/ibm63v01.dtd</systemID> </resolveEntity> <startElement> <namespaceURI/> <localName>animal</localName> <qualifiedName>animal</qualifiedName> <attributes> <attribute> <namespaceURI/> <localName>a</localName> <qualifiedName>a</qualifiedName> <value>tiger</value> <type>NMTOKEN</type> </attribute> </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>T</char> <char>e</char> <char>s</char> <char>t</char> <char>\s</char> <char>f</char> <char>o</char> <char>r</char> <char>\s</char> <char>I</char> <char>G</char> <char>N</char> <char>O</char> <char>R</char> <char>E</char> <char>\s</char> <char>w</char> <char>i</char> <char>t</char> <char>h</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>\s</char> <char>1</char> <char>.</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/P63/ibm63v01.xml</systemID> </resolveEntity> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/valid/P63/ibm63v01.dtd</systemID> </resolveEntity> <startElement> <namespaceURI/> <localName>animal</localName> <qualifiedName>animal</qualifiedName> <attributes> <attribute> <namespaceURI/> <localName>a</localName> <qualifiedName>a</qualifiedName> <value>tiger</value> <type>NMTOKEN</type> </attribute> </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>T</char> <char>e</char> <char>s</char> <char>t</char> <char>\s</char> <char>f</char> <char>o</char> <char>r</char> <char>\s</char> <char>I</char> <char>G</char> <char>N</char> <char>O</char> <char>R</char> <char>E</char> <char>\s</char> <char>w</char> <char>i</char> <char>t</char> <char>h</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>\s</char> <char>1</char> <char>.</char> <char>\n</char> <endElement> <namespaceURI/> <localName>animal</localName> <qualifiedName>animal</qualifiedName> </endElement> <endDocument/> </ConformanceResults> |