Test case ibm-valid-P35-ibm35v01.xml: org.apache.crimson.parser.XMLReaderImpl Passed

Test case ibm-valid-P35-ibm35v01.xml: org.apache.crimson.parser.XMLReaderImpl Passed

Tests ISO639Code

<!DOCTYPE book [
   <!ELEMENT book ANY>
   <!ATTLIST book xml:lang CDATA #REQUIRED>
]>
<book xml:lang="en">It is written in English</book>
Expected resultActual result for org.apache.crimson.parser.XMLReaderImpl
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <startElement>
        <namespaceURI/>
        <localName>book</localName>
        <qualifiedName>book</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI>http://www.w3.org/XML/1998/namespace</namespaceURI>
                <localName>lang</localName>
                <qualifiedName>xml:lang</qualifiedName>
                <value>en</value>
                <type>CDATA</type>
            </attribute>
        </attributes>
    </startElement>
    <char>I</char>
    <char>t</char>
    <char>\s</char>
    <char>i</char>
    <char>s</char>
    <char>\s</char>
    <char>w</char>
    <char>r</char>
    <char>i</char>
    <char>t</char>
    <char>t</char>
    <char>e</char>
    <char>n</char>
    <char>\s</char>
    <char>i</char>
    <char>n</char>
    <char>\s</char>
    <char>E</char>
    <char>n</char>
    <char>g</char>
    <char>l</char>
    <char>i</char>
    <char>s</char>
    <char>h</char>
    <endElement>
        <namespaceURI/>
        <localName>book</localName>
        <qualifiedName>book</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <startElement>
        <namespaceURI/>
        <localName>book</localName>
        <qualifiedName>book</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI>http://www.w3.org/XML/1998/namespace</namespaceURI>
                <localName>lang</localName>
                <qualifiedName>xml:lang</qualifiedName>
                <value>en</value>
                <type>CDATA</type>
            </attribute>
        </attributes>
    </startElement>
    <char>I</char>
    <char>t</char>
    <char>\s</char>
    <char>i</char>
    <char>s</char>
    <char>\s</char>
    <char>w</char>
    <char>r</char>
    <char>i</char>
    <char>t</char>
    <char>t</char>
    <char>e</char>
    <char>n</char>
    <char>\s</char>
    <char>i</char>
    <char>n</char>
    <char>\s</char>
    <char>E</char>
    <char>n</char>
    <char>g</char>
    <char>l</char>
    <char>i</char>
    <char>s</char>
    <char>h</char>
    <endElement>
        <namespaceURI/>
        <localName>book</localName>
        <qualifiedName>book</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>