Test case rmt-e2e-41: oracle.xml.parser.v2.SAXParser Passed

Test case rmt-e2e-41: oracle.xml.parser.v2.SAXParser Passed

An xml:lang attribute may be empty

<!DOCTYPE foo [
<!ELEMENT foo ANY>
<!ATTLIST foo xml:lang CDATA #IMPLIED>
]>
<foo xml:lang=""/>
Expected resultActual result for oracle.xml.parser.v2.SAXParser
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <startElement>
        <namespaceURI/>
        <localName>foo</localName>
        <qualifiedName>foo</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI>http://www.w3.org/XML/1998/namespace</namespaceURI>
                <localName>lang</localName>
                <qualifiedName>xml:lang</qualifiedName>
                <value/>
                <type>CDATA</type>
            </attribute>
        </attributes>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>foo</localName>
        <qualifiedName>foo</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <startElement>
        <namespaceURI/>
        <localName>foo</localName>
        <qualifiedName>foo</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI>http://www.w3.org/XML/1998/namespace</namespaceURI>
                <localName>lang</localName>
                <qualifiedName>xml:lang</qualifiedName>
                <value/>
                <type>CDATA</type>
            </attribute>
        </attributes>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>foo</localName>
        <qualifiedName>foo</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>