A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
XML and Related Technologies
JAXB validation - maxInclusive range
Joined: Apr 08, 2004
Apr 17, 2009 12:43:30
In the XSD maxInclusive value defined
. When i
9999999.9 (or) 9999999.9, JAXB gives following valiadtion error.
Attribute has bad value. the value is out of range (maxInclusive specifies 999,999.
How 9 is converted to 875 ?
Joined: Oct 14, 2005
Apr 17, 2009 15:09:53
Presumably the calculation is being done with float values (not double). However that shouldn't be a problem because the same rounding will apply to both the maxInclusive value and the number being compared to it.
subject: JAXB validation - maxInclusive range
cannot find symbol
Is it possible to get a light-blue color?
Struts2 Validation - Number?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015