Force upper case Class names? ...

Apr 3, 2012 at 10:29 PM

I am sharing XSD between Java and .NET. The XSD is written such that XSD type names are camel cased.

In the Java world, 'xjc' will automatically upper case Class names which is the desired behavior. By default both Xsd2Code and Microsoft's XSD generate Types exactly as named in the XSD which in my case is not the desired behavior.

My question is, is there a way to force Type names to be generated in Pascal case or is there a way to get Xsd2Code to generate the TypeName parameter of the XmlTypeAttribute attribute with the Type name in Pascal case?

I'm very impressed by Xsd2Code as compared with Microsoft's XSD utility and I appreciate your hard work and sharing with the .NET community.

All the Best,

peter sparago