note 44740 added to function.dom-domdocument-validate
| From: | mileskeaton at gmail dot com | Date: | Sun, 15 Aug 2004 01:15:16 +0000 |
| Subject: | note 44740 added to function.dom-domdocument-validate | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-74661@lists.php.net to get a copy of this message | ||
Note that the Zend article, here: http://www.zend.com/php5/articles/php5-xmlphp.php
said that DOMDocument::validate takes 1 parameter: the DTD document filename.
(Their example: $dom->validate('articles.dtd');)
The article was written in March of 2004, but now in August 2004 as PHP5 is released,
DOMDocument::validate expects exactly 0 parameters.
(Not sure how to get the DTD file into the validator now, but there ya go.)
----
Manual Page -- http://www.php.net/manual/en/function.dom-domdocument-validate.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+44740
Delete -- http://master.php.net/manage/user-notes.php?action=delete+44740&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+44740&report=yes
Search -- http://master.php.net/manage/user-notes.php