php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20722 Bad return with xslt_process
Submitted: 2002-11-29 06:38 UTC Modified: 2002-12-15 04:04 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: guichi at club-internet dot fr Assigned:
Status: No Feedback Package: XSLT related
PHP Version: 4.2.3 OS: Windows 2000 SP1
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: guichi at club-internet dot fr
New email:
PHP Version: OS:

 

 [2002-11-29 06:38 UTC] guichi at club-internet dot fr
Hi,

I'm using xslt_process like that :

$xslbot=xslt_create();
if (xslt_process($xslbot,"input.xml","input.xsl","ouput.xml"))
{    
  echo "Ca marche";
}
else
{
  echo "Une erreur est survenue durant le traitement XSL...\n";   
  echo "\tErreur num?ro : " . xslt_errno($xslbot) . "\n";   
  echo "\tMessage d'erreur : " . xslt_error($xslbot) . "\n"; 
  exit();
}
xslt_free ( $xslbot) ;

the 2 files xml xsl work well when you open them in IE.
But the output file contains the xsl file content and non the both result.

I try to introduce an error in the 2 input files, the errors are detected.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-11-29 07:36 UTC] chregu@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip

AFAIK this is a know problem with ext/xslt and windows in 4.2, I'm not sure about 4.3

chregu


 [2002-12-15 04:04 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 01 05:01:29 2024 UTC