You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Panagiotis Papadakos (JIRA)" <ji...@apache.org> on 2017/06/07 20:20:18 UTC

[jira] [Created] (JENA-1359) Literal.getValue() does not respect the datatype

Panagiotis Papadakos created JENA-1359:
------------------------------------------

             Summary: Literal.getValue() does not respect the datatype 
                 Key: JENA-1359
                 URL: https://issues.apache.org/jira/browse/JENA-1359
             Project: Apache Jena
          Issue Type: Bug
            Reporter: Panagiotis Papadakos


I was expecting that the getValue would return a Java object based on the
datatype of typed literals. This is not the case, since jena will coerce a decimal literal with value 12.0 to an Integer with value 12. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)