On Friday, Dec 13, 2002, at 16:29 Europe/London, Alexander Kellett wrote:

Hiya all,

Okay, i'm attempting to get this working.
But i'm still coming up with a problem :(

The following works fully apart from the
"install AxKit" line brings up testing errors from
02language - test7

After a bit of looking I found this command
will give the failure reason:
PERL_DL_NONLAZY=1 /home/alex/install/perl/bin/perl \
-Iblib/arch -Iblib/lib \
-I/home/alex/install/perl/lib/5.6.1/i686-linux \
-I/home/alex/install/perl/lib/5.6.1 \
-e 'use Test::Harness qw(&runtests $verbose); $verbose=0; \
use Test; BEGIN { plan tests => 9 }; require "t/test_module.pl"; \
test_module("Apache::AxKit::Language::XSP", "XML::LibXML");'

So. Here's the error:
1..9
not ok 1
# Test 1 got: '0' (t/test_module.pl at line 11)
# Expected: '1' (Bareword "XML_COMMENT_NODE" not allowed while
"strict subs" in use at blib/lib/Apache/AxKit/Language/XSP.pm line 968.
Bareword "XML_TEXT_NODE" not allowed while "strict subs" in use
at blib/lib/Apache/AxKit/Language/XSP.pm line 968.
Bareword "XML_CDATA_SECTION_NODE" not allowed while "strict subs" in use
at blib/lib/Apache/AxKit/Language/XSP.pm line 968.
Bareword "XML_ELEMENT_NODE" not allowed while "strict subs" in use
at blib/lib/Apache/AxKit/Language/XSP.pm line 968.
Bareword "XML_ENTITY_REF_NODE" not allowed while "strict subs" in use
at blib/lib/Apache/AxKit/Language/XSP.pm line 968.
Bareword "XML_DOCUMENT_NODE" not allowed while "strict subs" in use
at blib/lib/Apache/AxKit/Language/XSP.pm line 968.
Bareword "XML_ELEMENT_NODE" not allowed while "strict subs" in use
at blib/lib/Apache/AxKit/Language/XSP.pm line 989.
Compilation failed in require at t/test_module.pl line 18.
)


Anyone got idea why i'm getting this?
Yes, bug in XML::LibXML (or at least a backwards-incompatible change). I recommend downgrading XML::LibXML to 1.52, because other people have reported instabilities with later versions.

Matt.


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

Reply via email to