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=9051>.
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=9051

[PATCH] 0 should be a valid float

           Summary: [PATCH] 0 should be a valid float
           Product: Struts
           Version: Nightly Build
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Unknown
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Current validator-rules.xml does not validate 0 as a float.  Here is a patch:

Index: conf/share/validator-rules.xml
===================================================================
RCS file: /home/cvspublic/jakarta-struts/conf/share/validator-rules.xml,v
retrieving revision 1.2
diff -r1.2 validator-rules.xml
379c379
<                        if (!iValue) {

---
>                        if( isNaN(iValue) ) {

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

Reply via email to