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

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

Character #x001F is not legal anywhere in an XML document.

<!DOCTYPE doc [
<!ELEMENT doc (#PCDATA)>
]>
<doc>&#31;</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>
    <fatalError/>
    <endDocument/>
</ConformanceResults>
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <startElement>
        <namespaceURI/>
        <localName>doc</localName>
        <qualifiedName>doc</qualifiedName>
        <attributes/>
    </startElement>
    <fatalError/>
</ConformanceResults>