From: Joe Atzberger Date: Tue, 10 Feb 2009 20:16:31 +0000 (-0600) Subject: Make sax_parser_print provide more obvious feedback. X-Git-Tag: ontop~473 X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;h=e6f3fb9591844659bb7e6ccf909ec53cf6b7116a;p=koha.git Make sax_parser_print provide more obvious feedback. Signed-off-by: Galen Charlton --- diff --git a/misc/sax_parser_print.pl b/misc/sax_parser_print.pl index 9b84f9db27..97c0ab5658 100755 --- a/misc/sax_parser_print.pl +++ b/misc/sax_parser_print.pl @@ -2,5 +2,10 @@ # check the current SAX Parser use XML::SAX::ParserFactory; $parser = XML::SAX::ParserFactory->parser(); -print "$parser\n"; - +print "Koha wants something like: + XML::LibXML::SAX::Parser=HASH(0x81fe220) +You have: + $parser\n"; +print "Looks " . + ($parser =~ /^XML::LibXML::SAX::Parser=HASH/ ? + "good.\n" : "bad, check INSTALL.* documentation.\n");