Test case ibm-valid-P56-ibm56v04.xml: oracle.xml.parser.v2.SAXParser Failed

Test case ibm-valid-P56-ibm56v04.xml: oracle.xml.parser.v2.SAXParser Failed

Tests TokenizedType for P56 VC: ID. The ID attribute "UniqueName" appears only once in the document.

<?xml  version="1.0"?>
<!-- validity constraint check for Production 56(positive Test)-->
<!DOCTYPE tokenizer
 [
 <!ELEMENT tokenizer ANY>
 <!ELEMENT b EMPTY>
 <!ATTLIST b attr ID #REQUIRED>
 <!ATTLIST tokenizer UniqueName ID #REQUIRED>
  ]>
<tokenizer UniqueName = "Ac999">
<b attr = "BC999"></b>
This is a positive test for validity constraints
the value of the attribute with a type ID does not appear more than once in the XML document
</tokenizer>
Expected resultActual result for oracle.xml.parser.v2.SAXParser
<?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>Ac999</value>
                <type>ID</type>
            </attribute>
        </attributes>
    </startElement>
    <char>\n</char>
    <startElement>
        <namespaceURI/>
        <localName>b</localName>
        <qualifiedName>b</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI/>
                <localName>attr</localName>
                <qualifiedName>attr</qualifiedName>
                <value>BC999</value>
                <type>ID</type>
            </attribute>
        </attributes>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>b</localName>
        <qualifiedName>b</qualifiedName>
    </endElement>
    <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>t</char>
    <char>h</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>o</char>
    <char>f</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>w</char>
    <char>i</char>
    <char>t</char>
    <char>h</char>
    <char>\s</char>
    <char>a</char>
    <char>\s</char>
    <char>t</char>
    <char>y</char>
    <char>p</char>
    <char>e</char>
    <char>\s</char>
    <char>I</char>
    <char>D</char>
    <char>\s</char>
    <char>d</char>
    <char>o</char>
    <char>e</char>
    <char>s</char>
    <char>\s</char>
    <char>n</char>
    <char>o</char>
    <char>t</char>
    <char>\s</char>
    <char>a</char>
    <char>p</char>
    <char>p</char>
    <char>e</char>
    <char>a</char>
    <char>r</char>
    <char>\s</char>
    <char>m</char>
    <char>o</char>
    <char>r</char>
    <char>e</char>
    <char>\s</char>
    <char>t</char>
    <char>h</char>
    <char>a</char>
    <char>n</char>
    <char>\s</char>
    <char>o</char>
    <char>n</char>
    <char>c</char>
    <char>e</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>X</char>
    <char>M</char>
    <char>L</char>
    <char>\s</char>
    <char>d</char>
    <char>o</char>
    <char>c</char>
    <char>u</char>
    <char>m</char>
    <char>e</char>
    <char>n</char>
    <char>t</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>Ac999</value>
                <type>ID</type>
            </attribute>
        </attributes>
    </startElement>
    <ignorable>\n</ignorable>
    <startElement>
        <namespaceURI/>
        <localName>b</localName>
        <qualifiedName>b</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI/>
                <localName>attr</localName>
                <qualifiedName>attr</qualifiedName>
                <value>BC999</value>
                <type>ID</type>
            </attribute>
        </attributes>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>b</localName>
        <qualifiedName>b</qualifiedName>
    </endElement>
    <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>t</char>
    <char>h</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>o</char>
    <char>f</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>w</char>
    <char>i</char>
    <char>t</char>
    <char>h</char>
    <char>\s</char>
    <char>a</char>
    <char>\s</char>
    <char>t</char>
    <char>y</char>
    <char>p</char>
    <char>e</char>
    <char>\s</char>
    <char>I</char>
    <char>D</char>
    <char>\s</char>
    <char>d</char>
    <char>o</char>
    <char>e</char>
    <char>s</char>
    <char>\s</char>
    <char>n</char>
    <char>o</char>
    <char>t</char>
    <char>\s</char>
    <char>a</char>
    <char>p</char>
    <char>p</char>
    <char>e</char>
    <char>a</char>
    <char>r</char>
    <char>\s</char>
    <char>m</char>
    <char>o</char>
    <char>r</char>
    <char>e</char>
    <char>\s</char>
    <char>t</char>
    <char>h</char>
    <char>a</char>
    <char>n</char>
    <char>\s</char>
    <char>o</char>
    <char>n</char>
    <char>c</char>
    <char>e</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>X</char>
    <char>M</char>
    <char>L</char>
    <char>\s</char>
    <char>d</char>
    <char>o</char>
    <char>c</char>
    <char>u</char>
    <char>m</char>
    <char>e</char>
    <char>n</char>
    <char>t</char>
    <char>\n</char>
    <endElement>
        <namespaceURI/>
        <localName>tokenizer</localName>
        <qualifiedName>tokenizer</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>