Test case ibm-valid-P54-ibm54v02.xml: oracle.xml.parser.v2.SAXParser Passed

Test case ibm-valid-P54-ibm54v02.xml: oracle.xml.parser.v2.SAXParser Passed

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 oracle.xml.parser.v2.SAXParser
<?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>
    <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>