From ab26ac118d3327d88cff8717f718eb9ed0064995 Mon Sep 17 00:00:00 2001 From: Christian Stocker Date: Mon, 19 Jan 2004 17:38:47 +0000 Subject: [PATCH] really fix this test... --- ext/xsl/tests/xslt008.phpt | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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-- -- 2.50.1