<?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>21558</bug_id>
          
          <creation_ts>2013-04-02 23:53:25 +0000</creation_ts>
          <short_desc>dependency wrong for &quot;format-date-en152&quot; and &quot;format-dateTime-en152&quot;</short_desc>
          <delta_ts>2013-05-01 09:17:38 +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>Working drafts</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</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="Sorin Nasoi">spungi</reporter>
          <assigned_to name="Michael Kay">mike</assigned_to>
          <cc>mike</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>85464</commentid>
    <comment_count>0</comment_count>
    <who name="Sorin Nasoi">spungi</who>
    <bug_when>2013-04-02 23:53:25 +0000</bug_when>
    <thetext>&lt;dependency type=&quot;calendar&quot; value=&quot;CB&quot; satisfied=&quot;false&quot;/&gt;
should be 
&lt;dependency type=&quot;calendar&quot; value=&quot;CB&quot; satisfied=&quot;true&quot;/&gt;

for the following 2 test cases:

&quot;format-date-en152&quot; from &quot;fn-format-date&quot;
&lt;test-case name=&quot;format-date-en152&quot;&gt;
&lt;environment&gt;
 &lt;param name=&quot;b&quot; as=&quot;xs:date&quot; select=&quot;xs:date(&apos;2006-03-01&apos;)&quot;/&gt;
&lt;/environment&gt;
&lt;dependency type=&quot;calendar&quot; value=&quot;CB&quot; satisfied=&quot;false&quot;/&gt;
&lt;test&gt;format-date($b, &apos;[M01]&apos;, &apos;en&apos;, &apos;CB&apos;, ())&lt;/test&gt;
&lt;result&gt;
 &lt;assert-string-value&gt;[Calendar: AD]03&lt;/assert-string-value&gt;
&lt;/result&gt;
&lt;/test-case&gt;

and
&quot;format-dateTime-en152&quot; from &quot;fn-format-dateTime&quot;
&lt;test-case name=&quot;format-dateTime-en152&quot;&gt;
 &lt;environment&gt;
 &lt;param name=&quot;b&quot; as=&quot;xs:dateTime&quot; select=&quot;xs:dateTime(&apos;2006-03-01T12:00:00&apos;)&quot;/&gt;
 &lt;/environment&gt;
 &lt;dependency type=&quot;calendar&quot; value=&quot;CB&quot; satisfied=&quot;false&quot;/&gt;
 &lt;test&gt;format-dateTime($b, &apos;[M01]&apos;, &apos;en&apos;, &apos;CB&apos;, ())&lt;/test&gt;
 &lt;result&gt;
  &lt;assert-string-value&gt;[Calendar: AD]03&lt;/assert-string-value&gt;
 &lt;/result&gt;
&lt;/test-case&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87071</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2013-05-01 08:35:53 +0000</bug_when>
    <thetext>I don&apos;t agree.

These tests demonstrate that if the implementation does not support calendar CB, it is expected to fall back to some other calendar such as AD. That is, the test is explicitly designed to be run by processors that do NOT support calendar=&quot;CB&quot;, which is what the metadata says.

One could argue for alternative results (there&apos;s nothing in the spec that requires the fallback calendar to be &quot;AD&quot; or the word &quot;Calendar&quot; to be in English) but we can add alternatives, or additional dependencies, when we find products that make a different choice.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87074</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2013-05-01 09:17:38 +0000</bug_when>
    <thetext>Closing this as INVALID; if you disagree, feel free to re-open.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>