W3C home > Mailing lists > Public > public-qt-comments@w3.org > February 2014

[Bug 24596] New: Overriding xsl:decimal-format

From: <bugzilla@jessica.w3.org>
Date: Mon, 10 Feb 2014 11:46:45 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-24596-523@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24596

            Bug ID: 24596
           Summary: Overriding xsl:decimal-format
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSLT 3.0
          Assignee: mike@saxonica.com
          Reporter: abel.online@xs4all.nl
        QA Contact: public-qt-comments@w3.org

We currently disallow overriding xsl:decimal-format, we say explicitly:

"An xsl:decimal-format declaration within a package applies only to calls on
format-number appearing within that package." [1]

However, since decimal-format is important in localization scenario's, this
greatly limits localizing packages, which would require package authors to
write functions or templates that take parameters that can be used for
decimal-formatting. 

I think it is better if we allow overriding decimal formats, as the use-case
for having xsl:decimal-format is otherwise greatly limited.


[1] http://www.w3.org/TR/xslt-30/#package-local-declarations

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Monday, 10 February 2014 11:46:47 UTC

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