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 [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=78667 --- 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: +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Cosmetic +Component: tools +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +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[] +childColumns) +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.DataRelationCollection+DataSetRelationCollection:AddCore +(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 +reader) +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 +relations. + +(Output of MS.NET xsd.exe) + +How often does this happen? + +Always _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
