diff options
| author | David Coallier <davidc@php.net> | 2008-03-08 19:14:38 +0000 |
|---|---|---|
| committer | David Coallier <davidc@php.net> | 2008-03-08 19:14:38 +0000 |
| commit | ff962d9de19ef0cd29802e0941ab75c3d5be917b (patch) | |
| tree | 0aef2d90f2a1bd7aca56c45285a09e89cfef1b0f /ext/dom | |
| parent | 4ec1845b52af3dea692d3b604574bc6f67fdd2ee (diff) | |
| download | php-git-ff962d9de19ef0cd29802e0941ab75c3d5be917b.tar.gz | |
- MFH . Libxml version < 2.6.21 it fails. Patch from scoates
Diffstat (limited to 'ext/dom')
| -rw-r--r-- | ext/dom/tests/bug38474.phpt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ext/dom/tests/bug38474.phpt b/ext/dom/tests/bug38474.phpt index 7febd22d31..5c1c1abd1a 100644 --- a/ext/dom/tests/bug38474.phpt +++ b/ext/dom/tests/bug38474.phpt @@ -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" |
