You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Alexandre Boudnik (JIRA)" <ji...@apache.org> on 2015/09/29 22:10:04 UTC

[jira] [Updated] (OLINGO-788) Numbers having more than 17 digits in mantissa can't be parsed

     [ https://issues.apache.org/jira/browse/OLINGO-788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexandre Boudnik updated OLINGO-788:
-------------------------------------
    Description: regexp in {{lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/EdmDouble.java}} is too strict and thus it prevents parsing numbers having mover than 17 digits before or after decimal point even they are denormalized and have less then 17 meaningful digits, like 0.000001234567890123456 or 1234567890123456000000.0  (was: regexp in lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/EdmDouble.java is too strict and thus it prevents parsing numbers having mover than 17 digits before or after decimal point even they are denormalized and have less then 17 meaningful digits, like 0.000001234567890123456 or 1234567890123456000000.0)

> Numbers having more than 17 digits in mantissa can't be parsed
> --------------------------------------------------------------
>
>                 Key: OLINGO-788
>                 URL: https://issues.apache.org/jira/browse/OLINGO-788
>             Project: Olingo
>          Issue Type: Bug
>          Components: odata4-commons
>    Affects Versions: (Java) V4 4.0.0-beta-03, (Java) V4 4.0.0
>         Environment: any OS
>            Reporter: Alexandre Boudnik
>            Priority: Critical
>              Labels: easyfix
>             Fix For: (Java) V4 4.1.0
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> regexp in {{lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/primitivetype/EdmDouble.java}} is too strict and thus it prevents parsing numbers having mover than 17 digits before or after decimal point even they are denormalized and have less then 17 meaningful digits, like 0.000001234567890123456 or 1234567890123456000000.0



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)