valid CDSect's. Note that a CDStart in a CDSect is not recognized as such
<doc><![CDATA[<doc<!DOCTYPE&a%b&#c]] >] ]> ]]]><![CDATA[]]> <![CDATA[ <![CDATA[ ]]> </doc>
Expected result | Actual result for gnu.xml.aelfred2.XmlReader |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <startElement> <namespaceURI/> <localName>doc</localName> <qualifiedName>doc</qualifiedName> <attributes/> </startElement> <char><</char> <char>d</char> <char>o</char> <char>c</char> <char><</char> <char>!</char> <char>D</char> <char>O</char> <char>C</char> <char>T</char> <char>Y</char> <char>P</char> <char>E</char> <char>&</char> <char>a</char> <char>%</char> <char>b</char> <char>&</char> <char>#</char> <char>c</char> <char>]</char> <char>]</char> <char>\s</char> <char>></char> <char>]</char> <char>\s</char> <char>]</char> <char>></char> <char>\s</char> <char>]</char> <char>\n</char> <char>\n</char> <char><</char> <char>!</char> <char>[</char> <char>C</char> <char>D</char> <char>A</char> <char>T</char> <char>A</char> <char>[</char> <char>\n</char> <char>\n</char> <endElement> <namespaceURI/> <localName>doc</localName> <qualifiedName>doc</qualifiedName> </endElement> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <endDocument/> <bug reason="Parser should only throw SAXExceptions" type="java.lang.ArrayIndexOutOfBoundsException">0 >= 0</bug> </ConformanceResults> |