Test case ibm-valid-P55-ibm55v01.xml: org.dom4j.io.aelfred.SAXDriver Failed

Test case ibm-valid-P55-ibm55v01.xml: org.dom4j.io.aelfred.SAXDriver Failed

Tests StringType for P55. The "CDATA" occurs in the StringType for the attribute "att" for the element "a".

<?xml  version="1.0"?>
<!-- test valid syntax for Production 55-->
<!DOCTYPE StType
[
<!ELEMENT StType ANY>
<!ELEMENT a EMPTY>
<!ATTLIST a att CDATA #IMPLIED> 
]>
<StType>
<a att='Hello'/>
Testing with a valid stringType attribute 
</StType>
Expected resultActual result for org.dom4j.io.aelfred.SAXDriver
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <startElement>
        <namespaceURI/>
        <localName>StType</localName>
        <qualifiedName>StType</qualifiedName>
        <attributes/>
    </startElement>
    <char>\n</char>
    <startElement>
        <namespaceURI/>
        <localName>a</localName>
        <qualifiedName>a</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI/>
                <localName>att</localName>
                <qualifiedName>att</qualifiedName>
                <value>Hello</value>
                <type>CDATA</type>
            </attribute>
        </attributes>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>a</localName>
        <qualifiedName>a</qualifiedName>
    </endElement>
    <char>\n</char>
    <char>T</char>
    <char>e</char>
    <char>s</char>
    <char>t</char>
    <char>i</char>
    <char>n</char>
    <char>g</char>
    <char>\s</char>
    <char>w</char>
    <char>i</char>
    <char>t</char>
    <char>h</char>
    <char>\s</char>
    <char>a</char>
    <char>\s</char>
    <char>v</char>
    <char>a</char>
    <char>l</char>
    <char>i</char>
    <char>d</char>
    <char>\s</char>
    <char>s</char>
    <char>t</char>
    <char>r</char>
    <char>i</char>
    <char>n</char>
    <char>g</char>
    <char>T</char>
    <char>y</char>
    <char>p</char>
    <char>e</char>
    <char>\s</char>
    <char>a</char>
    <char>t</char>
    <char>t</char>
    <char>r</char>
    <char>i</char>
    <char>b</char>
    <char>u</char>
    <char>t</char>
    <char>e</char>
    <char>\s</char>
    <char>\n</char>
    <endElement>
        <namespaceURI/>
        <localName>StType</localName>
        <qualifiedName>StType</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <resolveEntity>
        <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/valid/P55/ibm55v01.xml</systemID>
    </resolveEntity>
    <startElement>
        <namespaceURI/>
        <localName>StType</localName>
        <qualifiedName>StType</qualifiedName>
        <attributes/>
    </startElement>
    <char>\n</char>
    <startElement>
        <namespaceURI/>
        <localName>a</localName>
        <qualifiedName>a</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI/>
                <localName>att</localName>
                <qualifiedName>att</qualifiedName>
                <value>Hello</value>
                <type>CDATA</type>
            </attribute>
        </attributes>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName/>
        <qualifiedName>a</qualifiedName>
    </endElement>
    <char>\n</char>
    <char>T</char>
    <char>e</char>
    <char>s</char>
    <char>t</char>
    <char>i</char>
    <char>n</char>
    <char>g</char>
    <char>\s</char>
    <char>w</char>
    <char>i</char>
    <char>t</char>
    <char>h</char>
    <char>\s</char>
    <char>a</char>
    <char>\s</char>
    <char>v</char>
    <char>a</char>
    <char>l</char>
    <char>i</char>
    <char>d</char>
    <char>\s</char>
    <char>s</char>
    <char>t</char>
    <char>r</char>
    <char>i</char>
    <char>n</char>
    <char>g</char>
    <char>T</char>
    <char>y</char>
    <char>p</char>
    <char>e</char>
    <char>\s</char>
    <char>a</char>
    <char>t</char>
    <char>t</char>
    <char>r</char>
    <char>i</char>
    <char>b</char>
    <char>u</char>
    <char>t</char>
    <char>e</char>
    <char>\s</char>
    <char>\n</char>
    <endElement>
        <namespaceURI/>
        <localName/>
        <qualifiedName>StType</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>