Test case ibm-valid-P54-ibm54v03.xml: com.jclark.xml.sax.SAX2Driver Passed

Test case ibm-valid-P54-ibm54v03.xml: com.jclark.xml.sax.SAX2Driver Passed

Tests AttTypes with StringType in P55.

<?xml  version="1.0"?>
<!-- test for Production 54-->
<!DOCTYPE AttrType
[
<!ELEMENT AttrType ANY>
<!ELEMENT a (#PCDATA)>
<!ATTLIST a att CDATA #IMPLIED>
]>
<AttrType>
<a att= 'hello world'>
</a>
</AttrType>
Expected resultActual result for com.jclark.xml.sax.SAX2Driver
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <startElement>
        <namespaceURI/>
        <localName>AttrType</localName>
        <qualifiedName>AttrType</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\sworld</value>
                <type>CDATA</type>
            </attribute>
        </attributes>
    </startElement>
    <char>\n</char>
    <endElement>
        <namespaceURI/>
        <localName>a</localName>
        <qualifiedName>a</qualifiedName>
    </endElement>
    <char>\n</char>
    <endElement>
        <namespaceURI/>
        <localName>AttrType</localName>
        <qualifiedName>AttrType</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <startElement>
        <namespaceURI/>
        <localName>AttrType</localName>
        <qualifiedName>AttrType</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\sworld</value>
                <type>CDATA</type>
            </attribute>
        </attributes>
    </startElement>
    <char>\n</char>
    <endElement>
        <namespaceURI/>
        <localName>a</localName>
        <qualifiedName>a</qualifiedName>
    </endElement>
    <char>\n</char>
    <endElement>
        <namespaceURI/>
        <localName>AttrType</localName>
        <qualifiedName>AttrType</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>