ID: 13511 Updated by: sterling Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Sablotron XSL Operating System: linux 2.2.6 i686 PHP Version: 4.0.5 New Comment:
Sablotron problem, not a php problem Previous Comments: ------------------------------------------------------------------------ [2001-10-02 09:56:47] [EMAIL PROTECTED] The following error: php: expr.cpp:1435: const class Str & Expression::tostringRef() const: Zusicherung »(functor == EXF_ATOM) && (type == EX_STRING)« nicht erfüllt. Abgebrochen is produced by the following code: XML: <?xml version="1.0"?> <return> <a>2</a> <b>3</b> </return> XSL: <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="return"> <xsl:variable name="a" select="a"/> <xsl:variable name="b" select="b"/> <input type="hidden" name="startquery" value="{$a+$b}"/> </xsl:template> </xsl:stylesheet> PHP: <?php $xmlSource=join("",file("test.xml")); $xslSource=join("",file("test.xsl")); xslt_process($xslSource, $xmlSource, $result); print "\n\n$result"; ?> ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=13511&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]