The same XML, XSL and python code works fine if not called inside a mod_python handler Reproducible: Always Steps to Reproduce: 1. configure an apache2 dir with attached .htaccess 2. adjust the paths in test.py 3. call the script Actual Results: 簊
The same XML, XSL and python code works fine if not called inside a mod_python handler Reproducible: Always Steps to Reproduce: 1. configure an apache2 dir with attached .htaccess 2. adjust the paths in test.py 3. call the script Actual Results: ç°â ç³æ¥²æ®a????ç° Expected Results: stringa I've tried also utf-8 encodig. I consider XSLT valuable for a web application so i think a major feature is broken.
Created attachment 27982 [details] test handler
Created attachment 27983 [details] sample XML document
Created attachment 27984 [details] test XSL template
Created attachment 27985 [details] .htaccess used to configure the handler
Python 2.3.3 (#1, Mar 25 2004, 00:10:20) [GCC 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7)] apache2 Server version: Apache/2.0.49 mod_python Version 3.1.3 4suite Version 1.0_alpha3
The scripts are not encoding-safe, but the garbage string varies over time and is not the expected result encoded in another format (as long as i can see)
what version of 4suite and mod_python and libxslt?
Try http://www.modpython.org/dist/mod_python-3.2.6.tgz
Closing because of lack of response.