- From: <bugzilla@jessica.w3.org>
- Date: Wed, 21 Jun 2017 23:15:10 +0000
- To: public-qt-comments@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=30131
Bug ID: 30131
Summary: [xslt30ts] merge-051 and merge-082 use position() in
xsl:merge-key
Product: XPath / XQuery / XSLT
Version: Proposed Recommendation
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: XSLT 3.0 Test Suite
Assignee: abel.online@xs4all.nl
Reporter: mike@saxonica.com
QA Contact: public-qt-comments@w3.org
Target Milestone: ---
Tests merge-051 and merge-082 use <xsl:merge-key select="position()"/>
expecting the merge keys to be a monotonic sequence of integers 1..N.
However, we state in ยง15.5 that a merge key is evaluated with a singleton
focus, so the value of position() will always be 1.
Unfortunately this invalidates what the tests are trying to achieve, which is
simple pairwise merging of two input sequences.
The functionality can be achieved, but less conveniently, using accumulator
values as the grouping keys.
--
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Wednesday, 21 June 2017 23:15:22 UTC