You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Jonas Nordström <Jo...@ei.sigma.se> on 2000/06/15 11:10:10 UTC

Re: XSL-Handler

I still can't get it to work. I've installed XML-Sablot 0.35 (and Sablot
0.36 and XML-Parser and XML-XPath and Storable and perl 5.6.0 ...)
Same error!
Also, when I start up the webserver, I get:

[jon@zappa]/home/hal/foo/bin>apachectl start
Ambiguous use of caller => resolved to "caller" => at
/usr/lib/perl5/site_perl/Apache/AxKit/Exception.pm line 15.
Ambiguous use of package => resolved to "package" => at
/usr/lib/perl5/site_perl/Apache/AxKit/Exception.pm line 16.
apachectl start: httpd started


Each time I access the xml-file, the error-log prints:
[Thu Jun 15 10:55:43 2000] [error] [client 10.10.1.186] [AxKit] [UnCaught]
Apache::AxKit::Exception::Declined=HASH(0x849a8cc) at
/usr/lib/perl5/site_perl/Apache/AxKit/Provider/File.pm line 151.

[Thu Jun 15 10:55:43 2000] [error] [client 10.10.1.186] [AxKit] [UnCaught]
Apache::AxKit::Exception::Declined=HASH(0x849ab84) at
/usr/lib/perl5/site_perl/Apache/AxKit/Provider/File.pm line 123.

Should I give up?

/Jonas




> Thanks for the AxKit tip!
>=20
> I have some problems though. I used AxKit-0.94, but it doesn't work yet.
>=20
> My http.conf configuration:
> PerlModule AxKit
> <Location /~jon/xml>
>    SetHandler perl-script
>    PerlHandler AxKit
>=20
>    # Setup style type mappings
>    AxAddStyleMap text/xsl Apache::AxKit::Language::Sablot
>    AxAddStyleMap application/x-xpathscript \
>    Apache:AxKit::Language::XPathScript
>=20
>    # Optionally setup a default style mapping
>    AxAddDefaultStyleMap /default.xsl text/xsl
>=20
>    # Optionally set a hard coded cache directory
>    #AxCacheDir /
> </Location>

The error should have said "handler method not found", which is referring
to the Sablot processor. I'm going to assume you don't have XML::Sablot
installed. Get it from http://www.gingerall.com/

--=20
<Matt/>
	-----Original Message-----
	From:	Matt Sergeant [SMTP:matt@sergeant.org]
	Sent:	den 14 juni 2000 19:27
	To:	Jonas Nordström
	Cc:	'modperl@apache.org'
	Subject:	RE: XSL-handler

	This message uses a character set that is not supported by the
Internet Service.  To view the original message content,  open the attached
message. If the text doesn't display correctly, save the attachment to disk,
and then open it using a viewer that can display the original character set.
<< File: message.txt >>