Hi everybody, (thanks Dan)

Here I make a copy of Dan Diephause's e-mail in other topic:

-----------------------------------------------------------------------
Dan says:

You can not have empty values in xml elements for ints/longs/etc. This
is not allowed by the xml schema spec. Nillable=true means you can
supply this:

<bar xsi:nil="true"/>

And then bar will be a null value. Otherwise its interpreted as just ""
and that is not a valid number. 

Cheers,
- Dan
-----------------------------------------------------------------------

Bye

On Wed, 2007-01-17 at 16:25 -0600, Ruth, Brice D wrote:
> Are you wanting to accept or not accept nulls? Are you using jsr-181
> annotations or something else?
> 
> -----Original Message-----
> From: Tonio [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, January 17, 2007 4:18 PM
> To: [email protected]
> Subject: [xfire-user] Parsing method arguments
> 
> 
> 
> hi all,
> 
> I'm using xfire 1.2.3
> 
> Just a question:
> 
> Is there a way to change how method arguments are parsed ?
> 
> The problem I have is that date and number types don't accept null
> values,
> (I mean empty values in the xml body)
> 
> If it is posible, it will be wonderful if you can give a clue on how to
> do
> it.
> 
> Thanks in advance
> tonio


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to