camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From boday <>
Subject Re: @XPath for an Integer
Date Tue, 24 May 2011 17:43:26 GMT
Stu, I see the issue, the value is evaluated to Double.NaN and then the type
converter further converts it to a primitive int (which defaults to 0,
instead of null).

I logged this JIRA to check for Double.NaN and return null instead of

Stu.C wrote:
> b) is it possible to return a null instead when the element doesn't exist,
> as zero could be a valid value?

Ben O'Day
IT Consultant -

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message