Re: svn: /php/php-src/ branches/PHP 5 4/ext/xsl/tests/xsltprocessor registerPHPFunctions-funcnostring.phpt branches/PHP 5
4/ext/xsl/tests/xsltprocessor registerPHPFunctions-funcundef.phpt trunk/ext/xsl/tests/xsltprocessor registerPHPFu

From: Date: Mon, 05 Sep 2011 08:24:47 +0000
Subject: Re: svn: /php/php-src/ branches/PHP 5 4/ext/xsl/tests/xsltprocessor registerPHPFunctions-funcnostring.phpt branches/PHP 5
4/ext/xsl/tests/xsltprocessor registerPHPFunctions-funcundef.phpt trunk/ext/xsl/tests/xsltprocessor registerPHPFu
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-66192@lists.php.net to get a copy of this message
Hi Why did you do that? They're different on purpose. I'll revert that, since the tests now fail. chregu On 9/2/11 8:01 PM, Shein Alexey wrote: > shein Fri, 02 Sep 2011 18:01:20 +0000 > > Revision: > http://svn.php.net/viewvc?view=revision&revision=316043 > > Log: > Synchronized fixed tests from 5.3 branch. > > Changed paths: > U > php/php-src/branches/PHP_5_4/ext/xsl/tests/xsltprocessor_registerPHPFunctions-funcnostring.phpt > U > php/php-src/branches/PHP_5_4/ext/xsl/tests/xsltprocessor_registerPHPFunctions-funcundef.phpt > U php/php-src/trunk/ext/xsl/tests/xsltprocessor_registerPHPFunctions-funcnostring.phpt > U php/php-src/trunk/ext/xsl/tests/xsltprocessor_registerPHPFunctions-funcundef.phpt > > Modified: > php/php-src/branches/PHP_5_4/ext/xsl/tests/xsltprocessor_registerPHPFunctions-funcnostring.phpt > =================================================================== > --- > php/php-src/branches/PHP_5_4/ext/xsl/tests/xsltprocessor_registerPHPFunctions-funcnostring.phpt 2011-09-02 > 17:56:07 UTC (rev 316042) > +++ > php/php-src/branches/PHP_5_4/ext/xsl/tests/xsltprocessor_registerPHPFunctions-funcnostring.phpt 2011-09-02 > 18:01:20 UTC (rev 316043) > @@ -21,10 +21,17 @@ > $proc->importStylesheet($phpfuncxsl); > var_dump($proc->registerPHPFunctions()); > var_dump($proc->transformToXml($dom)); > +?> > --EXPECTF-- > NULL > > Warning: XSLTProcessor::transformToXml(): Handler name must be a string in %s on line %d > + > +Warning: XSLTProcessor::transformToXml(): xmlXPathCompiledEval: evaluation failed in %s on > line %d > + > +Warning: XSLTProcessor::transformToXml(): runtime error: file %s line %d element value-of in > %s on line %d > + > +Warning: XSLTProcessor::transformToXml(): XPath evaluation returned no result. in %s on line > %d > NULL > --CREDITS-- > Christian Weiske, cweiske@php.net > > Modified: > php/php-src/branches/PHP_5_4/ext/xsl/tests/xsltprocessor_registerPHPFunctions-funcundef.phpt > =================================================================== > --- > php/php-src/branches/PHP_5_4/ext/xsl/tests/xsltprocessor_registerPHPFunctions-funcundef.phpt 2011-09-02 > 17:56:07 UTC (rev 316042) > +++ > php/php-src/branches/PHP_5_4/ext/xsl/tests/xsltprocessor_registerPHPFunctions-funcundef.phpt 2011-09-02 > 18:01:20 UTC (rev 316043) > @@ -20,10 +20,17 @@ > $proc->importStylesheet($phpfuncxsl); > var_dump($proc->registerPHPFunctions()); > var_dump($proc->transformToXml($dom)); > +?> > --EXPECTF-- > NULL > > Warning: XSLTProcessor::transformToXml(): Unable to call handler undefinedfunc() in %s on line > %d > + > +Warning: XSLTProcessor::transformToXml(): xmlXPathCompiledEval: evaluation failed in %s on > line %d > + > +Warning: XSLTProcessor::transformToXml(): runtime error: file %s line %d element value-of in > %s on line %d > + > +Warning: XSLTProcessor::transformToXml(): XPath evaluation returned no result. in %s on line > %d > NULL > --CREDITS-- > Christian Weiske, cweiske@php.net > > Modified: php/php-src/trunk/ext/xsl/tests/xsltprocessor_registerPHPFunctions-funcnostring.phpt > =================================================================== > --- > php/php-src/trunk/ext/xsl/tests/xsltprocessor_registerPHPFunctions-funcnostring.phpt 2011-09-02 > 17:56:07 UTC (rev 316042) > +++ > php/php-src/trunk/ext/xsl/tests/xsltprocessor_registerPHPFunctions-funcnostring.phpt 2011-09-02 > 18:01:20 UTC (rev 316043) > @@ -21,10 +21,17 @@ > $proc->importStylesheet($phpfuncxsl); > var_dump($proc->registerPHPFunctions()); > var_dump($proc->transformToXml($dom)); > +?> > --EXPECTF-- > NULL > > Warning: XSLTProcessor::transformToXml(): Handler name must be a string in %s on line %d > + > +Warning: XSLTProcessor::transformToXml(): xmlXPathCompiledEval: evaluation failed in %s on > line %d > + > +Warning: XSLTProcessor::transformToXml(): runtime error: file %s line %d element value-of in > %s on line %d > + > +Warning: XSLTProcessor::transformToXml(): XPath evaluation returned no result. in %s on line > %d > NULL > --CREDITS-- > Christian Weiske, cweiske@php.net > > Modified: php/php-src/trunk/ext/xsl/tests/xsltprocessor_registerPHPFunctions-funcundef.phpt > =================================================================== > --- > php/php-src/trunk/ext/xsl/tests/xsltprocessor_registerPHPFunctions-funcundef.phpt 2011-09-02 > 17:56:07 UTC (rev 316042) > +++ > php/php-src/trunk/ext/xsl/tests/xsltprocessor_registerPHPFunctions-funcundef.phpt 2011-09-02 > 18:01:20 UTC (rev 316043) > @@ -20,10 +20,17 @@ > $proc->importStylesheet($phpfuncxsl); > var_dump($proc->registerPHPFunctions()); > var_dump($proc->transformToXml($dom)); > +?> > --EXPECTF-- > NULL > > Warning: XSLTProcessor::transformToXml(): Unable to call handler undefinedfunc() in %s on line > %d > + > +Warning: XSLTProcessor::transformToXml(): xmlXPathCompiledEval: evaluation failed in %s on > line %d > + > +Warning: XSLTProcessor::transformToXml(): runtime error: file %s line %d element value-of in > %s on line %d > + > +Warning: XSLTProcessor::transformToXml(): XPath evaluation returned no result. in %s on line > %d > NULL > --CREDITS-- > Christian Weiske, cweiske@php.net

« previous php.cvs (#66192) next »