[Mono-bugs] [Bug 68928][Nor] Changed - DataSet.ReadXml table string allocation error

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 29 Dec 2004 13:50:32 -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 atsushi@ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=68928

--- shadow/68928	2004-10-29 05:08:13.000000000 -0400
+++ shadow/68928.tmp.21227	2004-12-29 13:50:32.000000000 -0500
@@ -1,14 +1,14 @@
 Bug#: 68928
 Product: Mono: Class Libraries
 Version: unspecified
-OS: 
+OS: unknown
 OS Details: Mandrake 10.0 and Debian Sarge
-Status: NEW   
-Resolution: 
-Severity: 
+Status: RESOLVED   
+Resolution: NOTABUG
+Severity: Unknown
 Priority: Normal
 Component: Sys.Data
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: bugzilla-ximian.20.abienvenu@spamgourmet.com               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
@@ -95,6 +95,25 @@
 </ArrayOfUserEntry>
 
 ------- Additional Comments From bugzilla-ximian.20.abienvenu@spamgourmet.com  2004-10-29 05:08 -------
 Created an attachment (id=13113)
 Archive containing source, data and binary to reproduce the problem
 
+
+------- Additional Comments From atsushi@ximian.com  2004-12-29 13:50 -------
+This is the expected result. MS.NET 1.1 SP1 also resulted in the same:
+
+Unhandled Exception: System.ArgumentException: The same table (string)
+cannot be the child table in two nested relations.
+   at System.Data.DataRelation.CheckNestedRelations()
+   at System.Data.DataRelation.set_Nested(Boolean value)
+   at System.Data.XmlDataLoader.InferSchema(XmlElement tree, Hashtable
+tableAtoms, DataTable table)
+   at System.Data.XmlDataLoader.InferSchema(XmlElement tree, Hashtable
+tableAtoms, DataTable table)
+   at System.Data.XmlDataLoader.InferSchema(XmlDocument xdoc, String[]
+excludedNamespaces)
+   at System.Data.DataSet.ReadXml(XmlReader reader, Boolean denyResolving)
+   at System.Data.DataSet.ReadXml(TextReader reader)
+   at Bug.Main()
+
+