[ 
https://issues.apache.org/jira/browse/PIVOT-892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13578505#comment-13578505
 ] 

Sandro Martini commented on PIVOT-892:
--------------------------------------

For 2.0.x branch: Committed revision 1446274.
For trunk I'll commit soon ...

Note that I didn't mark existing validators (using native data types) 
deprecated, because they could be used as before, but now put some more info in 
related javadoc, and in the test application. And it's not necessary to add 
another issue for new validators (just committed).

Roger, if all is good even for you we can mark this issue as resolved, ok ? Or 
if you need other changes in these classes, tell me (or do it :-) ).
Unless objections we can close this issue at the beginning on next week.

                
> DoubleValidator and FloatValidator do not allow exponents to be entered
> -----------------------------------------------------------------------
>
>                 Key: PIVOT-892
>                 URL: https://issues.apache.org/jira/browse/PIVOT-892
>             Project: Pivot
>          Issue Type: Bug
>          Components: wtk
>    Affects Versions: 2.0.2
>         Environment: All
>            Reporter: Roger Whitcomb
>            Assignee: Roger Whitcomb
>            Priority: Minor
>              Labels: validation
>             Fix For: 2.0.3
>
>         Attachments: 892.patch, num.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> The DoubleValidator and FloatValidator classes rely on a default NumberFormat 
> instance to do parsing, however, a DecimalFormat is necessary in order to 
> recognize floating values entered with exponents.
> As a result, using one of these validators currently will fail to validate a 
> valid floating-point number such as "3.0e20".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to