applied patch from Brian Stafford to fix a bug in xmlReconciliateNs()

* tree.c: applied patch from Brian Stafford to fix a bug
  in xmlReconciliateNs()
Daniel
diff --git a/ChangeLog b/ChangeLog
index 960903f..a3f2ec1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Mon Oct 28 14:01:29 CET 2002 Daniel Veillard <daniel@veillard.com>
+
+	* tree.c: applied patch from Brian Stafford to fix a bug
+	  in xmlReconciliateNs()
+
 Mon Oct 28 13:51:55 CET 2002 Daniel Veillard <daniel@veillard.com>
 
 	* tree.c: applied patch from Christian Glahn to allow
diff --git a/tree.c b/tree.c
index cf4a6b0..9226730 100644
--- a/tree.c
+++ b/tree.c
@@ -4780,7 +4780,7 @@
 		}
 		for (i = 0;i < nbCache;i++) {
 		    if (oldNs[i] == attr->ns) {
-			node->ns = newNs[i];
+			attr->ns = newNs[i];
 			break;
 		    }
 		}