[Koha] sax_parser_print.pl Issue on VDS (CentOS)

Andi Sugandi andisugandi at gmail.com
Wed Jun 27 16:24:53 NZST 2012


Hi all,

I am now on preparing to install Koha after upgrading default Perl
installation to newer version (5.16):
http://lists.katipo.co.nz/public/koha/2012-June/033255.html

I run misc/sax_parser_print.pl on /koha-3.8.2 directory, then this
issue appears [*] [**]:

[*]
-------------begin-of-script-------------
# misc/sax_parser_print.pl
Koha wants something like:
    XML::LibXML::SAX::Parser=HASH(0x81fe220)
You have:
    XML::SAX::Expat=HASH(0x16c9ea8)
Looks bad, check INSTALL.* documentation.
-------------end-of-script-------------

[**]
-------------begin-of-script-------------
# /usr/local/bin/perl misc/sax_parser_print.pl
Koha wants something like:
    XML::LibXML::SAX::Parser=HASH(0x81fe220)
You have:
    XML::LibXML::SAX=HASH(0xaa1cf0)
Looks bad, check INSTALL.* documentation.
-------------end-of-script-------------


ParserDetails.ini files:
[***]
# locate ParserDetails.ini
/usr/local/lib/perl5/site_perl/5.8.8/XML/SAX/ParserDetails.ini
/usr/local/lib/perl5/site_perl/5.8.8/XML/SAX/ParserDetails.ini.ORIG
/usr/local/share/perl5/XML/SAX/ParserDetails.ini
/usr/local/share/perl5/XML/SAX/ParserDetails.ini.ORIG


Contain of /usr/local/lib/perl5/site_perl/5.8.8/XML/SAX/ParserDetails.ini file:
[****]
--------------------------begin-of-script--------------------------
[XML::SAX::Expat]
http://xml.org/sax/features/namespaces = 1
http://xml.org/sax/features/external-general-entities = 1
http://xml.org/sax/features/external-parameter-entities = 1

[XML::LibXML::SAX::Parser]
http://xml.org/sax/features/namespaces = 1

[XML::LibXML::SAX]
http://xml.org/sax/features/namespaces = 1
--------------------------end-of-script--------------------------


Contain of /usr/local/share/perl5/XML/SAX/ParserDetails.ini
[*****]
--------------------------begin-of-script--------------------------
[XML::LibXML::SAX::Parser]
http://xml.org/sax/features/namespaces = 1

[XML::SAX::Expat]
http://xml.org/sax/features/namespaces = 1
http://xml.org/sax/features/external-general-entities = 1
http://xml.org/sax/features/external-parameter-entities = 1
--------------------------end-of-script--------------------------

Why the issue still persists even though the ParserDetails.ini file
has proper configuration?

Does this issue will "harm" my Koha installation?

Any help will be very much appreciated.

Thanks in advance.

Best regards
-- 
Andi Sugandi.


More information about the Koha mailing list