W3C home > Mailing lists > Public > public-qt-comments@w3.org > May 2015

[Bug 28693] New: Editorial: consistency in names relating to formatting decimals

From: <bugzilla@jessica.w3.org>
Date: Fri, 22 May 2015 21:38:09 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-28693-523@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=28693

            Bug ID: 28693
           Summary: Editorial: consistency in names relating to formatting
                    decimals
           Product: XPath / XQuery / XSLT
           Version: Working drafts
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Functions and Operators 3.1
          Assignee: mike@saxonica.com
          Reporter: pwalmsley@datypic.com
        QA Contact: public-qt-comments@w3.org

It would be more clear if the various names used in reference to formatting
decimals were consistent across the following:

1. "Named properties" listed in the table under fn: format-number in F&O
2. Keywords used in the Decimal Format Declaration in XQuery
3. The names of the components in the static context in XQuery
4. The attributes of xsl:decimal-format in XSLT v.2 and 3

"digit" has 3 names: 
   digit (#2 and #4) vs.  digit-sign (#3) vs. optional-digit-sign (#1)

Some of the others have 2 names, where it is consistent in #2-#4 but "-sign" is
added in F&O:

   decimal-separator vs. decimal-separator-sign
   grouping-separator vs. grouping-separator-sign
   exponent-separator vs. exponent-separator-sign
   percent vs. percent-sign
   per-mille vs. per-mille-sign
   zero-digit vs. mandatory-digit-sign
   pattern-separator vs. pattern-separator-sign

Others are consistent across all 4 (NaN, infinity, minus-sign).

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Friday, 22 May 2015 21:38:12 UTC

This archive was generated by hypermail 2.3.1 : Friday, 22 May 2015 21:38:12 UTC