Test case o-p06fail1: oracle.xml.parser.v2.SAXParser Passed

Test case o-p06fail1: oracle.xml.parser.v2.SAXParser Passed

Requires at least one name.

<!--non-validating processors may pass this instance because they don't check the IDREFS attribute type-->
<!DOCTYPE doc
[
<!ELEMENT doc (a|refs)*>
<!ELEMENT a EMPTY>
<!ELEMENT refs EMPTY>
<!ATTLIST refs refs IDREFS #REQUIRED>
<!ATTLIST a id ID #REQUIRED>
]>
<doc>
<a id="A1"/><a id="A2"/><a id="A3"/>
<refs refs=""/>
</doc>
Expected resultActual result for oracle.xml.parser.v2.SAXParser
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <startElement>
        <namespaceURI/>
        <localName>doc</localName>
        <qualifiedName>doc</qualifiedName>
        <attributes/>
    </startElement>
    <ignorable>\n</ignorable>
    <startElement>
        <namespaceURI/>
        <localName>a</localName>
        <qualifiedName>a</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI/>
                <localName>id</localName>
                <qualifiedName>id</qualifiedName>
                <value>A1</value>
                <type>ID</type>
            </attribute>
        </attributes>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>a</localName>
        <qualifiedName>a</qualifiedName>
    </endElement>
    <startElement>
        <namespaceURI/>
        <localName>a</localName>
        <qualifiedName>a</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI/>
                <localName>id</localName>
                <qualifiedName>id</qualifiedName>
                <value>A2</value>
                <type>ID</type>
            </attribute>
        </attributes>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>a</localName>
        <qualifiedName>a</qualifiedName>
    </endElement>
    <startElement>
        <namespaceURI/>
        <localName>a</localName>
        <qualifiedName>a</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI/>
                <localName>id</localName>
                <qualifiedName>id</qualifiedName>
                <value>A3</value>
                <type>ID</type>
            </attribute>
        </attributes>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>a</localName>
        <qualifiedName>a</qualifiedName>
    </endElement>
    <ignorable>\n</ignorable>
    <startElement>
        <namespaceURI/>
        <localName>refs</localName>
        <qualifiedName>refs</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI/>
                <localName>refs</localName>
                <qualifiedName>refs</qualifiedName>
                <value/>
                <type>IDREFS</type>
            </attribute>
        </attributes>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>refs</localName>
        <qualifiedName>refs</qualifiedName>
    </endElement>
    <ignorable>\n</ignorable>
    <endElement>
        <namespaceURI/>
        <localName>doc</localName>
        <qualifiedName>doc</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <startElement>
        <namespaceURI/>
        <localName>doc</localName>
        <qualifiedName>doc</qualifiedName>
        <attributes/>
    </startElement>
    <ignorable>\n</ignorable>
    <startElement>
        <namespaceURI/>
        <localName>a</localName>
        <qualifiedName>a</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI/>
                <localName>id</localName>
                <qualifiedName>id</qualifiedName>
                <value>A1</value>
                <type>ID</type>
            </attribute>
        </attributes>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>a</localName>
        <qualifiedName>a</qualifiedName>
    </endElement>
    <startElement>
        <namespaceURI/>
        <localName>a</localName>
        <qualifiedName>a</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI/>
                <localName>id</localName>
                <qualifiedName>id</qualifiedName>
                <value>A2</value>
                <type>ID</type>
            </attribute>
        </attributes>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>a</localName>
        <qualifiedName>a</qualifiedName>
    </endElement>
    <startElement>
        <namespaceURI/>
        <localName>a</localName>
        <qualifiedName>a</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI/>
                <localName>id</localName>
                <qualifiedName>id</qualifiedName>
                <value>A3</value>
                <type>ID</type>
            </attribute>
        </attributes>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>a</localName>
        <qualifiedName>a</qualifiedName>
    </endElement>
    <ignorable>\n</ignorable>
    <startElement>
        <namespaceURI/>
        <localName>refs</localName>
        <qualifiedName>refs</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI/>
                <localName>refs</localName>
                <qualifiedName>refs</qualifiedName>
                <value/>
                <type>IDREFS</type>
            </attribute>
        </attributes>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>refs</localName>
        <qualifiedName>refs</qualifiedName>
    </endElement>
    <ignorable>\n</ignorable>
    <endElement>
        <namespaceURI/>
        <localName>doc</localName>
        <qualifiedName>doc</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>