Try using Sablotron or use the latest AxKit CVS. I was having problems just like yours
- LibXSLT was dying with no message. Lates CVS of AxKit fixed that.
Sablotron worked without problem.
There are directions on axkit.org on how to use the cvs and how to setup Sablotron.
Regards,
Pavel
----- Original Message -----
From: David Chaplin-Loebell
To: [EMAIL PROTECTED]
Sent: Sunday, February 02, 2003 9:29 PM
Subject: More newbie questions
Hello-- I'm trying to get AxKit working on my development server and I'm
having a tough time. My apologies if this is a FAQ-- I've read the
available documentation, but it's possible I'm just not recognizing the
I'm using the FreeBSD ports versions of Apache, mod_perl, AxKit, and
libXSLT (as well as all other AxKit dependencies). mod_perl is buit as a
DSO. mod_php is also built as a DSO, and has been turned off for
debugging purposes since I've seen the notes that it may conflict with
AxKit in some cases.
Currently, I have things set up as described in the new XSLT-based
Quickstart document. That is, I have the following in my httpd.conf:
PerlModule AxKit
AxDebugLevel 10
Alias /axkit/ /usr/www/axkit/
<Location /axkit/>
AddHandler AxKit .xml
# Map your XSLT transformations to use LibXSLT
AxAddStyleMap text/xsl Apache::AxKit::Language::LibXSLT
allow from all
</Location>
....and I have the test.xml file (about camels and dromedaries) and the
test.xsl file in place. These are at
http://greebo.klatha.com/axkit/test.xml
I also have a duplicate set of these files in the directory
<http://greebo.klatha.com/axkit2/>. That directory has no AxKit
processing defined.
Whenever I access the test.xml file in the AxKit directory, I get the
following messages in the error log:
[Sun Feb 2 14:23:07 2003] [warn] [client 216.158.26.7] [AxKit] [req] File
Provider given $r: /usr/www/axkit/test.xml
[Sun Feb 2 14:23:07 2003] [warn] [client 216.158.26.7] [AxKit] checking
if we process this resource
[Sun Feb 2 14:23:07 2003] [warn] [client 216.158.26.7] [AxKit] media:
screen, preferred style: #default
[Sun Feb 2 14:23:07 2003] [warn] [client 216.158.26.7] [AxKit] Cache: key
= 81d3406d1aa95e36bb779a6a6fbeff29
[Sun Feb 2 14:23:07 2003] [warn] [client 216.158.26.7] [AxKit] getting
styles and external entities from the XML
[Sun Feb 2 14:23:07 2003] [warn] [client 216.158.26.7] [AxKit] styles not
cached - calling $provider->get_styles()
[Sun Feb 2 14:23:07 2003] [warn] [client 216.158.26.7] [AxKit] using XS
get_styles (libxml2)
[Sun Feb 2 14:23:07 2003] [warn] [client 216.158.26.7] [AxKit] calling
xs_get_styles_fh()
[Sun Feb 2 14:23:07 2003] [warn] [client 216.158.26.7] [AxKit] calling
xs_get_styles_str()
[Sun Feb 2 14:23:07 2003] [warn] [client 216.158.26.7] [AxKit] parse_pi:
href = test.xsl
[Sun Feb 2 14:23:07 2003] [warn] [client 216.158.26.7] [AxKit] parse_pi:
type = text/xsl
[Sun Feb 2 14:23:07 2003] [warn] [client 216.158.26.7] [AxKit]
xs_get_styles returned: , , dromedaries
[Sun Feb 2 14:23:07 2003] [warn] [client 216.158.26.7] [AxKit] Calling
GetMatchingProcessors with (screen, , , , dromedaries)
[Sun Feb 2 14:23:07 2003] [warn] [client 216.158.26.7] [AxKit]
get_styles: loading style modules
[Sun Feb 2 14:23:07 2003] [warn] [client 216.158.26.7] [AxKit]
get_styles: looking for mapping for style type: 'text/xsl'
[Sun Feb 2 14:23:07 2003] [warn] [client 216.158.26.7] [AxKit] cache
doesn't exist
[Sun Feb 2 14:23:07 2003] [warn] [client 216.158.26.7] [AxKit] some
condition failed. recreating output
[Sun Feb 2 14:23:07 2003] [warn] [client 216.158.26.7] [AxKit] styles:
Apache::AxKit::Language::LibXSLT(test.xsl)
[Sun Feb 2 14:23:07 2003] [warn] [client 216.158.26.7] [AxKit] Style
Provider Override: Apache::AxKit::Provider::File
[Sun Feb 2 14:23:07 2003] [warn] [client 216.158.26.7] [AxKit] [uri] File
Provider looking up uri test.xsl
[Sun Feb 2 14:23:07 2003] [warn] [client 216.158.26.7] [AxKit] [uri] File
Provider set filename to /usr/www/axkit/test.xsl
[Sun Feb 2 14:23:07 2003] [warn] [client 216.158.26.7] [AxKit] about to
execute: Apache::AxKit::Language::LibXSLT::handler
[Sun Feb 2 14:23:07 2003] [warn] [client 216.158.26.7] [AxKit] [LibXSLT]
getting the XML
....and then nothing is returned to the client.
Any suggestions?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]