<?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>29060</bug_id>
          
          <creation_ts>2015-08-17 14:31:04 +0000</creation_ts>
          <short_desc>[xslt3.0] Functions: determinism and memoization</short_desc>
          <delta_ts>2015-10-29 12:42:32 +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</component>
          <version>Last Call drafts</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</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="Michael Kay">mike</reporter>
          <assigned_to name="Michael Kay">mike</assigned_to>
          <cc>abel.braaksma</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>122637</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2015-08-17 14:31:04 +0000</bug_when>
    <thetext>There have been extensive discussions on the XSL WG mailing list and in telcons over the last 4-6 weeks concerning the syntax and semantics of the xsl:function attributes @identity-sensitive and @cache. This bug entry provides a place to capture the results of this discussion.

I tried to capture the consensus in this message:

https://lists.w3.org/Archives/Member/w3c-xsl-wg/2015Aug/0012.html

and was given an action to record this in the spec, while noting the need for a bug fix in F+O (bug #29058) in the definition of determinism.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>122786</commentid>
    <comment_count>1</comment_count>
    <who name="Abel Braaksma">abel.braaksma</who>
    <bug_when>2015-08-27 08:18:01 +0000</bug_when>
    <thetext>For the record, the mail thread starting with https://lists.w3.org/Archives/Member/w3c-xsl-wg/2015Aug/0047.html contains some observations on other places in the spec that need updating after this change was applied. No new bug has been created for it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>123183</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2015-09-14 09:05:46 +0000</bug_when>
    <thetext>The editorial corrections supplied in the cited email have been applied.

On the question of compatibility rules for function overriding, the WG decided that an overriding function must have the same value for &quot;new-each-time&quot; as the overridden function, so that optimizations (e.g. loop-lifting of calls to the function) are not affected by overriding. However, there is no requirement for the value of @cache to be the same.

The changes have been applied to the spec.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>