php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8385 Fatal error occurs with Sablotron 0.50
Submitted: 2000-12-22 18:16 UTC Modified: 2001-01-17 09:29 UTC
From: i_sofer at yahoo dot com Assigned:
Status: Closed Package: Sablotron XSL
PHP Version: 4.0.4 OS: Linux 2.2.x
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: i_sofer at yahoo dot com
New email:
PHP Version: OS:

 

 [2000-12-22 18:16 UTC] i_sofer at yahoo dot com
I compiled PHP 4.0.4 with the following ./configure line:

./configure --prefix=/usr --with-zlib --with-fribidi --with-sablot --with-xml=../expat-1.95.1/

With the latest Sablot(0.50 to this date).

I ran a test code:

<?php
$temp=xslt_create();
xslt_run($temp, "idan.xsl", "idan.xml");


?>


PHP returned the following error:

Fatal error: msgtype: error in /usr/var/www/sab.php on line 3

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-01-01 22:46 UTC] sterling@php.net
This is due to messed up standard error reporting that will be fixed in CVS.

For more descriptive errors try the following:

function xsl_error($parser, $code, $level, $errors)
{
   echo "$parser [$code]: $level, ";
   var_dump($errors);
}

xslt_set_error_handler($temp, "xsl_error");

To find out what's really wrong (an error in your XML or XSL most likely).
 [2001-01-17 09:29 UTC] sterling@php.net
Fixed in CVS
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 13:01:30 2024 UTC