Test case ibm-valid-P09-ibm09v05.xml: com.jclark.xml.sax.SAX2Driver Passed

Test case ibm-valid-P09-ibm09v05.xml: com.jclark.xml.sax.SAX2Driver Passed

Tests EnitityValue with combination of GE, PE and text, the GE used is declared in the student.dtd

<?xml version="1.0"?>
<!DOCTYPE student SYSTEM "student.dtd"[
	<!ELEMENT student (#PCDATA)> 
	<!ENTITY Age "21">
	<!ENTITY Status "freshman">
 	<!ENTITY % FullName "first , last , middle">
]>

<!-- testing entity value with combination reference -->
<student>This is a test of &combine;</student>



Expected resultActual result for com.jclark.xml.sax.SAX2Driver
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <resolveEntity>
        <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/valid/P09/student.dtd</systemID>
    </resolveEntity>
    <startElement>
        <namespaceURI/>
        <localName>student</localName>
        <qualifiedName>student</qualifiedName>
        <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>
    <char>\s</char>
    <char>o</char>
    <char>f</char>
    <char>\s</char>
    <char>M</char>
    <char>y</char>
    <char>\s</char>
    <char>N</char>
    <char>a</char>
    <char>m</char>
    <char>e</char>
    <char>\s</char>
    <char>i</char>
    <char>s</char>
    <char>\s</char>
    <char>f</char>
    <char>i</char>
    <char>r</char>
    <char>s</char>
    <char>t</char>
    <char>\s</char>
    <char>,</char>
    <char>\s</char>
    <char>l</char>
    <char>a</char>
    <char>s</char>
    <char>t</char>
    <char>\s</char>
    <char>,</char>
    <char>\s</char>
    <char>m</char>
    <char>i</char>
    <char>d</char>
    <char>d</char>
    <char>l</char>
    <char>e</char>
    <char>\s</char>
    <char>a</char>
    <char>n</char>
    <char>d</char>
    <char>\s</char>
    <char>m</char>
    <char>y</char>
    <char>\s</char>
    <char>a</char>
    <char>g</char>
    <char>e</char>
    <char>\s</char>
    <char>i</char>
    <char>s</char>
    <char>\s</char>
    <char>2</char>
    <char>1</char>
    <char>\s</char>
    <char>A</char>
    <char>g</char>
    <char>a</char>
    <char>i</char>
    <char>n</char>
    <char>\s</char>
    <char>f</char>
    <char>i</char>
    <char>r</char>
    <char>s</char>
    <char>t</char>
    <char>\s</char>
    <char>,</char>
    <char>\s</char>
    <char>l</char>
    <char>a</char>
    <char>s</char>
    <char>t</char>
    <char>\s</char>
    <char>,</char>
    <char>\s</char>
    <char>m</char>
    <char>i</char>
    <char>d</char>
    <char>d</char>
    <char>l</char>
    <char>e</char>
    <char>\s</char>
    <char>f</char>
    <char>i</char>
    <char>r</char>
    <char>s</char>
    <char>t</char>
    <char>\s</char>
    <char>,</char>
    <char>\s</char>
    <char>l</char>
    <char>a</char>
    <char>s</char>
    <char>t</char>
    <char>\s</char>
    <char>,</char>
    <char>\s</char>
    <char>m</char>
    <char>i</char>
    <char>d</char>
    <char>d</char>
    <char>l</char>
    <char>e</char>
    <char>\s</char>
    <char>a</char>
    <char>n</char>
    <char>d</char>
    <char>\s</char>
    <char>m</char>
    <char>y</char>
    <char>\s</char>
    <char>s</char>
    <char>t</char>
    <char>a</char>
    <char>t</char>
    <char>u</char>
    <char>s</char>
    <char>\s</char>
    <char>i</char>
    <char>s</char>
    <char>\s</char>
    <char>\n</char>
    <char>\t</char>
    <char>\t</char>
    <char>f</char>
    <char>r</char>
    <char>e</char>
    <char>s</char>
    <char>h</char>
    <char>m</char>
    <char>a</char>
    <char>n</char>
    <char>\s</char>
    <char>f</char>
    <char>r</char>
    <char>e</char>
    <char>s</char>
    <char>h</char>
    <char>m</char>
    <char>a</char>
    <char>n</char>
    <char>\s</char>
    <char>a</char>
    <char>n</char>
    <char>d</char>
    <char>\s</char>
    <char>f</char>
    <char>i</char>
    <char>r</char>
    <char>s</char>
    <char>t</char>
    <char>\s</char>
    <char>,</char>
    <char>\s</char>
    <char>l</char>
    <char>a</char>
    <char>s</char>
    <char>t</char>
    <char>\s</char>
    <char>,</char>
    <char>\s</char>
    <char>m</char>
    <char>i</char>
    <char>d</char>
    <char>d</char>
    <char>l</char>
    <char>e</char>
    <char>\s</char>
    <char>2</char>
    <char>1</char>
    <char>\s</char>
    <char>f</char>
    <char>i</char>
    <char>r</char>
    <char>s</char>
    <char>t</char>
    <char>\s</char>
    <char>,</char>
    <char>\s</char>
    <char>l</char>
    <char>a</char>
    <char>s</char>
    <char>t</char>
    <char>\s</char>
    <char>,</char>
    <char>\s</char>
    <char>m</char>
    <char>i</char>
    <char>d</char>
    <char>d</char>
    <char>l</char>
    <char>e</char>
    <char>\s</char>
    <char>f</char>
    <char>r</char>
    <char>e</char>
    <char>s</char>
    <char>h</char>
    <char>m</char>
    <char>a</char>
    <char>n</char>
    <char>\s</char>
    <char>T</char>
    <char>h</char>
    <char>a</char>
    <char>t</char>
    <char>\s</char>
    <char>i</char>
    <char>s</char>
    <char>\s</char>
    <char>a</char>
    <char>l</char>
    <char>l</char>
    <char>.</char>
    <endElement>
        <namespaceURI/>
        <localName>student</localName>
        <qualifiedName>student</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <resolveEntity>
        <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/valid/P09/student.dtd</systemID>
    </resolveEntity>
    <startElement>
        <namespaceURI/>
        <localName>student</localName>
        <qualifiedName>student</qualifiedName>
        <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>
    <char>\s</char>
    <char>o</char>
    <char>f</char>
    <char>\s</char>
    <char>M</char>
    <char>y</char>
    <char>\s</char>
    <char>N</char>
    <char>a</char>
    <char>m</char>
    <char>e</char>
    <char>\s</char>
    <char>i</char>
    <char>s</char>
    <char>\s</char>
    <char>f</char>
    <char>i</char>
    <char>r</char>
    <char>s</char>
    <char>t</char>
    <char>\s</char>
    <char>,</char>
    <char>\s</char>
    <char>l</char>
    <char>a</char>
    <char>s</char>
    <char>t</char>
    <char>\s</char>
    <char>,</char>
    <char>\s</char>
    <char>m</char>
    <char>i</char>
    <char>d</char>
    <char>d</char>
    <char>l</char>
    <char>e</char>
    <char>\s</char>
    <char>a</char>
    <char>n</char>
    <char>d</char>
    <char>\s</char>
    <char>m</char>
    <char>y</char>
    <char>\s</char>
    <char>a</char>
    <char>g</char>
    <char>e</char>
    <char>\s</char>
    <char>i</char>
    <char>s</char>
    <char>\s</char>
    <char>2</char>
    <char>1</char>
    <char>\s</char>
    <char>A</char>
    <char>g</char>
    <char>a</char>
    <char>i</char>
    <char>n</char>
    <char>\s</char>
    <char>f</char>
    <char>i</char>
    <char>r</char>
    <char>s</char>
    <char>t</char>
    <char>\s</char>
    <char>,</char>
    <char>\s</char>
    <char>l</char>
    <char>a</char>
    <char>s</char>
    <char>t</char>
    <char>\s</char>
    <char>,</char>
    <char>\s</char>
    <char>m</char>
    <char>i</char>
    <char>d</char>
    <char>d</char>
    <char>l</char>
    <char>e</char>
    <char>\s</char>
    <char>f</char>
    <char>i</char>
    <char>r</char>
    <char>s</char>
    <char>t</char>
    <char>\s</char>
    <char>,</char>
    <char>\s</char>
    <char>l</char>
    <char>a</char>
    <char>s</char>
    <char>t</char>
    <char>\s</char>
    <char>,</char>
    <char>\s</char>
    <char>m</char>
    <char>i</char>
    <char>d</char>
    <char>d</char>
    <char>l</char>
    <char>e</char>
    <char>\s</char>
    <char>a</char>
    <char>n</char>
    <char>d</char>
    <char>\s</char>
    <char>m</char>
    <char>y</char>
    <char>\s</char>
    <char>s</char>
    <char>t</char>
    <char>a</char>
    <char>t</char>
    <char>u</char>
    <char>s</char>
    <char>\s</char>
    <char>i</char>
    <char>s</char>
    <char>\s</char>
    <char>\n</char>
    <char>\t</char>
    <char>\t</char>
    <char>f</char>
    <char>r</char>
    <char>e</char>
    <char>s</char>
    <char>h</char>
    <char>m</char>
    <char>a</char>
    <char>n</char>
    <char>\s</char>
    <char>f</char>
    <char>r</char>
    <char>e</char>
    <char>s</char>
    <char>h</char>
    <char>m</char>
    <char>a</char>
    <char>n</char>
    <char>\s</char>
    <char>a</char>
    <char>n</char>
    <char>d</char>
    <char>\s</char>
    <char>f</char>
    <char>i</char>
    <char>r</char>
    <char>s</char>
    <char>t</char>
    <char>\s</char>
    <char>,</char>
    <char>\s</char>
    <char>l</char>
    <char>a</char>
    <char>s</char>
    <char>t</char>
    <char>\s</char>
    <char>,</char>
    <char>\s</char>
    <char>m</char>
    <char>i</char>
    <char>d</char>
    <char>d</char>
    <char>l</char>
    <char>e</char>
    <char>\s</char>
    <char>2</char>
    <char>1</char>
    <char>\s</char>
    <char>f</char>
    <char>i</char>
    <char>r</char>
    <char>s</char>
    <char>t</char>
    <char>\s</char>
    <char>,</char>
    <char>\s</char>
    <char>l</char>
    <char>a</char>
    <char>s</char>
    <char>t</char>
    <char>\s</char>
    <char>,</char>
    <char>\s</char>
    <char>m</char>
    <char>i</char>
    <char>d</char>
    <char>d</char>
    <char>l</char>
    <char>e</char>
    <char>\s</char>
    <char>f</char>
    <char>r</char>
    <char>e</char>
    <char>s</char>
    <char>h</char>
    <char>m</char>
    <char>a</char>
    <char>n</char>
    <char>\s</char>
    <char>T</char>
    <char>h</char>
    <char>a</char>
    <char>t</char>
    <char>\s</char>
    <char>i</char>
    <char>s</char>
    <char>\s</char>
    <char>a</char>
    <char>l</char>
    <char>l</char>
    <char>.</char>
    <endElement>
        <namespaceURI/>
        <localName>student</localName>
        <qualifiedName>student</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>