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

People
Owner: Nobody in particular
Requestors:
Cc:
AdminCc:

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



Subject: hasAttributeNS broken
$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