Kristof,
I really can't agree with the fact that this is critical:
* this does not prevent xreporter from running correctly
* there is clear feedback to the user on the resulting pages of how values were interpreted: he should read and react!
* this leniency 'feature' has been in xreporter since 1.0, knowing its extensive use at your premises over the last x years I'ld say the fact that this got unnoticed for so long is an indication of how un-critical this is?
Nevertheless, there could be a valuable new feature in this of course.
Finally: I have to state that the suggested solution for using setLenient or setParseStrict is not the best way of solving IMHO.
1. the jdk setLenient is only on available on dateparsing (and your problem here is about numberparsing)
2. it's not verified what the icu4j implementation actually does
3. since xreporter uses a fallback strategy to choose between icu4j and jdk parsing we can only rely on the least common denominator
a better approach IMHO would be to extend the set of available validation elements in the report-definition-xml. (e.g. something to match a regex expression)
(hence the renaming of the 'issue')
Fixed in SVN rev 718.
If there is non-parsed input after the parsed number, validation will fail.