This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 5571 - [XSLT 2.0] Incorrect format-time() example (3 arguments)
Summary: [XSLT 2.0] Incorrect format-time() example (3 arguments)
Status: RESOLVED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 2.0 (show other bugs)
Version: Recommendation
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Michael Kay
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-14 11:10 UTC by Michael Kay
Modified: 2008-07-10 16:44 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2008-03-14 11:10:07 UTC
In section 16.5.3 the 16th example is incorrect:

format-time($t, "[h]:[m01]:[s01] o'clock [PN] [ZN,*-3]", "en")

There should be two additional arguments:

format-time($t, "[h]:[m01]:[s01] o'clock [PN] [ZN,*-3]", "en", (), ())
Comment 1 Michael Kay 2008-03-20 12:08:59 UTC
Although this has not yet been reviewed by the Working Group, I have taken the liberty of drafting Erratum E22 to fix it.
Comment 2 Michael Kay 2008-07-10 16:44:16 UTC
This text was accepted on 10 July 2008