2004-10-12 Atsushi Enomoto <atsushi@ximian.com>
authorAtsushi Eno <atsushieno@gmail.com>
Tue, 12 Oct 2004 14:51:26 +0000 (14:51 -0000)
committerAtsushi Eno <atsushieno@gmail.com>
Tue, 12 Oct 2004 14:51:26 +0000 (14:51 -0000)
* DataSetTest.cs : now xs:schema contains xmlns="".
  This fixes bug #68008.

svn path=/trunk/mcs/; revision=34910

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

index 416ccbc4fa2dea87a5a6818258ec597af1ff8ba4..5f99f1d1d52115b760155209f74eecefec450cf5 100644 (file)
@@ -1,3 +1,8 @@
+2004-10-12  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * DataSetTest.cs : now xs:schema contains xmlns="".
+         This fixes bug #68008.
+
 2004-10-12  Atsushi Enomoto  <atsushi@ximian.com>
 
        * DataSet.cs : DBNull attribute column should not be written as
index 727e866a34f50a87192da52e01155f25afaffaa4..53cbf300156047beda91b1a4b400c18ebe5d5f79 100644 (file)
@@ -1397,6 +1397,9 @@ namespace System.Data {
                        XmlAttribute attr = null;
                        ArrayList atts = new ArrayList ();
 
+                       attr = doc.CreateAttribute ("", "xmlns", xmlNSURI);
+                       atts.Add (attr);
+
                        nsmgr.AddNamespace ("xs", XmlSchema.Namespace);
                        nsmgr.AddNamespace (XmlConstants.MsdataPrefix, XmlConstants.MsdataNamespace);
                        if (Namespace != "") {