This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 2665 - wd-3: Confusing description of identity, specifically a warning in section 2.2.2
Summary: wd-3: Confusing description of identity, specifically a warning in section 2.2.2
Status: RESOLVED FIXED
Alias: None
Product: XML Schema
Classification: Unclassified
Component: Datatypes: XSD Part 2 (show other bugs)
Version: 1.1 only
Hardware: PC Windows 2000
: P2 normal
Target Milestone: ---
Assignee: C. M. Sperberg-McQueen
QA Contact: XML Schema comments list
URL: http://lists.w3.org/Archives/Member/w...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-05 20:19 UTC by Mary Holstege
Modified: 2006-01-20 22:35 UTC (History)
0 users

See Also:


Attachments

Description Mary Holstege 2006-01-05 20:19:17 UTC
raised on 25 Jun 2004 by Sandy Gao

Right above section 2.2.2

"WARNING: Care must be taken when identifying values across distinct primitive 
datatypes. It turns out that, for example, 0.1 and 0.10000000009 are effectively 
identical in float but not in decimal. (Neither 0.1 nor 0.10000000009 are in the 
float value space, but ·the lexical mapping· of float maps both '0.1' and '0.
10000000009' to the same number (0.100000001490116119384765625) that is in the 
float value space.)"

I can understand what this paragraph is trying to say, but the sentence "0.1 and 
0.10000000009 are effectively identical in float" might be a bit confusing. We 
don't seem to be talking about the value space, because neither is in the value 
space of float; we don't seem to be talking about the lexical space either, 
because we didn't use quotes around the values.


agreed on 19 Nov 2004 (http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/
2004Nov/0100.html)

Assign to editors to fix
Comment 1 Mary Holstege 2006-01-05 20:20:23 UTC
accepted on 19 Nov 2004 (http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/
2004Nov/0100.html)

Editors to attempt to resolve wd-3 and wd-4 in the next working draft