Skip Menu |

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

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

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

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



Subject: Test suite failure with XML::LibXML >= 1.62
From XML::LibXML 1.62 change log: - DOM-compliant nodeNames: #comment, #text, #cdata, #document, #document-fragment The test suite fails apparently because of the above change, fix attached.
Subject: perl-XML-LibXML-Iterator-1.00-libxml162-test.patch
diff -up XML-LibXML-Iterator-1.00/t/01basic.t~ XML-LibXML-Iterator-1.00/t/01basic.t --- XML-LibXML-Iterator-1.00/t/01basic.t~ 2002-11-08 19:18:36.000000000 +0200 +++ XML-LibXML-Iterator-1.00/t/01basic.t 2007-05-27 21:42:38.000000000 +0300 @@ -35,7 +35,8 @@ $iter->first; ok( $iter->current->nodeName, "test" ); my $n = $iter->last; -ok( $iter->current->nodeName, "text" ); +# "#text" in XML::LibXML >= 1.62, "text" in earlier +ok( $iter->current->nodeName =~ /^#?text/ ); print "# LIST ITERATION\n";
finally fixed in 1.01