Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Help with XSD.EXE - xsd file containing a choice?

6 views
Skip to first unread message

sammartin

unread,
Nov 26, 2009, 9:37:01 AM11/26/09
to
Hello,

I'm trying to create a dataset object from an xsd.

The xsd contains this:
<xsd:choice>
<xsd:sequence>
<xsd:element name="StartRange" type="AONrangeStructure"/>
<xsd:element name="EndRange" type="AONrangeStructure" minOccurs="0"/>
<xsd:element name="Description" type="AONdescriptionType" minOccurs="0"/>
</xsd:sequence>
<xsd:element name="Description" type="AONdescriptionType"/>
</xsd:choice>

When executing xsd, the error thrown says that A column named 'Description'
already belongs to this DataTable. Does this mean that xsd.exe doesn't deal
with xsd:choices?

Any help appreciated.

TIA
Sam

0 new messages