* XmlDocument.cs : Save(Stream) should not close the stream. svn path=/trunk/mcs/; revision=19517
@@ -1,3 +1,7 @@
+2003-11-01 Atsushi Enomoto <[email protected]>
+
+ * XmlDocument.cs : Save(Stream) should not close the stream.
2003-10-25 Atsushi Enomoto <[email protected]>
* DTDReader.cs, DTDValidatingReader.cs, XmlInputStream.cs,
@@ -891,7 +891,7 @@ namespace System.Xml
XmlTextWriter xmlWriter = new XmlTextWriter (outStream, TextEncoding);
xmlWriter.Formatting = Formatting.Indented;
WriteContentTo (xmlWriter);
- xmlWriter.Close ();
+ xmlWriter.Flush ();
}
public virtual void Save (string filename)