W3C home > Mailing lists > Public > xmlschema-dev@w3.org > June 2009

[XML Schema 1.1] Why is it called precisionDecimal? Why isn't it called precisionFloat? Or precisionDouble?

From: Costello, Roger L. <costello@mitre.org>
Date: Mon, 15 Jun 2009 14:21:27 -0400
To: "xmlschema-dev@w3.org" <xmlschema-dev@w3.org>
Message-ID: <9E51F88D5247B648908850C35A3BBB5003FE91A5ED@IMCMBX3.MITRE.ORG>

Hi Folks,

A precisionDecimal value is a decimal value, and its precision is inferred from how it is lexically expressed. Here's a legal precisionDecimal value:

   3.00e2

But this is not a legal xs:decimal value. It looks more like a float or double value.

Why isn't it called precisionFloat, or precisionDouble?

/Roger
Received on Monday, 15 June 2009 18:21:59 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:15:12 GMT