Thanks Jacob for your quick and precise answer,
I tried what you saif by adding nillable="true" to the schema, but that did
not change anything. The java type is still int.
Any other ideas?
Thanks again

On 2/20/08, Jacob Danner <[EMAIL PROTECTED]> wrote:
>
> Hi Ihab,
> Take a peek at
>
> http://xmlbeans.apache.org/docs/2.0.0/guide/conXMLBeansSupportBuiltInSchemaTypes.html
> otherwise you will need to declare teh type with nillable=true, etc.
> HTH,
> -jacobd
>
>
> On Wed, Feb 20, 2008 at 6:57 PM, Ihab EL-ALAMI <[EMAIL PROTECTED]>
> wrote:
> > Hi,
> > How can I generate the Java type Interger for xs:int? Of course, by
> default,
> > it generates int.
> >
> > The problem with int is that you can not put it to null, and my
> application
> > needs this possibility.
> >
> > Thanks in advance for your help
> >
> > --
> > Ihab
>
>
>
>
> --
> I'm competing in a Half-Ironman distance triathlon to raise money for
> the fight against cancer!
> Please help support my efforts by going to:
> http://www.active.com/donate/tntwaak/jacobd
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Ihab

Reply via email to