davidc          Sat Mar  8 19:14:38 2008 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src/ext/dom/tests      bug38474.phpt 
  Log:
  - MFH . Libxml version < 2.6.21 it fails. Patch from scoates
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/dom/tests/bug38474.phpt?r1=1.1.2.3&r2=1.1.2.4&diff_format=u
Index: php-src/ext/dom/tests/bug38474.phpt
diff -u php-src/ext/dom/tests/bug38474.phpt:1.1.2.3 
php-src/ext/dom/tests/bug38474.phpt:1.1.2.4
--- php-src/ext/dom/tests/bug38474.phpt:1.1.2.3 Sat Jan 20 19:19:29 2007
+++ php-src/ext/dom/tests/bug38474.phpt Sat Mar  8 19:14:38 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 = '<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

Reply via email to