Test case optional13: oracle.xml.parser.v2.SAXParser Failed

Test case optional13: oracle.xml.parser.v2.SAXParser Failed

Tests the Element Valid VC (clause 2) for one instance of "children" content model, providing three children where one or two are required (a fourth construction of that model).

<!DOCTYPE root SYSTEM "../valid/dtdtest.dtd">
<root>
    <once-or-twice-d><e/><e/><e/></once-or-twice-d>
</root>



Expected resultActual result for oracle.xml.parser.v2.SAXParser
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <resolveEntity>
        <systemID>file:/home/elharo/SAXTest/xmlconf/sun/valid/dtdtest.dtd</systemID>
    </resolveEntity>
    <startElement>
        <namespaceURI/>
        <localName>root</localName>
        <qualifiedName>root</qualifiedName>
        <attributes/>
    </startElement>
    <char>\n</char>
    <char>\s</char>
    <char>\s</char>
    <char>\s</char>
    <char>\s</char>
    <startElement>
        <namespaceURI/>
        <localName>once-or-twice-d</localName>
        <qualifiedName>once-or-twice-d</qualifiedName>
        <attributes/>
    </startElement>
    <startElement>
        <namespaceURI/>
        <localName>e</localName>
        <qualifiedName>e</qualifiedName>
        <attributes/>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>e</localName>
        <qualifiedName>e</qualifiedName>
    </endElement>
    <startElement>
        <namespaceURI/>
        <localName>e</localName>
        <qualifiedName>e</qualifiedName>
        <attributes/>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>e</localName>
        <qualifiedName>e</qualifiedName>
    </endElement>
    <startElement>
        <namespaceURI/>
        <localName>e</localName>
        <qualifiedName>e</qualifiedName>
        <attributes/>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>e</localName>
        <qualifiedName>e</qualifiedName>
    </endElement>
    <endElement>
        <namespaceURI/>
        <localName>once-or-twice-d</localName>
        <qualifiedName>once-or-twice-d</qualifiedName>
    </endElement>
    <char>\n</char>
    <endElement>
        <namespaceURI/>
        <localName>root</localName>
        <qualifiedName>root</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <resolveEntity>
        <systemID>file:/home/elharo/SAXTest/xmlconf/sun/valid/dtdtest.dtd</systemID>
    </resolveEntity>
    <startElement>
        <namespaceURI/>
        <localName>root</localName>
        <qualifiedName>root</qualifiedName>
        <attributes/>
    </startElement>
    <ignorable>\n</ignorable>
    <ignorable>\s</ignorable>
    <ignorable>\s</ignorable>
    <ignorable>\s</ignorable>
    <ignorable>\s</ignorable>
    <startElement>
        <namespaceURI/>
        <localName>once-or-twice-d</localName>
        <qualifiedName>once-or-twice-d</qualifiedName>
        <attributes/>
    </startElement>
    <startElement>
        <namespaceURI/>
        <localName>e</localName>
        <qualifiedName>e</qualifiedName>
        <attributes/>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>e</localName>
        <qualifiedName>e</qualifiedName>
    </endElement>
    <startElement>
        <namespaceURI/>
        <localName>e</localName>
        <qualifiedName>e</qualifiedName>
        <attributes/>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>e</localName>
        <qualifiedName>e</qualifiedName>
    </endElement>
    <startElement>
        <namespaceURI/>
        <localName>e</localName>
        <qualifiedName>e</qualifiedName>
        <attributes/>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>e</localName>
        <qualifiedName>e</qualifiedName>
    </endElement>
    <endElement>
        <namespaceURI/>
        <localName>once-or-twice-d</localName>
        <qualifiedName>once-or-twice-d</qualifiedName>
    </endElement>
    <ignorable>\n</ignorable>
    <endElement>
        <namespaceURI/>
        <localName>root</localName>
        <qualifiedName>root</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>