I experimented a bit this morning, and I think I at least isolated the bugs I reported these days.
This is what I did:
* I removed the CVS modules version file by file * I reinstalled a stable AxKit 1.6.1 * I rebuilded the CVS version *without* installing it * I replaced the bugged XSP.pm with the one from the CVS * From a server error, I saw Apache::AxKit::LibXMLSupport was needed * I found the .pm files in the CVS and copied them to their location * XSP worked, but the two errors reported yesterday remain
For completeness' sake, the two errors are reported below.
Ciao --M
------------------------------------------------------------------------
ENCODING:
I have a document that complies with a DTD I wrote myself. The document contains some entities, namely: æ and à, which are defined on the DTD as:
<!ENTITY aelig "æ" ><!-- small ae diphthong (ligature) --> <!ENTITY agrave "à" ><!-- small a, grave accent -->
For compatibility with quite old browsers and OSs, I had on the configuration files these directives:
AxTranslateOutput On AxOutputCharset iso-8859-1
This worked ok with AxKit 1.5. On 1.6.1-CVS (downloaded a couple of hours ago or so) it's doing strange:
* the browser correctly detects a ISO-8859-1 encoding * æ shows up as æ * à shows up correctly
If I force the browser to UTF-8, æ shows up correctly and à is garbled.
If I comment out the two directives above:
* the browser detects a UTF-8 encoding * again, æ shows up as æ and à shows up correctly
Forcing the browser to ISO-8859-1 further garbles the output.
No problems are reported to the error log (with AxDebugLevel set to 1).
WRONG FILE NAME:
[AxKit] XSP Compilation finished [AxKit] Turning off cache! [AxKit] Cache: key = 682e0cfb0bb377411efcd40a3b965d7e [AxKit] LibXSLT match_uri: /var/www/messygee/id5882.xml [AxKit] LibXSLT open_content_uri: /var/www/messygee/id5882.xml [AxKit] Content Provider Override: Apache::AxKit::Provider::File [AxKit] decoding from UTF-8 [AxKit] [req] File Provider given $r: /var/www/messygee/var [AxKit] encoding to UTF-8 [AxKit] Caught an exception [AxKit] [UnCaught] File '/var/www/messygee/var' does not exist or is not readable
As you can see, it's trying to look into /var/www/messygee/var, which doesn't exist and that I don't set in any place.
-- Marco Marongiu Email: [EMAIL PROTECTED] CRS4 Research Center Phone: +39 070 9250 336 NCS Division Fax: +39 070 9250 216 NSM Group WWW: http://bugs.unica.it:4444/
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
