Test case rmt-054: com.jclark.xml.sax.SAX2Driver Failed

Test case rmt-054: com.jclark.xml.sax.SAX2Driver Failed

Contains a character reference to a C0 control character (form-feed) in an entity value. This will be legal (in XML 1.1) when the entity declaration is parsed, but what about when it is used? According to the grammar in the CR spec, it should be illegal (because the replacement text must match "content"), but this is probably not intended. This will be fixed in the PR version.

<?xml version="1.1" encoding="iso-8859-1"?>
<!-- Contains a character reference to a C0 control character (form-feed)
     in an entity value.  This will be legal (in XML 1.1) when the entity
     declaration is parsed, but what about when it is used?  According to
     the grammar in the CR spec, it should be illegal (because the 
     replacement text must match "content"), but this is probably not
     intended. -->
<!DOCTYPE foo [
<!ELEMENT foo ANY>
<!ENTITY e "&#x0c;">
]>
<foo>&e;</foo>
Expected resultActual result for com.jclark.xml.sax.SAX2Driver
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <startElement>
        <namespaceURI/>
        <localName>foo</localName>
        <qualifiedName>foo</qualifiedName>
        <attributes/>
    </startElement>
    <char>\uC</char>
    <endElement>
        <namespaceURI/>
        <localName>foo</localName>
        <qualifiedName>foo</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <fatalError/>
</ConformanceResults>