Test case valid-sa-060: com.jclark.xml.sax.SAX2Driver Passed

Test case valid-sa-060: com.jclark.xml.sax.SAX2Driver Passed

Test demonstrates the use of decimal Character References within element content.

<!DOCTYPE doc [
<!ELEMENT doc (#PCDATA)>
]>
<doc>X&#10;Y</doc>
Expected resultActual result for com.jclark.xml.sax.SAX2Driver
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <startElement>
        <namespaceURI/>
        <localName>doc</localName>
        <qualifiedName>doc</qualifiedName>
        <attributes/>
    </startElement>
    <char>X</char>
    <char>\n</char>
    <char>Y</char>
    <endElement>
        <namespaceURI/>
        <localName>doc</localName>
        <qualifiedName>doc</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <startElement>
        <namespaceURI/>
        <localName>doc</localName>
        <qualifiedName>doc</qualifiedName>
        <attributes/>
    </startElement>
    <char>X</char>
    <char>\n</char>
    <char>Y</char>
    <endElement>
        <namespaceURI/>
        <localName>doc</localName>
        <qualifiedName>doc</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>