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

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

Tests the "Name Token" VC for the NMTOKEN attribute type.

<!DOCTYPE root [
<!ELEMENT root EMPTY>
<!ATTLIST root
    token	NMTOKEN		#REQUIRED
    >

    <!-- tests the "name token' VC for an NMTOKEN value -->
]>
<root token="dev@null"/>
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>token</localName>
                <qualifiedName>token</qualifiedName>
                <value>dev@null</value>
                <type>NMTOKEN</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>token</localName>
                <qualifiedName>token</qualifiedName>
                <value>dev@null</value>
                <type>NMTOKEN</type>
            </attribute>
        </attributes>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>root</localName>
        <qualifiedName>root</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>