Test case rmt-ns10-045: org.apache.crimson.parser.XMLReaderImpl Passed

Test case rmt-ns10-045: org.apache.crimson.parser.XMLReaderImpl Passed

Colon in ID attribute name

<?xml version="1.0"?>
<!-- Colon in ID attribute name -->
<!DOCTYPE foo [
<!ELEMENT foo ANY>
<!ATTLIST foo id ID #REQUIRED>
]>
<foo id="a:b"/>
Expected resultActual result for org.apache.crimson.parser.XMLReaderImpl
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <startElement>
        <namespaceURI/>
        <localName>foo</localName>
        <qualifiedName>foo</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI/>
                <localName>id</localName>
                <qualifiedName>id</qualifiedName>
                <value>a:b</value>
                <type>ID</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/>
                <localName>id</localName>
                <qualifiedName>id</qualifiedName>
                <value>a:b</value>
                <type>ID</type>
            </attribute>
        </attributes>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>foo</localName>
        <qualifiedName>foo</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>