Tests includeSect for P62. The white space is included before the key word "INCLUDE" in the beginning sequence.
<?xml version="1.0"?> <!-- syntax test for Production 62--> <!DOCTYPE animal SYSTEM "ibm62v04.dtd"> <animal> <tiger/> Positive test. Test includeSect with pattern4 of p62. space included before and after INCLUDE </animal>
Expected result | Actual result for org.dom4j.io.aelfred.SAXDriver |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/valid/P62/ibm62v04.dtd</systemID> </resolveEntity> <startElement> <namespaceURI/> <localName>animal</localName> <qualifiedName>animal</qualifiedName> <attributes/> </startElement> <char>\n</char> <char>\s</char> <startElement> <namespaceURI/> <localName>tiger</localName> <qualifiedName>tiger</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI/> <localName>tiger</localName> <qualifiedName>tiger</qualifiedName> </endElement> <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>i</char> <char>n</char> <char>c</char> <char>l</char> <char>u</char> <char>d</char> <char>e</char> <char>S</char> <char>e</char> <char>c</char> <char>t</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>4</char> <char>\s</char> <char>o</char> <char>f</char> <char>\s</char> <char>p</char> <char>6</char> <char>2</char> <char>.</char> <char>\n</char> <char>s</char> <char>p</char> <char>a</char> <char>c</char> <char>e</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>d</char> <char>\s</char> <char>b</char> <char>e</char> <char>f</char> <char>o</char> <char>r</char> <char>e</char> <char>\s</char> <char>a</char> <char>n</char> <char>d</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>\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/P62/ibm62v04.xml</systemID> </resolveEntity> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/valid/P62/ibm62v04.dtd</systemID> </resolveEntity> <startElement> <namespaceURI/> <localName>animal</localName> <qualifiedName>animal</qualifiedName> <attributes/> </startElement> <char>\n</char> <char>\s</char> <startElement> <namespaceURI/> <localName>tiger</localName> <qualifiedName>tiger</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI/> <localName/> <qualifiedName>tiger</qualifiedName> </endElement> <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>i</char> <char>n</char> <char>c</char> <char>l</char> <char>u</char> <char>d</char> <char>e</char> <char>S</char> <char>e</char> <char>c</char> <char>t</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>4</char> <char>\s</char> <char>o</char> <char>f</char> <char>\s</char> <char>p</char> <char>6</char> <char>2</char> <char>.</char> <char>\n</char> <char>s</char> <char>p</char> <char>a</char> <char>c</char> <char>e</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>d</char> <char>\s</char> <char>b</char> <char>e</char> <char>f</char> <char>o</char> <char>r</char> <char>e</char> <char>\s</char> <char>a</char> <char>n</char> <char>d</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>\n</char> <endElement> <namespaceURI/> <localName/> <qualifiedName>animal</qualifiedName> </endElement> <endDocument/> </ConformanceResults> |