Test case ibm-valid-P54-ibm54v02.xml: com.jclark.xml.sax.SAX2Driver Failed

Test case ibm-valid-P54-ibm54v02.xml: com.jclark.xml.sax.SAX2Driver Failed

Tests all AttTypes : StringType, TokenizedType, EnumeratedTypes in P55,P56,P57.

<?xml  version="1.0"?>
<!-- test for Production 54-->
<!DOCTYPE root
 [
 <!ELEMENT root (x|y|z)*>
 <!ELEMENT x (#PCDATA)>
 <!ELEMENT y ANY>
 <!ELEMENT z EMPTY>
 <!ATTLIST x attr CDATA #IMPLIED>
 <!ATTLIST y attr NMTOKENS #IMPLIED>
 <!ATTLIST z attr (x|y) #IMPLIED>
 ]>
<root>
<x attr= 'Madhu'></x>
<y attr= '1.a.name.token.but.not.a.name'></y>
</root>
Expected resultActual 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>\n</ignorable>
    <startElement>
        <namespaceURI/>
        <localName>x</localName>
        <qualifiedName>x</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI/>
                <localName>attr</localName>
                <qualifiedName>attr</qualifiedName>
                <value>Madhu</value>
                <type>CDATA</type>
            </attribute>
        </attributes>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>x</localName>
        <qualifiedName>x</qualifiedName>
    </endElement>
    <ignorable>\n</ignorable>
    <startElement>
        <namespaceURI/>
        <localName>y</localName>
        <qualifiedName>y</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI/>
                <localName>attr</localName>
                <qualifiedName>attr</qualifiedName>
                <value>1.a.name.token.but.not.a.name</value>
                <type>NMTOKENS</type>
            </attribute>
        </attributes>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>y</localName>
        <qualifiedName>y</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>\n</char>
    <startElement>
        <namespaceURI/>
        <localName>x</localName>
        <qualifiedName>x</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI/>
                <localName>attr</localName>
                <qualifiedName>attr</qualifiedName>
                <value>Madhu</value>
                <type>CDATA</type>
            </attribute>
        </attributes>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>x</localName>
        <qualifiedName>x</qualifiedName>
    </endElement>
    <char>\n</char>
    <startElement>
        <namespaceURI/>
        <localName>y</localName>
        <qualifiedName>y</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI/>
                <localName>attr</localName>
                <qualifiedName>attr</qualifiedName>
                <value>1.a.name.token.but.not.a.name</value>
                <type>CDATA</type>
            </attribute>
        </attributes>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>y</localName>
        <qualifiedName>y</qualifiedName>
    </endElement>
    <char>\n</char>
    <endElement>
        <namespaceURI/>
        <localName>root</localName>
        <qualifiedName>root</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>