I have a very very simple xslt_process() call and it gives me an error I cannot find any documentation on. can someone tell what may be wrong? I have looked at gingerall's source but that doesn't help at all.
Thanks a lot.
Here's the code:
<?php
$xslData = fread(fopen("14-2.xsl", "r"), filesize("14-2.xsl"));
$xmlData = fread(fopen("14-1.xml", "r"), filesize("14-1.xml"));
if (xslt_process($xslData, $xmlData, $result))
{
echo $result;
}
echo "There was an error that occurred in the XSL transformation...\n";
echo "\tError number: " . xslt_errno() . "\n";
echo "\tError string: " . xslt_error() . "\n";
exit;
Here's the output:
Warning: msgtype: warning in c:\program files\apache group\apache\htdocs\xmltest.php on line 16
There was an error that occurred in the XSL transformation... Error number: 475 Error string: Destroying the arena: %s B asked, %s B allocated
NOTE: line 16 is the xslt_process() function call line.