[Bug 16077] New: format-number example is wrong

https://www.w3.org/Bugs/Public/show_bug.cgi?id=16077

           Summary: format-number example is wrong
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Functions and Operators 3.0
        AssignedTo: mike@saxonica.com
        ReportedBy: matthias.brantner@28msec.com
         QAContact: public-qt-comments@w3.org


The example for format-number should be changed from

format-number(12345.6, '#,###.00')

to

format-number(12345.6, '#.###,00')

The XQuery spec states that the default for the decimal-separator is (.) and
the grouping-separator is (,). With those defaults, the current example raises
an error.

-- 
Configure bugmail: https://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 Wednesday, 22 February 2012 15:38:37 UTC