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 22491 - [XT3TS] format-date-006
Summary: [XT3TS] format-date-006
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 3.0 Test Suite (show other bugs)
Version: Candidate Recommendation
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Abel Braaksma
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
Depends on:
Reported: 2013-06-27 15:15 UTC by Tim Mills
Modified: 2014-06-10 13:20 UTC (History)
0 users

See Also:


Description Tim Mills 2013-06-27 15:15:44 UTC
format-date-006 uses a picture string of "[Yi,4-4]".  

For some of the inputs to this function, the full representation of the value is shorted than the minimum width of 4, but the expected result does not include the space padding that should be added according to the spec:

"If the full representation of the value is shorter than the specified minimum width, then the processor should pad the value to the specified width. ... In other cases, it should be done by appending spaces."
Comment 1 Tim Mills 2014-06-10 13:20:38 UTC
Appears to have been fixed.

      <modified by="Michael Kay" on="2013-10-14" change="add whitespace to expected result to make up min width = 4"/>