perl version if 5.6.1, I'm just trying to go from EUC-JP encoded XSP
file, and process it with another EUC-JP encoded XSL file.
The only thing that I varied while I was testing this is the
<xsl:output> tag, and I tried UTF-8, ISO-2022-JP, EUC-JP, and what have
you. Only UTF-8 worked.
With AxDebugLevel 10, I see that the XSP script is correctly compiling..
below is the output in the log with <xsl:output encoding="EUC-JP" />
====
[Sat Feb 23 10:37:25 2002] [warn] [client 127.0.0.1] [AxKit] XSP
Compilation finished
[Sat Feb 23 10:37:25 2002] [warn] [client 127.0.0.1] [AxKit] Turning off
cache!
[Sat Feb 23 10:37:25 2002] [warn] [client 127.0.0.1] [AxKit] Cache: key
= 81419e2abcff31e60ed4d8019e78037e
[Sat Feb 23 10:37:25 2002] [warn] [client 127.0.0.1] [AxKit] [Cache]
writing cache file
/path/to/myproject/.xmlstyle_cache/81/41/9e2abcff31e60ed4d8019e78037e
[Sat Feb 23 10:37:25 2002] [warn] [client 127.0.0.1] [AxKit] execution
of: Apache::AxKit::Language::XSP::handler finished
[Sat Feb 23 10:37:25 2002] [warn] [client 127.0.0.1] [AxKit] [uri] File
Provider looking up uri main.xsl
[Sat Feb 23 10:37:25 2002] [warn] [client 127.0.0.1] [AxKit] [uri] File
Provider set filename to /path/to/myproject/main.xsl
[Sat Feb 23 10:37:25 2002] [warn] [client 127.0.0.1] [AxKit] about to
execute: Apache::AxKit::Language::LibXSLT::handler
[Sat Feb 23 10:37:25 2002] [warn] [client 127.0.0.1] [AxKit] [LibXSLT]
getting the XML
[Sat Feb 23 10:37:25 2002] [warn] [client 127.0.0.1] [AxKit] [LibXSLT]
parsing stylesheet
[Sat Feb 23 10:37:25 2002] [warn] [client 127.0.0.1] [AxKit] [LibXSLT]
parsing stylesheet /main.xsl
[Sat Feb 23 10:37:25 2002] [warn] [client 127.0.0.1] [AxKit] [LibXSLT]
performing transformation
output conversion failed due to conv error
Bytes: 0xA1 0xE3 0xA5 0xEF
xmlOutputBufferFlush: encoder error
output conversion failed due to conv error
Bytes: 0xE3 0xA5 0xEF 0xA5
xmlOutputBufferFlush: encoder error
[Sat Feb 23 10:37:25 2002] [warn] [client 127.0.0.1] [AxKit] execution
of: Apache::AxKit::Language::LibXSLT::handler finished
[Sat Feb 23 10:37:25 2002] [warn] [client 127.0.0.1] [AxKit] writing xml
string to browser
=====
BTW Christian Glahn contacted me, and I somehow don't think it's
XML::LibXSLT per se... I wrote a simple test ( which I've since sent him
) that did the XSLT translation to and from EUC-JP, SJIS, ISO-2022-JP,
and UTF-8, and everything worked without a hitch.
--d
Tod Harter wrote:
> On Saturday 23 February 2002 03:16, Daisuke Maki wrote:
>
>>Darn, I spoke too soon on the other thread claiming that LibXML 1.32
>>fixed my problem. Further experimentation shows that it still behaves
>>the same way when you specify anything other than UTF-8 as the output in
>>the <xsl:output> tag.
>>
>>
> What version of perl are you using, and what encodings are you trying to use?
>
>
--
<?xml version="1.0">
<signature who="Maki, Daisuke">
<attrib name="Perl,XML,mod_perl,PostgreSQL" />
<quote who="Rikli, Steve">
So you want me to download the whole CPAN for you or what?
</quote>
</signature>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]