Hi Rudolf,

the java type for xs:Integer has been changed from int to long with one of the last releases as the XML schema specification requires at minimum the value range of java long for an xs:Integer.

Regards
Ralf


Rudolf Wöhrl schrieb:
Hi,

you most probably know it already: there is a bug in the Castor 
IntegerValidator.

In method 'void validate(final Object object, final ValidationContext context)'
line 337 (Castor 1.1) should read

value = ((Integer) object).intValue();

instead of

value = ((Long) object).longValue();

Greetings
Rudi Woehrl
_______________________________________________________________
SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192


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

    http://xircles.codehaus.org/manage_email

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

   http://xircles.codehaus.org/manage_email

Reply via email to