Test case inv-not-sa13: oracle.xml.parser.v2.SAXParser Failed

Test case inv-not-sa13: oracle.xml.parser.v2.SAXParser Failed

Tests the Standalone Document Declaration VC, ensuring that an ENTITIES attribute needing normalization causes a validity error.

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

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

<attributes
    token =	"b"
    entities =	"
    unparsed-1
    
    unparsed-2
		  "
    />
Expected resultActual result for oracle.xml.parser.v2.SAXParser
<?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>entities</localName>
                <qualifiedName>entities</qualifiedName>
                <value>unparsed-1\sunparsed-2</value>
                <type>ENTITIES</type>
            </attribute>
            <attribute>
                <namespaceURI/>
                <localName>token</localName>
                <qualifiedName>token</qualifiedName>
                <value>b</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>entities</localName>
                <qualifiedName>entities</qualifiedName>
                <value>\s\s\s\s\sunparsed-1\s\s\s\s\s\s\s\s\s\sunparsed-2\s\s\s\s\s</value>
                <type>CDATA</type>
            </attribute>
            <attribute>
                <namespaceURI/>
                <localName>token</localName>
                <qualifiedName>token</qualifiedName>
                <value>b</value>
                <type>CDATA</type>
            </attribute>
        </attributes>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>attributes</localName>
        <qualifiedName>attributes</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>