Skip Menu |
 

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

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

People
Owner: Nobody in particular
Requestors: dwheeler [...] cpan.org
Cc:
AdminCc:

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



From dwheeler [...] cpan.org Thu Feb 23 23: 32:16 2012
MIME-Version: 1.0 (Apple Message framework v1257)
X-Spam-Status: No, score=-2.733 tagged_above=-99.9 required=10 tests=[AWL=-0.833, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1] autolearn=ham
X-Mailer: Apple Mail (2.1257)
X-Spam-Flag: NO
Message-ID: <83B22646-ABC0-4B26-B94E-E24BC6B59FC1 [...] cpan.org>
content-type: text/plain; charset="utf-8"
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Spam-Score: -2.733
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 4C955240027 for <cpan-bug+xml-libxml [...] hipster.bestpractical.com>; Thu, 23 Feb 2012 23:32:16 -0500 (EST)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3kow4Uq0FAUD for <cpan-bug+xml-libxml [...] hipster.bestpractical.com>; Thu, 23 Feb 2012 23:32:14 -0500 (EST)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 862F9240024 for <bug-xml-libxml [...] rt.cpan.org>; Thu, 23 Feb 2012 23:32:14 -0500 (EST)
Received: (qmail 13876 invoked by uid 103); 24 Feb 2012 04:32:13 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 24 Feb 2012 04:32:13 -0000
Received: from b-pb-sasl-quonix.pobox.com (HELO smtp.pobox.com) (208.72.237.35) by 16.mx.develooper.com (qpsmtpd/0.80/v0.80-19-gf52d165) with ESMTP; Thu, 23 Feb 2012 20:32:11 -0800
Received: from smtp.pobox.com (unknown [127.0.0.1]) by b-sasl-quonix.pobox.com (Postfix) with ESMTP id 32FBD60C0 for <bug-xml-libxml [...] rt.cpan.org>; Thu, 23 Feb 2012 23:32:04 -0500 (EST)
Received: from b-pb-sasl-quonix.pobox.com (unknown [127.0.0.1]) by b-sasl-quonix.pobox.com (Postfix) with ESMTP id 25C4560BF for <bug-xml-libxml [...] rt.cpan.org>; Thu, 23 Feb 2012 23:32:04 -0500 (EST)
Received: from [10.0.1.5] (unknown [50.137.40.254]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by b-sasl-quonix.pobox.com (Postfix) with ESMTPSA id 6A9EA60BC for <bug-xml-libxml [...] rt.cpan.org>; Thu, 23 Feb 2012 23:32:02 -0500 (EST)
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] pobox.com
Delivered-To: cpan-bug+xml-libxml [...] hipster.bestpractical.com
Subject: XML::LibXML::Elements Breaks Equality
Return-Path: <dwheeler [...] cpan.org>
X-RT-Mail-Extension: xml-libxml
X-Original-To: cpan-bug+xml-libxml [...] hipster.bestpractical.com
X-Spam-Check-BY: 16.mx.develooper.com
Dkim-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from :content-type:content-transfer-encoding:subject:date:message-id :to:mime-version; s=sasl; bh=XigwsWOZ6ZyG4n6VCDLLqxzBMm0=; b=v5K RdvgoSptqy8lU9lzl8zGW+HZRzAzyDeElTqhwrzSmVIJM1MtFST/v2OD7wyTPyZH +j+uD5Wq29IH5XUp/MmqfrFail1OWgCcPcGIDn1wl/HKdrKqAxh3PilwxpVKuYI6 g+woO3s4WXhLyuE3oLg+UjUSvHbF9QstMsG+Y2Lk=
Date: Thu, 23 Feb 2012 20:32:04 -0800
X-Spam-Level:
To: bug-xml-libxml [...] rt.cpan.org
X-Pobox-Relay-ID: 805048C8-5EA0-11E1-B929-9DB42E706CDE-76319746!b-pb-sasl-quonix.pobox.com
Content-Transfer-Encoding: quoted-printable
From: "David E. Wheeler" <dwheeler [...] cpan.org>
X-RT-Original-Encoding: us-ascii
Content-Length: 803
Download (untitled) / with headers
text/plain 803b
Got a failure for Test::XPath using XML::LibXML 1.92 today: http://www.cpantesters.org/cpan/report/ae6d5304-5e0f-11e1-a134-5c0e23a3b3ef The relevant error is: Show quoted text
> Operation "ne": no method found, > left argument in overloaded package XML::LibXML::Element, > right argument in overloaded package XML::LibXML::Element at /Users/david/dev/cpan/test-xpath/lib/Test/XPath.pm line 34.
I don't know, but suspect that it's due to this change in 1.91: Show quoted text
> - Overload hash dereferencing on XML::LibXML::Elements, to provide > access to the element's attributes. > - See XML::LibXML::AttributeHash for details. > - Thanks to Toby Inkster.
I suspect that string comparison operators need to be restored. These would allow one to compare nodes, e.g., `$node ne $node`. Thanks, David
MIME-Version: 1.0
In-Reply-To: <83B22646-ABC0-4B26-B94E-E24BC6B59FC1 [...] cpan.org>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
References: <83B22646-ABC0-4B26-B94E-E24BC6B59FC1 [...] cpan.org>
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-10810-1330334677-199.75259-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 1005
Download (untitled) / with headers
text/plain 1005b
On Thu Feb 23 23:32:17 2012, DWHEELER wrote: Show quoted text
> Got a failure for Test::XPath using XML::LibXML 1.92 today: > > http://www.cpantesters.org/cpan/report/ae6d5304-5e0f-11e1-a134- > 5c0e23a3b3ef > > The relevant error is: >
> > Operation "ne": no method found, > > left argument in overloaded package XML::LibXML::Element, > > right argument in overloaded package XML::LibXML::Element at
> /Users/david/dev/cpan/test-xpath/lib/Test/XPath.pm line 34. > > I don't know, but suspect that it's due to this change in 1.91: >
> > - Overload hash dereferencing on XML::LibXML::Elements, to
> provide
> > access to the element's attributes. > > - See XML::LibXML::AttributeHash for details. > > - Thanks to Toby Inkster.
> > I suspect that string comparison operators need to be restored. These > would allow one to compare nodes, e.g., `$node ne $node`. >
This should be fixed in XML-LibXML-1.93, which was just uploaded to CPAN. Thanks for the report. Regards, — Shlomi Fish


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.