php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20640 xslt_set_encoding not implemented ?
Submitted: 2002-11-26 03:08 UTC Modified: 2003-01-05 07:54 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: erwan at barzhoneg dot com Assigned: edink (profile)
Status: Closed Package: XSLT related
PHP Version: 4.3.0RC1 OS: win2000 / IIS 5
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: erwan at barzhoneg dot com
New email:
PHP Version: OS:

 

 [2002-11-26 03:08 UTC] 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-11-26 03:17 UTC] derick@php.net
Not really; it seems that we didn't enable those in the windows builds. Assigning to edink.

Derick
 [2003-01-05 07:54 UTC] 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.


 [2003-04-10 07:07 UTC] 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-04-10 07:11 UTC] Lensman dot D at gmx dot net
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
"
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 06:01:30 2024 UTC