users@jaxb.java.net

names differing only in case

From: Johnny Tolliver <jxt_at_ornl.gov>
Date: Sun, 5 Nov 2006 11:57:38 -0500 (EST)

I have a simple question. It seems that JAXB eschews names that differ
only in case, forcing me to create customizations for schema over which I
have no control.

Is this a fundamental "feature" of JAXB because some operating systems
(names withheld to protect the guilty :-) cannot recognize Java classes that
differ only in case? So, for example, if a schema contains an element named
"SomeName" and an attribute name "someName", then there will be an OS file
system collision between the generated Java classes named SomeName.java and
someName.java?

And because Java wants to be platform-independent, then XJC insists that it
be able to generate platform-independent names, meaning names that differ in
more than just case, because some OSes can't grok file names that differ
only in case?

If the above analysis is correct, what is the normal pattern to deal with
such schema? I've created customization files before -- long ones -- but is
there some easier way? Barring that, is there some "best practices" pattern
for doing the customizations?

Thanks,
Johnny S. Tolliver
Oak Ridge National Laboratory
tolliverjs_at_ornl.gov, 865-574-1305