This test case contains embeded whitespace characters some form the range 1 - 1F.
<?xml version="1.1" encoding="UTF-8" ?> <!DOCTYPE root [ <!ENTITY dataBad "	

…
"> <!ENTITY data "	

"> <!ELEMENT root (child)> <!ELEMENT child EMPTY> <!-- This test case contains embeded whitespace characters some form the range 1 - 1F. --> ]> <root>&data; <child/> </root>
Expected result | Actual result for com.jclark.xml.sax.SAX2Driver |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <startElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> <attributes/> </startElement> <ignorable>\t</ignorable> <ignorable>\n</ignorable> <ignorable>\r</ignorable> <ignorable>\n</ignorable> <ignorable>\t</ignorable> <startElement> <namespaceURI/> <localName>child</localName> <qualifiedName>child</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI/> <localName>child</localName> <qualifiedName>child</qualifiedName> </endElement> <ignorable>\n</ignorable> <endElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> </endElement> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <startElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> <attributes/> </startElement> <char>\t</char> <char>\n</char> <char>\r</char> <char>\n</char> <char>\t</char> <startElement> <namespaceURI/> <localName>child</localName> <qualifiedName>child</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI/> <localName>child</localName> <qualifiedName>child</qualifiedName> </endElement> <char>\n</char> <endElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> </endElement> <endDocument/> </ConformanceResults> |