users@jaxb.java.net

Re: typeSafeEnumMember name overriding

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Tue, 03 Aug 2004 12:07:26 -0700

> I have a "Why does it do that?" type of question. I am currently using jaxb
> 1.02 and have an enumeration defined similar to the following, I am using
> external binding files to generate the enum classes.

I'm personally not happy with this either, but I believe this is what
the spec says.

The same thing happens to class names and other things. For example,
even if you specify

    <jaxb:class name="foo"/>

You get "Foo".

I think the reason was to "help" users by automatically making names to
be Java naming convention compatible.

regards,
--
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net