W3C home > Mailing lists > Public > public-qt-comments@w3.org > April 2013

[Bug 21560] New: Decimal format names/properties don't match

From: <bugzilla@jessica.w3.org>
Date: Wed, 03 Apr 2013 04:28:34 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-21560-523@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=21560

            Bug ID: 21560
           Summary: Decimal format names/properties don't match
    Classification: Unclassified
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Functions and Operators 3.0
          Assignee: mike@saxonica.com
          Reporter: paul@lucasmail.org
        QA Contact: public-qt-comments@w3.org

"XQuery 3.0: An XML Query Language" (herein referred to as [XQ3]), section
4.10, "Decimal Format Declaration," says in part:

> The following properties represent characters used in a picture string: decimal-separator-sign, grouping-separator, percent-sign, per-mille-sign, zero-digit, digit-sign, and pattern-separator-sign.

"XPath and XQuery Functions and Operators 3.0" (herein referred to as [F&O]),
section 4.7.1, "Defining a decimal format," says in part:

> Each decimal format provides a set of named variables, described in the following table:

First inconsistency: [XQ3] uses the term "properties"; [F&O] uses the term
"variables" -- why?

[F&O] continues to list the variables in the table:

> decimal-separator-sign, grouping-separator-sign, infinity, minus-sign, NaN, percent-sign, per-mille-sign, mandatory-digit-sign, optional-digit-sign, pattern-separator-sign.

Other inconsistencies:
[XQ3] uses "zero-digit"; [F&O] uses "mandatory-digit-sign."
[XQ3] uses "digit-sign"; [F&O] uses "optional-digit-sign."

Do these properties/variables refer to the same thing?  If so, why don't they
have the same names?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Wednesday, 3 April 2013 04:28:38 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:52 UTC