Skip Menu |

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

Report information
The Basics
Id: 42211
Status: new
Priority: 0/
Queue: XML-Diff

People
Owner: Nobody in particular
Requestors: Marek.Rouchal [...] gmx.net
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.05
Fixed in: (no value)



Subject: Bug in _getDoc - making test fail
The test fails because of a minor bug in the _getDoc sub - the attached patch fixes the problem for me. Please double-check and feel free to include the patch in the next release. Cheers, Marek
Subject: XML-Diff-0.05.diff
diff -ruN XML-Diff-0.05/Diff.pm XML-Diff-0.05p1/Diff.pm --- XML-Diff-0.05/Diff.pm 2007-07-12 12:43:51.000000000 +0200 +++ XML-Diff-0.05p1/Diff.pm 2009-01-07 14:45:02.819443000 +0100 @@ -446,7 +446,7 @@ } $self->{$type}->{doc} = $self->{parser}->createDocument(); - $self->{$type}->{doc}->setDocumentElement( $source ); + $self->{$type}->{doc}->setDocumentElement( $self->{$type}->{root} ); } else { if( $source !~ /\n/ && -e $source ) {