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

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