W3C home > Mailing lists > Public > public-qt-comments@w3.org > May 2005

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

From: <bugzilla@wiggum.w3.org>
Date: Fri, 13 May 2005 18:19:15 +0000
To: public-qt-comments@w3.org
Message-Id: <E1DWekl-0005NW-T4@wiggum.w3.org>


------- 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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:05 UTC