[Koha] XML::LibXML problem

Vincent Danjean vdanjean.ml at free.fr
Wed Aug 27 23:10:46 NZST 2008


kiran_savanur wrote:
> Hi all,
> I have managed to install XML::LibXML and XML::XSLT by installing
> libgdbm-dev through apt-get. 
> 
> I hope am installed necessary perl modules required for Koha-3, but still I
> am getting "XML::LibXML::SAX=HASH(0x8204a64)" instead of 
> "XML::LibXML::SAX::Parser=HASH(0x81fe220)" while running 	the 
> ./sax_parser_print.pl script from /usr/share/koha-3.00.00/misc directory

You need to change the default parser in /etc/perl/XML/SAX/ParserDetails.ini

But I do not understand why koha relies on this global setting instead
of specifying manually in scripts that need it
(for example, adding the line:
$XML::SAX::ParserPackage = "XML::LibXML::SAX::Parser";
after
use XML::SAX::ParserFactory;
would 'fix' the issue in sax_parser_print.pl and sax_parser_test.pl
)

  Regards,
    Vincent

> Could any one suggest what to do. Thank you.
> 
> Kiran. -- 
Vincent Danjean                 Adresse: Laboratoire d'Informatique de Grenoble
Téléphone:  +33 4 76 61 20 11            ENSIMAG - antenne de Montbonnot
Fax:        +33 4 76 61 20 99            ZIRST 51, avenue Jean Kuntzmann
Email: Vincent.Danjean at imag.fr           38330 Montbonnot Saint Martin


More information about the Koha mailing list