Test case ibm-valid-P68-ibm68v01.xml: org.dom4j.io.aelfred.SAXDriver Failed

Test case ibm-valid-P68-ibm68v01.xml: org.dom4j.io.aelfred.SAXDriver Failed

Tests P68 VC:Entity Declared with Entities in External Subset , standalone is no

<?xml version="1.0"?>
<!DOCTYPE root SYSTEM "ibm68v01.dtd" [
  <!ELEMENT root (#PCDATA|a)* >
]>
<root>
  pcdata content
  <a attr1="xyz"/>
</root>
<!--* a valid test for P68 VC:Entity Declared *-->
Expected resultActual result for org.dom4j.io.aelfred.SAXDriver
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <resolveEntity>
        <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/valid/P68/ibm68v01.dtd</systemID>
    </resolveEntity>
    <startElement>
        <namespaceURI/>
        <localName>root</localName>
        <qualifiedName>root</qualifiedName>
        <attributes/>
    </startElement>
    <char>\n</char>
    <char>\s</char>
    <char>\s</char>
    <char>p</char>
    <char>c</char>
    <char>d</char>
    <char>a</char>
    <char>t</char>
    <char>a</char>
    <char>\s</char>
    <char>c</char>
    <char>o</char>
    <char>n</char>
    <char>t</char>
    <char>e</char>
    <char>n</char>
    <char>t</char>
    <char>\n</char>
    <char>\s</char>
    <char>\s</char>
    <startElement>
        <namespaceURI/>
        <localName>a</localName>
        <qualifiedName>a</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI/>
                <localName>attr1</localName>
                <qualifiedName>attr1</qualifiedName>
                <value>xyz</value>
                <type>CDATA</type>
            </attribute>
        </attributes>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>a</localName>
        <qualifiedName>a</qualifiedName>
    </endElement>
    <char>\n</char>
    <endElement>
        <namespaceURI/>
        <localName>root</localName>
        <qualifiedName>root</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <resolveEntity>
        <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/valid/P68/ibm68v01.xml</systemID>
    </resolveEntity>
    <resolveEntity>
        <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/valid/P68/ibm68v01.dtd</systemID>
    </resolveEntity>
    <startElement>
        <namespaceURI/>
        <localName>root</localName>
        <qualifiedName>root</qualifiedName>
        <attributes/>
    </startElement>
    <char>\n</char>
    <char>\s</char>
    <char>\s</char>
    <char>p</char>
    <char>c</char>
    <char>d</char>
    <char>a</char>
    <char>t</char>
    <char>a</char>
    <char>\s</char>
    <char>c</char>
    <char>o</char>
    <char>n</char>
    <char>t</char>
    <char>e</char>
    <char>n</char>
    <char>t</char>
    <char>\n</char>
    <char>\s</char>
    <char>\s</char>
    <startElement>
        <namespaceURI/>
        <localName>a</localName>
        <qualifiedName>a</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI/>
                <localName>attr1</localName>
                <qualifiedName>attr1</qualifiedName>
                <value>xyz</value>
                <type>CDATA</type>
            </attribute>
        </attributes>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName/>
        <qualifiedName>a</qualifiedName>
    </endElement>
    <char>\n</char>
    <endElement>
        <namespaceURI/>
        <localName/>
        <qualifiedName>root</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>