[eml-dev] [Bug 2272] - Base datatypes in eml-attribute BoundsGroup preclude scientific notation

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Thu Sep 18 15:14:30 PDT 2008


http://bugzilla.ecoinformatics.org/show_bug.cgi?id=2272


mob at icess.ucsb.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|EML2.1.0                    |Unspecified




------- Comment #1 from mob at icess.ucsb.edu  2008-09-18 15:14 -------
The advantage of using xs:decimal is that it's precise, and xs:float is not
(and I presume, the original intent in making this choice?). We could switch
this type now to ease the burden on document-authors, but it seems that float
is not really the best representation of these values, and maybe we should not
suggest so.

There might be another alternative forthcoming -- XML Schema 1.1 (still a
working draft) is planned to have another data type "precisionDecimal" which is
corresponds to a IEEE type, "floating-point decimal" with features of both -
ie, the values and notation of float, but treated as decimal in arithmetic and
storage

What should we do? relax the type now to xs:float, and consider
xs:precisionDecimal when it is available? or just wait?

links:
http://www.w3.org/TR/xmlschema11-2/#precisionDecimal
http://www.w3.org/XML/2007/dc.pd.html (and its references)
http://754r.ucbtest.org/


More information about the Eml-dev mailing list