[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

[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>
[XML Schema 1.1] Why is it called precisionDecimal? Why isn't it  called precisionFloat? Or precisionDouble?

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

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.