negative floats in XML Datasource

0
Hi i have negative Floats in my xml Datasource
i.e: <myVal>-12,34</myVal>
if i export it to pdf every value below "0" will be shown as the text "null"
if the tag is like that: <myVal>29,322</myVal>
the text will be exported correctly.
What did i do wrong?
alexpetri's picture
Joined: Oct 27 2007 - 3:18am
Last seen: 11 years 11 months ago

1 Answer:

0
This is caused by a [url=http://issues.apache.org/jira/browse/BEANUTILS-44]Commons BeanUtils bug.

You can either change your fields to java.lang.Double or upgrade Commons BeanUtils to 1.8.0-BETA (which fixes the bug and hopefully doesn't introduce any new ones).

Regards,
Lucian
lucianc's picture
7091
Joined: Jul 17 2006 - 1:10am
Last seen: 1 week 6 days ago
Feedback