Hi!

Reason of that was that I did not have any stylesheet for provider results... (I 
wanted this :))..) When I added "AxAddProcessor text/xsl /private/xsl/copy.xsl" all 
started!!! It's just workaround...

Point, where script crashed without stylesheets:
Apache::AxKit::Provider;

sub get_styles...

near with line #202
if (!@styles) {
   throw Apache::AxKit::Exception::Declined(
       reason => "No styles defined for '$key'"
   );
}

I don't know how to fix this...

Alex.



On Wed, 22 Jan 2003 08:08:22 +0000
Matt Sergeant <[EMAIL PROTECTED]> wrote:

> On Wednesday, Jan 22, 2003, at 05:58 Europe/London, Alex
> Sergeyev wrote:
> 
> > [Wed Jan 22 11:54:41 2003] [warn] [client 127.0.0.1]
> > [AxKit] Caught an exception[Wed Jan 22 11:54:41 2003]
> > [warn] [client 127.0.0.1] [AxKit] [DECLINED] From:
> > /usr/lib/perl5/site_perl/5.6.1/Error.pm : 148[Wed Jan 22
> > 11:54:41 2003] [error] open callback must return a single
> > value.
> 
> Very odd. Never seen that before. The problem here is that in
> 
> LibXSLT.pm the function open_content_uri() is called from XS
> code, and is expected to return a value (the string). And
> it's not doing that.
> 
> My guess is it's somehow dying before it returns (i.e. an
> exception is being thrown, we're just not catching it). Can
> you start littering the open_content_uri() function with
> AxKit::Debug() statements to see where it gets to?
> 

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

Reply via email to