Test case ibm-invalid-P56-ibm56i15.xml: oracle.xml.parser.v2.SAXParser Failed

Test case ibm-invalid-P56-ibm56i15.xml: oracle.xml.parser.v2.SAXParser Failed

Tests invalid TokenizedType which is against P56 VC: ENTITIES. The value of the ENTITIES attribute "sun" is "image3 image4" which does not match the names of two unparsed entities declared.

<?xml  version="1.0"?>
<!-- validity constraint check for Production 56(Negative test)-->
<!DOCTYPE test
 [
 <!ELEMENT test ANY>
 <!ELEMENT landscape EMPTY>
 <!ENTITY image1 SYSTEM "d:\testspec\images\sunset.gif" NDATA gif>
 <!ENTITY image2 SYSTEM "d:\testspec\images\frontpag.gif" NDATA gif>
 <!ATTLIST landscape sun ENTITIES #IMPLIED>
]>
<test>
<landscape sun = "image3 image4"></landscape>
In an attribute declaration, values of type ENTITIES match the Name production and the ENTITIES value
does not match one or more names of entities declared in the DTD. 
</test>
Expected resultActual result for oracle.xml.parser.v2.SAXParser
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <unparsedEntity>
        <name>image1</name>
        <systemID>d:\testspec\images\sunset.gif</systemID>
        <notation>gif</notation>
    </unparsedEntity>
    <unparsedEntity>
        <name>image2</name>
        <systemID>d:\testspec\images\frontpag.gif</systemID>
        <notation>gif</notation>
    </unparsedEntity>
    <startElement>
        <namespaceURI/>
        <localName>test</localName>
        <qualifiedName>test</qualifiedName>
        <attributes/>
    </startElement>
    <char>\n</char>
    <startElement>
        <namespaceURI/>
        <localName>landscape</localName>
        <qualifiedName>landscape</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI/>
                <localName>sun</localName>
                <qualifiedName>sun</qualifiedName>
                <value>image3\simage4</value>
                <type>ENTITIES</type>
            </attribute>
        </attributes>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>landscape</localName>
        <qualifiedName>landscape</qualifiedName>
    </endElement>
    <char>\n</char>
    <char>I</char>
    <char>n</char>
    <char>\s</char>
    <char>a</char>
    <char>n</char>
    <char>\s</char>
    <char>a</char>
    <char>t</char>
    <char>t</char>
    <char>r</char>
    <char>i</char>
    <char>b</char>
    <char>u</char>
    <char>t</char>
    <char>e</char>
    <char>\s</char>
    <char>d</char>
    <char>e</char>
    <char>c</char>
    <char>l</char>
    <char>a</char>
    <char>r</char>
    <char>a</char>
    <char>t</char>
    <char>i</char>
    <char>o</char>
    <char>n</char>
    <char>,</char>
    <char>\s</char>
    <char>v</char>
    <char>a</char>
    <char>l</char>
    <char>u</char>
    <char>e</char>
    <char>s</char>
    <char>\s</char>
    <char>o</char>
    <char>f</char>
    <char>\s</char>
    <char>t</char>
    <char>y</char>
    <char>p</char>
    <char>e</char>
    <char>\s</char>
    <char>E</char>
    <char>N</char>
    <char>T</char>
    <char>I</char>
    <char>T</char>
    <char>I</char>
    <char>E</char>
    <char>S</char>
    <char>\s</char>
    <char>m</char>
    <char>a</char>
    <char>t</char>
    <char>c</char>
    <char>h</char>
    <char>\s</char>
    <char>t</char>
    <char>h</char>
    <char>e</char>
    <char>\s</char>
    <char>N</char>
    <char>a</char>
    <char>m</char>
    <char>e</char>
    <char>\s</char>
    <char>p</char>
    <char>r</char>
    <char>o</char>
    <char>d</char>
    <char>u</char>
    <char>c</char>
    <char>t</char>
    <char>i</char>
    <char>o</char>
    <char>n</char>
    <char>\s</char>
    <char>a</char>
    <char>n</char>
    <char>d</char>
    <char>\s</char>
    <char>t</char>
    <char>h</char>
    <char>e</char>
    <char>\s</char>
    <char>E</char>
    <char>N</char>
    <char>T</char>
    <char>I</char>
    <char>T</char>
    <char>I</char>
    <char>E</char>
    <char>S</char>
    <char>\s</char>
    <char>v</char>
    <char>a</char>
    <char>l</char>
    <char>u</char>
    <char>e</char>
    <char>\n</char>
    <char>d</char>
    <char>o</char>
    <char>e</char>
    <char>s</char>
    <char>\s</char>
    <char>n</char>
    <char>o</char>
    <char>t</char>
    <char>\s</char>
    <char>m</char>
    <char>a</char>
    <char>t</char>
    <char>c</char>
    <char>h</char>
    <char>\s</char>
    <char>o</char>
    <char>n</char>
    <char>e</char>
    <char>\s</char>
    <char>o</char>
    <char>r</char>
    <char>\s</char>
    <char>m</char>
    <char>o</char>
    <char>r</char>
    <char>e</char>
    <char>\s</char>
    <char>n</char>
    <char>a</char>
    <char>m</char>
    <char>e</char>
    <char>s</char>
    <char>\s</char>
    <char>o</char>
    <char>f</char>
    <char>\s</char>
    <char>e</char>
    <char>n</char>
    <char>t</char>
    <char>i</char>
    <char>t</char>
    <char>i</char>
    <char>e</char>
    <char>s</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>i</char>
    <char>n</char>
    <char>\s</char>
    <char>t</char>
    <char>h</char>
    <char>e</char>
    <char>\s</char>
    <char>D</char>
    <char>T</char>
    <char>D</char>
    <char>.</char>
    <char>\s</char>
    <char>\n</char>
    <endElement>
        <namespaceURI/>
        <localName>test</localName>
        <qualifiedName>test</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <unparsedEntity>
        <name>image1</name>
        <systemID>d:\testspec\images\sunset.gif</systemID>
        <notation>gif</notation>
    </unparsedEntity>
    <unparsedEntity>
        <name>image2</name>
        <systemID>d:\testspec\images\frontpag.gif</systemID>
        <notation>gif</notation>
    </unparsedEntity>
    <startElement>
        <namespaceURI/>
        <localName>test</localName>
        <qualifiedName>test</qualifiedName>
        <attributes/>
    </startElement>
    <ignorable>\n</ignorable>
    <startElement>
        <namespaceURI/>
        <localName>landscape</localName>
        <qualifiedName>landscape</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI/>
                <localName>sun</localName>
                <qualifiedName>sun</qualifiedName>
                <value>image3\simage4</value>
                <type>ENTITIES</type>
            </attribute>
        </attributes>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>landscape</localName>
        <qualifiedName>landscape</qualifiedName>
    </endElement>
    <char>\n</char>
    <char>I</char>
    <char>n</char>
    <char>\s</char>
    <char>a</char>
    <char>n</char>
    <char>\s</char>
    <char>a</char>
    <char>t</char>
    <char>t</char>
    <char>r</char>
    <char>i</char>
    <char>b</char>
    <char>u</char>
    <char>t</char>
    <char>e</char>
    <char>\s</char>
    <char>d</char>
    <char>e</char>
    <char>c</char>
    <char>l</char>
    <char>a</char>
    <char>r</char>
    <char>a</char>
    <char>t</char>
    <char>i</char>
    <char>o</char>
    <char>n</char>
    <char>,</char>
    <char>\s</char>
    <char>v</char>
    <char>a</char>
    <char>l</char>
    <char>u</char>
    <char>e</char>
    <char>s</char>
    <char>\s</char>
    <char>o</char>
    <char>f</char>
    <char>\s</char>
    <char>t</char>
    <char>y</char>
    <char>p</char>
    <char>e</char>
    <char>\s</char>
    <char>E</char>
    <char>N</char>
    <char>T</char>
    <char>I</char>
    <char>T</char>
    <char>I</char>
    <char>E</char>
    <char>S</char>
    <char>\s</char>
    <char>m</char>
    <char>a</char>
    <char>t</char>
    <char>c</char>
    <char>h</char>
    <char>\s</char>
    <char>t</char>
    <char>h</char>
    <char>e</char>
    <char>\s</char>
    <char>N</char>
    <char>a</char>
    <char>m</char>
    <char>e</char>
    <char>\s</char>
    <char>p</char>
    <char>r</char>
    <char>o</char>
    <char>d</char>
    <char>u</char>
    <char>c</char>
    <char>t</char>
    <char>i</char>
    <char>o</char>
    <char>n</char>
    <char>\s</char>
    <char>a</char>
    <char>n</char>
    <char>d</char>
    <char>\s</char>
    <char>t</char>
    <char>h</char>
    <char>e</char>
    <char>\s</char>
    <char>E</char>
    <char>N</char>
    <char>T</char>
    <char>I</char>
    <char>T</char>
    <char>I</char>
    <char>E</char>
    <char>S</char>
    <char>\s</char>
    <char>v</char>
    <char>a</char>
    <char>l</char>
    <char>u</char>
    <char>e</char>
    <char>\n</char>
    <char>d</char>
    <char>o</char>
    <char>e</char>
    <char>s</char>
    <char>\s</char>
    <char>n</char>
    <char>o</char>
    <char>t</char>
    <char>\s</char>
    <char>m</char>
    <char>a</char>
    <char>t</char>
    <char>c</char>
    <char>h</char>
    <char>\s</char>
    <char>o</char>
    <char>n</char>
    <char>e</char>
    <char>\s</char>
    <char>o</char>
    <char>r</char>
    <char>\s</char>
    <char>m</char>
    <char>o</char>
    <char>r</char>
    <char>e</char>
    <char>\s</char>
    <char>n</char>
    <char>a</char>
    <char>m</char>
    <char>e</char>
    <char>s</char>
    <char>\s</char>
    <char>o</char>
    <char>f</char>
    <char>\s</char>
    <char>e</char>
    <char>n</char>
    <char>t</char>
    <char>i</char>
    <char>t</char>
    <char>i</char>
    <char>e</char>
    <char>s</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>i</char>
    <char>n</char>
    <char>\s</char>
    <char>t</char>
    <char>h</char>
    <char>e</char>
    <char>\s</char>
    <char>D</char>
    <char>T</char>
    <char>D</char>
    <char>.</char>
    <char>\s</char>
    <char>\n</char>
    <endElement>
        <namespaceURI/>
        <localName>test</localName>
        <qualifiedName>test</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>