W3C home > Mailing lists > Public > public-qt-comments@w3.org > August 2010

[Bug 10387] [FO11]: format-integer format token to disallow digits besides 0 or 1

From: <bugzilla@jessica.w3.org>
Date: Tue, 17 Aug 2010 18:41:17 +0000
To: public-qt-comments@w3.org
Message-Id: <E1OlR65-00031p-L5@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=10387





--- Comment #2 from Michael Kay <mike@saxonica.com>  2010-08-17 18:41:17 ---
Thanks for the comment. format-integer combines elements of format-number and
xsl:number; format-number uses "000" for a three-digit output field, while
xsl:number uses "001". We wanted to eliminate this difference. xsl:number also
allows formats such as "999" (remember COBOL?) but their meaning is essentially
implementor-defined. So we thought it made sense to allow a three digit output
to be indicated by any sequence of digits, that is, in the format picture all
digits are interchangeable. I'll see if this can be explained more clearly.

-- 
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 Tuesday, 17 August 2010 18:41:19 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:31 UTC