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";