Change id: map-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-829[+]
X fn-function-lookup-829: 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/map', 'size'), 1)) |
no result | pass | pass | pass | pass | pass |
fn-function-lookup-830[+]
X fn-function-lookup-830: 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/map', 'size'), 1)(map{}) |
no result | pass | pass | pass | pass | pass |
map-size-001[+]
X map-size-001: Created on: 2011-03-27 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:size(map{}) |
pass | pass | pass | pass | pass | pass |
map-size-002[+]
X map-size-002: Created on: 2011-03-27 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:size(map:merge(())) |
pass | pass | pass | pass | pass | pass |
map-size-003[+]
X map-size-003: Created on: 2011-03-27 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:size(map{"a":1}) |
pass | pass | pass | pass | pass | pass |
map-size-004[+]
X map-size-004: Created on: 2011-03-27 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:size(map:entry("a", "1")) |
pass | pass | pass | pass | pass | pass |
map-size-005[+]
X map-size-005: Created on: 2011-03-27 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:size(map:merge((map:entry("a", "1"), map:entry("b", 2)))) |
pass | pass | pass | pass | pass | pass |
map-size-006[+]
X map-size-006: Created on: 2011-03-27 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:size(map{"a":1, "b":2}) |
pass | pass | pass | pass | pass | pass |
map-size-007[+]
X map-size-007: Created on: 2011-03-27 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:size(map{"a":1, "a":2}) |
pass | pass | pass | pass | pass | pass |
map-size-008[+]
X map-size-008: Created on: 2011-03-27 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:size(map:merge((map:entry("a",1), map:entry("a",2)))) |
pass | pass | pass | pass | pass | pass |
map-size-009[+]
X map-size-009: Created on: 2011-03-27 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:size(map:remove(map{"a":1,"b":2}, "b")) |
pass | pass | pass | pass | pass | pass |
map-size-010[+]
X map-size-010: Created on: 2011-03-27 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:size(map:remove(map:entry(1,2),1)) |
pass | pass | pass | pass | pass | pass |
map-size-011[+]
X map-size-011: Created on: 2011-03-27 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:size(map:remove(map:remove(map{"a":1,"b":2},"b"),"a")) |
pass | pass | pass | pass | pass | pass |
map-size-012[+]
X map-size-012: Created on: 2011-03-27 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:size(map{number('NaN'):1,"b":2}) |
pass | pass | pass | pass | pass | pass |
map-size-013[+]
X map-size-013: Created on: 2011-03-27 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:size(map:remove(map{"a":1,"b":2}, "c")) |
pass | pass | pass | pass | pass | pass |
map-size-014[+]
X map-size-014: Created on: 2015-06-10 Spec Dependencies: spec = XP31+ XQ31+ spec = XP31+ XQ31+ XT30+ Test: map{current-dateTime():100, current-dateTime()=>adjust-dateTime-to-timezone(()):101} => map:size() |
pass | pass | pass | pass | pass | pass |
MapTest-040[+]
X MapTest-040: Created on: 2014-10-08 Spec Dependencies: feature = higherOrderFunctions spec = XP31+ XQ31+ Test: function($m as map(xs:integer, xs:string)) as xs:integer {map:size($m)} instance of function(map(*)) as xs:integer |
pass | pass | pass | pass | pass | pass |
MapTest-041[+]
X MapTest-041: Created on: 2014-10-08 Spec Dependencies: feature = higherOrderFunctions spec = XP31+ XQ31+ Test: function($m as map(xs:integer, xs:string)) as xs:integer {map:size($m)} instance of function(map(xs:decimal, xs:string+)) as xs:integer |
pass | pass | pass | pass | pass | pass |
MapTest-042[+]
X MapTest-042: Created on: 2014-10-08 Spec Dependencies: feature = higherOrderFunctions spec = XP31+ XQ31+ Test: function($m as map(*)) as xs:integer {map:size($m)} instance of function(function(*)) as xs:integer |
pass | pass | pass | pass | pass | pass |
MapTest-043[+]
X MapTest-043: Created on: 2014-10-08 Spec Dependencies: feature = higherOrderFunctions spec = XP31+ XQ31+ Test: function($m as map(xs:integer, xs:string)) as xs:integer {map:size($m)} instance of function(function(*)) as xs:integer |
pass | pass | pass | pass | pass | pass |
MapTest-044[+]
X MapTest-044: Created on: 2014-10-08 Spec Dependencies: feature = higherOrderFunctions spec = XP31+ XQ31+ Test: function($m as map(xs:integer, xs:string)) as xs:integer {map:size($m)} instance of function(function(xs:anyAtomicType) as item()*) as xs:integer |
pass | pass | pass | pass | pass | pass |
MapTest-045[+]
X MapTest-045: Created on: 2014-10-08 Spec Dependencies: feature = higherOrderFunctions spec = XP31+ XQ31+ Test: function($m as map(xs:integer, xs:string)) as xs:integer {map:size($m)} instance of function(function(xs:integer) as item()*) as xs:integer |
pass | pass | pass | pass | pass | pass |
MapTest-050[+]
X MapTest-050: Created on: 2014-10-08 Spec Dependencies: feature = higherOrderFunctions spec = XP31+ XQ31+ Test: function($m as map(*)) as xs:integer {map:size($m)} instance of function(map(xs:integer, xs:string)) as xs:integer |
pass | pass | pass | pass | pass | pass |
MapTest-051[+]
X MapTest-051: Created on: 2014-10-08 Spec Dependencies: feature = higherOrderFunctions spec = XP31+ XQ31+ Test: function($m as map(xs:decimal, xs:string+)) as xs:integer {map:size($m)} instance of function(map(xs:integer, xs:string)) as xs:integer |
pass | pass | pass | pass | pass | pass |
MapTest-054[+]
X MapTest-054: Created on: 2014-10-08 Spec Dependencies: feature = higherOrderFunctions spec = XP31+ XQ31+ Test: function($m as function(xs:anyAtomicType) as item()*) as xs:integer {map:size($m)} instance of function(map(xs:integer, xs:string)) as xs:integer |
pass | pass | pass | pass | pass | pass |
d1e41301a[+]
X d1e41301a: Created on: 2015-06-10 Spec Dependencies: spec = XQ31+ Test: declare variable $deptnames := map { "ACC" : "Accessories", "WMN" : "Women's", "MEN" : "Men's" }; map:size($deptnames) |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass |