Change id: array-size
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-795[+]
X fn-function-lookup-795: Created on: 2016-09-09 Spec Dependencies: spec = XP31+ XQ31+ spec = XP30+ XQ30+ feature = higherOrderFunctions Test: exists(function-lookup(fn:QName('http://www.w3.org/2005/xpath-functions/array', 'size'), 1)) |
no result | pass | pass | pass | pass | pass |
fn-function-lookup-796[+]
X fn-function-lookup-796: 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', 'size'), 1)([1]) |
no result | pass | pass | pass | pass | pass |
array-size-001[+]
X array-size-001: Created on: 2014-10-13 Spec Dependencies: spec = XP31+ XQ31+ Test: array:size([]) |
pass | pass | pass | pass | pass | pass |
array-size-002[+]
X array-size-002: Created on: 2014-10-13 Spec Dependencies: spec = XP31+ XQ31+ Test: array:size([2,3,4]) |
pass | pass | pass | pass | pass | pass |
array-size-003[+]
X array-size-003: Created on: 2014-10-13 Spec Dependencies: spec = XP31+ XQ31+ Test: array:size([2,[3,4]]) |
pass | pass | pass | pass | pass | pass |
array-size-004[+]
X array-size-004: Created on: 2014-10-13 Spec Dependencies: spec = XP31+ XQ31+ Test: array:size([[],[]]) |
pass | pass | pass | pass | pass | pass |
array-size-005[+]
X array-size-005: Created on: 2014-10-13 Spec Dependencies: spec = XP31+ XQ31+ Test: array:size(["a","b","c","d"]) |
pass | pass | pass | pass | pass | pass |
array-size-006[+]
X array-size-006: Created on: 2014-10-13 Spec Dependencies: spec = XP31+ XQ31+ Test: array:size(["a","","c",""]) |
pass | pass | pass | pass | pass | pass |
array-size-007[+]
X array-size-007: Created on: 2014-10-13 Spec Dependencies: spec = XP31+ XQ31+ Test: array:size([(),(2,3), ()]) |
pass | pass | pass | pass | pass | pass |
UseCaseR31-023[+]
X UseCaseR31-023: Created on: 2014-04-24 Spec Dependencies: feature = higherOrderFunctions spec = XQ31+ spec = XQ30+ Test: declare namespace map = "http://www.w3.org/2005/xpath-functions/map"; declare namespace array = "http://www.w3.org/2005/xpath-functions/array"; let $input := json-doc('http://www.w3.org/qt3/app/UseCaseR31/employees-json') for $k in map:keys($input) return <department name="{ $k }"> { let $array := $input($k) for $i in 1 to array:size($array) let $emp := $array($i) return <employee> <firstName>{ $emp('firstName') }</firstName> <lastName>{ $emp('lastName') }</lastName> <age>{ $emp('age') }</age> </employee> } </department> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass |
UseCaseR31-026[+]
X UseCaseR31-026: Created on: 2014-04-24 Spec Dependencies: feature = higherOrderFunctions spec = XQ31+ spec = XQ30+ Test: for $sarah in collection($users-collection-uri), $friend in collection($users-collection-uri) where $sarah('name') = "Sarah" and $friend('name') = $sarah('friends')?* return $friend('name') |
fail | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass |
UseCaseR31-027[+]
X UseCaseR31-027: Created on: 2014-04-24 Spec Dependencies: feature = higherOrderFunctions spec = XQ31+ spec = XQ30+ Test: Q{http://www.w3.org/2005/xpath-functions/map}merge( for $sales in collection($sales-collection-uri) let $pname := $sales('product') group by $pname return map { $pname : sum(for $s in $sales return $s('quantity')) }) |
fail | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass |
UseCaseR31-029[+]
X UseCaseR31-029: Created on: 2014-04-24 Spec Dependencies: feature = higherOrderFunctions spec = XQ31+ spec = XQ30+ Test: declare namespace map="http://www.w3.org/2005/xpath-functions/map"; let $sats := json-doc("http://www.w3.org/qt3/app/UseCaseR31/satellites-json")("satellites") return map { "visible" : array { map:keys($sats)[$sats(.)("visible")] }, "invisible" : array { map:keys($sats)[not($sats(.)("visible"))] } } |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass |
d1e41709h[+]
X d1e41709h: Created on: 2015-06-10 Spec Dependencies: spec = XQ31+ Test: declare variable $array-of-ints := [10,20,30]; declare variable $array-of-arrays := [ ["a","b","c"], ["d","e","f"] ]; array:size($array-of-ints) |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass |
d1e74262[+]
X d1e74262: Created on: 2015-06-10 Spec Dependencies: spec = XQ31+ Test: array:size([1, 2, 3]) |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass |
d1e74273[+]
X d1e74273: Created on: 2015-06-10 Spec Dependencies: spec = XQ31+ Test: array:size(["abc", ["def", "ghi"]]) |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass |
d1e74283[+]
X d1e74283: Created on: 2015-06-10 Spec Dependencies: spec = XQ31+ Test: array:size([ ]) |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass |
d1e74294[+]
X d1e74294: Created on: 2015-06-10 Spec Dependencies: spec = XQ31+ Test: array:size([[ ]]) |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass |
d1e74304[+]
X d1e74304: Created on: 2015-06-10 Spec Dependencies: spec = XQ31+ Test: count([1, 2, 3]) |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass |
d1e74388[+]
X d1e74388: Created on: 2015-06-10 Spec Dependencies: spec = XQ31+ Test: declare variable $map1 := map {1:"first", 2:"second"}; declare variable $map2 := map {}; map:size( $map1 ) |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass |
d1e74399[+]
X d1e74399: Created on: 2015-06-10 Spec Dependencies: spec = XQ31+ Test: declare variable $map1 := map {1:"first", 2:"second"}; declare variable $map2 := map {}; map:size( $map2 ) |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass |