Skip Menu |
 

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

Report information
The Basics
Id: 113576
Status: resolved
Priority: 0/
Queue: XML-XPath

People
Owner: MANWAR [...] cpan.org
Requestors: davem [...] iabyn.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.34
Fixed in: 1.35



Subject: XML::XPath::Node::Element::getAttributeNode() uses unspecified behaviour
Date: Tue, 5 Apr 2016 14:46:59 +0100
To: bug-XML-XPath [...] rt.cpan.org
From: Dave Mitchell <davem [...] iabyn.com>
Download (untitled) / with headers
text/plain 517b
The sub getAttributeNode() in XML::XPath::Node relies on the unspecified behaviour of foreach for what it returns when there are no attributes present. In particular, starting with perl version 5.23.8, the return value of a for loop when iterated over zero times, has changed from returning undef to returning false. Other subs might be similarly affected. See https://rt.perl.org/Ticket/Display.html?id=127638 for more details. -- Justice is when you get what you deserve. Law is when you get what you pay for.
Hi, Thanks for reporting the issue. I will get it patched asap. Best Regards, Mohammad S Anwar
Resolved.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.