<?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>23932</bug_id>
          
          <creation_ts>2013-11-27 11:11:32 +0000</creation_ts>
          <short_desc>Attribute sets provide attribute instructions</short_desc>
          <delta_ts>2013-12-10 19:38:19 +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>Member-only Editors Drafts</version>
          <rep_platform>All</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>trivial</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Tony Graham">tgraham</reporter>
          <assigned_to name="Michael Kay">mike</assigned_to>
          
          
          <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>96865</commentid>
    <comment_count>0</comment_count>
    <who name="Tony Graham">tgraham</who>
    <bug_when>2013-11-27 11:11:32 +0000</bug_when>
    <thetext>This change from https://www.w3.org/Bugs/Public/show_bug.cgi?id=22747#c3:

&gt; Detailed proposal
&gt; 
&gt; 1. Change the definition of &quot;attribute set&quot; in 10.2 from
&gt; 
&gt; [Definition: The xsl:attribute-set element defines a named attribute set:
&gt; that is, a collection of attribute definitions that can be used repeatedly
&gt; on different constructed elements.] 
&gt; 
&gt;  to (text modelled closely on xsl:key):
&gt; 
&gt; Attribute sets provide named collections of attributes that can be used
&gt; repeatedly on different elements.

IMO glosses over the evaluation of the xsl:attribute instruction(s) for each element.  E.g., this xsl:attribute-set:

&lt;xsl:attribute-set name=&quot;fig&quot;&gt;
  &lt;xsl:attribute name=&quot;id&quot; select=&quot;generate-id()&quot; /&gt;
&lt;/xsl:attribute-set&gt;

creates a different (in the sense of deep-equal()) attribute each time it&apos;s used, so it&apos;s not the same attribute being used repeatedly.

While the third paragraph does mention xsl:attribute instructions, the initial paragraph can give the wrong impression if you&apos;re just skimming the text.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96918</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2013-11-28 18:03:54 +0000</bug_when>
    <thetext>I have made a further editorial change from

Attribute sets provide named collections of attributes that can be used
&gt; repeatedly on different elements.


to

Attribute sets generate named collections of attributes that can be used
&gt; repeatedly on different elements.

I hope this is sufficient to introduce early on the idea that an attribute set is something actively evaluated rather than merely passive data.

I&apos;m marking this resolved; please close it if you agree, or reopen otherwise.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>