projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b246e1b
)
Make sax_parser_print provide more obvious feedback.
author
Joe Atzberger
<joe.atzberger@liblime.com>
Tue, 10 Feb 2009 20:16:31 +0000
(14:16 -0600)
committer
Galen Charlton
<galen.charlton@liblime.com>
Thu, 12 Feb 2009 20:46:15 +0000
(14:46 -0600)
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
misc/sax_parser_print.pl
patch
|
blob
|
history
diff --git
a/misc/sax_parser_print.pl
b/misc/sax_parser_print.pl
index
9b84f9d
..
97c0ab5
100755
(executable)
--- 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");