Test case ibm-valid-P14-ibm14v03.xml: com.jclark.xml.sax.SAX2Driver Passed

Test case ibm-valid-P14-ibm14v03.xml: com.jclark.xml.sax.SAX2Driver Passed

Testing CharData with a general text string

<?xml version="1.0"?>
<!DOCTYPE student [
	<!ELEMENT student (#PCDATA)>
	<!ATTLIST student first CDATA #REQUIRED
			  last  CDATA #IMPLIED>
]>

<!-- testing chardata with a string of sample legal char except '<' and '&' nor does it contain sequence "]]>" -->
<student first="Snow" last="Man">This is a test</student>
Expected resultActual result for com.jclark.xml.sax.SAX2Driver
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <startElement>
        <namespaceURI/>
        <localName>student</localName>
        <qualifiedName>student</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI/>
                <localName>first</localName>
                <qualifiedName>first</qualifiedName>
                <value>Snow</value>
                <type>CDATA</type>
            </attribute>
            <attribute>
                <namespaceURI/>
                <localName>last</localName>
                <qualifiedName>last</qualifiedName>
                <value>Man</value>
                <type>CDATA</type>
            </attribute>
        </attributes>
    </startElement>
    <char>T</char>
    <char>h</char>
    <char>i</char>
    <char>s</char>
    <char>\s</char>
    <char>i</char>
    <char>s</char>
    <char>\s</char>
    <char>a</char>
    <char>\s</char>
    <char>t</char>
    <char>e</char>
    <char>s</char>
    <char>t</char>
    <endElement>
        <namespaceURI/>
        <localName>student</localName>
        <qualifiedName>student</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <startElement>
        <namespaceURI/>
        <localName>student</localName>
        <qualifiedName>student</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI/>
                <localName>first</localName>
                <qualifiedName>first</qualifiedName>
                <value>Snow</value>
                <type>CDATA</type>
            </attribute>
            <attribute>
                <namespaceURI/>
                <localName>last</localName>
                <qualifiedName>last</qualifiedName>
                <value>Man</value>
                <type>CDATA</type>
            </attribute>
        </attributes>
    </startElement>
    <char>T</char>
    <char>h</char>
    <char>i</char>
    <char>s</char>
    <char>\s</char>
    <char>i</char>
    <char>s</char>
    <char>\s</char>
    <char>a</char>
    <char>\s</char>
    <char>t</char>
    <char>e</char>
    <char>s</char>
    <char>t</char>
    <endElement>
        <namespaceURI/>
        <localName>student</localName>
        <qualifiedName>student</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>