|
Implementations | |||||||
Tests | BaseX 8.5 beta XQ31 (QT3 vCVS) |
Saxon-EE 9.7.0.11 XP31 (QT3 v0.6) |
Saxon-EE 9.7.0.11 XQ31 (QT3 v0.6) |
XmlPrime 4.0.0.16079 XP31 (QT3 vCVS) |
XmlPrime 4.0.0.26293 XQ31 (QT3 vCVS) |
XmlPrime 4.0.0.27704 XQX31 (QT3 vCVS) |
|
---|---|---|---|---|---|---|---|
fn-for-each | 15/15 | 13/13 | 15/15 | 13/13 | 15/15 | 15/0 | 0/6 |
for-each-001[+]
X for-each-001: Created on: 2010-02-10 Spec Dependencies: spec = XP30+ XQ30+ feature = higherOrderFunctions Test: for-each(("aa", "bb", "cc", "dd", "ee"), upper-case#1) |
pass | pass | pass | pass | pass | pass | |
for-each-002[+]
X for-each-002: Created on: 2010-02-10 Spec Dependencies: spec = XP30+ XQ30+ feature = higherOrderFunctions Test: for-each(("john", "jane"), string-to-codepoints#1) |
pass | pass | pass | pass | pass | pass | |
for-each-003[+]
X for-each-003: Created on: 2010-02-10 Spec Dependencies: spec = XP30+ XQ30+ feature = higherOrderFunctions Test: for-each(("john", "mary", "jane", "anne", "peter", "ian"), function($x){$x[contains(., 'e')]}) |
pass | pass | pass | pass | pass | pass | |
for-each-004[+]
X for-each-004: Created on: 2010-02-10 Spec Dependencies: spec = XP30+ XQ30+ feature = higherOrderFunctions Test: for-each(("john", "mary", "jane", "anne", "peter", "ian"), function($x){upper-case($x)}) |
pass | pass | pass | pass | pass | pass | |
for-each-005[+]
X for-each-005: Created on: 2010-02-10 Spec Dependencies: spec = XP30+ XQ30+ feature = higherOrderFunctions Test: for-each(for-each(("john", "mary", "jane", "anne", "peter", "ian"), function($n as xs:string){upper-case($n)}), function($e as xs:string) as xs:string { lower-case($e) }) |
pass | pass | pass | pass | pass | pass | |
for-each-006[+]
X for-each-006: Created on: 2010-02-10 Spec Dependencies: spec = XQ30+ spec = XP30+ XQ30+ feature = higherOrderFunctions Test: declare function local:children($n as node()) as node()* { $n/child::node() }; declare function local:attributes($e as node()) as node()* { $e/attribute::node() }; declare function local:self($e as node()) as node() { $e }; declare function local:union( $f as function(node()) as node()*, $g as function(node()) as node()*) as function(node()) as node()* { function($a) {$f($a) | $g($a)} }; let $data := (/a), $f := local:union(local:children#1, local:union(local:attributes#1, local:self#1)) return for-each($data/*, $f)[not(. instance of attribute())] |
pass | n/a
environment dependencies not satisfied |
pass | n/a | pass | pass | |
for-each-007[+]
X for-each-007: Created on: 2010-02-10 Spec Dependencies: spec = XP30+ XQ30+ feature = higherOrderFunctions Test: for-each((), round#1) |
pass | pass | pass | pass | pass | pass | |
for-each-008[+]
X for-each-008: Created on: 2010-02-10 Spec Dependencies: spec = XP30+ XQ30+ feature = higherOrderFunctions Test: let $f := function($x as xs:double*){for-each($x,round#1)} return $f((1.2345, 6.789)) |
pass | pass | pass | pass | pass | pass | |
for-each-009[+]
X for-each-009: Created on: 2015-03-13 Spec Dependencies: spec = XP30+ XQ30+ feature = higherOrderFunctions Test: for-each((1,4,9,16,25), Q{http://www.w3.org/2005/xpath-functions/math}sqrt#1) |
pass | pass | pass | pass | pass | pass | |
for-each-010[+]
X for-each-010: Created on: 2015-03-13 Spec Dependencies: spec = XP30+ XQ30+ feature = higherOrderFunctions Test: for-each(namespace-uri-from-QName(function-name(xs:int#1)), upper-case#1) |
pass | pass | pass | pass | pass | pass | |
for-each-011[+]
X for-each-011: Created on: 2015-03-13 Spec Dependencies: spec = XP30+ XQ30+ feature = higherOrderFunctions Test: let $f := function($ff as (function(item()) as item()), $s as xs:string){$ff($ff($s))} return for-each((upper-case#1, lower-case#1, normalize-space#1, concat(?, '!')), $f(?, ' Say NO! ')) |
pass | pass | pass | pass | pass | pass | |
for-each-012[+]
X for-each-012: Created on: 2015-03-13 Spec Dependencies: spec = XQ30+ spec = XP30+ XQ30+ feature = higherOrderFunctions Test: for-each((<a>1</a>, <b>22</b>, <c>33</c>), function($a as xs:string) as xs:integer {string-length($a)}) |
pass | n/a
notXP31 |
pass | n/a | pass | pass | |
for-each-901[+]
X for-each-901: Created on: 2010-02-10 Spec Dependencies: spec = XP30+ XQ30+ feature = higherOrderFunctions Test: for-each(("aa", "bb", "cc", "dd", "ee"), starts-with#2) |
pass | pass | pass | pass | pass | pass | |
for-each-902[+]
X for-each-902: Created on: 2010-02-10 Spec Dependencies: spec = XP30+ XQ30+ feature = higherOrderFunctions Test: for-each(("aa", "bb", "cc", "dd", 12), upper-case#1) |
pass | pass | pass | pass | pass | pass | |
for-each-903[+]
X for-each-903: Created on: 2010-02-10 Spec Dependencies: spec = XP30+ XQ30+ feature = higherOrderFunctions Test: for-each(("aa", "bb", "cc", "dd", 12), ()) |
pass | pass | pass | pass | pass | pass |