Closed
Bug 88357
Opened 24 years ago
Closed 24 years ago
only first <xsl:sort/>-element is evaluated
Categories
(Core :: XSLT, defect)
Tracking
()
People
(Reporter: lipinger, Assigned: keith)
References
()
Details
In a construction like below, sorting seemingly does not
consider all <xsl:sort/> elements. Only first element makes a deterministic
difference.
Skript that is source of sniplet below works well/as expected with xeena/xalan.
http://www.kom.e-technik.tu-darmstadt.de/~lipi/dtd/worklog-todo.xsl.xml:
...
<xsl:apply-templates select="action|reason">
<xsl:sort order="ascending" select="@priority"/>
<xsl:sort order="ascending" select="@deadlineyear"/>
<xsl:sort order="ascending" select="@deadlinemonth"/>
<xsl:sort order="ascending" select="@deadlineday"/>
<xsl:sort order="ascending" select="@deadlinehour"/>
<xsl:sort order="ascending" select="@deadlineminute"/>
<xsl:sort order="ascending" select="@receivedyear"/>
<xsl:sort order="ascending" select="@receivedmonth"/>
<xsl:sort order="ascending" select="@receivedday"/>
<xsl:sort order="ascending" select="@receivedhour"/>
<xsl:sort order="ascending" select="@receivedminute"/>
</xsl:apply-templates>
...
Comment 1•24 years ago
|
||
the issue of multiple sort keys is already part of 65858, so making this a dupe
Axel
*** This bug has been marked as a duplicate of 65858 ***
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
yep, this works fine now
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•