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 "Sandy Gao (JIRA)" <xe...@xml.apache.org> on 2004/12/06 19:47:48 UTC

[jira] Resolved: (XERCESJ-1031) Wrong canonical representation of the float special values 0 and -0

     [ http://nagoya.apache.org/jira/browse/XERCESJ-1031?page=history ]
     
Sandy Gao resolved XERCESJ-1031:
--------------------------------

    Resolution: Invalid

The definition of the "float" type has been changed by this erratum [1] and reflected in the newly published XML Schema second edition [2].

[1] http://www.w3.org/2001/05/xmlschema-errata#e2-40
[2] http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#float

> Wrong canonical representation of the float special values 0 and -0
> -------------------------------------------------------------------
>
>          Key: XERCESJ-1031
>          URL: http://nagoya.apache.org/jira/browse/XERCESJ-1031
>      Project: Xerces2-J
>         Type: Bug
>   Components: XML Schema API
>     Versions: 2.6.2
>  Environment: Java 1.4
> Linux Red Hat 7.1
>     Reporter: Jérôme LEMOYNE

>
> for example,
>  if I am constraining a float type with a facet minInclusive = "-0",
> the getLexicalFacetVAlue gives 0.0E1 as value of this facet.
> The http://www.w3.org/TR/2001/REC-xmlschema-2-20010502 recommends :
> "The special values positive and negative zero, positive and negative infinity and not-a-number have lexical representations 0, -0, INF, -INF and NaN, respectively"
> These special values must not be changed, else it would be a semantic change

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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