On Wed, 5 Jun 2002, Markus Jais wrote:

> hello
>
> here is the apache error log with debug level 9
>
> the important thing might be:
> compilation error: file /xml/login.xml/login.xsl element page
> xsltParseStylesheetProcess : document is not a stylesheet

No, the import part is:

> [Wed Jun  5 13:06:24 2002] [warn] [client 127.0.0.1] [AxKit] execution of:
> Apache::AxKit::Language::XSP::handler finished
> [Wed Jun  5 13:06:24 2002] [warn] [client 127.0.0.1] [AxKit] Style Provider
> Override: Apache::AxKit::Provider::File
> [Wed Jun  5 13:06:24 2002] [warn] [client 127.0.0.1] [AxKit] [uri] File
> Provider looking up uri login.xsl
> [Wed Jun  5 13:06:24 2002] [warn] [client 127.0.0.1] [AxKit] [uri] File
> Provider set filename to /usr/local/httpd/htdocs/xml/login.xml

Which means that somehow the $r->lookup_uri("login.xsl") isn't working
right.

Is your XSP script messing with $r->uri() at all? It seems to me that it's
looking up based on "/xml/login.xml/" rather than "/xml/login.xml".

Ah, it could well be this that I commented out in AxKit.pm:

    # Someone help me remember why I added this???
    # my $uri = $r->uri();
    # my $path_info = $r->path_info();
    # $uri =~ s/\Q$path_info\E$//;
    # $r->uri($uri);
    # $ENV{PATH_INFO} = $path_info

I think you've just helped me remember why I added that ;-)

Try commenting it out and see if the problem goes away.

-- 
<!-- Matt -->
<:->Get a smart net</:->


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

Reply via email to