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

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

Tests the "Entity Name" VC for the ENTITY attribute type.

<!DOCTYPE root [
<!ELEMENT root EMPTY>
<!ATTLIST root
    affiliated	ENTITY	#REQUIRED
    >
    <!-- tests the "entity name" VC ... the "entity declared" clause,
	as applied to attributes of type ENTITY -->
]>
<root affiliated="food"/>
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>affiliated</localName>
                <qualifiedName>affiliated</qualifiedName>
                <value>food</value>
                <type>ENTITY</type>
            </attribute>
        </attributes>
    </startElement>
    <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>affiliated</localName>
                <qualifiedName>affiliated</qualifiedName>
                <value>food</value>
                <type>ENTITY</type>
            </attribute>
        </attributes>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>root</localName>
        <qualifiedName>root</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>