[Mono-bugs] [Bug 78667][Cos] New - IOE when compiling xsd schema to dataset

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Jun 17 16:15:41 EDT 2006

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 christian.birkl at gmail.com.


--- shadow/78667	2006-06-17 16:15:41.000000000 -0400
+++ shadow/78667.tmp.29911	2006-06-17 16:15:41.000000000 -0400
@@ -0,0 +1,65 @@
+Bug#: 78667
+Product: Mono: Tools
+Version: 1.1
+OS Details: 
+Status: NEW   
+Priority: Cosmetic
+Component: tools
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: Christian.Birkl at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: IOE  when compiling xsd schema to dataset
+Description of Problem:
+xsd.exe fails to compile the attached schema
+Steps to reproduce the problem:
+1. compile attached schema to a dataset (xsd.exe 
+<path/to/test.xsd> /dataset
+Actual Results:
+System.InvalidOperationException: Parent and child columns can't be the 
+same column.
+in <0x00549> System.Data.ForeignKeyConstraint:_validateColumns 
+(System.Data.DataColumn[] parentColumns, System.Data.DataColumn[] 
+in <0x00012> System.Data.ForeignKeyConstraint:_foreignKeyConstraint 
+(System.String constraintName, System.Data.DataColumn[] parentColumns, 
+System.Data.DataColumn[] childColumns)
+in <0x0002a> System.Data.ForeignKeyConstraint:.ctor (System.String 
+constraintName, System.Data.DataColumn[] parentColumns, 
+System.Data.DataColumn[] childColumns)
+in <0x0010a> System.Data.DataRelation:UpdateConstraints ()
+in <0x000a5> 
+(System.Data.DataRelation relation)
+in <0x00029> System.Data.DataRelationCollection:Add 
+(System.Data.DataRelation relation)
+in <0x00730> System.Data.XmlSchemaDataImporter:Process ()
+in <0x00027> System.Data.DataSet:ReadXmlSchema (System.Xml.XmlReader 
+in <0x00034> System.Data.DataSet:ReadXmlSchema (System.String str)
+in <0x000c5> Mono.Util.Driver:GenerateDataset ()
+in <0x00b7e> Mono.Util.Driver:Run (System.String[] args)
+in <0x00053> Mono.Util.Driver:Main (System.String[] args)
+Expected Results:
+Error: There was an error processing 'C:\test.xsd'.
+  - The same table (value) cannot be the child table in two nested 
+(Output of MS.NET xsd.exe)
+How often does this happen? 

More information about the mono-bugs mailing list