[Bug 25185] Usage absorption can take crawling expressions when TDU derives from xs:anyAtomicType


--- Comment #6 from Michael Kay <mike@saxonica.com> ---
In fact, the logic for atomizing a sequence under these conditions is not
really any easier than atomizing an arbitrary crawling sequence. The only
difference is that for an arbitrary crawling sequence you potentially need
memory proportional to the size of the largest atomic value times the depth of
nesting of nodes in the sequence.

Because expressions like //title when used in an atomizing context almost
invariably do NOT select overlapping nodes, I suggest that rather than handle
the special case where the required value is singleton atomic, we allow all
cases where the required type is an atomic sequence. That is, we deem data(X)
to be streamable if X is crawling.

You are receiving this mail because:
You are the QA Contact for the bug.

Received on Wednesday, 14 May 2014 18:12:33 UTC