[Mono-list] XSD Tool and code generators

Atsushi Eno atsushi@ximian.com
Sun, 12 Dec 2004 11:19:38 +0900


Carlos Guzmán Álvarez wrote:
> I want to generate classes for the XMPP Sehcma's, but i want to use
> PascalCase naming on the generated code, can this be done by using a
> custom generator or should i modify the XSD tool sources for that ??

I don't think it is possible. You could still edit XmlSerializer
attributes on those classes manually, if your "classes" mean
XmlSerializable (xsd /c) types. Is it possible with .net?

> (While testing the mono xsd tool fails at least with one of the XMPP XSD,
> the XSD files are the same as the ones that can be found in the 
> www.xmpp.org, i have only added some imports that were missing.
> .NET 1.1 xsd tool can generate the code fro all of them)

In such cases, please just file a bug in bugzilla.ximian.com

Atsushi Eno