I have a "library" schema with the simple and complex types I commonly use
in other schemas and then several other schemas, maybe created by other
developers, that import/include the library schema. And then other schemas
can extend it.....
The classes created by XSD really help to make the development faster and
easier. I really would like to use XSD.exe tool as much as possible and to
avoid editing the classes defined by the tool.
If I create two different schemas (that use the library schema) XSD will
duplicate the classes defined in the library schema so I will have to manage
the colliding definitions in the class definitions.
I can create a top level schema that import/include the lower level schemas
and provide this schema to XSD.exe but from the kind of errors I receive it
seems the tool has some problems handling impor/include.
In your experience what is the best way to manage a simple or complex
library of schemas using XSD.exe?
Thanks,
Davide Bedin