voj has asked for the wisdom of the Perl Monks concerning the following question:
In my Makefile.PL's PREREQ_PM I just require: XML::SAX' => '0.96' XML::SAX contains I pure Perl parser with support of namespaces, I don't know why this is not used on the test machines. Maybe there is some problem in /usr/local/share/perl/5.10.1/XML/SAX/ParserDetails.ini, but I don't have a clue to specify my requirement (just a namespace-aware SAX parser) in Makefile.PL. Here are my failing test: http://www.cpantesters.org/distro/P/PICA-Record.html I found the problem in other modules too, for instance: http://www.cpantesters.org/distro/M/MARC-XML.htmlmy $parser = XML::SAX::ParserFactory->new( RequiredFeatures => { 'http://xml.org/sax/features/namespaces' => 1 } )->parser( Handler => $self );
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: How to specify required XML::SAX features in Makefile.PL
by Khen1950fx (Canon) on Jan 17, 2012 at 20:04 UTC | |
Re: How to specify required XML::SAX features in Makefile.PL
by grantm (Parson) on Jan 18, 2012 at 03:31 UTC |