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 21423 - English numbering doesn't conform to W3C example
Summary: English numbering doesn't conform to W3C example
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 Linux
: 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:
: 21496 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-03-28 16:32 UTC by Sorin Nasoi
Modified: 2013-05-01 09:10 UTC (History)
2 users (show)

See Also:


Attachments

Description Sorin Nasoi 2013-03-28 16:32:37 UTC
The test case "format-date-en126" from "fn-format-date" test set:
    format-date( xs:date("1990-12-01"), "[YW]" )
expects:
    ONE THOUSAND NINE HUNDRED AND NINTY
It should be allowed for an implementation to produce:
    ONE THOUSAND NINE HUNDRED NINETY

Alternatively, the FOTS could be augmented to expect alternate results since there is no specification for exactly how the W, w, or Ww presentation modifiers are to behave.

Same issue affects tests cases format-date-en127, format-date-en128, format-date-en132, format-date-en133, and format-date-en134 from the same test set.
Comment 1 Michael Kay 2013-03-28 17:45:16 UTC
I agree that both results should be acceptable.

(Perhaps one result is more appropriate for en-GB and the other for en-US, but we don't need to specify that.)
Comment 2 Michael Kay 2013-04-01 23:09:58 UTC
*** Bug 21496 has been marked as a duplicate of this bug. ***
Comment 3 Michael Kay 2013-05-01 09:10:28 UTC
Changed the tests to make the "and" optional, in deference to US practice. Sorry, practise.