[Bug 14931] New: [FO30] fn:format-number


           Summary: [FO30] fn:format-number
           Product: XPath / XQuery / XSLT
           Version: Member-only Editors Drafts
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Functions and Operators 3.0
        AssignedTo: mike@saxonica.com
        ReportedBy: tim@cbcl.co.uk
         QAContact: public-qt-comments@w3.org

fn:format-number has the following signature for its 3-argument variant.

fn:format-number($value      as numeric?,
                 $picture      as xs:string,
                 $decimal-format-name      as xs:string) as xs:string

Might I suggest changing it to:

fn:format-number($value      as numeric?,
                 $picture      as xs:string,
                 $decimal-format-name      as xs:string?) as xs:string

with behaviour such that if the $decimal-format-name is the empty sequence, the
default decimal format is used.


fn:format-number($value, $picutre) 

would be equivalent to 

fn:format-number($valud, $picture, ())

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 Friday, 25 November 2011 09:51:13 UTC