Test case rmt-e2e-36: net.sf.saxon.aelfred.SAXDriver Failed

Test case rmt-e2e-36: net.sf.saxon.aelfred.SAXDriver Failed

An external ATTLIST declaration does not make a document non-standalone if the normalization would have been the same without the declaration

<?xml version="1.0" standalone="yes"?>
<!DOCTYPE foo SYSTEM "E36.dtd">
<foo bar="123
456"/>
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/eduni/errata-2e/E36.dtd</systemID>
    </resolveEntity>
    <startElement>
        <namespaceURI/>
        <localName>foo</localName>
        <qualifiedName>foo</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI/>
                <localName>bar</localName>
                <qualifiedName>bar</qualifiedName>
                <value>123\s456</value>
                <type>NMTOKENS</type>
            </attribute>
        </attributes>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>foo</localName>
        <qualifiedName>foo</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <resolveEntity>
        <systemID>file:/home/elharo/SAXTest/xmlconf/eduni/errata-2e/E36.xml</systemID>
    </resolveEntity>
    <resolveEntity>
        <systemID>file:/home/elharo/SAXTest/xmlconf/eduni/errata-2e/E36.dtd</systemID>
    </resolveEntity>
    <startElement>
        <namespaceURI/>
        <localName>foo</localName>
        <qualifiedName>foo</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI/>
                <localName>bar</localName>
                <qualifiedName>bar</qualifiedName>
                <value>123\s456</value>
                <type>NMTOKENS</type>
            </attribute>
        </attributes>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>foo</localName>
        <qualifiedName>foo</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>