Test case ibm-not-wf-P68-ibm68n06.xml: net.sf.saxon.aelfred.SAXDriver Failed

Test case ibm-not-wf-P68-ibm68n06.xml: net.sf.saxon.aelfred.SAXDriver Failed

Tests EntityRef which is against P68 WFC: Entity Declared. The entity with the name "aaa" in the EntityRef in the AttValue in the STag of the element "root" is externally declared, but standalone is "yes".

<?xml version="1.0" standalone="yes"?>
<!DOCTYPE root SYSTEM "ibm68n06.dtd"
[
<!ELEMENT root (#PCDATA)>
<!ATTLIST root att CDATA #IMPLIED>

]>
<root att="&aaa;">entity declared externally but standalone is yes</root>
Expected resultActual result for net.sf.saxon.aelfred.SAXDriver
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <resolveEntity>
        <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/not-wf/P68/ibm68n06.dtd</systemID>
    </resolveEntity>
    <fatalError/>
    <endDocument/>
</ConformanceResults>
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <resolveEntity>
        <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/not-wf/P68/ibm68n06.xml</systemID>
    </resolveEntity>
    <resolveEntity>
        <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/not-wf/P68/ibm68n06.dtd</systemID>
    </resolveEntity>
    <startElement>
        <namespaceURI/>
        <localName>root</localName>
        <qualifiedName>root</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI/>
                <localName>att</localName>
                <qualifiedName>att</qualifiedName>
                <value>aString</value>
                <type>CDATA</type>
            </attribute>
        </attributes>
    </startElement>
    <char>e</char>
    <char>n</char>
    <char>t</char>
    <char>i</char>
    <char>t</char>
    <char>y</char>
    <char>\s</char>
    <char>d</char>
    <char>e</char>
    <char>c</char>
    <char>l</char>
    <char>a</char>
    <char>r</char>
    <char>e</char>
    <char>d</char>
    <char>\s</char>
    <char>e</char>
    <char>x</char>
    <char>t</char>
    <char>e</char>
    <char>r</char>
    <char>n</char>
    <char>a</char>
    <char>l</char>
    <char>l</char>
    <char>y</char>
    <char>\s</char>
    <char>b</char>
    <char>u</char>
    <char>t</char>
    <char>\s</char>
    <char>s</char>
    <char>t</char>
    <char>a</char>
    <char>n</char>
    <char>d</char>
    <char>a</char>
    <char>l</char>
    <char>o</char>
    <char>n</char>
    <char>e</char>
    <char>\s</char>
    <char>i</char>
    <char>s</char>
    <char>\s</char>
    <char>y</char>
    <char>e</char>
    <char>s</char>
    <endElement>
        <namespaceURI/>
        <localName>root</localName>
        <qualifiedName>root</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>