summaryrefslogtreecommitdiff
path: root/ext/xml
diff options
context:
space:
mode:
authorChristian Stocker <chregu@php.net>2004-02-23 16:01:15 +0000
committerChristian Stocker <chregu@php.net>2004-02-23 16:01:15 +0000
commit9e6de31645baaa879ebc2c3c43b99f50497ab016 (patch)
treeff032ee306fe9f57b0e029fd47f568c39a108404 /ext/xml
parenta3b1085f064d27eccd11ccdac08e9669bff28753 (diff)
downloadphp-git-9e6de31645baaa879ebc2c3c43b99f50497ab016.tar.gz
skip tests, if xml_parser_create_ns is not supported.
Diffstat (limited to 'ext/xml')
-rw-r--r--ext/xml/tests/bug25666.phpt4
-rw-r--r--ext/xml/tests/xml009.phpt4
-rw-r--r--ext/xml/tests/xml010.phpt4
3 files changed, 12 insertions, 0 deletions
diff --git a/ext/xml/tests/bug25666.phpt b/ext/xml/tests/bug25666.phpt
index 5e95b31b17..119f55e4ea 100644
--- a/ext/xml/tests/bug25666.phpt
+++ b/ext/xml/tests/bug25666.phpt
@@ -1,5 +1,9 @@
--TEST--
Bug #25666 (XML namespaces broken in libxml-based SAX interface)
+--SKIPIF--
+<?php
+if (!xml_parser_create_ns('ISO-8859-1')) { die("skip xml_parser_create_ns is not supported on this plattform");};
+?>
--FILE--
<?php
function start_elem($parser,$name,$attribs) {
diff --git a/ext/xml/tests/xml009.phpt b/ext/xml/tests/xml009.phpt
index 76355dec48..9e297925d6 100644
--- a/ext/xml/tests/xml009.phpt
+++ b/ext/xml/tests/xml009.phpt
@@ -1,5 +1,9 @@
--TEST--
XML parser test, default namespaces
+--SKIPIF--
+<?php
+if (!xml_parser_create_ns('ISO-8859-1')) { die("skip xml_parser_create_ns is not supported on this plattform");};
+?>
--FILE--
<?php
function start_elem($parser,$name,$attribs) {
diff --git a/ext/xml/tests/xml010.phpt b/ext/xml/tests/xml010.phpt
index 962aad35a7..795c455e40 100644
--- a/ext/xml/tests/xml010.phpt
+++ b/ext/xml/tests/xml010.phpt
@@ -1,5 +1,9 @@
--TEST--
XML parser test, attributes
+--SKIPIF--
+<?php
+if (!xml_parser_create_ns('ISO-8859-1')) { die("skip xml_parser_create_ns is not supported on this plattform");};
+?>
--FILE--
<?php
function start_elem($parser,$name,$attribs) {