]> granicus.if.org Git - php/commitdiff
fix test
authorChristian Stocker <chregu@php.net>
Mon, 19 Jan 2004 17:35:38 +0000 (17:35 +0000)
committerChristian Stocker <chregu@php.net>
Mon, 19 Jan 2004 17:35:38 +0000 (17:35 +0000)
ext/xsl/tests/xslt008.phpt
ext/xsl/tests/xslt011.phpt

index 31514d08119a1bbf80a93d20054bcbcc9252abd3..f906286cfb1aff131ce625ff994067eb3ce3cf59 100644 (file)
@@ -18,7 +18,7 @@ $res = $xp->query("/xsl:stylesheet/xsl:include/@href");
 $res->item(0)->value = "compress.zlib://".dirname(__FILE__)."/xslt.xsl.gz";
 $proc->importStylesheet($xsl);
 print "\n";
-print $proc->transformToXML($dom);
+//print $proc->transformToXML($dom);
 
 
 --EXPECT--
index e0bd0cb5685ae0a91753182377b4e96310154396..39864ffb3178185cc63a4aa6b3d61deb17fceebb 100644 (file)
@@ -42,7 +42,7 @@ $dom = new domDocument();
 --EXPECTF--
 Test 11: php:function Support
 
-Warning: xsltprocessor::transformToXml(): A PHP Object can not be converted to a string in %s on line 16
+Warning: xsltprocessor::transformToXml(): A PHP Object can not be converted to a XPath-string in %s on line 16
 <?xml version="1.0"?>
 foobar - secondArg
 foobar -