#20640 [Com]: xslt_set_encoding not implemented ?
| From: | Lensman dot D at gmx dot net | Date: | Thu, 10 Apr 2003 12:11:22 +0000 |
| Subject: | #20640 [Com]: xslt_set_encoding not implemented ? | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-37516@lists.php.net to get a copy of this message | ||
ID: 20640
Comment by: Lensman dot D at gmx dot net
Reported By: erwan at barzhoneg dot com
Status: Closed
Bug Type: XSLT related
Operating System: win2000 / IIS 5
PHP Version: 4.3.0RC1
Assigned To: edink
New Comment:
Addition:
This is the error without xslt_set_encoding($xsltproc, "ISO-8859-1")
With xslt_set_encoding I got:
"
Fatal error: Call to undefined function: xslt_set_encoding() in
/www/htdocs/search/transform.php on line 58
"
Previous Comments:
------------------------------------------------------------------------
[2003-04-10 07:07:49] Lernsman dot D at gmx dot net
Well, I get the same with the following configuration:
Linux, Apache 2.0.44, PHP 4.3.2RC1, Sablotron 0.98
"
Warning: Sablotron error on line 1: unknown encoding '' in
/www/htdocs/search/transform.php on line 61
XSLT processing error: unknown encoding ''
"
------------------------------------------------------------------------
[2003-01-05 07:54:51] edink@php.net
This bug has been fixed in CVS.
In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
------------------------------------------------------------------------
[2002-11-26 03:17:25] derick@php.net
Not really; it seems that we didn't enable those in the windows builds.
Assigning to edink.
Derick
------------------------------------------------------------------------
[2002-11-26 03:08:54] erwan at barzhoneg dot com
When I try to use the function xslt_set_encoding , that's what I get :
Fatal error: Call to undefined function: xslt_set_encoding()
$xp = xslt_create();
xslt_set_encoding ($xp,"ISO-8859-1");
$out = xslt_process($xp, 'arg:/_xml', 'arg:/_xsl', NULL, $args,
$params);
xslt_free($xp);
Strange isn't it ?
Thanks
Erwan
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20640&edit=1