Test case o-p06fail1: com.jclark.xml.sax.SAX2Driver Failed

Test case o-p06fail1: com.jclark.xml.sax.SAX2Driver Failed

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 com.jclark.xml.sax.SAX2Driver
<?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>
    <char>\n</char>
    <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>
    <char>\n</char>
    <startElement>
        <namespaceURI/>
        <localName>refs</localName>
        <qualifiedName>refs</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI/>
                <localName>refs</localName>
                <qualifiedName>refs</qualifiedName>
                <value/>
                <type>CDATA</type>
            </attribute>
        </attributes>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>refs</localName>
        <qualifiedName>refs</qualifiedName>
    </endElement>
    <char>\n</char>
    <endElement>
        <namespaceURI/>
        <localName>doc</localName>
        <qualifiedName>doc</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>