Change id: array-filter
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-function-lookup-769[+]
X fn-function-lookup-769: Created on: 2011-11-28 Spec Dependencies: spec = XP31+ XQ31+ spec = XP30+ XQ30+ feature = higherOrderFunctions Test: exists(function-lookup(fn:QName('http://www.w3.org/2005/xpath-functions/array', 'filter'), 2)) |
no result | pass | pass | pass | pass | pass |
fn-function-lookup-770[+]
X fn-function-lookup-770: Created on: 2016-09-09 Spec Dependencies: spec = XP31+ XQ31+ spec = XP30+ XQ30+ feature = higherOrderFunctions Test: function-lookup(fn:QName('http://www.w3.org/2005/xpath-functions/array', 'filter'), 2)(["A", "B", 1, 2], function($z) {$z instance of xs:integer}) |
no result | pass | pass | pass | pass | pass |
array-filter-001[+]
X array-filter-001: Created on: 2014-10-29 Spec Dependencies: spec = XP31+ XQ31+ feature = higherOrderFunctions Test: array:filter(["A", "B", 1, 2], function($z) {$z instance of xs:integer}) |
pass | pass | pass | pass | pass | pass |
array-filter-002[+]
X array-filter-002: Created on: 2014-10-29 Spec Dependencies: spec = XP31+ XQ31+ feature = higherOrderFunctions Test: array:filter(["the cat", "sat", "on the mat"], function($s){count(tokenize($s, " ")) gt 1}) |
pass | pass | pass | pass | pass | pass |
array-filter-003[+]
X array-filter-003: Created on: 2014-10-29 Spec Dependencies: spec = XP31+ XQ31+ feature = higherOrderFunctions Test: array:filter(["A", "B", "", 0, 1], boolean#1) |
pass | pass | pass | pass | pass | pass |
array-filter-004[+]
X array-filter-004: Created on: 2014-10-29 Spec Dependencies: spec = XP31+ XQ31+ feature = higherOrderFunctions Test: array:filter([[2,3],[],[4,5,6,7],[6,7],[3]], function($a){array:size($a) gt 1}) |
pass | pass | pass | pass | pass | pass |
array-filter-005[+]
X array-filter-005: Created on: 2014-11-21 Spec Dependencies: spec = XP31+ XQ31+ feature = higherOrderFunctions Test: array:filter([], contains(?, "")) |
pass | pass | pass | pass | pass | pass |
array-filter-006[+]
X array-filter-006: Created on: 2014-11-21 Spec Dependencies: spec = XP31+ XQ31+ feature = higherOrderFunctions Test: array:filter(['apple', 'banana', 'cherry'], contains(?, "e")) |
pass | pass | pass | pass | pass | pass |
array-filter-007[+]
X array-filter-007: Created on: 2014-11-21 Spec Dependencies: spec = XP31+ XQ31+ feature = higherOrderFunctions Test: array:filter(['apple', 'banana', 'cherry'], substring-after(?, "e")) |
pass | pass | pass | pass | pass | pass |
array-filter-008[+]
X array-filter-008: Created on: 2014-11-21 Spec Dependencies: spec = XP31+ XQ31+ feature = higherOrderFunctions Test: array:filter(['apple', 'banana', 'cherry'], substring-after#2) |
pass | pass | pass | pass | pass | pass |
array-filter-009[+]
X array-filter-009: Created on: 2014-11-21 Spec Dependencies: spec = XP31+ XQ31+ feature = higherOrderFunctions Test: array:filter(['apple', 'banana', 'cherry', 17], substring-after(?, "e")) |
pass | pass | pass | pass | pass | pass |
array-filter-010[+]
X array-filter-010: Created on: 2014-11-21 Spec Dependencies: spec = XP31+ XQ31+ feature = higherOrderFunctions Test: array:filter([10, 20, 30, 0], function($x){ 20 idiv $x eq 5}) |
pass | pass | pass | pass | pass | pass |
d1e41709o[+]
X d1e41709o: Created on: 2015-06-10 Spec Dependencies: feature = higherOrderFunctions spec = XQ31+ Test: declare variable $array-of-ints := [10,20,30]; declare variable $array-of-arrays := [ ["a","b","c"], ["d","e","f"] ]; array:filter($array-of-ints,function($n) {$n > 15}) |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass |
d1e56387[+]
X d1e56387: Created on: 2015-06-10 Spec Dependencies: feature = higherOrderFunctions spec = XQ31+ Test: array:filter(["ab","aa","xy"],starts-with#2(?,"a")) |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass |
d1e56398[+]
X d1e56398: Created on: 2015-06-10 Spec Dependencies: feature = higherOrderFunctions spec = XQ31+ Test: array:filter([4,5,6],function($n) {$n > 4}) |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass |
d1e56409[+]
X d1e56409: Created on: 2015-06-10 Spec Dependencies: feature = higherOrderFunctions spec = XQ31+ Test: array:filter([4,5,6],function($n) {$n > 6}) |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass |