error while trying to create a class file out of an xsd file

G

Guest

Hi,

I have an xsd file that imports some data types from another xsd file called basedatatype.xsd.
I am trying to generate a .cs class file out of the main xsd file using the following command line tool command:
xsd main.xsd /c
I get the following error like data type which is defined in the basedatatypes.xsd file is not declared or not a simple type.
Does anyone know the resolution to this problem?

Thanks in advance,
DEV-MS
 
T

Teemu Keiski

Hi,

as the error says, look for the problem in the XSD file. Also posting the
XSD here might help (though you might want to try XML newsgroup as well)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top