I don't know what's going wrong but maybe you could give it a try with XML::LibXSLT instead of Sablotron?
Tom
Filippo Bardelli wrote:
Alle 15:18, domenica 28 marzo 2004, Kip Hampton ha scritto:
Filippo Bardelli wrote:
[]
any help ?
Hmmm, your config looks okay... try adding the following 2 lines to your .conf file:
AxDebugLevel 10 AxLogDeclines On
stop and restart Apache, then request the document-- see if anything informative appears in your host's error log.
This is apache's error_log
[Mon Mar 29 00:44:33 2004] [warn] [client 151.27.31.79] [AxKit] fast handler called for /test.sxw
[Mon Mar 29 00:44:33 2004] [warn] [client 151.27.31.79] [AxKit] Running plugin: Apache::AxKit::Plugin::OpenOffice
[Mon Mar 29 00:44:34 2004] [warn] [client 151.27.31.79] [AxKit] Content Provider Override: Apache::AxKit::Provider::OpenOffice
[Mon Mar 29 00:44:34 2004] [warn] [client 151.27.31.79] [AxKit] decoding from UTF-8
[Mon Mar 29 00:44:34 2004] [warn] [client 151.27.31.79] [AxKit] [req] File Provider given $r: /var/www/htdocs/test.sxw
[Mon Mar 29 00:44:34 2004] [warn] [client 151.27.31.79] [AxKit] checking if we process this resource
[Mon Mar 29 00:44:34 2004] [warn] [client 151.27.31.79] [AxKit] media: screen, preferred style: #default
[Mon Mar 29 00:44:34 2004] [warn] [client 151.27.31.79] [AxKit] Cache: key = a8370e2e9639007b62b20fc3b5165181
[Mon Mar 29 00:44:34 2004] [warn] [client 151.27.31.79] [AxKit] getting styles and external entities from the XML
[Mon Mar 29 00:44:34 2004] [warn] [client 151.27.31.79] [AxKit] styles not cached - calling $provider->get_styles()
[Mon Mar 29 00:44:34 2004] [warn] [client 151.27.31.79] [AxKit] using XS get_styles (libxml2)
[Mon Mar 29 00:44:34 2004] [warn] [client 151.27.31.79] [AxKit] calling xs_get_styles_fh()
[Mon Mar 29 00:44:34 2004] [warn] [client 151.27.31.79] [AxKit] calling xs_get_styles_str()
[Mon Mar 29 00:44:34 2004] [warn] [client 151.27.31.79] [AxKit] xs_get_styles returned: -//OpenOffice.org//DTD OfficeDocument 1.0//EN, office.dtd, {http://
openoffice.org/2000/office}document-content
[Mon Mar 29 00:44:34 2004] [warn] [client 151.27.31.79] [AxKit] Calling GetMatchingProcessors with (screen, , -//OpenOffice.org//DTD OfficeDocument 1.0//EN, office.dtd, {http://openoffice.org/2000/office}document-content)
[Mon Mar 29 00:44:34 2004] [warn] [client 151.27.31.79] [AxKit] get_styles: loading style modules
[Mon Mar 29 00:44:34 2004] [warn] [client 151.27.31.79] [AxKit] get_styles: looking for mapping for style type: 'text/xsl'
[Mon Mar 29 00:44:34 2004] [warn] [client 151.27.31.79] [AxKit] get_styles: looking for mapping for style type: 'application/x-axpoint'
[Mon Mar 29 00:44:34 2004] [warn] [client 151.27.31.79] [AxKit] cache doesn't exist
[Mon Mar 29 00:44:34 2004] [warn] [client 151.27.31.79] [AxKit] some condition failed. recreating output
[Mon Mar 29 00:44:34 2004] [warn] [client 151.27.31.79] [AxKit] styles: Apache::AxKit::Language::Sablot(/stylesheets/oo2html.xsl)
[Mon Mar 29 00:44:34 2004] [warn] [client 151.27.31.79] [AxKit] styles: Apache::AxKit::Language::AxPoint(NULL)
[Mon Mar 29 00:44:34 2004] [warn] [client 151.27.31.79] [AxKit] Style Provider Override: Apache::AxKit::Provider::File
[Mon Mar 29 00:44:34 2004] [warn] [client 151.27.31.79] [AxKit] [uri] File Provider looking up uri /stylesheets/oo2html.xsl
[Mon Mar 29 00:44:34 2004] [warn] [client 151.27.31.79] [AxKit] encoding to UTF-8
[Mon Mar 29 00:44:34 2004] [warn] [client 151.27.31.79] [AxKit] [uri] File Provider set filename to /var/www/htdocs/stylesheets/oo2html.xsl
[Mon Mar 29 00:44:34 2004] [warn] [client 151.27.31.79] [AxKit] about to execute: Apache::AxKit::Language::Sablot::handler
[Mon Mar 29 00:44:34 2004] [warn] [client 151.27.31.79] [AxKit] Sablot: Looking up URI: stylesheets/oocommon.xsl
[Mon Mar 29 00:44:34 2004] [warn] [client 151.27.31.79] [AxKit] Provider get_ext_ent_handler for stylesheets/oocommon.xsl
[Mon Mar 29 00:44:34 2004] [warn] [client 151.27.31.79] [AxKit] Content Provider Override: Apache::AxKit::Provider::File
[Mon Mar 29 00:44:34 2004] [warn] [client 151.27.31.79] [AxKit] decoding from UTF-8
[Mon Mar 29 00:44:34 2004] [warn] [client 151.27.31.79] [AxKit] [req] File Provider given $r: /var/www/htdocs/stylesheets/oocommon.xsl
[Mon Mar 29 00:44:34 2004] [warn] [client 151.27.31.79] [AxKit] encoding to UTF-8
[Mon Mar 29 00:44:34 2004] [error] [client 151.27.31.79] [AxKit] [Sablotron] [65] Error: msgtype:error :: code:65 :: module:Sablotron :: URI:arg:/
xml_resource :: line:2 :: msg:'arg:/test.sxw/meta.xml' not found
[Mon Mar 29 00:44:34 2004] [warn] [client 151.27.31.79] [AxKit] Caught an exception
[Mon Mar 29 00:44:34 2004] [warn] [client 151.27.31.79] [AxKit] [DECLINED] Sablotron failed to process XML file
[Mon Mar 29 00:44:34 2004] [warn] [client 151.27.31.79] [AxKit] [DECLINED] From: /usr/lib/perl5/site_perl/5.8.0/Error.pm : 148
i think the problem is here:
[Mon Mar 29 00:44:34 2004] [error] [client 151.27.31.79] [AxKit] [Sablotron] [65] Error: msgtype:error :: code:65 :: module:Sablotron :: URI:arg:/
xml_resource :: line:2 :: msg:'arg:/test.sxw/meta.xml' not found
but i cannot fix.
I've checked that the file test.sxw contains meta.xml.
Can you help me. F
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]