On Sunday 03 February 2008 17:08:27 Martin Oldfield wrote: > Matt Sergeant writes: > > On 3-Feb-08, at 4:47 AM, Vaclav Barta wrote: > > > On Sunday 03 February 2008 01:11:57 Matt Sergeant wrote: > > >> Nope. Your best bet is to proxy through Apache2 onto an Apache 1.3.x > > >> backend with AxKit on. > > > Well, that works, but reminds me I really should upgrade libxml2... > > > There are > > > new versions of XML::LibXML & XML::LibXSLT - is there AxKit 1.x that's > > > compatible with them? > > See the patch recently posted to the list by Martin Oldfield. > Besides that, you'll also probably want this one: Well, they aren't enough. :-( The patched AxKit-1.7 (patch attached) on top of XML::LibXML-1.66, XML::LibXSLT-1.66, libxml2-2.6.30-r1 (gentoo ebuild) and libxslt-1.1.22 (also gentoo) fails with
Mon Feb 4 10:11:38 2008] [error] [client 127.0.0.1] [AxKit] [Error] /german/style/frame-util.xsl:1: parser error : Document is empty\n\n^\n/german/style/frame-util.xsl where the XSL file is valid (provided the path is Apache htdocs path) and works with AxKit-1.62. Of course, there's always more combinations to try - do you have a working one? Bye Vasek -- http://www.mangrove.cz/ Open Source integration
diff -ur AxKit-1.7.orig/lib/Apache/AxKit/ConfigReader.pm AxKit-1.7/lib/Apache/AxKit/ConfigReader.pm --- AxKit-1.7.orig/lib/Apache/AxKit/ConfigReader.pm 2005-07-14 20:43:33.000000000 +0200 +++ AxKit-1.7/lib/Apache/AxKit/ConfigReader.pm 2008-02-04 09:32:10.000000000 +0100 @@ -18,6 +18,7 @@ package Apache::AxKit::ConfigReader; use strict; +use Apache::URI; # use vars qw/$COUNT/; Only in AxKit-1.7/lib/Apache/AxKit: ConfigReader.pm~ diff -ur AxKit-1.7.orig/lib/Apache/AxKit/Language/HtmlDoc.pm AxKit-1.7/lib/Apache/AxKit/Language/HtmlDoc.pm --- AxKit-1.7.orig/lib/Apache/AxKit/Language/HtmlDoc.pm 2005-07-14 20:43:34.000000000 +0200 +++ AxKit-1.7/lib/Apache/AxKit/Language/HtmlDoc.pm 2008-02-04 09:29:04.000000000 +0100 @@ -69,7 +69,8 @@ <xsl:template match="text()"><xsl:value-of select="."/></xsl:template> </xsl:stylesheet> EOX - my $stylesheet = XML::LibXSLT->parse_stylesheet($style_dom); + my $xslt = XML::LibXSLT->new; + my $stylesheet = $xslt->parse_stylesheet($style_dom); my $results = $stylesheet->transform($dom); my $result; Only in AxKit-1.7/lib/Apache/AxKit/Language: HtmlDoc.pm~ diff -ur AxKit-1.7.orig/lib/Apache/AxKit/Language/LibXSLT.pm AxKit-1.7/lib/Apache/AxKit/Language/LibXSLT.pm --- AxKit-1.7.orig/lib/Apache/AxKit/Language/LibXSLT.pm 2005-08-10 14:21:56.000000000 +0200 +++ AxKit-1.7/lib/Apache/AxKit/Language/LibXSLT.pm 2008-02-04 09:30:15.000000000 +0100 @@ -122,7 +122,8 @@ return $provider; }; - $stylesheet = XML::LibXSLT->parse_stylesheet($style_doc); + my $xslt = XML::LibXSLT->new; + $stylesheet = $xslt->parse_stylesheet($style_doc); unless ($r->dir_config('AxDisableXSLTStylesheetCache')) { $style_cache{$style->key()} = Only in AxKit-1.7/lib/Apache/AxKit/Language: LibXSLT.pm~
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]