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 21448 - W, w, Ww specifiers for FOTS test format-integer-044
Summary: W, w, Ww specifiers for FOTS test format-integer-044
Status: RESOLVED INVALID
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3 & XPath 3 Test Suite (show other bugs)
Version: Candidate Recommendation
Hardware: All 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: 2013-03-31 16:20 UTC by Paul J. Lucas
Modified: 2013-05-01 09:16 UTC (History)
2 users (show)

See Also:


Attachments

Description Paul J. Lucas 2013-03-31 16:20:07 UTC
This test:

  format-integer(-5, 'Ww;o')

expects:

  -Fifth

It should alternatively expect:

  Negative Fifth
  Minus Fifth
Comment 1 Sorin Nasoi 2013-04-10 09:31:18 UTC
test set name is "fn-format-integer", test case name is "format-integer-044".
Comment 2 Michael Kay 2013-05-01 09:16:00 UTC
The specification does not currently allow such results. It states clearly:

If the value of $value is negative, the rules below are applied to the absolute value of $value, and a minus sign is prepended to the result.

Feel free to request a change to the specification, but as a bug against the test suite, I am rejecting it as invalid.