You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by "Michael Glavassevich (JIRA)" <xe...@xml.apache.org> on 2010/11/23 17:54:14 UTC

[jira] Assigned: (XERCESJ-1480) XML Schema 1.1: Multiple issues with decimal precision in processing of xs:precisionDecimal values.

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

Michael Glavassevich reassigned XERCESJ-1480:
---------------------------------------------

    Assignee: Sandy Gao

> XML Schema 1.1: Multiple issues with decimal precision in processing of xs:precisionDecimal values.
> ---------------------------------------------------------------------------------------------------
>
>                 Key: XERCESJ-1480
>                 URL: https://issues.apache.org/jira/browse/XERCESJ-1480
>             Project: Xerces2-J
>          Issue Type: Bug
>          Components: XML Schema 1.1 Datatypes
>    Affects Versions: 2.10.0
>            Reporter: Michael Glavassevich
>            Assignee: Sandy Gao
>            Priority: Minor
>             Fix For: 2.11.0
>
>
> Multiple issues addressed:
> 1) Total digits for precision decimal is t in "values are expressible in scientific notation using at most t digits for the coefficient." So for "0.003", total digits is 1, not 3 or 4.
> 2) Precision decimal comparison. a) In compareTo(), if the other value is NaN, should return INDETERMINATE. b) If one value is +0 and the other -0, should return equal. c) In equals(), if both are NaN, treat as equal.
> 3) min/maxScale of precisionDecimal are always satisfied by the special values that don't have precision: NaN, INF, and -INF. The TypeValidator needs to answer whether a value has a precision.
> These issues were fixed by Sandy in SVN rev 1031774, 1031800, 1031811.
> Just opening the JIRA issue at this point for tracking purposes.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org