<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>29833</bug_id>
          
          <creation_ts>2016-09-20 13:18:20 +0000</creation_ts>
          <short_desc>[QT3Ts]  format-dateTime-006</short_desc>
          <delta_ts>2016-09-30 12:58:01 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XPath / XQuery / XSLT</product>
          <component>XQuery 3 &amp; XPath 3 Test Suite</component>
          <version>Candidate Recommendation</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Tim Mills">tim</reporter>
          <assigned_to name="Tim Mills">tim</assigned_to>
          <cc>andrew_coleman</cc>
          
          <qa_contact name="Mailing list for public feedback on specs from XSL and XML Query WGs">public-qt-comments</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>127438</commentid>
    <comment_count>0</comment_count>
    <who name="Tim Mills">tim</who>
    <bug_when>2016-09-20 13:18:20 +0000</bug_when>
    <thetext>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.

   &lt;test-case name=&quot;format-dateTime-006&quot;&gt;
      &lt;description&gt;Test format-dateTime: lower-case roman numerals for year (with the width specifier padded)&lt;/description&gt;
      &lt;created by=&quot;Michael Kay, Saxonica&quot; on=&quot;2011-07-01&quot;/&gt;
      &lt;modified by=&quot;O&apos;Neil Delpratt&quot; on=&quot;2013-06-12&quot; change=&quot;Bug fix relating to issue #22282&quot; /&gt;
      &lt;modified by=&quot;Michael Kay&quot; on=&quot;2016-09-13&quot; change=&quot;Change in response to spec bug 29765&quot; /&gt;
      &lt;environment&gt;
         &lt;param name=&quot;t&quot; as=&quot;xs:dateTime&quot; select=&quot;xs:dateTime(&apos;0800-01-01T12:00:00&apos;)&quot;/&gt;
      &lt;/environment&gt;
      &lt;test&gt;
        string-join(
          for $i in 1 to 100 return
          format-dateTime($t + xs:yearMonthDuration(&apos;P17Y&apos;)*$i, &apos;[Yi,3-3]&apos;), &apos;; &apos;)&lt;/test&gt;
      &lt;result&gt;
         &lt;assert-string-value normalize-space=&quot;true&quot;&gt;
            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
         &lt;/assert-string-value&gt;
      &lt;/result&gt;
   &lt;/test-case&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>127482</commentid>
    <comment_count>1</comment_count>
    <who name="Tim Mills">tim</who>
    <bug_when>2016-09-21 12:17:42 +0000</bug_when>
    <thetext>Tracked by action item ACTION A-654-09.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>