#29590 [NEW]: XSLT select syntax

From: Date: Mon, 09 Aug 2004 16:38:34 +0000
Subject: #29590 [NEW]: XSLT select syntax
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-64320@lists.php.net to get a copy of this message
From: x-penguin at tut dot by Operating system: Linux PHP version: 5CVS-2004-08-09 (dev) PHP Bug Type: XSLT related Bug description: XSLT select syntax Description: ------------ In php5.0.0 I can use next select syntax: <xsl:variable name="menus" select="php:function('Menu::createXML')/menus"/> but in php5.1.0-dev I see this warning >>> Warning: XSLTProcessor::transformToDoc() [function.transformToDoc]: Invalid type in /mnt/data/www/html/web/Includes/Theme.php on line 117 Warning: XSLTProcessor::transformToDoc() [function.transformToDoc]: runtime error: file /mnt/data/www/html/linux.grodno.by/web/Themes/FreeWay/Templates/Modules/module.xsl line 22 element variable in /mnt/data/www/html/web/Includes/Theme.php on line 117 Warning: XSLTProcessor::transformToDoc() [function.transformToDoc]: Evaluating global variable being computed ... failed in /mnt/data/www/html/web/Includes/Theme.php on line 117 >>> Menu::createXML() static method, returns XML document... in php5.0 all work fine, but in 5.1.0-dev dasn't. How i can do this in php5.1... or it's a bug? -- Edit bug report at http://bugs.php.net/?id=29590&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29590&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=29590&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=29590&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=29590&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=29590&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=29590&r=needscript Try newer version: http://bugs.php.net/fix.php?id=29590&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=29590&r=support Expected behavior: http://bugs.php.net/fix.php?id=29590&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=29590&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=29590&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=29590&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29590&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=29590&r=dst IIS Stability: http://bugs.php.net/fix.php?id=29590&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=29590&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=29590&r=float

« previous php.bugs (#64320) next »