Folks,
I am working with AxKit 1.161, XML::LibXML 1.52, XML::LibXSLT 1.53, and
xsltproc --version gives:
Using libxml 20424, libxslt 10012 and libexslt 704
xsltproc was compiled against libxml 20416, libxslt 10012 and libexslt 704
libxslt 10012 was compiled against libxml 20416
libexslt 704 was compiled against libxml 20416
(And this is all running on Mandrake 8.2)
My problem: I can get test.xml and test.xsl from AxKit QuickStart to work.
However, I (sometimes) get the following error message when I try it
(reloading after about 4 times gets back the correct html), and I *always*
get the error message when I try a longer file that I am really trying to
process. The longer file does work with the xsltproc command, yielding
correct output. Below is the error message from the Apache logs, assuming
that the longer xml and its xsl file are ok (they are handled properly by
xsltproc, as I said).
Thanks in advance,
Bruce Rosenstock
Humanities Computing Specialist, College of Liberal Arts and Sciences
Associate Professor, Religious Studies
University of Illinois at Urbana-Champaign
***********************************
[Sat Mar 8 22:55:50 2003] [warn] [client 127.0.0.1] [AxKit] fast handler
called for /XML/Zam10a-1DI.xml
[Sat Mar 8 22:55:50 2003] [warn] [client 127.0.0.1] [AxKit] Content
Provider Override: Apache::AxKit::Provider::File
[Sat Mar 8 22:55:50 2003] [warn] [client 127.0.0.1] [AxKit] [req] File
Provider given $r: /usr/local/apache/htdocs/XML/Zam10a-1DI.xml
[Sat Mar 8 22:55:50 2003] [warn] [client 127.0.0.1] [AxKit] checking if
we process this resource
[Sat Mar 8 22:55:50 2003] [warn] [client 127.0.0.1] [AxKit] media:
screen, preferred style: #default
[Sat Mar 8 22:55:50 2003] [warn] [client 127.0.0.1] [AxKit] Cache: key =
50e75cc9c7facc774ba1f4a3bd87b59c
[Sat Mar 8 22:55:50 2003] [warn] [client 127.0.0.1] [AxKit] getting
styles and external entities from the XML
[Sat Mar 8 22:55:50 2003] [warn] [client 127.0.0.1] [AxKit] styles cached
[Sat Mar 8 22:55:50 2003] [warn] [client 127.0.0.1] [AxKit] cache doesn't
exist[Sat Mar 8 22:55:50 2003] [warn] [client 127.0.0.1] [AxKit] some
condition failed. recreating output
[Sat Mar 8 22:55:50 2003] [warn] [client 127.0.0.1] [AxKit] styles:
Apache::AxKit::Language::LibXSLT(flsjtei.xsl)
[Sat Mar 8 22:55:50 2003] [warn] [client 127.0.0.1] [AxKit] Style
Provider Override: Apache::AxKit::Provider::File
[Sat Mar 8 22:55:50 2003] [warn] [client 127.0.0.1] [AxKit] [uri] File
Provider looking up uri flsjtei.xsl
[Sat Mar 8 22:55:50 2003] [warn] [client 127.0.0.1] [AxKit] [uri] File
Provider set filename to /usr/local/apache/htdocs/XML/flsjtei.xsl
[Sat Mar 8 22:55:50 2003] [warn] [client 127.0.0.1] [AxKit] about to
execute: Apache::AxKit::Language::LibXSLT::handler
[Sat Mar 8 22:55:50 2003] [warn] [client 127.0.0.1] [AxKit] [LibXSLT]
getting the XML
[Sat Mar 8 22:55:50 2003] [warn] [client 127.0.0.1] [AxKit] Caught an
exception[Sat Mar 8 22:55:50 2003] [error] [client 127.0.0.1] [AxKit]
[Error] Usage: XML::LibXML::_parse_string(self, string) at
/usr/lib/perl5/site_perl/5.6.1/i386-linux/XML/LibXML.pm line 146.
[Sat Mar 8 22:55:50 2003] [error] [client 127.0.0.1] [AxKit] From:
/usr/lib/perl5/site_perl/5.6.1/i386-linux/Apache/AxKit/Exception.pm : 9
[Sat Mar 8 22:55:50 2003] [error] [client 127.0.0.1] [AxKit] [Backtrace]
Usage: XML::LibXML::_parse_string(self, string) at
/usr/lib/perl5/site_perl/5.6.1/i386-linux/XML/LibXML.pm line 146.
Apache::AxKit::Exception::new('Apache::AxKit::Exception::Error',
'-text', 'Usage: XML::LibXML::_parse_string(self, string) at
/usr/lib/perl...') called at
/usr/lib/perl5/site_perl/5.6.1/i386-linux/AxKit.pm line 839
AxKit::prep_exception('Usage: XML::LibXML::_parse_string(self,
string) at /usr/lib/perl...') called at
/usr/lib/perl5/site_perl/5.6.1/i386-linux/AxKit.pm line 141
AxKit::__ANON__('Usage: XML::LibXML::_parse_string(self, string)
at /usr/lib/perl...') called at
/usr/lib/perl5/site_perl/5.6.1/i386-linux/XML/LibXML.pm line 146
eval {...} called at
/usr/lib/perl5/site_perl/5.6.1/i386-linux/XML/LibXML.pm line 130
XML::LibXML::parse_string('XML::LibXML=HASH(0x86b43f8)', '<?xml
version="1.0" ?>^J<?xml-stylesheet href="flsjtei.xsl" type=...',
'/XML/Zam10a-1DI.xml') called at
/usr/lib/perl5/site_perl/5.6.1/i386-linux/Apache/AxKit/Language/LibXSLT.pm
line 63
Apache::AxKit::Language::LibXSLT::handler('Apache::AxKit::Language::LibXSLT',
'AxKit::Apache=SCALAR(0x86b3214)',
'Apache::AxKit::Provider::File=HASH(0x86b4230)',
'Apache::AxKit::Provider::File=HASH(0x86b91a4)', 1) called at
/usr/lib/perl5/site_perl/5.6.1/i386-linux/AxKit.pm line 623
AxKit::process_request('AxKit::Apache=SCALAR(0x86b3214)',
'Apache::AxKit::Provider::File=HASH(0x86b4230)', 'ARRAY(0x86b4278)')
called at /usr/lib/perl5/site_perl/5.6.1/i386-linux/AxKit.pm line 437
AxKit::run_axkit_engine('AxKit::Apache=SCALAR(0x86b3214)',
'Apache::AxKit::Provider::File=HASH(0x86b4230)') called at
/usr/lib/perl5/site_perl/5.6.1/i386-linux/AxKit.pm line 264
eval {...} called at
/usr/lib/perl5/site_perl/5.6.1/i386-linux/AxKit.pm line 255
AxKit::main_handler('AxKit::Apache=SCALAR(0x86b3214)',
'Apache::AxKit::Provider::File=HASH(0x86b4230)') called at
/usr/lib/perl5/site_perl/5.6.1/i386-linux/A
site_perl/5.6.1/i386-linux/AxKit.pm line 172
AxKit::fast_handler('AxKit::Apache=SCALAR(0x86b3214)') called at
/dev/null line 0
eval {...} called at /dev/null line 0
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]