'attribute' element is not supported in this context
날짜: 23-04-2012
전송자: TONY GIRN
대상: 'attribute' element is not supported in this context
문서:
메세지: Hi,

when using the XSD, i get a validation error, which is stopping me from using microsoft XSD tools to generate a nice class for the xml response.

The error, attribute not suppored in this context comes from the DistributorList type, extract below:

<xs:complexType name="DistributorList">
<xs:sequence>
<xs:element name="Distributor" minOccurs="0" maxOccurs="unbounded" >
<xs:attribute name="ID" type="xs:integer" use="required" />
<xs:attribute name="Code" type="xs:string" use="required" />
<xs:attribute name="Name" type="xs:string" use="required" />
</xs:element>
</xs:sequence>
</xs:complexType>

Any suggestions on how i can fix this?

답신하기 위해서는 로그인 하세요