From: Christian Stocker Date: Mon, 19 Jan 2004 17:38:47 +0000 (+0000) Subject: really fix this test... X-Git-Tag: php_ibase_before_split~91 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ab26ac118d3327d88cff8717f718eb9ed0064995;p=php really fix this test... --- diff --git a/ext/xsl/tests/xslt008.phpt b/ext/xsl/tests/xslt008.phpt index f906286cfb..b6dc37bfd0 100644 --- a/ext/xsl/tests/xslt008.phpt +++ b/ext/xsl/tests/xslt008.phpt @@ -6,19 +6,16 @@ Test 8: Stream Wrapper Includes load(dirname(__FILE__)."/streamsinclude.xsl"); if(!$xsl) { echo "Error while parsing the document\n"; exit; } -$xp = new domxpath($xsl); -$res = $xp->query("/xsl:stylesheet/xsl:include/@href"); -$res->item(0)->value = "compress.zlib://".dirname(__FILE__)."/xslt.xsl.gz"; +chdir(dirname(__FILE__)); $proc->importStylesheet($xsl); print "\n"; -//print $proc->transformToXML($dom); +print $proc->transformToXML($dom); --EXPECT--