svn: /php/php-src/branches/PHP_5_3/ext/dom/tests/ DOMDocument_relaxNGValidate_error2.phpt
| From: | Shein Alexey | Date: | Wed, 24 Aug 2011 12:25:30 +0000 |
| Subject: | svn: /php/php-src/branches/PHP_5_3/ext/dom/tests/ DOMDocument_relaxNGValidate_error2.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-65971@lists.php.net to get a copy of this message | ||
shein Wed, 24 Aug 2011 12:25:30 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=315418
Log:
Fixed failed test to take into account printed warnings like in 5.4 and trunk branches.
Changed paths:
U php/php-src/branches/PHP_5_3/ext/dom/tests/DOMDocument_relaxNGValidate_error2.phpt
Modified: php/php-src/branches/PHP_5_3/ext/dom/tests/DOMDocument_relaxNGValidate_error2.phpt
===================================================================
--- php/php-src/branches/PHP_5_3/ext/dom/tests/DOMDocument_relaxNGValidate_error2.phpt 2011-08-24
12:11:39 UTC (rev 315417)
+++ php/php-src/branches/PHP_5_3/ext/dom/tests/DOMDocument_relaxNGValidate_error2.phpt 2011-08-24
12:25:30 UTC (rev 315418)
@@ -23,3 +23,9 @@
?>
--EXPECTF--
+Warning: DOMDocument::relaxNGValidate(): I/O warning : failed to load external entity
"%s/foo.rng" in %s on line %d
+
+Warning: DOMDocument::relaxNGValidate(): xmlRelaxNGParse: could not load %s/foo.rng in %s on line
%d
+
+Warning: DOMDocument::relaxNGValidate(): Invalid RelaxNG in %s on line %d
+bool(false)