2004-10-13 Atsushi Enomoto <atsushi@ximian.com>
authorAtsushi Eno <atsushieno@gmail.com>
Wed, 13 Oct 2004 21:17:40 +0000 (21:17 -0000)
committerAtsushi Eno <atsushieno@gmail.com>
Wed, 13 Oct 2004 21:17:40 +0000 (21:17 -0000)
* DataSet.cs : clear UnhandledAttributes ArrayList before generating
  next element column schema. This fixes bug #68256.

svn path=/branches/mono-1-0/mcs/; revision=34960

mcs/class/System.Data/System.Data/ChangeLog
mcs/class/System.Data/System.Data/DataSet.cs

index d84e2bef046e812fe8ca95a0de5b63dec9e21a3e..11e2755e30bdedb5f9e47ac70723d7ed08aa0aee 100644 (file)
@@ -1,3 +1,8 @@
+2004-10-13  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * DataSet.cs : clear UnhandledAttributes ArrayList before generating
+         next element column schema. This fixes bug #68256.
+
 2004-10-12  Atsushi Enomoto  <atsushi@ximian.com>
 
        * DataSet.cs : now xs:schema contains xmlns="".
index ec77adaea2c98d1c1dfbb211abff2e83ebbf17b4..19006e71607518a1f0237478df6b45e0571028a2 100644 (file)
@@ -1739,6 +1739,7 @@ namespace System.Data {
                                        }
                                        
                                        colElem.UnhandledAttributes = (XmlAttribute[])xattrs.ToArray(typeof (XmlAttribute));
+                                       xattrs.Clear ();
                                        AddExtendedPropertyAttributes (colElem, col.ExtendedProperties, doc);
                                        seq.Items.Add (colElem);
                                }