W3C home > Mailing lists > Public > public-qt-comments@w3.org > December 2016

[Bug 30036] [xslt30] Streamability of treat expressions

From: <bugzilla@jessica.w3.org>
Date: Tue, 20 Dec 2016 13:23:27 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-30036-523-Z16iAr65JJ@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=30036

--- Comment #1 from Michael Kay <mike@saxonica.com> ---
I think the rule for the streamability of treat expressions (B treat as T) is:

if the item type of T is document-node(E) where E is a node-test of the form
element(N) or schema-element(N) node-test, then roaming and free-ranging

otherwise the posture and sweep of B.

This might seem a bit severe. But it's the same as the result we get for the
(essentially) equivalent expression B[. instance of T]. (The instance of
expression here is consuming, therefore the predicate is not motionless,
therefore the filter expression is roaming and free-ranging.)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Tuesday, 20 December 2016 13:23:33 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:58:03 UTC