W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > January to March 2010

[Bug 9196] New: Enumeration and NaN

From: <bugzilla@wiggum.w3.org>
Date: Fri, 05 Mar 2010 16:01:31 +0000
To: www-xml-schema-comments@w3.org
Message-ID: <bug-9196-703@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=9196

           Summary: Enumeration and NaN
           Product: XML Schema
           Version: 1.1 only
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Datatypes: XSD Part 2
        AssignedTo: David_E3@VERIFONE.com
        ReportedBy: sandygao@ca.ibm.com
         QAContact: www-xml-schema-comments@w3.org
                CC: cmsmcq@blackmesatech.com


In 1.0, a type like

<xs:simpleType>
  <xs:restriction base="flat">
    <xs:enumeration value="NaN"/>
  </xs:restriction>
</xs:simpleType>

allows the value NaN. In 1.1, this is no longer true (because enumeration uses
equality, and NaN != NaN).

Such change should be listed in the "Changes since 1.0" appendix.


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Friday, 5 March 2010 16:01:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 5 March 2010 16:01:35 GMT