users@jaxb.java.net

Re: <xjc:simple> and plurals

From: Wolfgang Laun <wolfgang.laun_at_gmail.com>
Date: Thu, 18 Jun 2009 16:29:03 +0200

I've worked around this either by providing <element> definitions, at the
outermost schema nesting level, or by using the technique indicated at the
end of your reference, implemented as a generic method, see
https://jaxb.dev.java.net/tutorial/section_4_5-Calling-marshal.html#Calling%20marshal

But I can imagine that neither is acceptable to you.
-W


On 6/18/09, nicolas de loof <nicolas.deloof_at_gmail.com> wrote:
>
> To support IDREFs and @XmlRootElement as explained here :
>
> http://weblogs.java.net/blog/kohsuke/archive/2006/03/why_does_jaxb_p.html
>
> 2009/6/18 Wolfgang Laun <wolfgang.laun_at_gmail.com>
>
>> On 6/18/09, nicolas de loof <nicolas.deloof_at_gmail.com> wrote:
>>
>>> Hi
>>>
>>> is there any way to disable plural generation when <xjc:simple> is
>>> enabled ?
>>> As my wsdl uses french names and allready pluralize attributes, this
>>> generates funny names (I find them funny, my collegues don't)
>>>
>>
>> Parbleu! This must sound like Gollum programming ;-)
>>
>> But what else do you nedd xjc:simple for?
>>
>> -W
>>
>>
>>
>>
>>
>>
>>
>>> Cheers,
>>> Nicolas
>>>
>>
>>
>
>