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

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

A document may be marked 'standalone' if any optional whitespace is defined within the internal DTD subset.

<?xml version='1.0' standalone='yes'?>

<!DOCTYPE root [
    <!ELEMENT root (child)*>
    <!ELEMENT child (#PCDATA)>
]>

<root>
    <child>
    The whitespace around this element would be
    invalid as standalone were the DTD external.
    </child>
</root>
Expected resultActual result for org.dom4j.io.aelfred.SAXDriver
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <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>child</localName>
        <qualifiedName>child</qualifiedName>
        <attributes/>
    </startElement>
    <char>\n</char>
    <char>\s</char>
    <char>\s</char>
    <char>\s</char>
    <char>\s</char>
    <char>T</char>
    <char>h</char>
    <char>e</char>
    <char>\s</char>
    <char>w</char>
    <char>h</char>
    <char>i</char>
    <char>t</char>
    <char>e</char>
    <char>s</char>
    <char>p</char>
    <char>a</char>
    <char>c</char>
    <char>e</char>
    <char>\s</char>
    <char>a</char>
    <char>r</char>
    <char>o</char>
    <char>u</char>
    <char>n</char>
    <char>d</char>
    <char>\s</char>
    <char>t</char>
    <char>h</char>
    <char>i</char>
    <char>s</char>
    <char>\s</char>
    <char>e</char>
    <char>l</char>
    <char>e</char>
    <char>m</char>
    <char>e</char>
    <char>n</char>
    <char>t</char>
    <char>\s</char>
    <char>w</char>
    <char>o</char>
    <char>u</char>
    <char>l</char>
    <char>d</char>
    <char>\s</char>
    <char>b</char>
    <char>e</char>
    <char>\n</char>
    <char>\s</char>
    <char>\s</char>
    <char>\s</char>
    <char>\s</char>
    <char>i</char>
    <char>n</char>
    <char>v</char>
    <char>a</char>
    <char>l</char>
    <char>i</char>
    <char>d</char>
    <char>\s</char>
    <char>a</char>
    <char>s</char>
    <char>\s</char>
    <char>s</char>
    <char>t</char>
    <char>a</char>
    <char>n</char>
    <char>d</char>
    <char>a</char>
    <char>l</char>
    <char>o</char>
    <char>n</char>
    <char>e</char>
    <char>\s</char>
    <char>w</char>
    <char>e</char>
    <char>r</char>
    <char>e</char>
    <char>\s</char>
    <char>t</char>
    <char>h</char>
    <char>e</char>
    <char>\s</char>
    <char>D</char>
    <char>T</char>
    <char>D</char>
    <char>\s</char>
    <char>e</char>
    <char>x</char>
    <char>t</char>
    <char>e</char>
    <char>r</char>
    <char>n</char>
    <char>a</char>
    <char>l</char>
    <char>.</char>
    <char>\n</char>
    <char>\s</char>
    <char>\s</char>
    <char>\s</char>
    <char>\s</char>
    <endElement>
        <namespaceURI/>
        <localName>child</localName>
        <qualifiedName>child</qualifiedName>
    </endElement>
    <ignorable>\n</ignorable>
    <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/sa01.xml</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>child</localName>
        <qualifiedName>child</qualifiedName>
        <attributes/>
    </startElement>
    <char>\n</char>
    <char>\s</char>
    <char>\s</char>
    <char>\s</char>
    <char>\s</char>
    <char>T</char>
    <char>h</char>
    <char>e</char>
    <char>\s</char>
    <char>w</char>
    <char>h</char>
    <char>i</char>
    <char>t</char>
    <char>e</char>
    <char>s</char>
    <char>p</char>
    <char>a</char>
    <char>c</char>
    <char>e</char>
    <char>\s</char>
    <char>a</char>
    <char>r</char>
    <char>o</char>
    <char>u</char>
    <char>n</char>
    <char>d</char>
    <char>\s</char>
    <char>t</char>
    <char>h</char>
    <char>i</char>
    <char>s</char>
    <char>\s</char>
    <char>e</char>
    <char>l</char>
    <char>e</char>
    <char>m</char>
    <char>e</char>
    <char>n</char>
    <char>t</char>
    <char>\s</char>
    <char>w</char>
    <char>o</char>
    <char>u</char>
    <char>l</char>
    <char>d</char>
    <char>\s</char>
    <char>b</char>
    <char>e</char>
    <char>\n</char>
    <char>\s</char>
    <char>\s</char>
    <char>\s</char>
    <char>\s</char>
    <char>i</char>
    <char>n</char>
    <char>v</char>
    <char>a</char>
    <char>l</char>
    <char>i</char>
    <char>d</char>
    <char>\s</char>
    <char>a</char>
    <char>s</char>
    <char>\s</char>
    <char>s</char>
    <char>t</char>
    <char>a</char>
    <char>n</char>
    <char>d</char>
    <char>a</char>
    <char>l</char>
    <char>o</char>
    <char>n</char>
    <char>e</char>
    <char>\s</char>
    <char>w</char>
    <char>e</char>
    <char>r</char>
    <char>e</char>
    <char>\s</char>
    <char>t</char>
    <char>h</char>
    <char>e</char>
    <char>\s</char>
    <char>D</char>
    <char>T</char>
    <char>D</char>
    <char>\s</char>
    <char>e</char>
    <char>x</char>
    <char>t</char>
    <char>e</char>
    <char>r</char>
    <char>n</char>
    <char>a</char>
    <char>l</char>
    <char>.</char>
    <char>\n</char>
    <char>\s</char>
    <char>\s</char>
    <char>\s</char>
    <char>\s</char>
    <endElement>
        <namespaceURI/>
        <localName/>
        <qualifiedName>child</qualifiedName>
    </endElement>
    <ignorable>\n</ignorable>
    <endElement>
        <namespaceURI/>
        <localName/>
        <qualifiedName>root</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>