php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13511 fatal error when calculating variables
Submitted: 2001-10-02 09:56 UTC Modified: 2001-11-18 09:37 UTC
From: bleek at jobpilot dot de Assigned:
Status: Closed Package: Sablotron XSL
PHP Version: 4.0.5 OS: linux 2.2.6 i686
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: bleek at jobpilot dot de
New email:
PHP Version: OS:

 

 [2001-10-02 09:56 UTC] bleek at jobpilot dot de
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";
 
?>

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-11-18 09:37 UTC] sterling@php.net
Sablotron problem, not a php problem
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 14:01:30 2024 UTC