From a8209c5157bacefa32ebab30bc64832e4d82f4d4 Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Sun, 10 May 2009 15:48:39 +0000 Subject: [PATCH] - Simplify test (cweiske) --- ext/xsl/tests/bug48221.phpt | 76 ++----------------------------------- 1 file changed, 4 insertions(+), 72 deletions(-) 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 -- 2.50.1