t/astress...........Unrecognized escape \d passed through at blib/lib/XML/DOM.pm line 136. #### # blib/lib/XML/DOM.pm line number 136 change: $ReCharRef = "(?:\&#(?:\d+|x[0-9a-fA-F]+);)"; # to ... $ReCharRef = qr!(?:\&#(?:\d+|x[0-9a-fA-F]+);)!; #### t/attr..............Can't locate object method "equals" via package "XML::Parser::ContentModel" at CmpDOM.pm line 168. #### if (ref ($p1)) { return 0 unless $p1->equals ($p2, $cmp); } #### # roughly line 500 sub equals { $_[1] && $_[2] && return $_[0]; undef; } #### t/attr..............ok 23/23FAILED test 3 Failed 1/23 tests, 95.65% okay # and... t/print.............ok 3/3FAILED test 2 Failed 1/3 tests, 66.67% okay #### my $str = < ]> END my $parser = new XML::DOM::Parser; my $doc = $parser->parse ($str); assert_ok (not $@); my $out = $doc->toString; $out =~ tr/\012/\n/; # this line is mine... # warn "out - $out | str - $str"; assert_ok ($out eq $str); #### # this... hair (none|blue|yellow) 'yellow' # is not equal to this... hair (none | blue | yellow) "yellow" # which is from the HEREDOC above. #### # change this... # to this... # and all is well.