This could relate, just upgraded to 1.6rc3 and getting an error when trying
to do an XML inc in the xsp page given below.

Probably missing something but the only thing that�s changed is the new
build of AxKit, (the include previously worked using
href="../../../freeloader/en/system/satellite.xml" but that fails now too).

Uncommented the lines talked about in this thread, but looks like AxKit is
looking for a Proc that doesn�t exist. Am I doing something wrong?

<?xml version="1.0"?>
<?xml-stylesheet href="." type="application/x-xsp"?>
<?xml-stylesheet href="/style/freeloader/xsl/dialogue.xsl" type="text/xsl"?>
<?xml-stylesheet href="/style/freeloader/xsl/gui.xsl" type="text/xsl"?>

<!--default home page-->
<xsp:page xmlns:xsp="http://www.apache.org/1999/XSP/Core";
    xmlns:Kentucky="http://www.freeloader.com/xsp/Kentucky/";
    language="Perl">
    
    <freeloader_channel>
        <!--channel details-->
        <xi:include xmlns:xi="http://www.w3.org/2001/XInclude";
href="/content/freeloader/en/system/satellite.xml"/>
        
        <!--login details-->
        <!--<Kentucky:Login key="alpha"/>-->
        
        <!--page details-->
        <page>
            <gid>0</gid>
            <title>home page</title>
            <location>/content/freeloader/en/home/</location>
        </page>
    </freeloader_channel>
</xsp:page>

Debug output;

# more error_log
[Wed Jun  5 14:01:37 2002] [notice] Apache/1.3.23 (Unix) AxKit/1.6
mod_perl/1.26 configured -- resuming normal operations
[Wed Jun  5 14:01:37 2002] [notice] Accept mutex: fcntl (Default: fcntl)
[Wed Jun  5 14:01:54 2002] [warn] [client 192.168.11.3] [AxKit] fast handler
called for /content/freeloader/en/home/
[Wed Jun  5 14:01:54 2002] [warn] [client 192.168.11.3] [AxKit] Content
Provider Override: Apache::AxKit::Provider::File
[Wed Jun  5 14:01:54 2002] [warn] [client 192.168.11.3] [AxKit] [req] File
Provider given $r: /usr/local/apache/htdocs/content/freeloader/en/home
[Wed Jun  5 14:01:54 2002] [warn] [client 192.168.11.3] [AxKit] checking if
we process this resource
[Wed Jun  5 14:01:54 2002] [warn] [client 192.168.11.3] [AxKit]
'/usr/local/apache/htdocs/content/freeloader/en/home' is a directory
[Wed Jun  5 14:01:54 2002] [warn] [client 192.168.11.3] [AxKit] provider
declined
[Wed Jun  5 14:01:54 2002] [warn] [client 192.168.11.3] [AxKit] fast handler
called for /content/freeloader/en/home/default.xsp
[Wed Jun  5 14:01:54 2002] [warn] [client 192.168.11.3] [AxKit] Content
Provider Override: Apache::AxKit::Provider::File
[Wed Jun  5 14:01:54 2002] [warn] [client 192.168.11.3] [AxKit] [req] File
Provider given $r: 
/usr/local/apache/htdocs/content/freeloader/en/home/default.
xsp
[Wed Jun  5 14:01:54 2002] [warn] [client 192.168.11.3] [AxKit] checking if
we process this resource
[Wed Jun  5 14:01:54 2002] [warn] [client 192.168.11.3] [AxKit] media:
screen, preferred style: #default
[Wed Jun  5 14:01:54 2002] [warn] [client 192.168.11.3] [AxKit] Cache: key =
a43383b34308db4f5e63dc3422b809a3
[Wed Jun  5 14:01:54 2002] [warn] [client 192.168.11.3] [AxKit] getting
styles and external entities from the XML
[Wed Jun  5 14:01:54 2002] [warn] [client 192.168.11.3] [AxKit] styles not
cached - calling $provider->get_styles()
[Wed Jun  5 14:01:54 2002] [warn] [client 192.168.11.3] [AxKit] using XS
get_styles (libxml2)
[Wed Jun  5 14:01:54 2002] [warn] [client 192.168.11.3] [AxKit] calling
xs_get_styles_fh()
[Wed Jun  5 14:01:54 2002] [warn] [client 192.168.11.3] [AxKit] calling
xs_get_styles_str()
[Wed Jun  5 14:01:54 2002] [warn] [client 192.168.11.3] [AxKit] parse_pi:
href = .
[Wed Jun  5 14:01:54 2002] [warn] [client 192.168.11.3] [AxKit] parse_pi:
type = application/x-xsp
[Wed Jun  5 14:01:54 2002] [warn] [client 192.168.11.3] [AxKit] parse_pi:
href = /style/freeloader/xsl/dialogue.xsl
[Wed Jun  5 14:01:54 2002] [warn] [client 192.168.11.3] [AxKit] parse_pi:
type = text/xsl
[Wed Jun  5 14:01:54 2002] [warn] [client 192.168.11.3] [AxKit] parse_pi:
href = /style/freeloader/xsl/gui.xsl
[Wed Jun  5 14:01:54 2002] [warn] [client 192.168.11.3] [AxKit] parse_pi:
type = text/xsl
[Wed Jun  5 14:01:54 2002] [warn] [client 192.168.11.3] [AxKit]
xs_get_styles returned: , , {http://www.apache.org/1999/XSP/Core}page
[Wed Jun  5 14:01:54 2002] [warn] [client 192.168.11.3] [AxKit] Calling
GetMatchingProcessors with (screen, , , ,
{http://www.apache.org/1999/XSP/Core}pag
e)
[Wed Jun  5 14:01:54 2002] [warn] [client 192.168.11.3] [AxKit] get_styles:
loading style modules
[Wed Jun  5 14:01:54 2002] [warn] [client 192.168.11.3] [AxKit] get_styles:
looking for mapping for style type: 'application/x-xsp'
[Wed Jun  5 14:01:54 2002] [warn] [client 192.168.11.3] [AxKit] get_styles:
looking for mapping for style type: 'text/xsl'
[Wed Jun  5 14:01:54 2002] [warn] [client 192.168.11.3] [AxKit] get_styles:
looking for mapping for style type: 'text/xsl'
[Wed Jun  5 14:01:54 2002] [warn] [client 192.168.11.3] [AxKit] cache
doesn't exist
[Wed Jun  5 14:01:54 2002] [warn] [client 192.168.11.3] [AxKit] some
condition failed. recreating output
[Wed Jun  5 14:01:54 2002] [warn] [client 192.168.11.3] [AxKit] styles:
Apache::AxKit::Language::XSP(.)
[Wed Jun  5 14:01:54 2002] [warn] [client 192.168.11.3] [AxKit] styles:
Apache::AxKit::Language::LibXSLT(/style/freeloader/xsl/dialogue.xsl)
[Wed Jun  5 14:01:54 2002] [warn] [client 192.168.11.3] [AxKit] styles:
Apache::AxKit::Language::LibXSLT(/style/freeloader/xsl/gui.xsl)
[Wed Jun  5 14:01:54 2002] [warn] [client 192.168.11.3] [AxKit] Style
Provider Override: Apache::AxKit::Provider::File
[Wed Jun  5 14:01:54 2002] [warn] [client 192.168.11.3] [AxKit] [uri] File
Provider looking up uri .
[Wed Jun  5 14:01:54 2002] [warn] [client 192.168.11.3] [AxKit] [uri] File
Provider set filename to /usr/local/apache/htdocs/content/freeloader/en/home
[Wed Jun  5 14:01:54 2002] [warn] [client 192.168.11.3] [AxKit] about to
execute: Apache::AxKit::Language::XSP::handler
[Wed Jun  5 14:01:55 2002] [warn] [client 192.168.11.3] [AxKit] XSP: parsing
fh
[Wed Jun  5 14:01:55 2002] [warn] [client 192.168.11.3] [AxKit] XSP
match_uri: file:///etc/xml/catalog
[Wed Jun  5 14:01:55 2002] [warn] [client 192.168.11.3] [AxKit] XSP
match_uri: file:///etc/xml/catalog
[Wed Jun  5 14:01:55 2002] [warn] [client 192.168.11.3] [AxKit] XSP
match_uri: /content/freeloader/en/system/satellite.xml
[Wed Jun  5 14:01:55 2002] [warn] [client 192.168.11.3] [AxKit] XSP
open_content_uri: /content/freeloader/en/system/satellite.xml
[Wed Jun  5 14:01:55 2002] [warn] [client 192.168.11.3] [AxKit] Content
Provider Override: Apache::AxKit::Provider::File
[Wed Jun  5 14:01:55 2002] [warn] [client 192.168.11.3] [AxKit] [req] File
Provider given $r: 
/usr/local/apache/htdocs/content/freeloader/en/system/satell
ite.xml
[Wed Jun  5 14:01:55 2002] [warn] [client 192.168.11.3] [AxKit] XSP
match_uri: /content/freeloader/en/system/satellite.xml
[Wed Jun  5 14:01:55 2002] [warn] [client 192.168.11.3] [AxKit] XSP
open_content_uri: /content/freeloader/en/system/satellite.xml
[Wed Jun  5 14:01:55 2002] [warn] [client 192.168.11.3] [AxKit] Content
Provider Override: Apache::AxKit::Provider::File
[Wed Jun  5 14:01:55 2002] [warn] [client 192.168.11.3] [AxKit] [req] File
Provider given $r: 
/usr/local/apache/htdocs/content/freeloader/en/system/satell
ite.xml
[Wed Jun  5 14:01:55 2002] [warn] [client 192.168.11.3] [AxKit] Caught an
exception
[Wed Jun  5 14:01:55 2002] [error] [client 192.168.11.3] [AxKit] [Error]
Parse of '/usr/local/apache/htdocs/content/freeloader/en/home/default.xsp'
failed
: Undefined subroutine &AxKit::XSP::SAXParser::add_depends called at
/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/Apache/AxKit/Language/XSP.
pm line 9
53, <_GEN_3> line 1.

[Wed Jun  5 14:01:55 2002] [error] [client 192.168.11.3] [AxKit] From:
/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/Error.pm : 148
[Wed Jun  5 14:01:55 2002] [error] [client 192.168.11.3] [AxKit] [Backtrace]
Parse of '/usr/local/apache/htdocs/content/freeloader/en/home/default.xsp'
fa
iled: Undefined subroutine &AxKit::XSP::SAXParser::add_depends called at
/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/Apache/AxKit/Language/XSP.
pm li
ne 953, <_GEN_3> line 1.
        Error::throw('Apache::AxKit::Exception::Error', '-text', 'Parse of
\'/usr/local/apache/htdocs/content/freeloader/en/home/d...') called at
/usr/loc
al/lib/perl5/site_perl/5.6.1/sun4-solaris/Apache/AxKit/Language/XSP.pm line
99
        
Apache::AxKit::Language::XSP::handler('Apache::AxKit::Language::XSP',
'AxKit::Apache=SCALAR(0x35b310)', 'Apache::AxKit::Provider::File=HASH(0x1e2c
8c)', 'Apache::AxKit::Provider::File=HASH(0x5f1840)', '') called at
/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/AxKit.pm line 612
        AxKit::process_request('AxKit::Apache=SCALAR(0x35b310)',
'Apache::AxKit::Provider::File=HASH(0x1e2c8c)', 'ARRAY(0x3e8df4)') called at
/usr/local/l
ib/perl5/site_perl/5.6.1/sun4-solaris/AxKit.pm line 435
        AxKit::run_axkit_engine('AxKit::Apache=SCALAR(0x35b310)',
'Apache::AxKit::Provider::File=HASH(0x1e2c8c)') called at
/usr/local/lib/perl5/site_perl
/5.6.1/sun4-solaris/AxKit.pm line 263
        eval {...} called at
/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/AxKit.pm line 254
        AxKit::main_handler('AxKit::Apache=SCALAR(0x35b310)',
'Apache::AxKit::Provider::File=HASH(0x1e2c8c)') called at
/usr/local/lib/perl5/site_perl/5.6
.1/sun4-solaris/AxKit.pm line 171
        AxKit::fast_handler('AxKit::Apache=SCALAR(0x35b310)') called at
/dev/null line 0
        eval {...} called at /dev/null line 0


On 05/06/2002 1:21 pm, "Markus Jais" <[EMAIL PROTECTED]> wrote:

> uncommenting this part helps
> (you have to add a ";" after "path_info" in the last line otherwise you get a
> syntax error)
> 
> one thing remains, though. when specifying a "form action=foo.xml"
> I now have to write "form action="/xml/foo.xml"
> 
> but this seems correct so this error is on my side I think.
> 
> markus
> 
> 
>> 
>> 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.


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

Reply via email to