[Mono-bugs] [Bug 58327][Maj] New - DataSet.ReadXml fails to read from memory stream.
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Tue, 11 May 2004 10:43:32 -0400 (EDT)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by borisk@mainsoft.com.
http://bugzilla.ximian.com/show_bug.cgi?id=58327
--- shadow/58327 2004-05-11 10:43:32.000000000 -0400
+++ shadow/58327.tmp.20368 2004-05-11 10:43:32.000000000 -0400
@@ -0,0 +1,46 @@
+Bug#: 58327
+Product: Mono: Class Libraries
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity: 008 One day
+Priority: Major
+Component: Sys.Data
+AssignedTo: atsushi@ximian.com
+ReportedBy: borisk@mainsoft.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: DataSet.ReadXml fails to read from memory stream.
+
+Description of Problem:
+DataSet.ReadXml fails to read from memory stream.
+
+Steps to reproduce the problem:
+1. Create DataSet and fill it with data
+2. WriteXml into memory stream
+3. ReadXml from memory stream
+
+Actual Results:
+ReadXml fails with exeption :
+Unhandled Exception: System.Xml.XmlException: Document element did not appear.
+in <0x00240> System.Xml.XmlTextReader:Read ()
+in <0x00087> System.Xml.XmlReader:MoveToContent ()
+in <0x0007e> System.Data.DataSet:ReadXml
+(System.Xml.XmlReader,System.Data.XmlReadMode)
+in <0x00017> System.Data.DataSet:ReadXml (System.Xml.XmlReader)
+in <0x0003b> System.Data.DataSet:ReadXml (System.IO.Stream)
+in <0x000bc> Test:Main (string[])
+
+
+Expected Results:
+ReadXml succedes
+
+How often does this happen?
+Always
+
+
+Additional Information: