You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2019/02/22 08:51:00 UTC

[jira] [Commented] (JENA-1674) Mishandling negative xsd:floats in TDB2

    [ https://issues.apache.org/jira/browse/JENA-1674?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16774918#comment-16774918 ] 

ASF subversion and git services commented on JENA-1674:
-------------------------------------------------------

Commit d5545fea581937db8dce470fec2f4db51141da55 in jena's branch refs/heads/master from Andy Seaborne
[ https://gitbox.apache.org/repos/asf?p=jena.git;h=d5545fe ]

Merge pull request #535 from afs/tdb2-xsd_float

JENA-1674: Don't sign extend Float.floatToIntBits.

> Mishandling negative xsd:floats in TDB2
> ---------------------------------------
>
>                 Key: JENA-1674
>                 URL: https://issues.apache.org/jira/browse/JENA-1674
>             Project: Apache Jena
>          Issue Type: Improvement
>          Components: TDB2
>    Affects Versions: Jena 3.10.0
>            Reporter: Andy Seaborne
>            Assignee: Andy Seaborne
>            Priority: Major
>             Fix For: Jena 3.11.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Reported on users@:
> https://lists.apache.org/thread.html/063ad1651c559752080001c7faa40d24d0bf29d78636f3a3e222c1ab@%3Cusers.jena.apache.org%3E
> Example:
> {code}
>     public static void main(String[] args) {
>         Location loc = Location.mem();
>         DatasetGraph dsg = DatabaseMgr.connectDatasetGraph(loc);
>         Txn.execute(dsg, ()->dsg.add(SSE.parseQuad("(_ :s :p '-1'^^xsd:float)")));
>         Txn.execute(dsg, ()->RDFDataMgr.write(System.out, dsg, Lang.NQ));
>     }
> {code}



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