[Mono-bugs] [Bug 54898][Nor] New - Error loading DataSet from XML file
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Thu, 26 Feb 2004 10:59:44 -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 gonzalo@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=54898
--- shadow/54898 2004-02-26 10:59:44.000000000 -0500
+++ shadow/54898.tmp.23255 2004-02-26 10:59:44.000000000 -0500
@@ -0,0 +1,53 @@
+Bug#: 54898
+Product: Mono/Class Libraries
+Version: unspecified
+OS: All
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: Sys.Data
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: gonzalo@ximian.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Error loading DataSet from XML file
+
+Compile the following program (mcs -r System.Data datasetbug.cs):
+---
+using System.Data;
+
+class Bug {
+ static void Main ()
+ {
+ DataSet ds = new DataSet();
+ ds.ReadXml ("XMLFile1.xml");
+ }
+}
+---
+
+Get the attached file and save it to XMLFile1.xml.
+
+Actual results:
+in <0x0027a> System.Collections.Hashtable:PutImpl (object,object,bool)
+in <0x00019> System.Collections.Hashtable:Add (object,object)
+in <0x003ef> System.Data.XmlDataLoader:AddRowToTable
+(System.Xml.XmlNode,System.Data.DataColumn,bool)
+in <0x0015a> System.Data.XmlDataLoader:ReadModeSchema
+(System.Xml.XmlReader,System.Data.XmlReadMode)
+in <0x0005c> System.Data.XmlDataLoader:LoadData
+(System.Xml.XmlReader,System.Data.XmlReadMode)
+in <0x000e4> System.Data.DataSet:ReadXml
+(System.Xml.XmlReader,System.Data.XmlReadMode,bool)
+in <0x002fe> System.Data.DataSet:ReadXml (System.Xml.XmlReader)
+in <0x0003b> System.Data.DataSet:ReadXml (string)
+in <0x00036> Bug:Main ()
+
+Expected results:
+(nothing)
+
+Additional information:
+This is a test case extracted from a ASP.NET article in CodeProject.