Skip Menu |

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

Report information
The Basics
Id: 13752
Status: resolved
Priority: 0/
Queue: XML-LibXML

Owner: Nobody in particular

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

Subject: hasAttributeNS broken
Download (untitled) / with headers
text/plain 514b
$doc = $xml->parse_string(q{<x y='z'/>}); print "ok0\n" if defined $doc->documentElement->hasAttribute('y'); print "ok1\n" if $doc->documentElement->hasAttribute('y'); print "ok2\n" if defined $doc->documentElement->hasAttributeNS(undef, 'y'); print "ok3\n" if defined $doc->documentElement->hasAttributeNS('', 'y'); print "ok4\n" if $doc->documentElement->hasAttributeNS(undef, 'y'); print "ok5\n" if $doc->documentElement->hasAttributeNS('', 'y'); prints ok0 ok1 ok3 it should print ok0 ok1 ok2 ok3 ok4 ok5

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

Please report any issues with to