commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 37300] - [validator] Int validation in Java and Javascript have different semantics
Date Wed, 02 Nov 2005 12:29:33 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37300>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37300





------- Additional Comments From niallp@apache.org  2005-11-02 13:29 -------
My bad, I thought I had tested this, but its still doesn't work :-(

Theres nothing wrong with the parseInt() change but Integer, Byte and Short 
validators also call the isAllDigits() method which checks for valid octal 
digits (i.e. "01234567") if the first digit is a zero.

I have added a new isDecimalDigits() function in validatorUtilities.js and 
changed the Integer, Byte and Short validators to use it (also the isAllDigits
() function has been moved into the validatorUtilities.js).

http://svn.apache.org/viewcvs?rev=330243&view=rev

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message