[Bug 2665] wd-3: Confusing description of identity, specifically a warning in section 2.2.2

http://www.w3.org/Bugs/Public/show_bug.cgi?id=2665

           Summary: wd-3: Confusing description of identity, specifically a
                    warning in section 2.2.2
           Product: XML Schema
           Version: 1.1 only
          Platform: PC
               URL: http://lists.w3.org/Archives/Member/w3c-xml-schema-
                    ig/2004Jun/0287.html
        OS/Version: Windows 2000
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Datatypes: XSD Part 2
        AssignedTo: cmsmcq@w3.org
        ReportedBy: holstege@mathling.com
         QAContact: www-xml-schema-comments@w3.org


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

Received on Thursday, 5 January 2006 20:19:21 UTC