Test case ibm-1-1-valid-P46-ibm46i02.xml: org.apache.crimson.parser.XMLReaderImpl Passed

Test case ibm-1-1-valid-P46-ibm46i02.xml: org.apache.crimson.parser.XMLReaderImpl Passed

An element with Element-Only content contains the character #x2028 (LESP not a whitespace character as defined by S).

<?xml version="1.1"?>
<!DOCTYPE root [
<!ENTITY int "&#x2028;">
<!ELEMENT root (a)>
<!ELEMENT a EMPTY>
]>
<!-- Invalid because NEL and LSEP are not allowed as whitespace. -->
<root>&int;
    <a/>
</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/>
    </startElement>
    <char>
</char>
    <ignorable>\n</ignorable>
    <ignorable>\s</ignorable>
    <ignorable>\s</ignorable>
    <ignorable>\s</ignorable>
    <ignorable>\s</ignorable>
    <startElement>
        <namespaceURI/>
        <localName>a</localName>
        <qualifiedName>a</qualifiedName>
        <attributes/>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>a</localName>
        <qualifiedName>a</qualifiedName>
    </endElement>
    <ignorable>\n</ignorable>
    <endElement>
        <namespaceURI/>
        <localName>root</localName>
        <qualifiedName>root</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <startElement>
        <namespaceURI/>
        <localName>root</localName>
        <qualifiedName>root</qualifiedName>
        <attributes/>
    </startElement>
    <char>
</char>
    <ignorable>\n</ignorable>
    <ignorable>\s</ignorable>
    <ignorable>\s</ignorable>
    <ignorable>\s</ignorable>
    <ignorable>\s</ignorable>
    <startElement>
        <namespaceURI/>
        <localName>a</localName>
        <qualifiedName>a</qualifiedName>
        <attributes/>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>a</localName>
        <qualifiedName>a</qualifiedName>
    </endElement>
    <ignorable>\n</ignorable>
    <endElement>
        <namespaceURI/>
        <localName>root</localName>
        <qualifiedName>root</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>