incubator-clerezza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henry Story (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLEREZZA-598) SimpleLiteralFactory converts longs to ints, loosing information
Date Fri, 08 Jul 2011 13:38:16 GMT
SimpleLiteralFactory converts longs to ints, loosing information
----------------------------------------------------------------

                 Key: CLEREZZA-598
                 URL: https://issues.apache.org/jira/browse/CLEREZZA-598
             Project: Clerezza
          Issue Type: Bug
            Reporter: Henry Story


from http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#long

 long is - derived-  from integer by setting the value of - maxInclusive-  to be 9223372036854775807
and - minInclusive-  to be -9223372036854775808. The - base type-  of long is integer.

The information lost here is that one will end up on reconversion creating BigIntegers rather
than the long that was initially guaranteed to be big enough.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message