Test case o-p18pass1: gnu.xml.aelfred2.XmlReader Failed

Test case o-p18pass1: gnu.xml.aelfred2.XmlReader Failed

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 resultActual 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>&lt;</char>
    <char>d</char>
    <char>o</char>
    <char>c</char>
    <char>&lt;</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>&amp;</char>
    <char>a</char>
    <char>%</char>
    <char>b</char>
    <char>&amp;</char>
    <char>#</char>
    <char>c</char>
    <char>]</char>
    <char>]</char>
    <char>\s</char>
    <char>&gt;</char>
    <char>]</char>
    <char>\s</char>
    <char>]</char>
    <char>&gt;</char>
    <char>\s</char>
    <char>]</char>
    <char>\n</char>
    <char>\n</char>
    <char>&lt;</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 &gt;= 0</bug>
</ConformanceResults>