Test case not-wf-sa03: gnu.xml.aelfred2.XmlReader Failed

Test case not-wf-sa03: gnu.xml.aelfred2.XmlReader Failed

Tests the Entity Declared WFC, ensuring that a reference to externally defined entity causes a well-formedness error.

<?xml version='1.0' standalone='yes'?>

<!DOCTYPE attributes SYSTEM "../valid/sa.dtd" [
    <!--
	External entity ref
    -->
]>

<attributes
    token =	"b"
    id =	"external-&number;"
    />
Expected resultActual result for gnu.xml.aelfred2.XmlReader
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <resolveEntity>
        <systemID>file:/home/elharo/SAXTest/xmlconf/sun/valid/sa.dtd</systemID>
    </resolveEntity>
    <fatalError/>
    <endDocument/>
</ConformanceResults>
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <resolveEntity>
        <systemID>file:/home/elharo/SAXTest/xmlconf/sun/valid/sa.dtd</systemID>
    </resolveEntity>
    <endDocument/>
    <bug reason="Parser should only throw SAXExceptions" type="java.lang.ArrayIndexOutOfBoundsException">2 &gt;= 2</bug>
</ConformanceResults>