1 |
#!/usr/bin/perl |
#!/usr/bin/perl |
2 |
use strict; |
use strict; |
3 |
use Test; |
use Test; |
4 |
BEGIN { plan tests => 4918 } |
BEGIN { plan tests => 5310 } |
5 |
|
|
6 |
require Message::DOM::DOMImplementation; |
require Message::DOM::DOMImplementation; |
7 |
use Message::Util::Error; |
use Message::Util::Error; |
1816 |
[Core => '', 1], |
[Core => '', 1], |
1817 |
[Core => undef, 1], |
[Core => undef, 1], |
1818 |
[Core => 3, 0], |
[Core => 3, 0], |
1819 |
|
[Traversal => '2.0', 1], [Traversal => '', 1], [Traversal => '1.0', 0], |
1820 |
[XML => '1.0', 1], |
[XML => '1.0', 1], |
1821 |
[XML => '2.0', 1], |
[XML => '2.0', 1], |
1822 |
[XML => '3.0', 1], |
[XML => '3.0', 1], |
1834 |
['+unknown' => undef, 0], |
['+unknown' => undef, 0], |
1835 |
[q<http://suika.fam.cx/www/2006/feature/xdoctype> => '', 1], |
[q<http://suika.fam.cx/www/2006/feature/xdoctype> => '', 1], |
1836 |
[q<http://suika.fam.cx/www/2006/feature/xdoctype> => '3.0', 1], |
[q<http://suika.fam.cx/www/2006/feature/xdoctype> => '3.0', 1], |
1837 |
|
[q<http://suika.fam.cx/www/2006/feature/Atom> => '', 1], |
1838 |
|
[q<http://suika.fam.cx/www/2006/feature/Atom> => '1.0', 1], |
1839 |
|
[q<http://suika.fam.cx/www/2006/feature/AtomThreading> => '', 1], |
1840 |
|
[q<http://suika.fam.cx/www/2006/feature/AtomThreading> => '1.0', 1], |
1841 |
) { |
) { |
1842 |
my $label = $node->node_name . ' ' . $_->[0] . ', ' . |
my $label = $node->node_name . ' ' . $_->[0] . ', ' . |
1843 |
(defined $_->[1] ? $_->[1] : 'undef'); |
(defined $_->[1] ? $_->[1] : 'undef'); |