You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Andy Seaborne (JIRA)" <ji...@apache.org> on 2018/08/05 15:55:00 UTC

[jira] [Resolved] (JENA-1583) BigDecimal literal created but not handled by Utils

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

Andy Seaborne resolved JENA-1583.
---------------------------------
       Resolution: Fixed
    Fix Version/s: Jena 3.9.0

> BigDecimal literal created but not handled by Utils
> ---------------------------------------------------
>
>                 Key: JENA-1583
>                 URL: https://issues.apache.org/jira/browse/JENA-1583
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: Jena 3.0.0
>            Reporter: Andrew Crapo
>            Assignee: Andy Seaborne
>            Priority: Major
>             Fix For: Jena 3.9.0
>
>
> If a Literal of type xsd:decimal is created the value is a BigDecimal. However, if such a Literal is passed into the com.ge.research.jena.Utils compareTypedLiterals method, the value is only checked for Float and Double so it defaults to being treated as Long, which can give erroneous results. I checked the current code base on github.com and this appears to still be an issue.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)