Hello,
after trying the standard Axkit examples on a Windows system (I used the binary for
Win32 which included Apache and mod_perl) I get the xml-tags and no conversion with
the xsp-file. The error.log file either retrieves no information at all or I get:
[Tue Oct 22 19:35:29 2002] [warn] [client 127.0.0.1] [AxKit] handler called for
/axkit/test.xsl
[Tue Oct 22 19:35:29 2002] [warn] [client 127.0.0.1] [AxKit] Content Provider
Override: Apache::AxKit::Provider::File
[Tue Oct 22 19:35:29 2002] [warn] [client 127.0.0.1] [AxKit] [req] File Provider given
$r: c:/apache/axkit/test.xsl
[Tue Oct 22 19:35:29 2002] [warn] [client 127.0.0.1] [AxKit] checking if we process
this resource
[Tue Oct 22 19:35:29 2002] [warn] [client 127.0.0.1] [AxKit] media: screen, preferred
style: #default
[Tue Oct 22 19:35:29 2002] [warn] [client 127.0.0.1] [AxKit] Cache: key =
faf3894d834a616ad632d266b9fd0aed
[Tue Oct 22 19:35:29 2002] [warn] [client 127.0.0.1] [AxKit] getting styles and
external entities from the XML
[Tue Oct 22 19:35:29 2002] [warn] [client 127.0.0.1] [AxKit] styles not cached -
calling $provider->get_styles()
[Tue Oct 22 19:35:29 2002] [warn] [client 127.0.0.1] [AxKit] using XS get_styles
(libxml2)
[Tue Oct 22 19:35:29 2002] [warn] [client 127.0.0.1] [AxKit] calling xs_get_styles_fh()
[Tue Oct 22 19:35:29 2002] [warn] [client 127.0.0.1] [AxKit] calling
xs_get_styles_str()
[Tue Oct 22 19:35:29 2002] [warn] [client 127.0.0.1] [AxKit] xs_get_styles returned: ,
, {http://www.w3.org/1999/XSL/Transform}stylesheet
[Tue Oct 22 19:35:29 2002] [warn] [client 127.0.0.1] [AxKit] Calling
GetMatchingProcessors with (screen, , , ,
{http://www.w3.org/1999/XSL/Transform}stylesheet)
[Tue Oct 22 19:35:29 2002] [warn] [client 127.0.0.1] [AxKit] Caught an exception
[Tue Oct 22 19:35:29 2002] [warn] [client 127.0.0.1] [AxKit] [DECLINED] From:
c:/Perl/site/lib/Error.pm : 148
On another occasion the error log more or less started the same but I got
xs_get_styles returned: , , dromedaries
Now I don't get any errors at all, or the above cryptic messages. In the Error.pm file
I found line 148 was a Throw method which throws an error but I can't figure out why.
In my httpd.conf file it now reads:
# Apache::AxKit
PerlModule AxKit
Alias /axkit/ "C:/Apache/axkit/"
<Location /axkit>
SetHandler perl-script
PerlHandler AxKit
AddHandler axkit .xml
AddHandler axkit .xsp
AddHandler axkit .dkb
AxCacheDir /opt/axkit/cachedir
AxAddStyleMap application/x-xpathscript Apache::AxKit::Language::XPathScript
AxAddStyleMap text/xsl Apache::AxKit::Language::LibXSLT
#######AxAddStyleMap text/xsl Apache::AxKit::Language::Sablot
AxDebugLevel 10
AxTranslateOutput On
AxOutputCharset windows-1251
PerlSetVar AxXPSInterpolate 1
</Location>
Can anyone help me and tell me what I'm doing wrong?