- From: <bugzilla@jessica.w3.org>
- Date: Tue, 14 Oct 2014 22:25:18 +0000
- To: public-qt-comments@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=27051
Bug ID: 27051
Summary: [XSLT30] Resolution to bug 25185 introduced a bug in
streaming rules of xsl:apply-templates
Product: XPath / XQuery / XSLT
Version: Last Call drafts
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P2
Component: XSLT 3.0
Assignee: mike@saxonica.com
Reporter: abel.braaksma@xs4all.nl
QA Contact: public-qt-comments@w3.org
The resolution for bug 25185 was to allow crawling expressions in atomizing
constructs, but to make an exception for instructions such as
xsl:apply-templates and xsl:for-each. One of the changes was made in 19.8.4.5:
<quote>
4. If the select expression is climbing or crawling, then roaming and
free-ranging
</quote>
But in the past we allowed things like <xsl:apply-templates
select="attribute::*" /> and in fact, it is still visible in an example (see
6.7.3 Built-in Templates: Shallow Copy).
I think the idea was that childless nodes are allowed in apply-templates, even
with climbing expressions, because a downward expression does no harm on them.
This rule is already in the general streamability rules section (1.b.iii.A.I),
so the fix for this issue could be as simple as remove "climbing" from the
above phrase (item #5 in the list uses the general streamability rules, which
covers the rest).
--
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Tuesday, 14 October 2014 22:25:20 UTC