W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > October to December 2010

[Bug 11531] precisionDecimal terminology

From: <bugzilla@jessica.w3.org>
Date: Sat, 11 Dec 2010 18:04:14 +0000
To: www-xml-schema-comments@w3.org
Message-Id: <E1PRTnq-0001UA-IO@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=11531

--- Comment #4 from Michael Kay <mike@saxonica.com> 2010-12-11 18:04:14 UTC ---
Indeed. So what we're actually saying is that P is the position of the least
significant digit relative to the decimal point, counting towards the right,
with the digit immediately before the decimal point being numbered zero. The
question is what to call this quantity. Currently the XSD spec has three names
for it: scale, arithmeticPrecision, and precision. I'm advocating we should
call it scale, because 

(a) we use that in the concrete syntax (in the facets minScale and maxScale),
and we don't want to change the concrete syntax, and 

(b) because the IEEE spec uses the word "precision" to mean something
completely different, which makes things very confusing for someone who is
reading both specs, and will also make life very difficult for authors of other
specifications (such as XPath functions and operators) that will need to refer
to both.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Saturday, 11 December 2010 18:04:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 11 December 2010 18:04:16 GMT