Test case ibm-not-wf-P42-ibm42n05.xml: org.apache.crimson.parser.XMLReaderImpl Passed

Test case ibm-not-wf-P42-ibm42n05.xml: org.apache.crimson.parser.XMLReaderImpl Passed

Tests ETag with a wrong structure. The ETag of the element "root" contains an Attribute (attr1="any").

<?xml version="1.0"?>
<!DOCTYPE root [
<!ELEMENT root ANY>
<!ATTLIST root attr1 CDATA #IMPLIED>
]>
<root> Attribute in ETag </root attr1="any">
Expected resultActual result for org.apache.crimson.parser.XMLReaderImpl
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <startElement>
        <namespaceURI/>
        <localName>root</localName>
        <qualifiedName>root</qualifiedName>
        <attributes/>
    </startElement>
    <char>\s</char>
    <char>A</char>
    <char>t</char>
    <char>t</char>
    <char>r</char>
    <char>i</char>
    <char>b</char>
    <char>u</char>
    <char>t</char>
    <char>e</char>
    <char>\s</char>
    <char>i</char>
    <char>n</char>
    <char>\s</char>
    <char>E</char>
    <char>T</char>
    <char>a</char>
    <char>g</char>
    <char>\s</char>
    <fatalError/>
    <endDocument/>
</ConformanceResults>
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <startElement>
        <namespaceURI/>
        <localName>root</localName>
        <qualifiedName>root</qualifiedName>
        <attributes/>
    </startElement>
    <char>\s</char>
    <char>A</char>
    <char>t</char>
    <char>t</char>
    <char>r</char>
    <char>i</char>
    <char>b</char>
    <char>u</char>
    <char>t</char>
    <char>e</char>
    <char>\s</char>
    <char>i</char>
    <char>n</char>
    <char>\s</char>
    <char>E</char>
    <char>T</char>
    <char>a</char>
    <char>g</char>
    <char>\s</char>
    <fatalError/>
</ConformanceResults>