W3C home > Mailing lists > Public > public-qt-comments@w3.org > September 2016

[Bug 29833] New: [QT3Ts] format-dateTime-006

From: <bugzilla@jessica.w3.org>
Date: Tue, 20 Sep 2016 13:18:20 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-29833-523@http.www.w3.org/Bugs/Public/>

            Bug ID: 29833
           Summary: [QT3Ts]  format-dateTime-006
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery 3 & XPath 3 Test Suite
          Assignee: oneil@saxonica.com
          Reporter: tim@cbcl.co.uk
        QA Contact: public-qt-comments@w3.org
  Target Milestone: ---

Following the rules for year formating, since a width modifier is present and
defined a finite maximum width of 3, the values should be output modulo 1000.

   <test-case name="format-dateTime-006">
      <description>Test format-dateTime: lower-case roman numerals for year
(with the width specifier padded)</description>
      <created by="Michael Kay, Saxonica" on="2011-07-01"/>
      <modified by="O'Neil Delpratt" on="2013-06-12" change="Bug fix relating
to issue #22282" />
      <modified by="Michael Kay" on="2016-09-13" change="Change in response to
spec bug 29765" />
         <param name="t" as="xs:dateTime"
          for $i in 1 to 100 return
          format-dateTime($t + xs:yearMonthDuration('P17Y')*$i, '[Yi,3-3]'), ';
         <assert-string-value normalize-space="true">
            dcccxvii; dcccxxxiv; dcccli; dccclxviii; dccclxxxv; cmii; cmxix;
cmxxxvi; cmliii; cmlxx; cmlxxxvii; miv; 
            mxxi; mxxxviii; mlv; mlxxii; mlxxxix; mcvi; mcxxiii; mcxl; mclvii;
mclxxiv; mcxci; mccviii; mccxxv; mccxlii; 
            mcclix; mcclxxvi; mccxciii; mcccx; mcccxxvii; mcccxliv; mccclxi;
mccclxxviii; mcccxcv; mcdxii; mcdxxix; mcdxlvi; 
            mcdlxiii; mcdlxxx; mcdxcvii; mdxiv; mdxxxi; mdxlviii; mdlxv;
mdlxxxii; mdxcix; mdcxvi; mdcxxxiii; mdcl; mdclxvii; 
            mdclxxxiv; mdcci; mdccxviii; mdccxxxv; mdcclii; mdcclxix;
mdcclxxxvi; mdccciii; mdcccxx; mdcccxxxvii; mdcccliv; 
            mdccclxxi; mdccclxxxviii; mcmv; mcmxxii; mcmxxxix; mcmlvi;
mcmlxxiii; mcmxc; mmvii; mmxxiv; mmxli; mmlviii; 
            mmlxxv; mmxcii; mmcix; mmcxxvi; mmcxliii; mmclx; mmclxxvii;
mmcxciv; mmccxi; mmccxxviii; mmccxlv; mmcclxii; 
            mmcclxxix; mmccxcvi; mmcccxiii; mmcccxxx; mmcccxlvii; mmccclxiv;
mmccclxxxi; mmcccxcviii; mmcdxv; mmcdxxxii; 
            mmcdxlix; mmcdlxvi; mmcdlxxxiii; mmd

You are receiving this mail because:
You are the QA Contact for the bug.
Received on Tuesday, 20 September 2016 13:18:53 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:58:02 UTC