Hi Ulf, This is a valid request, the best way to handle this is to file a bugzilla enhancement request at http://bugzilla.exolab.org
This will allow us to track the issue and assign it to the proper individual. Thanks, --Keith Ulf Heyder wrote: > > Hello alltogether, > > I have several xsds with several enumeration types wich all contain only > numeric values like > "1000", "1100", "2000" ... > > The source generator in the java classes produces elements called VALUE_0, > VALUE_1, ... and VALUE_0_TYPE, VALUE_1_TYPE, ... > > This makes it difficult to see the original numeric semantics when using the > "VALUE_X" constants. > > Or for example, if I delete or insert an enumeration element "1200" between > "1100" and "2000" in the xsd and regenerate the java class the constant for > the value"2000" is not VALUE_2 anymore but it will be VALUE_3. > > Is it possible to let the value of numeric elements survive in the constant > names by calling them VALUE_<numVal> and VALUE_<numval>_TYPE so in my example > the constants would be VALUE_1000, VALUE_1100, VALUE_2000, ... and after I > insert element "1200" these names are only extended by VALUE_1200. > > I would then not have to rename heaps of VALUE_abcd's in my code where I use > objects of the generated classes. > > Thanks, Ulf > > -- > NEU F�R ALLE - GMX MediaCenter - f�r Fotos, Musik, Dateien... > Fotoalbum, File Sharing, MMS, Multimedia-Gru�, GMX FotoService > > Jetzt kostenlos anmelden unter http://www.gmx.net > > +++ GMX - die erste Adresse f�r Mail, Message, More! +++ > > ------------------------------------------------------------------------ > Name: foobarType.java > foobarType.java Type: Hypertext Markup Language (text/html) > Encoding: base64 ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev
