%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 %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"