- From: <bugzilla@jessica.w3.org>
- Date: Tue, 03 May 2016 10:19:52 +0000
- To: public-qt-comments@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=29607
Bug ID: 29607
Summary: [FO31] array join
Product: XPath / XQuery / XSLT
Version: Candidate Recommendation
Hardware: PC
URL: https://www.w3.org/XML/Group/qtspecs/specifications/xp
ath-functions-31/html/Overview.html#func-array-join
OS: Windows NT
Status: NEW
Severity: normal
Priority: P2
Component: Functions and Operators 3.1
Assignee: mike@saxonica.com
Reporter: tim@cbcl.co.uk
QA Contact: public-qt-comments@w3.org
Target Milestone: ---
Array join is defined as:
declare function array:join($arrays as array(*)*) as array(*) {
if (fn:count($arrays) lt 2)
then $arrays
else op:array-concat(fn:head($arrays),
array:join(fn:tail($arrays)))
};
if $arrays has count zero (i.e. $arrays is the empty sequence), then this
definition says we return the empty sequence which is not permitted by the
static return type, however the example
The expression array:join(()) returns [ ].
shows the intention is that the empty array is returned.
--
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Tuesday, 3 May 2016 10:19:55 UTC