Test case dtd07: gnu.xml.aelfred2.XmlReader Passed

Test case dtd07: gnu.xml.aelfred2.XmlReader Passed

Text declarations (which optionally begin any external entity) are required to have "encoding=...".

<!DOCTYPE root SYSTEM "dtd07.dtd" [
    <!ELEMENT root EMPTY>
]>
<root/>
Expected resultActual result for gnu.xml.aelfred2.XmlReader
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <resolveEntity>
        <systemID>file:/home/elharo/SAXTest/xmlconf/sun/not-wf/dtd07.dtd</systemID>
    </resolveEntity>
    <fatalError/>
    <endDocument/>
</ConformanceResults>
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <resolveEntity>
        <systemID>file:/home/elharo/SAXTest/xmlconf/sun/not-wf/dtd07.dtd</systemID>
    </resolveEntity>
    <fatalError/>
    <endDocument/>
</ConformanceResults>