>> Here is the error_log :
>
>> [error] [AxKit] [Sablotron] [45] Error: msgtype:error :: code:45 ::
>> module:Sablotron :: URI:arg:/template :: line:136 :: node:element
>> '<xsl:apply-templates>' :: msg:variable not found
>> [warn] [AxKit] Caught an exception
>
>> I'm using AxKit 1.62, Apache 1.3.26, mod_perl 1.27, Perl 5.8.0,
>> Sablotron 0.82, XML::Sablotron 0.98, Apache-AxKit-Provider-OpenOffice
>> 1.02
>>
>> Any advice ?
>
> First, make sure that you have the OpenOffice Plugin installed and
> configured for the OO.o files, in addition to the OO Provider. From the
> doc:
>
>   <Files *.sxw>
>     AddHandler axkit .sxw
>     AxAddPlugin Apache::AxKit::Plugin::OpenOffice
>     AxContentProvider Apache::AxKit::Provider::OpenOffice
>     AxAddProcessor text/xsl oo2html.xsl
>   </Files>
>
> Note the AxAddPlugin line there.
>
> Beyond that, version 0.82 is, I believe, a rather dated version of
> Sablotron (it's currently at 1.0), so if you have the Plugin installed
> and that's not the problem, maybe upgrading Sab would help.
>
> Keep us posted.
>
> -kip

Hello,

The OpenOffice Plugin is installed and the configuration is the same as
described in the documentation.

I  tried with the latest version of Sablotron (1.0-1), but I have always
the same error.

Trying with libxml2/libxslt Processor (using XML::LibXSLT ), I have a "500
Internal Server Error".
Here is the error_log :


[warn] [AxKit] fast handler called for /test.sxw
[warn] [AxKit] Running plugin: Apache::AxKit::Plugin::OpenOffice
[warn] [AxKit] Content Provider Override: Apache::AxKit::Provider::OpenOffice
[warn] [AxKit] decoding from UTF-8
[warn] [AxKit] [req] File Provider given $r: /intranet/htdocs/test.sxw
[warn] [AxKit] checking if we process this resource
[warn] [AxKit] media: screen, preferred style: #default
[warn] [AxKit] Cache: key = 54ce1004a74f3709a42aca48c6c41155
[warn] [AxKit] getting styles and external entities from the XML
[warn] [AxKit] styles not cached - calling $provider->get_styles()
[warn] [AxKit] using XS get_styles (libxml2)
[warn] [AxKit] calling xs_get_styles_fh()
[warn] [AxKit] calling xs_get_styles_str()
[warn] [AxKit] xs_get_styles returned: -//OpenOffice.org//DTD
OfficeDocument 1.0//EN, office.dtd,
{http://openoffice.org/2000/office}document-content
[warn] [AxKit] Calling GetMatchingProcessors with (screen, ,
-//OpenOffice.org//DTD OfficeDocument 1.0//EN, office.dtd,
{http://openoffice.org/2000/office}document-content)
[warn] [AxKit] get_styles: loading style modules
[warn] [AxKit] get_styles: looking for mapping for style type: 'text/xsl'
[warn] [AxKit] cache doesn't exist
[warn] [AxKit] some condition failed. recreating output
[warn] [AxKit] styles:
Apache::AxKit::Language::LibXSLT(/stylesheets/oo2html.xsl)
[warn] [AxKit] Style Provider Override: Apache::AxKit::Provider::File
[warn] [AxKit] [uri] File Provider looking up uri /stylesheets/oo2html.xsl
[warn] [AxKit] encoding to UTF-8
[warn] [AxKit] [uri] File Provider set filename to
/intranet/htdocs/stylesheets/oo2html.xsl
[warn] [AxKit] about to execute: Apache::AxKit::Language::LibXSLT::handler
[warn] [AxKit] [LibXSLT] getting the XML
null: parser match_cb:  at
/usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi/Apache/AxKit/Language/LibXSLT.pm
line 55.
[warn] [AxKit] LibXSLT match_uri: file:///etc/xml/catalog
[warn] [AxKit] LibXSLT match_uri:
file:///usr/share/xml/openofficeorg/catalog.xml
[warn] [AxKit] LibXSLT match_uri:
file:///usr/share/xml/openofficeorg/office.dtd
[warn] [AxKit] LibXSLT match_uri:
file:///usr/share/xml/openofficeorg/dtypes.mod
[warn] [AxKit] LibXSLT match_uri:
file:///usr/share/xml/openofficeorg/nmspace.mod
[warn] [AxKit] LibXSLT match_uri:
file:///usr/share/xml/openofficeorg/office.mod
[warn] [AxKit] LibXSLT match_uri:
file:///usr/share/xml/openofficeorg/style.mod
[warn] [AxKit] LibXSLT match_uri:
file:///usr/share/xml/openofficeorg/meta.mod
[warn] [AxKit] LibXSLT match_uri:
file:///usr/share/xml/openofficeorg/script.mod
[warn] [AxKit] LibXSLT match_uri:
file:///usr/share/xml/openofficeorg/drawing.mod
[warn] [AxKit] LibXSLT match_uri:
file:///usr/share/xml/openofficeorg/text.mod
[warn] [AxKit] LibXSLT match_uri:
file:///usr/share/xml/openofficeorg/table.mod
[warn] [AxKit] LibXSLT match_uri:
file:///usr/share/xml/openofficeorg/chart.mod
[warn] [AxKit] LibXSLT match_uri:
file:///usr/share/xml/openofficeorg/datastyl.mod
[warn] [AxKit] LibXSLT match_uri:
file:///usr/share/xml/openofficeorg/form.mod
[warn] [AxKit] LibXSLT match_uri:
file:///usr/share/xml/openofficeorg/settings.mod
[warn] [AxKit] [LibXSLT] parsing stylesheet
[warn] [AxKit] [LibXSLT] parsing stylesheet /stylesheets/oo2html.xsl
[warn] [AxKit] LibXSLT match_uri: /stylesheets/oocommon.xsl
[warn] [AxKit] LibXSLT open_content_uri: /stylesheets/oocommon.xsl
[warn] [AxKit] Style Provider Override: Apache::AxKit::Provider::File
[warn] [AxKit] decoding from UTF-8
[warn] [AxKit] [req] File Provider given $r:
/intranet/htdocs/stylesheets/oocommon.xsl
[warn] [AxKit] encoding to UTF-8
[warn] [AxKit] [LibXSLT] performing transformation
[warn] [AxKit] LibXSLT match_uri: /test.sxw/meta.xml
[warn] [AxKit] LibXSLT open_content_uri: /test.sxw/meta.xml
[warn] [AxKit] Content Provider Override: Apache::AxKit::Provider::OpenOffice
[warn] [AxKit] decoding from UTF-8
[warn] [AxKit] [req] File Provider given $r: /intranet/htdocs/test.sxw
[warn] [AxKit] [OpenOffice]: path info found in get_strref: meta.xml
[warn] [AxKit] LibXSLT match_uri:
file:///usr/share/xml/openofficeorg/office.dtd
[warn] [AxKit] LibXSLT match_uri:
file:///usr/share/xml/openofficeorg/dtypes.mod
[warn] [AxKit] LibXSLT match_uri:
file:///usr/share/xml/openofficeorg/nmspace.mod
[warn] [AxKit] LibXSLT match_uri:
file:///usr/share/xml/openofficeorg/office.mod
[warn] [AxKit] LibXSLT match_uri:
file:///usr/share/xml/openofficeorg/style.mod
[warn] [AxKit] LibXSLT match_uri:
file:///usr/share/xml/openofficeorg/meta.mod
[warn] [AxKit] LibXSLT match_uri:
file:///usr/share/xml/openofficeorg/script.mod
[warn] [AxKit] LibXSLT match_uri:
file:///usr/share/xml/openofficeorg/drawing.mod
[warn] [AxKit] Caught an exception
[error] [AxKit] [Error] Can't coerce UNKNOWN to string in entersub at
/usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi/Apache/AxKit/Language/LibXSLT.pm
line 124.

[error] [AxKit] From:
/usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi/Apache/AxKit/Exception.pm
: 9
[error] [AxKit] [Backtrace] Can't coerce UNKNOWN to string in entersub at
/usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi/Apache/AxKit/Language/LibXSLT.pm
line 124.
        Apache::AxKit::Exception::new('Apache::AxKit::Exception::Error','-text','Can\'t
coerce UNKNOWN to string in entersub at /usr/lib/perl5...') called at
/usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi/AxKit.pm line 1015
        AxKit::prep_exception('Can\'t coerce UNKNOWN to string in entersub at
/usr/lib/perl5...') called at
/usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi/AxKit.pm line 173
        AxKit::__ANON__('Can\'t coerce UNKNOWN to string in entersub at
/usr/lib/perl5...') called at
/usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi/Apache/AxKit/Language/LibXSLT.pm
line 124
        
Apache::AxKit::Language::LibXSLT::handler('Apache::AxKit::Language::LibXSLT','AxKit::Apache=SCALAR(0x839542c)','Apache::AxKit::Provider::OpenOffice=HASH(0x8394158)','Apache::AxKit::Provider::File=HASH(0x881c368)',1)
called at /usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi/AxKit.pm
line 759
        
AxKit::process_request('AxKit::Apache=SCALAR(0x839542c)','Apache::AxKit::Provider::OpenOffice=HASH(0x8394158)','ARRAY(0x8359a28)','undef')
called at /usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi/AxKit.pm
line 474
        
AxKit::run_axkit_engine('AxKit::Apache=SCALAR(0x839542c)','Apache::AxKit::Provider::OpenOffice=HASH(0x8394158)')
called at /usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi/AxKit.pm
line 300
        eval {...} called at
/usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi/AxKit.pm line 291
        
AxKit::main_handler('AxKit::Apache=SCALAR(0x839542c)','Apache::AxKit::Provider::OpenOffice=HASH(0x8394158)')
called at /usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi/AxKit.pm
line 204
        AxKit::fast_handler('AxKit::Apache=SCALAR(0x839542c)') called at
/dev/null line 0
        eval {...} called at /dev/null line 0



I'm now using AxKit 1.62,libxml2 2.4.23, XML::LibXSLT 1.53,
Apache-AxKit-Provider-OpenOffice 1.02

Any suggestion ?

Cedric



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to