Hi,

I think there is a bug in version 1.7 of Apache::AxKit::Language::LibXSLT.

On line 73-76 of the module the following code appears:

   XML::LibXML->match_callback(\&match_uri);
   XML::LibXML->open_callback(\&open_uri);
   XML::LibXML->close_callback(\&close_uri);
   XML::LibXML->read_callback(\&read_uri);

Each of those methods expects a blessed hash reference as the
first argument, rather than being called with the class' name.
The methods attempt to assign to the hash ref, and dies
because of the string being used in it's place.

Here's the output I am getting from running the test
case "02language.t":

   > perl -I. -wT t/02language.t
   1..8
   ok 1
   ok 2 # Skip(PDFLib prerequisite module not available)
   ok 3
   not ok 4
   # Test 4 got: '0' (t/test_module.pl at line 10 fail #3)
   #   Expected: '1' (Can't use string ("XML::LibXML") as a HASH ref 
while "strict refs" in use at 
/usr/local/lib/perl5/site_perl/5.7.1/i686-linux/XML/LibXML.pm line 54.
   Compilation failed in require at t/test_module.pl line 17.
   )
   ok 5 # Skip(XMLNews::HTMLTemplate prerequisite module not available)
   ok 6 # Skip(XMLNews::HTMLTemplate prerequisite module not available)
   ok 7
   ok 8

dkubb


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

Reply via email to