Test case o-p47fail2: org.apache.crimson.parser.XMLReaderImpl Passed

Test case o-p47fail2: org.apache.crimson.parser.XMLReaderImpl Passed

Illegal character '-' in Element-content model

<!DOCTYPE doc
[
<!ELEMENT doc ANY>
<!ELEMENT a (doc)->
]>
<doc/>
Expected resultActual result for org.apache.crimson.parser.XMLReaderImpl
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <fatalError/>
    <endDocument/>
</ConformanceResults>
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <fatalError/>
</ConformanceResults>