|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8483 xslt_run results in Fatal error: msgtype:
Submitted: 2000-12-29 13:40 UTC Modified: 2001-01-03 09:41 UTC
From: anders at isazone dot com Assigned:
Status: Closed Package: Sablotron XSL
PHP Version: 4.0.4 OS: Win-NT4
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: anders at isazone dot com
New email:
PHP Version: OS:


 [2000-12-29 13:40 UTC] anders at isazone dot com
I have the following php-script:

$parser = xslt_create();
print xslt_fetch_result($parser);

When I run the script I get the following error message: 
" Fatal error: msgtype: error in c:\htdocs\xmltest.php on line 3 "

My configuration is as follows:

WIndows-NT4, SP6
Sablotron 050
expat 1.95.1

I have also put the result from phpinfo() and my php.ini file on

/Anders Isaksson


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-01-03 09:41 UTC] anders at isazone dot com
Just found the answer to my problem in a reply to bug id #8385.

When I insert the suggested code, to print out the error messages I found an embarrassing error in the XSL code.

$parser = xslt_create();

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

print xslt_fetch_result($parser);

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Apr 15 09:01:28 2024 UTC