I installed AxKit 1.61 on Apache/1.3.27 (Win32) . I am using mod_perl/1.27_01-dev and perl 5.6.1.
Everything seems to be working, but when I use AxKit to serve xml file with an xsl stylesheet, I see a strange problem.
If AxKit caching is enabled, apache returns a portion of the result of the xsl transformation with the length exaclty as in the xml file requested.
The cached file is correct however.
If I disable caching the problem disappears.
It looks even as if AxKit is not the cause of the problem because the cache file name is passed back correctly through $r->filaname().
But at the same time it seems that the length of the content remains the same and it causes the result to be incomplete.
Unfortunately I cannot use later version of Apache or mod_perl (I could not find any later binary build for Apache 1.3).
If somebody encountered a similar situation I would appreciate any comments.
Igor
I got hit by this as well. I believe this was a bug with 1.61. It normally doesn't effect most browsers with the exception of the first version of Safari, which choked hard on the missing Content-Length.
Which win32 are you using? There most certainly is a newer version of Apache on apache.org and a newer mod_perl on http://theoryx5.uwinnipeg.ca/ppmpackages/.
Now, as far as AxKit goes, that's a little tricky on win32. Randy has a newer version on http://theoryx5.uwinnipeg.ca/ppmpackages/, but it's compiled against newer LibXML/LibXSLT packages (1.57/1.58 I believe), and those had some strange crashing issues for me.
Eventually I ended up compiling earlier versions (1.54/1.53) and my own AxKit with some help from Randy to get it working for me.
If you don't want to upgrade, I believe the issue was small enough that a path could be applied cleanly. Search the mail archives for Content-Length.
What versions of XML::LibXML/XML::LibXSLT/libxsl/libxslt do you have installed?
IF you want to try and upgrade AxKit, give Randys ppms a try. IF those cause you problems, I can try packageing up what I have, or compile fresh versions for you.
-=Chris
smime.p7s
Description: S/MIME Cryptographic Signature
