Bug 23916: DBRev 20.06.00.065
[koha.git] / misc / sax_parser_print.pl
blob5d3a1acf9e72398677b40dbc1cf9d7f84a6638ee
1 #!/usr/bin/perl
2 # check the current SAX Parser
4 use strict;
5 use warnings;
6 use XML::SAX::ParserFactory;
8 my $parser = XML::SAX::ParserFactory->parser();
9 print "Koha wants something like:
10 XML::LibXML::SAX::Parser=HASH(0x81fe220)
11 You have:
12 $parser\n";
13 print "Looks " .
14 ($parser =~ /^XML::LibXML::SAX::Parser=HASH/ ?
15 "good.\n" : "bad, check the Koha wiki documentation at https://wiki.koha-community.org.\n");