Stephan Klevenz created OLINGO-179:
--------------------------------------

             Summary: EdmDouble - exception while number parsing
                 Key: OLINGO-179
                 URL: https://issues.apache.org/jira/browse/OLINGO-179
             Project: Olingo
          Issue Type: Bug
          Components: odata2-core
    Affects Versions: V2 1.1.0
            Reporter: Stephan Klevenz
             Fix For: V2 1.2.0


The following code does throw an exception:

EdmSimpleType instance = EdmSimpleTypeKind.Double.getEdmSimpleTypeInstance();

instance.valueOfString("1.6000000000000000E+01", EdmLiteralKind.DEFAULT, null,
        Double.class);

"1.6000000000000000E+01" is a valid double!




--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to