- From: <bugzilla@jessica.w3.org>
- Date: Tue, 02 Dec 2014 14:31:17 +0000
- To: public-qt-comments@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=27463 --- Comment #3 from Michael Kay <mike@saxonica.com> --- If we're going to accept this then we need to define what we mean by "recursively flattening". Here's a candidate definition. To (recursively) flatten a sequence $S, apply the function function flatten($S as item()*) as item()* { for $s in $S return if $s instance of array(*) then flatten($s?*) else $s } Rules 1e(i) and 1e(ii) of 3.9.1.3 then become (i) the sequence returned by the enclosed expression is flattened. (ii) if the sequence resulting from step (i) contains a function, a type error is raised [err:XQTY0105]. and rules (iii) and (iv) should be phrased to make it clear that they refer to the sequence after applying (i) and (ii) -- You are receiving this mail because: You are the QA Contact for the bug.
Received on Tuesday, 2 December 2014 14:31:20 UTC