After upgrading to AxKit 1.6, I'm encountering strange behavior with XSP
pages that are in non-UTF encoding. Namely, the non-ascii portion of
that XSP page simply dissappears....

Here's a minimal test case:

=====

<?xml version="1.0" encoding="euc-jp"?>
<xsp:page xmlns:xsp="http://www.apache.org/1999/XSP/Core" language="Perl">

<html>
    <p>日本語</p>
    <xsp:expr>localtime</xsp:expr>
</html>

</xsp:page>

=====

After going through XSP transformation, the contents between the <p>
tags vanish, and produces this as the output:

=====

<?xml version="1.0" encoding="UTF-8"?>
<html><p/>Wed Jun 12 14:06:06 2002</html>

=====

However, if you change the ncoding to UTF-8, and go through the
transformation....

=====

<?xml version="1.0" encoding="utf-8"?>
<xsp:page xmlns:xsp="http://www.apache.org/1999/XSP/Core" language="Perl">

<html>
    <p>腋Wユ~\・・^</p>
    <xsp:expr>localtime</xsp:expr>
</html>

</xsp:page>

=====

I get

=====

<?xml version="1.0" encoding="UTF-8"?>
<html><p>日本語</p>Wed Jun 12 14:06:17 2002</html>

=====


I noticed from the logs that there are input conversion errors. when
parsing the XML. Just to make sure that I wasn't going insane, I passed
these files through xmllint, and they parsed fine...

any pointers?

-- 
$_=q-(daisuke)-;s,([a-z]+),$1.q; [[EMAIL PROTECTED]] ;,e;print;


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to