[Bug 30036] [xslt30] Streamability of treat expressions

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