PHP 4.0 Bug #8385 Updated: Fatal error occurs with Sablotron 0.50

From: Date: Tue, 02 Jan 2001 03:46:17 +0000
Subject: PHP 4.0 Bug #8385 Updated: Fatal error occurs with Sablotron 0.50
Groups: php.dev 
Request: Send a blank email to php-dev+get-42542@lists.php.net to get a copy of this message
ID: 8385 Updated by: sterling Reported By: i_sofer@yahoo.com Status: Open Bug Type: Sablotron XSL Assigned To: Comments: 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). Previous Comments: --------------------------------------------------------------------------- [2000-12-22 18:16:55] i_sofer@yahoo.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 --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=8385

« previous php.dev (#42542) next »