rendered paste bodyIndex: dom/tests/bug38474.phpt
===================================================================
RCS file: /repository/php-src/ext/dom/tests/bug38474.phpt,v
retrieving revision 1.1.2.3
diff -u -r1.1.2.3 bug38474.phpt
--- dom/tests/bug38474.phpt 20 Jan 2007 19:19:29 -0000 1.1.2.3
+++ dom/tests/bug38474.phpt 8 Mar 2008 19:02:51 -0000
@@ -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"