Test case ibm-invalid-P41-ibm41i02.xml: org.dom4j.io.aelfred.SAXDriver Failed

Test case ibm-invalid-P41-ibm41i02.xml: org.dom4j.io.aelfred.SAXDriver Failed

This test violates VC: Attribute Value Type in P41. attr3 for Element b is given a value that does not match the declaration in the DTD.

<?xml version="1.0"?>
<!DOCTYPE root [
  <!ELEMENT root (PCDATA|b)* >
  <!ELEMENT b (#PCDATA) >
  <!ATTLIST b attr1 CDATA #REQUIRED>
  <!ATTLIST b attr2 (abc|def) "abc">
  <!ATTLIST b attr3 CDATA #FIXED "fixed">
]>
<root>
  <b attr1="value1" attr2="abc" attr3="shoudbefixed">attr3 value not fixed</b>
</root>
<!--* testing P41 VC: AtributeValueType*-->
Expected resultActual result for org.dom4j.io.aelfred.SAXDriver
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <startElement>
        <namespaceURI/>
        <localName>root</localName>
        <qualifiedName>root</qualifiedName>
        <attributes/>
    </startElement>
    <ignorable>\n</ignorable>
    <ignorable>\s</ignorable>
    <ignorable>\s</ignorable>
    <startElement>
        <namespaceURI/>
        <localName>b</localName>
        <qualifiedName>b</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI/>
                <localName>attr1</localName>
                <qualifiedName>attr1</qualifiedName>
                <value>value1</value>
                <type>CDATA</type>
            </attribute>
            <attribute>
                <namespaceURI/>
                <localName>attr2</localName>
                <qualifiedName>attr2</qualifiedName>
                <value>abc</value>
                <type>NMTOKEN</type>
            </attribute>
            <attribute>
                <namespaceURI/>
                <localName>attr3</localName>
                <qualifiedName>attr3</qualifiedName>
                <value>shoudbefixed</value>
                <type>CDATA</type>
            </attribute>
        </attributes>
    </startElement>
    <char>a</char>
    <char>t</char>
    <char>t</char>
    <char>r</char>
    <char>3</char>
    <char>\s</char>
    <char>v</char>
    <char>a</char>
    <char>l</char>
    <char>u</char>
    <char>e</char>
    <char>\s</char>
    <char>n</char>
    <char>o</char>
    <char>t</char>
    <char>\s</char>
    <char>f</char>
    <char>i</char>
    <char>x</char>
    <char>e</char>
    <char>d</char>
    <endElement>
        <namespaceURI/>
        <localName>b</localName>
        <qualifiedName>b</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/>
    <resolveEntity>
        <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/invalid/P41/ibm41i02.xml</systemID>
    </resolveEntity>
    <startElement>
        <namespaceURI/>
        <localName>root</localName>
        <qualifiedName>root</qualifiedName>
        <attributes/>
    </startElement>
    <ignorable>\n</ignorable>
    <ignorable>\s</ignorable>
    <ignorable>\s</ignorable>
    <startElement>
        <namespaceURI/>
        <localName>b</localName>
        <qualifiedName>b</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI/>
                <localName>attr1</localName>
                <qualifiedName>attr1</qualifiedName>
                <value>value1</value>
                <type>CDATA</type>
            </attribute>
            <attribute>
                <namespaceURI/>
                <localName>attr2</localName>
                <qualifiedName>attr2</qualifiedName>
                <value>abc</value>
                <type>NMTOKEN</type>
            </attribute>
            <attribute>
                <namespaceURI/>
                <localName>attr3</localName>
                <qualifiedName>attr3</qualifiedName>
                <value>shoudbefixed</value>
                <type>CDATA</type>
            </attribute>
        </attributes>
    </startElement>
    <char>a</char>
    <char>t</char>
    <char>t</char>
    <char>r</char>
    <char>3</char>
    <char>\s</char>
    <char>v</char>
    <char>a</char>
    <char>l</char>
    <char>u</char>
    <char>e</char>
    <char>\s</char>
    <char>n</char>
    <char>o</char>
    <char>t</char>
    <char>\s</char>
    <char>f</char>
    <char>i</char>
    <char>x</char>
    <char>e</char>
    <char>d</char>
    <endElement>
        <namespaceURI/>
        <localName/>
        <qualifiedName>b</qualifiedName>
    </endElement>
    <ignorable>\n</ignorable>
    <endElement>
        <namespaceURI/>
        <localName/>
        <qualifiedName>root</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>