2009-01-22 Atsushi Enomoto <atsushi@ximian.com>
authorAtsushi Eno <atsushieno@gmail.com>
Wed, 21 Jan 2009 23:20:17 +0000 (23:20 -0000)
committerAtsushi Eno <atsushieno@gmail.com>
Wed, 21 Jan 2009 23:20:17 +0000 (23:20 -0000)
* XElement.cs : oops, experimental code remained and caused test
  failure.

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

mcs/class/System.Xml.Linq/System.Xml.Linq/ChangeLog
mcs/class/System.Xml.Linq/System.Xml.Linq/XElement.cs

index dd950ed1c16f0844e6303bb8a8ace929b96f62de..2926f1a2db35a1ba323a728e897309ec7772ccd1 100644 (file)
@@ -1,3 +1,8 @@
+2009-01-22  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * XElement.cs : oops, experimental code remained and caused test
+         failure.
+
 2009-01-20  Atsushi Enomoto  <atsushi@ximian.com>
 
        * XElement.cs : iterate all attributes and see if there is
index 1ba9493086ae606853c3077a2e2a5c290c2f326e..d5f65b9a0b511b223994ad9f747216957fb871d0 100644 (file)
@@ -561,7 +561,7 @@ namespace System.Xml.Linq
                                }
                        }
 
-                       w.WriteStartElement (null, name.LocalName, name.Namespace.NamespaceName);
+                       w.WriteStartElement (prefix, name.LocalName, name.Namespace.NamespaceName);
 
                        foreach (XAttribute a in Attributes ()) {
                                if (a.IsNamespaceDeclaration) {