<?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>29223</bug_id>
          
          <creation_ts>2015-10-22 03:46:53 +0000</creation_ts>
          <short_desc>[XT30] function-1025/1026 test implementation-defined behavior</short_desc>
          <delta_ts>2016-07-07 15:50:21 +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>XSLT 3.0 Test Suite</component>
          <version>Last Call drafts</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>RESOLVED</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="Abel Braaksma">abel.braaksma</reporter>
          <assigned_to name="Abel Braaksma">abel.online</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>123834</commentid>
    <comment_count>0</comment_count>
    <who name="Abel Braaksma">abel.braaksma</who>
    <bug_when>2015-10-22 03:46:53 +0000</bug_when>
    <thetext>Both of these functions test new-each-time=&quot;no&quot;, but this is a hint to the processor. I propose to fix to allow the alternate outcome(s).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>123849</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2015-10-22 14:05:22 +0000</bug_when>
    <thetext>I disagree. The new-each-time attribute is not a hint, it has prescriptive semantics which these tests are designed to test.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>123855</commentid>
    <comment_count>2</comment_count>
    <who name="Abel Braaksma">abel.braaksma</who>
    <bug_when>2015-10-22 15:56:17 +0000</bug_when>
    <thetext>Oh, you are right, I see it now (I was still in the &quot;mode&quot; of the idenity-sensitive hint of previous draft, I think). I see:

&lt;quote&gt;
DeterministicFO31 functions: as the term is defined in [Functions and Operators 3.1], these offer a guarantee that when a function is called repeatedly with the same arguments, it returns the same results. A classic example is the docFO30 function, which offers the guarantee that doc($X) is doc($X): that is, two calls supplying the same URI return the same node.
&lt;/quote&gt;

which is set with new-each-time=&quot;no&quot; (which seems to me that a better word would be new-each-time=&quot;never&quot;).

So we allow this to blow up if caching is not enough.

I have inadvertently already pushed the changes, I will revert them back.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125098</commentid>
    <comment_count>3</comment_count>
    <who name="Abel Braaksma">abel.braaksma</who>
    <bug_when>2016-02-16 14:29:46 +0000</bug_when>
    <thetext>&gt; I will revert them back.

Not done yet, apparently. Assigned and on todo-list as discussed at F2F Prague 2nd day.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>126914</commentid>
    <comment_count>4</comment_count>
    <who name="Abel Braaksma">abel.braaksma</who>
    <bug_when>2016-07-07 15:50:21 +0000</bug_when>
    <thetext>Done</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>