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 29599 - [QT3TS] format-time-021, format-time-022 alternative results
Summary: [QT3TS] format-time-021, format-time-022 alternative results
Status: RESOLVED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3 & XPath 3 Test Suite (show other bugs)
Version: Working drafts
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: O'Neil Delpratt
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-27 17:03 UTC by Debbie Lockett
Modified: 2016-05-04 10:54 UTC (History)
2 users (show)

See Also:


Attachments

Description Debbie Lockett 2016-04-27 17:03:07 UTC
The expected results of the tests format-time-021 and format-time-022 are implementation specific. 

e.g format-time-021 is:
format-time(xs:time('09:15:06.456'),"[Pn]/[PNn]/[PN]")
and expects the result 'pm/Pm/PM'.

Please could the alternative result 'p.m./P.M./P.M.' be added here? And similarly 'a.m./A.M./A.M.' for format-time-022.

(Recall that, from 9.8.4.4 of F&O31, "The choice of the names and abbreviations used in any given language is ·implementation-defined·" So it's hard to write tests when the presentation modifier is N|n|Nn.)
Comment 1 Josh Spiegel 2016-04-27 17:23:44 UTC
Proposed alternate results are OK with me.  

> ...implementation-defined·" So it's hard to write tests 

Yes, but many format-* tests are in this boat.
Comment 2 Debbie Lockett 2016-05-04 10:54:06 UTC
Alternative results added as proposed.