I have some (rather complex, so I won't repeat it here unless necessary) XSP
taglib code which ultimately generates an SQL query. The problem is that
while it seems to work fine the first couple times I run it, eventually
LibXSLT seems to get its panties all in a bunch.
The symptom is that the XSP itself always works fine, but after loading the
page 3-5 times, XSLT processing halts. My error log shows:
[Wed Jun 12 13:09:55 2002] [warn] [client 192.168.168.25] [AxKit] [uri] File
Provider set filename to /home/tharter/htdocs/xsl/lib/copy_all.xsl
Attempt to free unreferenced scalar at
/usr/lib/perl5/site_perl/5.6.1/i386-linux/Apache/AxKit/Language/LibXSLT.pm
line 161.
[Wed Jun 12 13:09:55 2002] [warn] [client 192.168.168.25] [AxKit] Caught an
exception
[Wed Jun 12 13:09:55 2002] [error] [client 192.168.168.25] [AxKit] [Error]
Can't use an undefined value as a SCALAR reference at
/usr/lib/perl5/site_perl/5.6.1/i386-linux/Apache/AxKit/Language/LibXSLT.pm
line 161.
[Wed Jun 12 13:09:55 2002] [error] [client 192.168.168.25] [AxKit] From:
/usr/lib/perl5/site_perl/5.6.1/i386-linux/Apache/AxKit/Exception.pm : 9
[Wed Jun 12 13:09:55 2002] [error] [client 192.168.168.25] [AxKit]
[Backtrace] Can't use an undefined value as a SCALAR reference at
/usr/lib/perl5/site_perl/5.6.1/i386-linux/Apache/AxKit/Language/LibXSLT.pm
line 161.
Apache::AxKit::Exception::new('Apache::AxKit::Exception::Error',
'-text', 'Can\'t use an undefined value as a SCALAR reference at
/usr/lib/...') called at /usr/lib/perl5/site_perl/5.6.1/i386-linux/AxKit.pm
line 695
AxKit::prep_exception('Can\'t use an undefined value as a SCALAR
reference at /usr/lib/...') called at
/usr/lib/perl5/site_perl/5.6.1/i386-linux/AxKit.pm line 182
AxKit::__ANON__('Can\'t use an undefined value as a SCALAR reference
at /usr/lib/...') called at
/usr/lib/perl5/site_perl/5.6.1/i386-linux/Apache/AxKit/Language/LibXSLT.pm
line 161
Apache::AxKit::Language::LibXSLT::open_uri('/xsl/lib/copy_all.xsl')
called at
/usr/lib/perl5/site_perl/5.6.1/i386-linux/Apache/AxKit/Language/LibXSLT.pm
line 105
Apache::AxKit::Language::LibXSLT::handler('Apache::AxKit::Language::LibXSLT',
'AxKit::Apache=SCALAR(0x85541f0)',
'Apache::AxKit::Provider::Filter=HASH(0x85ac434)',
'Apache::AxKit::Provider::Filter=HASH(0x8961f98)', '') called at
/usr/lib/perl5/site_perl/5.6.1/i386-linux/AxKit.pm line 516
AxKit::process_request('AxKit::Apache=SCALAR(0x85541f0)',
'Apache::AxKit::Provider::Filter=HASH(0x85ac434)', 'ARRAY(0x8651b38)')
called at /usr/lib/perl5/site_perl/5.6.1/i386-linux/AxKit.pm line 306
eval {...} called at
/usr/lib/perl5/site_perl/5.6.1/i386-linux/AxKit.pm line 225
AxKit::main_handler('AxKit::Apache=SCALAR(0x85541f0)',
'Apache::AxKit::Provider::Filter=HASH(0x85ac434)') called at
/usr/lib/perl5/site_perl/5.6.1/i386-linux/AxKit.pm line 219
AxKit::handler('AxKit::Apache=SCALAR(0x85541f0)') called at /dev/null
line 0
eval {...} called at /dev/null line 0
[Wed Jun 12 13:09:55 2002] [error] ErrorStylesheet: No module mapping found
for type ''
For the life of me I can't see anything especially wrong with my XSP code.
Very similar constructs work perfectly well in other places, but its
definitely related to whatever I'm doing.
Is this a perl bug? or an AxKit/LibXSLT problem? We're still using 1.5 here.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]