Int/ Integer java types for xs:int schema type

2008-02-20 Thread Ihab EL-ALAMI
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

How does XMLBeans convert an empty dateTime element?

2008-02-20 Thread Ihab EL-ALAMI
Hi, When I convert this xml element dateTime / to a DateTime object with the xmlBeans factory, should I get a null DateTime? Thanks in advance for your help -- Ihab

Re: Int/ Integer java types for xs:int schema type

2008-02-20 Thread Jacob Danner
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

Re: Int/ Integer java types for xs:int schema type

2008-02-20 Thread Ihab EL-ALAMI
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