Test case ibm-valid-P57-ibm57v01.xml: com.jclark.xml.sax.SAX2Driver Passed

Test case ibm-valid-P57-ibm57v01.xml: com.jclark.xml.sax.SAX2Driver Passed

Tests EnumeratedType in the AttType. The attribute "att" has a type (a|b) with the element "a". the

<?xml  version="1.0"?>
<!-- valid test for Production 57-->
<!DOCTYPE root
 [
 <!ELEMENT root (#PCDATA|a|b)*>
 <!ELEMENT a ANY>
 <!ELEMENT b ANY>
 <!NOTATION a SYSTEM "a">
 <!NOTATION b SYSTEM "b"> 
 <!ATTLIST a att (a|b) #IMPLIED>
 <!ATTLIST b att NOTATION (a|b) #IMPLIED>
 ]>
 <root>
This test case tests the kinds of enumerated types
<a/><b/>
</root>
Expected resultActual result for com.jclark.xml.sax.SAX2Driver
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <notation>
        <name>a</name>
        <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/valid/P57/a</systemID>
    </notation>
    <notation>
        <name>b</name>
        <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/valid/P57/b</systemID>
    </notation>
    <startElement>
        <namespaceURI/>
        <localName>root</localName>
        <qualifiedName>root</qualifiedName>
        <attributes/>
    </startElement>
    <char>\n</char>
    <char>T</char>
    <char>h</char>
    <char>i</char>
    <char>s</char>
    <char>\s</char>
    <char>t</char>
    <char>e</char>
    <char>s</char>
    <char>t</char>
    <char>\s</char>
    <char>c</char>
    <char>a</char>
    <char>s</char>
    <char>e</char>
    <char>\s</char>
    <char>t</char>
    <char>e</char>
    <char>s</char>
    <char>t</char>
    <char>s</char>
    <char>\s</char>
    <char>t</char>
    <char>h</char>
    <char>e</char>
    <char>\s</char>
    <char>k</char>
    <char>i</char>
    <char>n</char>
    <char>d</char>
    <char>s</char>
    <char>\s</char>
    <char>o</char>
    <char>f</char>
    <char>\s</char>
    <char>e</char>
    <char>n</char>
    <char>u</char>
    <char>m</char>
    <char>e</char>
    <char>r</char>
    <char>a</char>
    <char>t</char>
    <char>e</char>
    <char>d</char>
    <char>\s</char>
    <char>t</char>
    <char>y</char>
    <char>p</char>
    <char>e</char>
    <char>s</char>
    <char>\n</char>
    <startElement>
        <namespaceURI/>
        <localName>a</localName>
        <qualifiedName>a</qualifiedName>
        <attributes/>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>a</localName>
        <qualifiedName>a</qualifiedName>
    </endElement>
    <startElement>
        <namespaceURI/>
        <localName>b</localName>
        <qualifiedName>b</qualifiedName>
        <attributes/>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>b</localName>
        <qualifiedName>b</qualifiedName>
    </endElement>
    <char>\n</char>
    <endElement>
        <namespaceURI/>
        <localName>root</localName>
        <qualifiedName>root</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <notation>
        <name>a</name>
        <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/valid/P57/a</systemID>
    </notation>
    <notation>
        <name>b</name>
        <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/valid/P57/b</systemID>
    </notation>
    <startElement>
        <namespaceURI/>
        <localName>root</localName>
        <qualifiedName>root</qualifiedName>
        <attributes/>
    </startElement>
    <char>\n</char>
    <char>T</char>
    <char>h</char>
    <char>i</char>
    <char>s</char>
    <char>\s</char>
    <char>t</char>
    <char>e</char>
    <char>s</char>
    <char>t</char>
    <char>\s</char>
    <char>c</char>
    <char>a</char>
    <char>s</char>
    <char>e</char>
    <char>\s</char>
    <char>t</char>
    <char>e</char>
    <char>s</char>
    <char>t</char>
    <char>s</char>
    <char>\s</char>
    <char>t</char>
    <char>h</char>
    <char>e</char>
    <char>\s</char>
    <char>k</char>
    <char>i</char>
    <char>n</char>
    <char>d</char>
    <char>s</char>
    <char>\s</char>
    <char>o</char>
    <char>f</char>
    <char>\s</char>
    <char>e</char>
    <char>n</char>
    <char>u</char>
    <char>m</char>
    <char>e</char>
    <char>r</char>
    <char>a</char>
    <char>t</char>
    <char>e</char>
    <char>d</char>
    <char>\s</char>
    <char>t</char>
    <char>y</char>
    <char>p</char>
    <char>e</char>
    <char>s</char>
    <char>\n</char>
    <startElement>
        <namespaceURI/>
        <localName>a</localName>
        <qualifiedName>a</qualifiedName>
        <attributes/>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>a</localName>
        <qualifiedName>a</qualifiedName>
    </endElement>
    <startElement>
        <namespaceURI/>
        <localName>b</localName>
        <qualifiedName>b</qualifiedName>
        <attributes/>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>b</localName>
        <qualifiedName>b</qualifiedName>
    </endElement>
    <char>\n</char>
    <endElement>
        <namespaceURI/>
        <localName>root</localName>
        <qualifiedName>root</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>