<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">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-&gt;{$type}-&gt;{doc} = $self-&gt;{parser}-&gt;createDocument();
-    $self-&gt;{$type}-&gt;{doc}-&gt;setDocumentElement( $source );
+    $self-&gt;{$type}-&gt;{doc}-&gt;setDocumentElement( $self-&gt;{$type}-&gt;{root} );
 
   } else {
     if( $source !~ /\n/ &amp;&amp; -e $source ) {
</pre></body></html>