Thanks, that made things much clearer!
Randall
-----Original Message-----
From: Discussion list for the Java Architecture for XML Binding
[mailto:JAXB-INTEREST_at_JAVA.SUN.COM]On Behalf Of Joe Fialli
Sent: Monday, February 03, 2003 4:09 PM
To: JAXB-INTEREST_at_JAVA.SUN.COM
Subject: Re: Newbie question...
Randall Fidler wrote:
> Hello,
>
> I've checked out the underscoreBinding property for use with JAXB and
> tried both settings of "asWordSeperator" and "asCharInWord" but I
> continue to get underscores in classnames, fieldnames. I thought that
> maybe specifying the field and class names would get rid of the
> underscore, thought maybe it was a default character, but to no avail I
> still receive underscores.
The default for underscoreBinding is to treat "_" as punctuation(word
seperator")
All underscores should be treated as word separators by default.
Thus,default binding should result in
<xs:complexType name="Foo_bar"> ===> public interface FooBar
The underscoreBinding property was added to enable compatibility
with JAX-RPC name mapping that defaults to treating "_"
as a character in a word.
-Joe Fialli, Sun Microsystems
>
> Help?
>
> Thanks!
>
> Randall
--