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/14 20:27:00 UTC

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

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

Panagiotis Papadakos reopened JENA-1359:
----------------------------------------

Added test case that show that the bug exists for decimals


> 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.4.14#64029)