%description:
If document has DTD, parser must use it for validation and attribute completion.
Missing DTD -- should produce an error.

THIS TEST DOES NOT PASS WITH EXPAT -- IT DOES NOT SUPPORT DTD VALIDATION.

%file: test.xml
<?xml version="1.0" ?>
<!DOCTYPE foo SYSTEM "./no-such-file.dtd">
<foo>
    <bar one="X"/>
</foo>

%activity:
cXMLElement *node = getEnvir()->getXMLDocument("test.xml");
EV << node->getXML();

%exitcode: 1

%contains: stderr
Cannot load 'test.xml': Could not load the external subset "./no-such-file.dtd"