Test case ibm-invalid-P32-ibm32i03.xml: net.sf.saxon.aelfred.SAXDriver Failed

Test case ibm-invalid-P32-ibm32i03.xml: net.sf.saxon.aelfred.SAXDriver Failed

This test violates VC: Standalone Document Declaration in P32. The standalone document declaration has the value yes, BUT there is an external markup declaration of attributes with values that will change if normalized.

<?xml version="1.0" standalone="yes" ?>
<!DOCTYPE animal SYSTEM "ibm32i03.dtd" [
   <!ELEMENT animal EMPTY>
]>
<!-- This is against VC: Standalone Document Declaration in P32
 The standalone document declaration has the value "yes", there is an external
 markup declaration of attributes with values containing character reference.
-->
<animal class="   NMTOKEN_with_leading_and_trailing_space	 "/>




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/invalid/P32/ibm32i03.dtd</systemID>
    </resolveEntity>
    <startElement>
        <namespaceURI/>
        <localName>animal</localName>
        <qualifiedName>animal</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI/>
                <localName>class</localName>
                <qualifiedName>class</qualifiedName>
                <value>NMTOKEN_with_leading_and_trailing_space</value>
                <type>NMTOKEN</type>
            </attribute>
        </attributes>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>animal</localName>
        <qualifiedName>animal</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <resolveEntity>
        <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/invalid/P32/ibm32i03.xml</systemID>
    </resolveEntity>
    <resolveEntity>
        <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/invalid/P32/ibm32i03.dtd</systemID>
    </resolveEntity>
    <startElement>
        <namespaceURI/>
        <localName>animal</localName>
        <qualifiedName>animal</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI/>
                <localName>class</localName>
                <qualifiedName>class</qualifiedName>
                <value>NMTOKEN_with_leading_and_trailing_space</value>
                <type>NMTOKEN</type>
            </attribute>
        </attributes>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>animal</localName>
        <qualifiedName>animal</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>