Test case ibm-invalid-P58-ibm58i02.xml: net.sf.saxon.aelfred.SAXDriver Failed

Test case ibm-invalid-P58-ibm58i02.xml: net.sf.saxon.aelfred.SAXDriver Failed

Tests invalid NotationType which is against P58 VC: Notation Attributes. The attribute "content-encoding" with value "raw" is a value from the list "(base64|uuencode|raw|ascii)", but "raw" is not a declared notation.

<?xml  version="1.0"?>
<!-- validity test for Production 58(Negative Test-->
<!DOCTYPE test
 [
 <!ELEMENT test ANY>
 <!ELEMENT blob (#PCDATA)>
 <!NOTATION base64 SYSTEM "mimecode">
 <!NOTATION uuencode SYSTEM "uudecode">
 <!ATTLIST blob content-encoding NOTATION (base64|uuencode|raw|ascii) #REQUIRED>
 ]>
 <test>
<blob content-encoding = "raw"></blob>
The attribute values of type NOTATION does match any of the notation names included in the
declaration, but some of notation names in the declaration have not been declared
</test>
Expected resultActual result for net.sf.saxon.aelfred.SAXDriver
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <notation>
        <name>base64</name>
        <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/invalid/P58/mimecode</systemID>
    </notation>
    <notation>
        <name>uuencode</name>
        <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/invalid/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>raw</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>d</char>
    <char>o</char>
    <char>e</char>
    <char>s</char>
    <char>\s</char>
    <char>m</char>
    <char>a</char>
    <char>t</char>
    <char>c</char>
    <char>h</char>
    <char>\s</char>
    <char>a</char>
    <char>n</char>
    <char>y</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>\n</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>\s</char>
    <char>b</char>
    <char>u</char>
    <char>t</char>
    <char>\s</char>
    <char>s</char>
    <char>o</char>
    <char>m</char>
    <char>e</char>
    <char>\s</char>
    <char>o</char>
    <char>f</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>n</char>
    <char>o</char>
    <char>t</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/>
    <resolveEntity>
        <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/invalid/P58/ibm58i02.xml</systemID>
    </resolveEntity>
    <notation>
        <name>base64</name>
        <systemID>mimecode</systemID>
    </notation>
    <notation>
        <name>uuencode</name>
        <systemID>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>raw</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>d</char>
    <char>o</char>
    <char>e</char>
    <char>s</char>
    <char>\s</char>
    <char>m</char>
    <char>a</char>
    <char>t</char>
    <char>c</char>
    <char>h</char>
    <char>\s</char>
    <char>a</char>
    <char>n</char>
    <char>y</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>\n</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>\s</char>
    <char>b</char>
    <char>u</char>
    <char>t</char>
    <char>\s</char>
    <char>s</char>
    <char>o</char>
    <char>m</char>
    <char>e</char>
    <char>\s</char>
    <char>o</char>
    <char>f</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>n</char>
    <char>o</char>
    <char>t</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>