Test case not-wf-sa-119: org.apache.crimson.parser.XMLReaderImpl Passed

Test case not-wf-sa-119: org.apache.crimson.parser.XMLReaderImpl Passed

Internal general parsed entities are only well formed if they match the "content" production. This is a partial character reference, not a full one.

<!DOCTYPE doc [
<!ENTITY e "&#38;">
]>
<doc>
&e;#38;
</doc>
Expected resultActual result for org.apache.crimson.parser.XMLReaderImpl
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <startElement>
        <namespaceURI/>
        <localName>doc</localName>
        <qualifiedName>doc</qualifiedName>
        <attributes/>
    </startElement>
    <char>\n</char>
    <fatalError/>
    <endDocument/>
</ConformanceResults>
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <startElement>
        <namespaceURI/>
        <localName>doc</localName>
        <qualifiedName>doc</qualifiedName>
        <attributes/>
    </startElement>
    <char>\n</char>
    <fatalError/>
</ConformanceResults>