W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > April to June 2004

RE: float and double ordered facet value, error in 2E PER

From: Dave Peterson <davep@iit.edu>
Date: Mon, 3 May 2004 12:11:56 -0400
Message-Id: <a05210616bcbc1eff2a53@[192.168.0.2]>
To: Ashok Malhotra <ashokma@microsoft.com>, www-xml-schema-comments@w3.org

At 8:52 AM -0700 040503, Ashok Malhotra wrote:
>Dave:
>
>Here's how I see this issue:
>
>- IEEE-754 says NaN is unordered WRT all other numbers including itself.
>
>- XML Schema says NaN = NaN
>
>- F&O says that the result of comparing NaN with any other value is 
>'false'. This is an attempt to mimic the IEEE-754 semantic without 
>going into partial order.  I recommend Schema do the same.

If comparing NaN with any other value is false, and there are other values,
then the order is necessarily partial (and may be trivial, but is not in
this case).

That's why Schema should make this facet value partial for float and double.
-- 
Dave Peterson
SGMLWorks!

davep@iit.edu
Received on Monday, 3 May 2004 12:16:33 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:15:34 UTC