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

Re: Canonical representation of float/double and number of digits

From: Dave Peterson <davep@iit.edu>
Date: Mon, 2 Feb 2009 10:49:31 -0500
Message-Id: <a06240800c5acc3c7bf4e@[]>
To: Vincent Lefevre <vincent@vinc17.org>, www-xml-schema-comments@w3.org

At 4:28 PM +0100 2009-02-02, Vincent Lefevre wrote:
>[Note: I'm not subscribed to the list, please Cc <vincent@vinc17.org>]
>In <http://www.w3.org/TR/xmlschema-2/> (XML Schema Part 2: Datatypes
>Second Edition, 28 October 2004), the canonical representation for
>the primitive datatypes "float" and "double" does not have special
>requirements concerning the number of digits (except for leading and
>trailing zeroes). For instance, for float:

Version 1.1 of Schema is under development and is nearing completion.
The latest public draft of Part 2 can be found at:
Canonical representations are not needed for Schema 1.1 purposes, and
in particular for float and double the new spec specifically (and only)
points back to IEEE 754.  The paragraph you quote from the Schema 1.0
spec is gone in 1.1.

Let us hope Schema 1.1 makes it to full Recommendation status quickly.
Dave Peterson

Received on Monday, 2 February 2009 15:51:08 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:50:09 UTC