]> git.sesse.net Git - xml-template/commitdiff
Ignore xmlns stuff on both sides.
authorsgunderson@bigfoot.com <>
Wed, 6 Sep 2006 13:57:55 +0000 (15:57 +0200)
committersgunderson@bigfoot.com <>
Wed, 6 Sep 2006 13:57:55 +0000 (15:57 +0200)
tests/xml-diff.pl

index 584b1e4a0e59a0e6b1adb5810662b0ef3d39d30b..b99887fa6c6e1fd30b26c75914ca53d9dbad35a9 100644 (file)
@@ -106,6 +106,7 @@ sub compare_attr_list {
 
                my $attr2_found;
                for my $attr2 ($attrs2->getValues) {
+                       next if ($attr2->getName =~ /^xmlns:(.*)$/);
                        my ($nsuri2, undef, $lname2) = $nsup2->process_attribute_name($attr2->getName);
                        $nsuri2 |= '';