[Mono-bugs] [Bug 54992][Wis] New - DataSet.WriteXml produces invalid XML
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Sat, 28 Feb 2004 21:24:10 -0500 (EST)
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 lmaloney@bigpond.net.au.
http://bugzilla.ximian.com/show_bug.cgi?id=54992
--- shadow/54992 2004-02-28 21:24:10.000000000 -0500
+++ shadow/54992.tmp.25454 2004-02-28 21:24:10.000000000 -0500
@@ -0,0 +1,37 @@
+Bug#: 54992
+Product: Mono/Class Libraries
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: Sys.Data
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: lmaloney@bigpond.net.au
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: DataSet.WriteXml produces invalid XML
+
+Description of Problem:
+When writing a dataset to an XML file with DataSet.Xml, the resulting file
+is missing the data section. It is also missing the closing tag which
+makes it invalid XML.
+
+Steps to reproduce the problem:
+1. Compile the attached code with mcs /r:System.Data DataSetTest3.cs
+2. Run the resulting program
+
+Actual Results: (Observed
+The output ends with </xs:schema>. The data section and the closing
+</NewDataSet> tag are missing.
+
+Expected Results: (Observed in Windows/.NET)
+There should be a <MyData> section after the end of the schema, containing
+the data row. This should be followed by a closing </NewDataSet> tag.
+
+How often does this happen?
+Always