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

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

9 views
Skip to first unread message

sammartin

unread,
Nov 26, 2009, 10:46: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

Emerald Nakamura

unread,
Feb 21, 2010, 1:06:08 PM2/21/10
to

"sammartin" <samm...@discussions.microsoft.com> wrote in message
news:263D3C12-F0AE-4505...@microsoft.com...
0 new messages