]> granicus.if.org Git - php/commitdiff
skip tests, if xml_parser_create_ns is not supported.
authorChristian Stocker <chregu@php.net>
Mon, 23 Feb 2004 16:01:15 +0000 (16:01 +0000)
committerChristian Stocker <chregu@php.net>
Mon, 23 Feb 2004 16:01:15 +0000 (16:01 +0000)
ext/xml/tests/bug25666.phpt
ext/xml/tests/xml009.phpt
ext/xml/tests/xml010.phpt

index 5e95b31b17800f99e7bc20be953859c73cc62a5c..119f55e4ea8e6050134af63b8b82e06f0f799add 100644 (file)
@@ -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) {
index 76355dec48915c7e6dda624d446420de1e9c72c3..9e297925d697623c76f5732f760e910388e838f9 100644 (file)
@@ -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) {
index 962aad35a7c7da618c917b3f986a299510757f06..795c455e404710fd2f3c5251c4604f2abfbd9818 100644 (file)
@@ -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) {