#24786 [Fbk]: xslt_set_encoding still not available
ID: 24786
Updated by: elmicha@php.net
Reported By: happycloud at undream dot com
Status: Feedback
Bug Type: XSLT related
Operating System: Linux 2.4
PHP Version: 4.3.3RC1
New Comment:
Can you please also make sure that you indeed compiled Sablotron with
iconv support, i.e. try "sabcmd -x your.xml your.xsl"?
I have been fighting with Sablotron and iconv on Solaris today (to no
avail so far), and although I never had problems with that on Linux, it
might give a hint to the problem's cause.
Previous Comments:
------------------------------------------------------------------------
[2003-07-24 06:26:07] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
And if this fails with the snapshot, check the config.log
for 'SablotSetEncoding' and any errors after that check.
------------------------------------------------------------------------
[2003-07-24 01:03:08] happycloud at undream dot com
On a side note. I took a look at libsablot.a and I have:
...
00001004 T SablotSetBaseForScheme
00001420 T SablotSetEncoding
000....
Does that mean that SablotSetEncoding function is indeed available and
php is not detecting that?
joshua
------------------------------------------------------------------------
[2003-07-24 00:57:35] happycloud at undream dot com
Description:
------------
I have compiled sablot with iconv support which as I undertsand it, is
the
way to add encoding support? correction?
I have also compiled php with sablot,expat, iconv (sometimes) to no
avail. I
still get a undefined function xslt_set_encoding. According to sablot,
the
way to use encoding directly is to specify it in the xml and xsl. I
have done
so and been able to get output from the sablot binary. Is there a sure
way to
tell that sablot does indeed have encoding support? I believe it does.
I have tried 4.3.1, 4.3.2, snaps from 4.3x and 4.5 as of today and I
get the
same problem. After defining HAVE_SABLOT_SET_ENCODING in
sablot.c, I can get it to work but....
I have seen this note on another bug :
---snip---
/* The user has to explicitly compile sablotron with sablotron encoding
functions in order for SablotSetEncoding to be enabled. */
This means xslt_set_encoding() won't be available if your
sablot installation hasn't got the SablotSetEncoding enabled
----snip---
Just how does one do that if sablot does not complain right now?
joshua
Expected result:
----------------
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=24786&edit=1
Thread (8 messages)