Test case id09: com.bluecast.xml.Piccolo Passed

Test case id09: com.bluecast.xml.Piccolo Passed

Tests the IDREF (IDREFS matches an ID) VC

<!DOCTYPE root [
    <!ELEMENT root ANY>
    <!ATTLIST root
	id	ID	#IMPLIED
	idref	IDREF	#IMPLIED
	idrefs	IDREFS	#IMPLIED
	>
]>

<!-- each name must match the value of an id attribute on some element -->

<root idrefs="d36 ee38">
    <root id="d36"/>
</root>



Expected resultActual result for com.bluecast.xml.Piccolo
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <startElement>
        <namespaceURI/>
        <localName>root</localName>
        <qualifiedName>root</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI/>
                <localName>idrefs</localName>
                <qualifiedName>idrefs</qualifiedName>
                <value>d36\see38</value>
                <type>IDREFS</type>
            </attribute>
        </attributes>
    </startElement>
    <char>\n</char>
    <char>\s</char>
    <char>\s</char>
    <char>\s</char>
    <char>\s</char>
    <startElement>
        <namespaceURI/>
        <localName>root</localName>
        <qualifiedName>root</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI/>
                <localName>id</localName>
                <qualifiedName>id</qualifiedName>
                <value>d36</value>
                <type>ID</type>
            </attribute>
        </attributes>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>root</localName>
        <qualifiedName>root</qualifiedName>
    </endElement>
    <char>\n</char>
    <endElement>
        <namespaceURI/>
        <localName>root</localName>
        <qualifiedName>root</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <startElement>
        <namespaceURI/>
        <localName>root</localName>
        <qualifiedName>root</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI/>
                <localName>idrefs</localName>
                <qualifiedName>idrefs</qualifiedName>
                <value>d36\see38</value>
                <type>IDREFS</type>
            </attribute>
        </attributes>
    </startElement>
    <char>\n</char>
    <char>\s</char>
    <char>\s</char>
    <char>\s</char>
    <char>\s</char>
    <startElement>
        <namespaceURI/>
        <localName>root</localName>
        <qualifiedName>root</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI/>
                <localName>id</localName>
                <qualifiedName>id</qualifiedName>
                <value>d36</value>
                <type>ID</type>
            </attribute>
        </attributes>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>root</localName>
        <qualifiedName>root</qualifiedName>
    </endElement>
    <char>\n</char>
    <endElement>
        <namespaceURI/>
        <localName>root</localName>
        <qualifiedName>root</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>