W3C home > Mailing lists > Public > public-qt-comments@w3.org > January 2015

[Bug 27614] [XSLT30] zero-digit replacement? [I18N-ISSUE-393]

From: <bugzilla@jessica.w3.org>
Date: Fri, 23 Jan 2015 09:37:26 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-27614-523-HXbz4O7u2l@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=27614

--- Comment #5 from Michael Kay <mike@saxonica.com> ---
I think one practical way forward here would be a non-normative alignment of
the "ordinal" option of xsl:number and format-integer with the %spellout
mechanism used in ICU.

For xsl:number, we should suggest that implementors might like to provide
syntax like

ordinal="yes(%spellout-ordinal-n)"

or

ordinal="no(%spellout-cardinal-masculine)"

and similarly for format-integer:

format-integer(17, "999c(%spellout-cardinal-masculine)")

This would be entirely within the letter and spirit of the XSLT 3.0 / XPath 3.1
specifications and I think we could do it by adding non-normative material to
the current specifications.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Friday, 23 January 2015 09:37:30 UTC

This archive was generated by hypermail 2.3.1 : Friday, 23 January 2015 09:37:30 UTC