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

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