--TEST-- DOMDocument::validate() should validate an external DTD declaration --CREDITS-- Knut Urdalen #PHPTestFest2009 Norway 2009-06-09 \o/ --SKIPIF-- --FILE-- substituteEntities = true; $dom->load(__DIR__.'/dom.xml'); var_dump($dom->validate()); ?> --EXPECT-- bool(true)