I have run into this behavior on several sites: $dom->validate('books.dtd'); But according to the docs, the method it is defined class DOMDocument { bool validate ( void ) } Is the dtd (file?) parameter deprecated? /Erik
Just tested, $dom->validate('books.dtd') generates the warning "DOMDocument::validate() expects exactly 0 parameters, 1 given in ..."
/Erik -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php