#20722 [Opn->Fbk]: Bad return with xslt_process
| From: | chregu@php.net | Date: | Fri, 29 Nov 2002 13:36:22 +0000 |
| Subject: | #20722 [Opn->Fbk]: Bad return with xslt_process | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-26184@lists.php.net to get a copy of this message | ||
ID: 20722
Updated by: chregu@php.net
Reported By: guichi@club-internet.fr
-Status: Open
+Status: Feedback
Bug Type: XSLT related
Operating System: Windows 2000 SP1
PHP Version: 4.2.3
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[2002-11-29 06:38:32] guichi@club-internet.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.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20722&edit=1