DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22612>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22612

Validators for numbers not locale sensitive

           Summary: Validators for numbers not locale sensitive
           Product: Struts
           Version: 1.1 Final
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Validator Framework
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The validator for double, float etc is not locale sensitive. A number entered 
in NZ or the USA should conform to the format 123.45. However the same number 
in parts of Europe would be expressed as 123,45 and should be expected to be 
entered as such.

This probably extends to integer as well. A number in the USA expressed as 
1,234.56 would be expressed in parts of Europe as 1 234,56

These are default validators supplied with the product and should be locale 
sensitive, particularly since the date was coded to be so.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to