Skip Menu |

This queue is for tickets about the XML-LibXML-Iterator CPAN distribution.

Report information
The Basics
Id: 28688
Status: resolved
Worked: 1 hour (60 min)
Priority: 0/
Queue: XML-LibXML-Iterator

People
Owner: phish [...] cpan.org
Requestors: seb [...] ssr.univ-paris-diderot.fr
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: XML::LibXML::NodeList::Iterator::last() bug, fix included
Date: Mon, 6 Aug 2007 17:24:08 +0200
To: bug-XML-LibXML-Iterator [...] rt.cpan.org
From: Stoned Elipot <seb [...] ssr.univ-paris-diderot.fr>
Hi, The last() method of the class XML::LibXML::NodeList::Iterator is failing when filters are set because of a misplaced ')'. See attached patch on testsuite t/03list.t for a failing testcase. And see second attached patch for a fix. Cheers, Stoned. :;uname -a NetBSD runabout 4.99.25 NetBSD 4.99.25 (RUNABOUT) #6: Tue Jul 24 18:25:29 CEST 2007 seb@runabout:/u/seb/RUNABOUT/kernel/compile/RUNABOUT i386 :;perl -v This is perl, v5.8.8 built for i386-netbsd-thread-multi Copyright 1987-2006, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page. :;perl -e 'use XML::LibXML::NodeList::Iterator; print "$XML::LibXML::NodeList::Iterator::VERSION\n";' 1.02 :;

Message body is not shown because sender requested not to inline it.

Message body is not shown because sender requested not to inline it.

Dear Stoned, Thank you for the report, the patch and the test case. I reproduced the reported bug and applied the patch. A fixed version of the module is now available through CPAN. best Christian