Test case ibm-valid-P56-ibm56v02.xml: com.bluecast.xml.Piccolo Passed

Test case ibm-valid-P56-ibm56v02.xml: com.bluecast.xml.Piccolo Passed

Tests TokenizedType for P56 VC: ID Attribute Default. The value "AC1999" is assigned to the ID attribute "attr" with "#REQUIRED" in the DeaultDecl.

<?xml  version="1.0"?>
<!-- validity constraint check for Production 56(Positive Test)-->
<!DOCTYPE tokenizer
 [
 <!ELEMENT tokenizer ANY>
 <!ATTLIST tokenizer UniqueName ID #REQUIRED>
 ]>
<tokenizer UniqueName = "AC1999">
This is a positive test for validity constraints
Giving a unique name to the attribute ID an ID Attribute default as #required
</tokenizer>
Expected resultActual result for com.bluecast.xml.Piccolo
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <startElement>
        <namespaceURI/>
        <localName>tokenizer</localName>
        <qualifiedName>tokenizer</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI/>
                <localName>UniqueName</localName>
                <qualifiedName>UniqueName</qualifiedName>
                <value>AC1999</value>
                <type>ID</type>
            </attribute>
        </attributes>
    </startElement>
    <char>\n</char>
    <char>T</char>
    <char>h</char>
    <char>i</char>
    <char>s</char>
    <char>\s</char>
    <char>i</char>
    <char>s</char>
    <char>\s</char>
    <char>a</char>
    <char>\s</char>
    <char>p</char>
    <char>o</char>
    <char>s</char>
    <char>i</char>
    <char>t</char>
    <char>i</char>
    <char>v</char>
    <char>e</char>
    <char>\s</char>
    <char>t</char>
    <char>e</char>
    <char>s</char>
    <char>t</char>
    <char>\s</char>
    <char>f</char>
    <char>o</char>
    <char>r</char>
    <char>\s</char>
    <char>v</char>
    <char>a</char>
    <char>l</char>
    <char>i</char>
    <char>d</char>
    <char>i</char>
    <char>t</char>
    <char>y</char>
    <char>\s</char>
    <char>c</char>
    <char>o</char>
    <char>n</char>
    <char>s</char>
    <char>t</char>
    <char>r</char>
    <char>a</char>
    <char>i</char>
    <char>n</char>
    <char>t</char>
    <char>s</char>
    <char>\n</char>
    <char>G</char>
    <char>i</char>
    <char>v</char>
    <char>i</char>
    <char>n</char>
    <char>g</char>
    <char>\s</char>
    <char>a</char>
    <char>\s</char>
    <char>u</char>
    <char>n</char>
    <char>i</char>
    <char>q</char>
    <char>u</char>
    <char>e</char>
    <char>\s</char>
    <char>n</char>
    <char>a</char>
    <char>m</char>
    <char>e</char>
    <char>\s</char>
    <char>t</char>
    <char>o</char>
    <char>\s</char>
    <char>t</char>
    <char>h</char>
    <char>e</char>
    <char>\s</char>
    <char>a</char>
    <char>t</char>
    <char>t</char>
    <char>r</char>
    <char>i</char>
    <char>b</char>
    <char>u</char>
    <char>t</char>
    <char>e</char>
    <char>\s</char>
    <char>I</char>
    <char>D</char>
    <char>\s</char>
    <char>a</char>
    <char>n</char>
    <char>\s</char>
    <char>I</char>
    <char>D</char>
    <char>\s</char>
    <char>A</char>
    <char>t</char>
    <char>t</char>
    <char>r</char>
    <char>i</char>
    <char>b</char>
    <char>u</char>
    <char>t</char>
    <char>e</char>
    <char>\s</char>
    <char>d</char>
    <char>e</char>
    <char>f</char>
    <char>a</char>
    <char>u</char>
    <char>l</char>
    <char>t</char>
    <char>\s</char>
    <char>a</char>
    <char>s</char>
    <char>\s</char>
    <char>#</char>
    <char>r</char>
    <char>e</char>
    <char>q</char>
    <char>u</char>
    <char>i</char>
    <char>r</char>
    <char>e</char>
    <char>d</char>
    <char>\n</char>
    <endElement>
        <namespaceURI/>
        <localName>tokenizer</localName>
        <qualifiedName>tokenizer</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <startElement>
        <namespaceURI/>
        <localName>tokenizer</localName>
        <qualifiedName>tokenizer</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI/>
                <localName>UniqueName</localName>
                <qualifiedName>UniqueName</qualifiedName>
                <value>AC1999</value>
                <type>ID</type>
            </attribute>
        </attributes>
    </startElement>
    <char>\n</char>
    <char>T</char>
    <char>h</char>
    <char>i</char>
    <char>s</char>
    <char>\s</char>
    <char>i</char>
    <char>s</char>
    <char>\s</char>
    <char>a</char>
    <char>\s</char>
    <char>p</char>
    <char>o</char>
    <char>s</char>
    <char>i</char>
    <char>t</char>
    <char>i</char>
    <char>v</char>
    <char>e</char>
    <char>\s</char>
    <char>t</char>
    <char>e</char>
    <char>s</char>
    <char>t</char>
    <char>\s</char>
    <char>f</char>
    <char>o</char>
    <char>r</char>
    <char>\s</char>
    <char>v</char>
    <char>a</char>
    <char>l</char>
    <char>i</char>
    <char>d</char>
    <char>i</char>
    <char>t</char>
    <char>y</char>
    <char>\s</char>
    <char>c</char>
    <char>o</char>
    <char>n</char>
    <char>s</char>
    <char>t</char>
    <char>r</char>
    <char>a</char>
    <char>i</char>
    <char>n</char>
    <char>t</char>
    <char>s</char>
    <char>\n</char>
    <char>G</char>
    <char>i</char>
    <char>v</char>
    <char>i</char>
    <char>n</char>
    <char>g</char>
    <char>\s</char>
    <char>a</char>
    <char>\s</char>
    <char>u</char>
    <char>n</char>
    <char>i</char>
    <char>q</char>
    <char>u</char>
    <char>e</char>
    <char>\s</char>
    <char>n</char>
    <char>a</char>
    <char>m</char>
    <char>e</char>
    <char>\s</char>
    <char>t</char>
    <char>o</char>
    <char>\s</char>
    <char>t</char>
    <char>h</char>
    <char>e</char>
    <char>\s</char>
    <char>a</char>
    <char>t</char>
    <char>t</char>
    <char>r</char>
    <char>i</char>
    <char>b</char>
    <char>u</char>
    <char>t</char>
    <char>e</char>
    <char>\s</char>
    <char>I</char>
    <char>D</char>
    <char>\s</char>
    <char>a</char>
    <char>n</char>
    <char>\s</char>
    <char>I</char>
    <char>D</char>
    <char>\s</char>
    <char>A</char>
    <char>t</char>
    <char>t</char>
    <char>r</char>
    <char>i</char>
    <char>b</char>
    <char>u</char>
    <char>t</char>
    <char>e</char>
    <char>\s</char>
    <char>d</char>
    <char>e</char>
    <char>f</char>
    <char>a</char>
    <char>u</char>
    <char>l</char>
    <char>t</char>
    <char>\s</char>
    <char>a</char>
    <char>s</char>
    <char>\s</char>
    <char>#</char>
    <char>r</char>
    <char>e</char>
    <char>q</char>
    <char>u</char>
    <char>i</char>
    <char>r</char>
    <char>e</char>
    <char>d</char>
    <char>\n</char>
    <endElement>
        <namespaceURI/>
        <localName>tokenizer</localName>
        <qualifiedName>tokenizer</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>