From: Felipe Pena Date: Sun, 10 May 2009 15:48:39 +0000 (+0000) Subject: - Simplify test (cweiske) X-Git-Tag: php-5.3.0RC3~303 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a8209c5157bacefa32ebab30bc64832e4d82f4d4;p=php - Simplify test (cweiske) --- diff --git a/ext/xsl/tests/bug48221.phpt b/ext/xsl/tests/bug48221.phpt index 609112db3d..2d08b3d291 100644 --- a/ext/xsl/tests/bug48221.phpt +++ b/ext/xsl/tests/bug48221.phpt @@ -6,80 +6,12 @@ if (!extension_loaded('xsl')) die("skip Extension XSL is required\n"); ?> --FILE-- loadXML(' - - Sales Results By Division - - - - - - - - - - - - - - - - - - - -
DivisionRevenueGrowthBonus
- - - - - - - - color:red - - - - - -
- -'); - -$dom = new DOMDocument; -$dom->loadXMl(' - - - 10 - 9 - 7 - - - - 4 - 3 - 4 - - - - 6 - -1.5 - 2 - - -'); - -$proc = new xsltprocessor; +include('prepare.inc'); $proc->importStylesheet($xsl); $proc->setParameter('', '', '"\''); $proc->transformToXml($dom); - -?> --EXPECTF-- Warning: XSLTProcessor::transformToXml(): Cannot create XPath expression (string contains both quote and double-quotes) in %s on line %d +--CREDITS-- +Christian Weiske, cweiske@php.net +PHP Testfest Berlin 2009-05-09