W3C home > Mailing lists > Public > public-qt-comments@w3.org > December 2009

[Bug 8503] New: grouping separators in format-integer

From: <bugzilla@wiggum.w3.org>
Date: Wed, 16 Dec 2009 00:16:33 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-8503-523@http.www.w3.org/Bugs/Public/>

           Summary: grouping separators in format-integer
           Product: XPath / XQuery / XSLT
           Version: Working drafts
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Functions and Operators 1.1
        AssignedTo: mike@saxonica.com
        ReportedBy: mike@saxonica.com
         QAContact: public-qt-comments@w3.org

The new function format-integer attempts to extract part of the functionality
of xsl:number, for use within format-dateTime. At the same time it tries to
align where possible with format-number.

The way grouping separators are handled is inspired by format-number, but there
is an omission: to get output in the form 1,234 it is necessary to use a
picture such as 0,000 or 9,999; but this will result in the number 42 being
output as 0,042. We should therefore allow a "#" in the picture to denote a
character position that is omitted if it would otherwise be an insignificant
leading zero.

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 Wednesday, 16 December 2009 00:16:41 UTC

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