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

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

Tests ETag with a wrong beginning sequence. The string "(less than)\" is used as a beginning sequence of the ETag of the element "root".

<?xml version="1.0"?>
<!DOCTYPE root [
<!ELEMENT root ANY>
<!ATTLIST root attr1 CDATA #IMPLIED>
]>
<root attr1="any">Wrong begining sequence in ETag <\root>
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>
            <attribute>
                <namespaceURI/>
                <localName>attr1</localName>
                <qualifiedName>attr1</qualifiedName>
                <value>any</value>
                <type>CDATA</type>
            </attribute>
        </attributes>
    </startElement>
    <char>W</char>
    <char>r</char>
    <char>o</char>
    <char>n</char>
    <char>g</char>
    <char>\s</char>
    <char>b</char>
    <char>e</char>
    <char>g</char>
    <char>i</char>
    <char>n</char>
    <char>i</char>
    <char>n</char>
    <char>g</char>
    <char>\s</char>
    <char>s</char>
    <char>e</char>
    <char>q</char>
    <char>u</char>
    <char>e</char>
    <char>n</char>
    <char>c</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>
            <attribute>
                <namespaceURI/>
                <localName>attr1</localName>
                <qualifiedName>attr1</qualifiedName>
                <value>any</value>
                <type>CDATA</type>
            </attribute>
        </attributes>
    </startElement>
    <char>W</char>
    <char>r</char>
    <char>o</char>
    <char>n</char>
    <char>g</char>
    <char>\s</char>
    <char>b</char>
    <char>e</char>
    <char>g</char>
    <char>i</char>
    <char>n</char>
    <char>i</char>
    <char>n</char>
    <char>g</char>
    <char>\s</char>
    <char>s</char>
    <char>e</char>
    <char>q</char>
    <char>u</char>
    <char>e</char>
    <char>n</char>
    <char>c</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>