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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to