[Bug 23932] New: Attribute sets provide attribute instructions

https://www.w3.org/Bugs/Public/show_bug.cgi?id=23932

            Bug ID: 23932
           Summary: Attribute sets provide attribute instructions
           Product: XPath / XQuery / XSLT
           Version: Member-only Editors Drafts
          Hardware: All
                OS: All
            Status: NEW
          Severity: trivial
          Priority: P2
         Component: XSLT 3.0
          Assignee: mike@saxonica.com
          Reporter: tgraham@mentea.net
        QA Contact: public-qt-comments@w3.org

This change from https://www.w3.org/Bugs/Public/show_bug.cgi?id=22747#c3:

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

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

<xsl:attribute-set name="fig">
  <xsl:attribute name="id" select="generate-id()" />
</xsl:attribute-set>

creates a different (in the sense of deep-equal()) attribute each time it's
used, so it'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're just skimming the text.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Wednesday, 27 November 2013 11:11:44 UTC