Tests includeSect for P62. The white space is not included after the key word "INCLUDE" in the beginning sequence.
<?xml version="1.0"?> <!-- syntax test for Production 62--> <!DOCTYPE animal SYSTEM "ibm62v02.dtd"> <animal> <tiger/> Positive test. Test includeSect with pattern2 of p62. space included before INCLUDE </animal>
Expected result | Actual result for com.bluecast.xml.Piccolo |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/valid/P62/ibm62v02.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>2</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>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/ibm62v02.dtd</systemID> </resolveEntity> <endDocument/> <bug reason="Parser should only throw SAXExceptions" type="java.lang.NullPointerException"/> </ConformanceResults> |