This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
The specification of xsl:copy does not say what the focus is for the evaluation of any used attribute sets. In the case where the instruction has a select attribute, it could reasonably be either the context of the xsl:copy itself, or the same as the focus used for evaluating the sequence constructor. I suggest the latter.
> I suggest the latter. I agree, I don't see any reasonable explanation to do it the other way around, esp. w.r.t. situations where there is no context item and @select changes that.
The proposal was accepted.
This bug was marked as closed and fixed, but it appears that the changes were not applied to the specification. I am belatedly making the changes now. For the record: Revisiting it, the bug report stated: The specification of xsl:copy does not say what the focus is ... But this was not actually true: the 2015 CR said in ยง10.2.4 The xsl:attribute instructions are evaluated using the same focus as is used for evaluating the element that is the parent of the [xsl:]use-attribute-sets attribute forming the initial input to the algorithm. and the effect of our decision is to change this to The xsl:attribute instructions are evaluated using the same focus as is used for evaluating the *sequence constructor contained by the* element that is the parent of the [xsl:]use-attribute-sets attribute forming the initial input to the algorithm.