On Wednesday, Jan 22, 2003, at 09:22 Europe/London, Alex Sergeyev wrote:
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...I'm not sure if we should. The whole point of axkit: uri's is that they get pre-transformed by axkit. If it doesn't get transformed by axkit then you should probably be using plain relative uris, not axkit: ones.
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...
The real fix though is in libxslt.xs, where I need to check if an exception got thrown (I also need to check if you get no data back, which is another bug in almost exactly the same area).
Matt.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
