Test case rmt-052: com.jclark.xml.sax.SAX2Driver Passed

Test case rmt-052: com.jclark.xml.sax.SAX2Driver Passed

Has element content whitespace containing a NEL character that comes from a character reference in an internal entity. Because NEL is not in the S production (even though real NELs are converted to LF on input), this is invalid in both XML 1.0 and 1.1.

<?xml version="1.0" encoding="iso-8859-1"?>
<!-- Has element content whitespace containing a NEL character that comes from
     a character reference in an internal entity.  Because NEL is not in the
     S production (even though real NELs are converted to LF on input),
     this is invalid in both XML 1.0 and 1.1. -->
<!DOCTYPE foo [
<!ELEMENT foo (foo*)>
<!ENTITY e "abc&#x85;def">
]>
<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>a</char>
    <char>b</char>
    <char>c</char>
    <char>\u85</char>
    <char>d</char>
    <char>e</char>
    <char>f</char>
    <endElement>
        <namespaceURI/>
        <localName>foo</localName>
        <qualifiedName>foo</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <startElement>
        <namespaceURI/>
        <localName>foo</localName>
        <qualifiedName>foo</qualifiedName>
        <attributes/>
    </startElement>
    <char>a</char>
    <char>b</char>
    <char>c</char>
    <char>\u85</char>
    <char>d</char>
    <char>e</char>
    <char>f</char>
    <endElement>
        <namespaceURI/>
        <localName>foo</localName>
        <qualifiedName>foo</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>