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

Owner: MANWAR [...]
Requestors: davem [...]

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 [...]
From: Dave Mitchell <davem [...]>
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 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

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

Please report any issues with to