This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 10973 - [F+O 3.0] Selecting non-traditional numbering in format-date() and format-integer()
Summary: [F+O 3.0] Selecting non-traditional numbering in format-date() and format-int...
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Functions and Operators 3.0 (show other bugs)
Version: Proposed Edited Recommendation
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Michael Kay
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-04 14:11 UTC by Michael Kay
Modified: 2010-10-19 16:53 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2010-10-04 14:11:52 UTC
In xsl:number, we have the attribute letter-value="alphabetic|traditional", with the default being implementation-dependent.

In format-date() and the new format-integer(), a "t" in the picture requests traditional numbering, and there is no way to represent the alternative (alphabetic). This rather forces the system to make alphabetic the default, which is not necessarily desirable. Should we perhaps introduce modifiers T and O (or a and c for alphabetic/cardinal) to represent the converse of t and o?
Comment 1 Michael Kay 2010-10-14 17:06:21 UTC
The XSL WG looked at this and decided to recommend (in both format-date/time and in format-integer) allowing "a" (alphabetic) and "c" (cardinal) to represent the converse of the current modifiers "t" (traditional) and "o" (ordinal), with the default if neither is specified being implementation-dependent.

Since the functions are now a joint responsibility, the bug is transferred to F+O for a joint decision to be made.
Comment 2 Michael Kay 2010-10-19 16:53:28 UTC
Accepted by the joint WGs as proposed in comment #1