2004-11-14 Atsushi Enomoto <atsushi@ximian.com>
authorAtsushi Eno <atsushieno@gmail.com>
Sun, 14 Nov 2004 06:33:27 +0000 (06:33 -0000)
committerAtsushi Eno <atsushieno@gmail.com>
Sun, 14 Nov 2004 06:33:27 +0000 (06:33 -0000)
* XmlWriter.cs : after WriteAttributes(), argument XmlReader must
  move to element. This fixes bug #69350.

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

mcs/class/System.XML/System.Xml/ChangeLog
mcs/class/System.XML/System.Xml/XmlWriter.cs

index eec144fe8b8a126f65b987404481d0ed3f01b488..de6ad5b78d541c8ffbdb5b5e5f87f9ea35dc9be9 100644 (file)
@@ -1,3 +1,8 @@
+2004-11-14  Atsushi Enomoto <atsushi@ximian.com>
+
+       * XmlWriter.cs : after WriteAttributes(), argument XmlReader must
+         move to element. This fixes bug #69350.
+
 2004-10-18  Atsushi Enomoto  <atsushi@ximian.com>
 
        * XmlTextReader.cs :
index 7e4fb8d6b2823ed69d2f6dca0b6f60c8fc76ca3a..42e1c6501c169637e3369f5472b0441ff8eb124c 100644 (file)
@@ -111,6 +111,7 @@ namespace System.Xml
                                do {
                                        WriteAttribute (reader, defattr);
                                } while (reader.MoveToNextAttribute ());
+                               reader.MoveToElement ();
                                break;
                        default:
                                throw new XmlException("NodeType is not one of Element, Attribute, nor XmlDeclaration.");