[Bug 1308] proposal: merge xsl:perform-sort and xsl:sequence


------- Additional Comments From mike@saxonica.com  2005-05-13 18:19 -------
We discussed this on 12 May without coming to a firm conclusion: the outstanding
technical question was what we should do about an xsl:perform-sort instruction
containing a sequence constructor (which is allowed by xsl:perform-sort but not
by xsl:sequence). 

I suggested during the telcon that

  <xsl:sort select="..."/>

is equivalent to

<xsl:for-each select=".">
  <xsl:sort select="..."/>

but I was wrong: the second case computes sort keys from the input sequence (.),
not from the output sequence.

I think my instinct now is to leave it alone. It ain't broke, and fixing things
that ain't broke during the end game always risks introducing bugs.

Michael Kay

Received on Friday, 13 May 2005 18:19:21 UTC