Re: What to do about XML::LibXML / XML::LibXSLT failures with old versions of libxml2 and libxslt?
Grant McLean <[email protected]> Thu, 09 May 2013 20:52:57 +1200
| Newsgroups | gmane.comp.lang.perl.xml |
|---|---|
| Message-ID | <1368089577.3251.30.camel@kereru> |
On Thu, 2013-05-09 at 10:11 +0300, Shlomi Fish wrote: > Hi all, > > I keep getting reports of failures like this to my modules, such as: > > * http://www.cpantesters.org/cpan/report/7d08b688-b80d-11e2-ad73-dd0a7cfad375 > > * http://www.cpantesters.org/cpan/report/2e8c9bae-b7e6-11e2-8285-28e030ca8a65 > > These failures should not be happening, and they are likely caused by old > versions of libxml2 and/or libxslt. Now, one option would be to require only > the latest version in XML::LibXML and XML::LibXSLT, but this may inconvenience > some users of older systems. > > Is there a better alternative? If certain functionality of XML::LibXML/LibXSLT is not working due to deficiencies of the installed version of the underlying library, then ideally that should be picked up by the XML::LibXML/LibXSLT test suites and installation should fail at that point. The XML::LibXML Makefile.PL already has a blacklist section that lists known broken library versions. If XML::GrammarBase requires certain features of XML::LibXML that don't work on a given system then the the installation of XML::LibXML should fail and the report should go to the maintainer of XML::LibXML rather than the maintainer of XML::GrammarBase. Of course that won't protect you against people who 'force' install the dependencies but hopefully that wouldn't include any cpantester systems. Regards Grant _______________________________________________ Perl-XML mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs