davidc Sat Mar 8 19:08:58 2008 UTC
Modified files:
/php-src/ext/dom/tests bug38474.phpt
Log:
- Skipif libxml dotted version is < 2.6.20. Patch from scoates
http://cvs.php.net/viewvc.cgi/php-src/ext/dom/tests/bug38474.phpt?r1=1.3&r2=1.4&diff_format=u
Index: php-src/ext/dom/tests/bug38474.phpt
diff -u php-src/ext/dom/tests/bug38474.phpt:1.3
php-src/ext/dom/tests/bug38474.phpt:1.4
--- php-src/ext/dom/tests/bug38474.phpt:1.3 Mon Nov 13 12:53:50 2006
+++ php-src/ext/dom/tests/bug38474.phpt Sat Mar 8 19:08:58 2008
@@ -1,7 +1,12 @@
--TEST--
Bug #38474 (getAttribute select attribute by order, even when prefixed) (OK to
fail with libxml2 < 2.6.2x)
--SKIPIF--
-<?php require_once('skipif.inc'); ?>
+<?php
+require_once('skipif.inc');
+if (version_compare(LIBXML_DOTTED_VERSION, "2.6.20", "<")) {
+ print "skip libxml version " . LIBXML_DOTTED_VERSION;
+}
+?>
--FILE--
<?php
$xml = b'<node xmlns:pre="http://foo.com/tr/pre"
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php