#29590 [Opn->Fbk]: XSLT select syntax
| From: | chregu@php.net | Date: | Mon, 09 Aug 2004 16:42:34 +0000 |
| Subject: | #29590 [Opn->Fbk]: XSLT select syntax | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-64321@lists.php.net to get a copy of this message | ||
ID: 29590
Updated by: chregu@php.net
Reported By: x-penguin at tut dot by
-Status: Open
+Status: Feedback
Bug Type: XSLT related
Operating System: Linux
PHP Version: 5CVS-2004-08-09 (dev)
New Comment:
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.
please provide a self running example.
Previous Comments:
------------------------------------------------------------------------
[2004-08-09 18:38:33] x-penguin at tut dot by
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 this bug report at http://bugs.php.net/?id=29590&edit=1