I am working with some scheme that defines an abstract complex type, for example.
<xs:complexType name="MyComplexType" abstract="true">
This type then refers to another complex type in the schema:
<xs:complexType name="AnotherType"> <xs:sequence> <xs:element name="Data" type="MyComplexType" maxOccurs="unbounded"/> </xs:sequence> </xs:complexType>
When I run "xsd.exe / d / l: CS MySchema.xsd", I get this error:
Error: MySchema.xsd 'processing error occurred. - Error generating code for the DataSet. '' - It is not possible to convert the contents of the input xml file to a DataSet. DataSet cannot create abstract ComplexType for data node. - DataSet cannot create abstract ComplexType for data node.
This does not look like the wrong scheme. Anyone else run into this problem?
thanks
Nick
ng5000
source share