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

[Bug 21449] New: Formatting token of "alpha"

From: <bugzilla@jessica.w3.org>
Date: Sun, 31 Mar 2013 16:44:54 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-21449-523@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=21449

            Bug ID: 21449
           Summary: Formatting token of "alpha"
    Classification: Unclassified
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Hardware: All
                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

There is the FOTS test format-integer-050:

  string-join(for $i in 1 to 5 return format-integer($i,''α''), ''|'')

that expects:

  α|β|γ|δ|ε

However, nothing in section 4.6.1 says why it should expect that result.  Does
it expect that result because:

1. It's an unwritten variant of the 'a' format token that expects the sequence
a, b, c, ..., z, aa, ab, ac, ..., in which case if the value of $i were to be
25, then it would yield αα?

2. It's "any other format token, which indicates a numbering sequence in which
that token represents the number 1 (one)" and furthermore "may be
·implementation-defined· lower and upper bounds on the range of numbers that
can be formatted using this format token" where the lower/upper bounds in this
case would be 1/24?

Both cases, however, are implementation defined in which case there shouldn't
be a test such as format-integer-050 having a particular expected result.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Sunday, 31 March 2013 16:44:57 UTC

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