Test case optional05: org.dom4j.io.aelfred.SAXDriver Failed

Test case optional05: org.dom4j.io.aelfred.SAXDriver Failed

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

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

Expected resultActual result for org.dom4j.io.aelfred.SAXDriver
<?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-a</localName>
        <qualifiedName>once-or-twice-a</qualifiedName>
        <attributes/>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>once-or-twice-a</localName>
        <qualifiedName>once-or-twice-a</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/invalid/optional05.xml</systemID>
    </resolveEntity>
    <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-a</localName>
        <qualifiedName>once-or-twice-a</qualifiedName>
        <attributes/>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName/>
        <qualifiedName>once-or-twice-a</qualifiedName>
    </endElement>
    <char>\n</char>
    <endElement>
        <namespaceURI/>
        <localName/>
        <qualifiedName>root</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>