Test case ibm-valid-P58-ibm58v02.xml: com.bluecast.xml.Piccolo Passed

Test case ibm-valid-P58-ibm58v02.xml: com.bluecast.xml.Piccolo Passed

Tests NotationType for P58: Notation Attributes. The value "base64" of the NOTATION attribute "attr" matches one of the notation names declared.

<?xml  version="1.0"?>
<!-- validity test for Production 58-->
<!DOCTYPE test
 [
 <!ELEMENT test ANY>
 <!ELEMENT blob (#PCDATA)>
 <!NOTATION base64 SYSTEM "mimecode">
 <!NOTATION uuencode SYSTEM "uudecode">
 <!NOTATION raw SYSTEM "bin/cat">
 <!ATTLIST blob content-encoding NOTATION (base64|uuencode|raw) #REQUIRED>
 ]>
 <test>
<blob content-encoding="base64"></blob>
The attribute values of type NOTATION matches one of the notation names included in the declaration;
all notation names in the declaration have been declared
</test>
Expected resultActual result for com.bluecast.xml.Piccolo
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <notation>
        <name>base64</name>
        <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/valid/P58/mimecode</systemID>
    </notation>
    <notation>
        <name>raw</name>
        <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/valid/P58/bin/cat</systemID>
    </notation>
    <notation>
        <name>uuencode</name>
        <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/valid/P58/uudecode</systemID>
    </notation>
    <startElement>
        <namespaceURI/>
        <localName>test</localName>
        <qualifiedName>test</qualifiedName>
        <attributes/>
    </startElement>
    <char>\n</char>
    <startElement>
        <namespaceURI/>
        <localName>blob</localName>
        <qualifiedName>blob</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI/>
                <localName>content-encoding</localName>
                <qualifiedName>content-encoding</qualifiedName>
                <value>base64</value>
                <type>NOTATION</type>
            </attribute>
        </attributes>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>blob</localName>
        <qualifiedName>blob</qualifiedName>
    </endElement>
    <char>\n</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>v</char>
    <char>a</char>
    <char>l</char>
    <char>u</char>
    <char>e</char>
    <char>s</char>
    <char>\s</char>
    <char>o</char>
    <char>f</char>
    <char>\s</char>
    <char>t</char>
    <char>y</char>
    <char>p</char>
    <char>e</char>
    <char>\s</char>
    <char>N</char>
    <char>O</char>
    <char>T</char>
    <char>A</char>
    <char>T</char>
    <char>I</char>
    <char>O</char>
    <char>N</char>
    <char>\s</char>
    <char>m</char>
    <char>a</char>
    <char>t</char>
    <char>c</char>
    <char>h</char>
    <char>e</char>
    <char>s</char>
    <char>\s</char>
    <char>o</char>
    <char>n</char>
    <char>e</char>
    <char>\s</char>
    <char>o</char>
    <char>f</char>
    <char>\s</char>
    <char>t</char>
    <char>h</char>
    <char>e</char>
    <char>\s</char>
    <char>n</char>
    <char>o</char>
    <char>t</char>
    <char>a</char>
    <char>t</char>
    <char>i</char>
    <char>o</char>
    <char>n</char>
    <char>\s</char>
    <char>n</char>
    <char>a</char>
    <char>m</char>
    <char>e</char>
    <char>s</char>
    <char>\s</char>
    <char>i</char>
    <char>n</char>
    <char>c</char>
    <char>l</char>
    <char>u</char>
    <char>d</char>
    <char>e</char>
    <char>d</char>
    <char>\s</char>
    <char>i</char>
    <char>n</char>
    <char>\s</char>
    <char>t</char>
    <char>h</char>
    <char>e</char>
    <char>\s</char>
    <char>d</char>
    <char>e</char>
    <char>c</char>
    <char>l</char>
    <char>a</char>
    <char>r</char>
    <char>a</char>
    <char>t</char>
    <char>i</char>
    <char>o</char>
    <char>n</char>
    <char>;</char>
    <char>\n</char>
    <char>a</char>
    <char>l</char>
    <char>l</char>
    <char>\s</char>
    <char>n</char>
    <char>o</char>
    <char>t</char>
    <char>a</char>
    <char>t</char>
    <char>i</char>
    <char>o</char>
    <char>n</char>
    <char>\s</char>
    <char>n</char>
    <char>a</char>
    <char>m</char>
    <char>e</char>
    <char>s</char>
    <char>\s</char>
    <char>i</char>
    <char>n</char>
    <char>\s</char>
    <char>t</char>
    <char>h</char>
    <char>e</char>
    <char>\s</char>
    <char>d</char>
    <char>e</char>
    <char>c</char>
    <char>l</char>
    <char>a</char>
    <char>r</char>
    <char>a</char>
    <char>t</char>
    <char>i</char>
    <char>o</char>
    <char>n</char>
    <char>\s</char>
    <char>h</char>
    <char>a</char>
    <char>v</char>
    <char>e</char>
    <char>\s</char>
    <char>b</char>
    <char>e</char>
    <char>e</char>
    <char>n</char>
    <char>\s</char>
    <char>d</char>
    <char>e</char>
    <char>c</char>
    <char>l</char>
    <char>a</char>
    <char>r</char>
    <char>e</char>
    <char>d</char>
    <char>\n</char>
    <endElement>
        <namespaceURI/>
        <localName>test</localName>
        <qualifiedName>test</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <notation>
        <name>base64</name>
        <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/valid/P58/mimecode</systemID>
    </notation>
    <notation>
        <name>raw</name>
        <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/valid/P58/bin/cat</systemID>
    </notation>
    <notation>
        <name>uuencode</name>
        <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/valid/P58/uudecode</systemID>
    </notation>
    <startElement>
        <namespaceURI/>
        <localName>test</localName>
        <qualifiedName>test</qualifiedName>
        <attributes/>
    </startElement>
    <char>\n</char>
    <startElement>
        <namespaceURI/>
        <localName>blob</localName>
        <qualifiedName>blob</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI/>
                <localName>content-encoding</localName>
                <qualifiedName>content-encoding</qualifiedName>
                <value>base64</value>
                <type>NOTATION</type>
            </attribute>
        </attributes>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>blob</localName>
        <qualifiedName>blob</qualifiedName>
    </endElement>
    <char>\n</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>v</char>
    <char>a</char>
    <char>l</char>
    <char>u</char>
    <char>e</char>
    <char>s</char>
    <char>\s</char>
    <char>o</char>
    <char>f</char>
    <char>\s</char>
    <char>t</char>
    <char>y</char>
    <char>p</char>
    <char>e</char>
    <char>\s</char>
    <char>N</char>
    <char>O</char>
    <char>T</char>
    <char>A</char>
    <char>T</char>
    <char>I</char>
    <char>O</char>
    <char>N</char>
    <char>\s</char>
    <char>m</char>
    <char>a</char>
    <char>t</char>
    <char>c</char>
    <char>h</char>
    <char>e</char>
    <char>s</char>
    <char>\s</char>
    <char>o</char>
    <char>n</char>
    <char>e</char>
    <char>\s</char>
    <char>o</char>
    <char>f</char>
    <char>\s</char>
    <char>t</char>
    <char>h</char>
    <char>e</char>
    <char>\s</char>
    <char>n</char>
    <char>o</char>
    <char>t</char>
    <char>a</char>
    <char>t</char>
    <char>i</char>
    <char>o</char>
    <char>n</char>
    <char>\s</char>
    <char>n</char>
    <char>a</char>
    <char>m</char>
    <char>e</char>
    <char>s</char>
    <char>\s</char>
    <char>i</char>
    <char>n</char>
    <char>c</char>
    <char>l</char>
    <char>u</char>
    <char>d</char>
    <char>e</char>
    <char>d</char>
    <char>\s</char>
    <char>i</char>
    <char>n</char>
    <char>\s</char>
    <char>t</char>
    <char>h</char>
    <char>e</char>
    <char>\s</char>
    <char>d</char>
    <char>e</char>
    <char>c</char>
    <char>l</char>
    <char>a</char>
    <char>r</char>
    <char>a</char>
    <char>t</char>
    <char>i</char>
    <char>o</char>
    <char>n</char>
    <char>;</char>
    <char>\n</char>
    <char>a</char>
    <char>l</char>
    <char>l</char>
    <char>\s</char>
    <char>n</char>
    <char>o</char>
    <char>t</char>
    <char>a</char>
    <char>t</char>
    <char>i</char>
    <char>o</char>
    <char>n</char>
    <char>\s</char>
    <char>n</char>
    <char>a</char>
    <char>m</char>
    <char>e</char>
    <char>s</char>
    <char>\s</char>
    <char>i</char>
    <char>n</char>
    <char>\s</char>
    <char>t</char>
    <char>h</char>
    <char>e</char>
    <char>\s</char>
    <char>d</char>
    <char>e</char>
    <char>c</char>
    <char>l</char>
    <char>a</char>
    <char>r</char>
    <char>a</char>
    <char>t</char>
    <char>i</char>
    <char>o</char>
    <char>n</char>
    <char>\s</char>
    <char>h</char>
    <char>a</char>
    <char>v</char>
    <char>e</char>
    <char>\s</char>
    <char>b</char>
    <char>e</char>
    <char>e</char>
    <char>n</char>
    <char>\s</char>
    <char>d</char>
    <char>e</char>
    <char>c</char>
    <char>l</char>
    <char>a</char>
    <char>r</char>
    <char>e</char>
    <char>d</char>
    <char>\n</char>
    <endElement>
        <namespaceURI/>
        <localName>test</localName>
        <qualifiedName>test</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>