I\'ve seen several questions regarding problems with generating classes from XML Schema using xsd.exe
, along with suggestions for how to pre-process the schema (oft
It's not a limit to code generation. It's that XML schema does not describe classes. It describes XML, which is a different thing.
The result is that there is an "impedance mismatch" between XML Schema and C# classes, or Java classes, or any other kind of classes. The two are not equivalent, and are not meant to be.