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

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
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)
 
Back
Top