Test case inv-not-sa05: com.jclark.xml.sax.SAX2Driver Failed

Test case inv-not-sa05: com.jclark.xml.sax.SAX2Driver Failed

Tests the Standalone Document Declaration VC, ensuring that a token attribute that needs normalization causes a validity error.

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

<!DOCTYPE attributes SYSTEM "../valid/sa.dtd" [
    <!--
	TOKEN needs normalization
    -->
]>

<attributes
    token =	" c "
    />
Expected resultActual result for com.jclark.xml.sax.SAX2Driver
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <resolveEntity>
        <systemID>file:/home/elharo/SAXTest/xmlconf/sun/valid/sa.dtd</systemID>
    </resolveEntity>
    <notation>
        <name>bar</name>
        <systemID>file:/dev/tty</systemID>
    </notation>
    <notation>
        <name>foo</name>
        <publicID>-//public id//foo</publicID>
        <systemID>file:/dev/null</systemID>
    </notation>
    <notation>
        <name>nonce</name>
        <systemID>file:/dev/null</systemID>
    </notation>
    <unparsedEntity>
        <name>unparsed-1</name>
        <publicID>-//some public//ID</publicID>
        <systemID>file:/dev/console</systemID>
        <notation>nonce</notation>
    </unparsedEntity>
    <unparsedEntity>
        <name>unparsed-2</name>
        <systemID>scheme://host/data</systemID>
        <notation>foo</notation>
    </unparsedEntity>
    <startElement>
        <namespaceURI/>
        <localName>attributes</localName>
        <qualifiedName>attributes</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI/>
                <localName>token</localName>
                <qualifiedName>token</qualifiedName>
                <value>c</value>
                <type>NMTOKEN</type>
            </attribute>
        </attributes>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>attributes</localName>
        <qualifiedName>attributes</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <startElement>
        <namespaceURI/>
        <localName>attributes</localName>
        <qualifiedName>attributes</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI/>
                <localName>token</localName>
                <qualifiedName>token</qualifiedName>
                <value>\sc\s</value>
                <type>CDATA</type>
            </attribute>
        </attributes>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>attributes</localName>
        <qualifiedName>attributes</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>