|
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-pair | 45/47 | 45/45 | 45/45 | 47/47 | 47/47 | 47/0 | 0/6 |
for-each-pair-001[+]
X for-each-pair-001: Created on: 2010-02-10 Spec Dependencies: spec = XP30+ XQ30+ feature = higherOrderFunctions Test: for-each-pair(("aa", "bb", "cc", "dd", "ee"), ("AA", "BB", "cc", "dd", "EE"), deep-equal#2) |
pass | pass | pass | pass | pass | pass | |
for-each-pair-002[+]
X for-each-pair-002: Created on: 2010-02-10 Spec Dependencies: spec = XP30+ XQ30+ feature = higherOrderFunctions Test: for-each-pair(("aa", "bb", "cc", "dd", "ee", "ff"), ("AA", "BB", "cc", "dd", "EE"), deep-equal#2) |
pass | pass | pass | pass | pass | pass | |
for-each-pair-003[+]
X for-each-pair-003: Created on: 2010-02-10 Spec Dependencies: spec = XP30+ XQ30+ feature = higherOrderFunctions Test: for-each-pair(("aa", "bb", "cc", "dd", "ee"), ("AA", "BB", "cc", "dd", "EE", "ff"), deep-equal#2) |
pass | pass | pass | pass | pass | pass | |
for-each-pair-004[+]
X for-each-pair-004: Created on: 2010-02-10 Spec Dependencies: spec = XP30+ XQ30+ feature = higherOrderFunctions Test: for-each-pair(("aa", "bb", "cc", "dd", "ee"), ("AA", "BB", "cc", "dd", "EE"), concat(?, '-', ?)) |
pass | pass | pass | pass | pass | pass | |
for-each-pair-005[+]
X for-each-pair-005: Created on: 2010-02-10 Spec Dependencies: spec = XP30+ XQ30+ feature = higherOrderFunctions Test: for-each-pair(1 to 5, 1 to 5, function($a as xs:integer, $b as xs:integer) as xs:integer{$a + $b}) |
pass | pass | pass | pass | pass | pass | |
for-each-pair-006[+]
X for-each-pair-006: Created on: 2010-02-10 Spec Dependencies: spec = XP30+ XQ30+ feature = higherOrderFunctions Test: let $millenium := year-from-date(current-date()) idiv 1000 return for-each-pair(1 to 5, 2 to 6, function($a as xs:integer, $b as xs:integer) as xs:integer{$a + $b + $millenium}) |
pass | pass | pass | pass | pass | pass | |
for-each-pair-007[+]
X for-each-pair-007: Created on: 2010-02-10 Spec Dependencies: spec = XP30+ XQ30+ feature = higherOrderFunctions Test: let $millenium := year-from-date(current-date()) idiv 1000 return for-each-pair(("a", "ab", "abc", ""), ("", "", "", ""), function($a, $b) as xs:integer* {1 to (string-length($a) + string-length($b))}) |
pass | pass | pass | pass | pass | pass | |
for-each-pair-008[+]
X for-each-pair-008: Created on: 2010-03-14 Spec Dependencies: spec = XP30+ XQ30+ feature = higherOrderFunctions Test: let $in := 1 to 5 return for-each-pair($in, tail($in), function($a, $b){$a+$b}) |
pass | pass | pass | pass | pass | pass | |
for-each-pair-901[+]
X for-each-pair-901: Created on: 2010-02-10 Spec Dependencies: spec = XP30+ XQ30+ feature = higherOrderFunctions Test: for-each-pair(("aa", "bb", "cc", "dd", "ee"), ("AA", "BB", "cc", "dd", "EE"), deep-equal#3) |
pass | pass | pass | pass | pass | pass | |
for-each-pair-902[+]
X for-each-pair-902: Created on: 2010-02-10 Spec Dependencies: spec = XP30+ XQ30+ feature = higherOrderFunctions Test: for-each-pair(("aa", "bb", "cc", "dd", "ee"), ("AA", "BB", "cc", "dd", 12), contains#2) |
pass | pass | pass | pass | pass | pass | |
fn-for-each-pair-001[+]
X fn-for-each-pair-001: Created on: 2012-05-01 Spec Dependencies: spec = XP30+ XQ30+ spec = XP30+ XQ30+ feature = higherOrderFunctions Test: fn:for-each-pair() |
pass | pass | pass | pass | pass | pass | |
fn-for-each-pair-002[+]
X fn-for-each-pair-002: Created on: 2012-05-01 Spec Dependencies: spec = XP30+ XQ30+ spec = XP30+ XQ30+ feature = higherOrderFunctions Test: fn:for-each-pair#0 |
pass | pass | pass | pass | pass | pass | |
fn-for-each-pair-003[+]
X fn-for-each-pair-003: Created on: 2012-05-01 Spec Dependencies: spec = XP30+ XQ30+ spec = XP30+ XQ30+ feature = higherOrderFunctions Test: fn:for-each-pair( fn:concat#2 ) |
pass | pass | pass | pass | pass | pass | |
fn-for-each-pair-004[+]
X fn-for-each-pair-004: Created on: 2012-05-01 Spec Dependencies: spec = XP30+ XQ30+ spec = XP30+ XQ30+ feature = higherOrderFunctions Test: fn:for-each-pair#1 |
pass | pass | pass | pass | pass | pass | |
fn-for-each-pair-005[+]
X fn-for-each-pair-005: Created on: 2012-05-01 Spec Dependencies: spec = XP30+ XQ30+ spec = XP30+ XQ30+ feature = higherOrderFunctions Test: fn:for-each-pair( (), fn:concat#2) |
pass | pass | pass | pass | pass | pass | |
fn-for-each-pair-006[+]
X fn-for-each-pair-006: Created on: 2012-05-01 Spec Dependencies: spec = XP30+ XQ30+ spec = XP30+ XQ30+ feature = higherOrderFunctions Test: fn:for-each-pair#2 |
pass | pass | pass | pass | pass | pass | |
fn-for-each-pair-007[+]
X fn-for-each-pair-007: Created on: 2012-05-01 Spec Dependencies: spec = XP30+ XQ30+ spec = XP30+ XQ30+ feature = higherOrderFunctions Test: fn:for-each-pair( (), (), fn:concat#2) |
pass | pass | pass | pass | pass | pass | |
fn-for-each-pair-008[+]
X fn-for-each-pair-008: Created on: 2012-05-01 Spec Dependencies: spec = XP30+ XQ30+ spec = XP30+ XQ30+ feature = higherOrderFunctions Test: fn:exists( fn:for-each-pair#3 ) |
pass | pass | pass | pass | pass | pass | |
fn-for-each-pair-009[+]
X fn-for-each-pair-009: Created on: 2012-05-01 Spec Dependencies: spec = XP30+ XQ30+ spec = XP30+ XQ30+ feature = higherOrderFunctions Test: ( fn:for-each-pair( (), (), if ( fn:current-dateTime() eq fn:dateTime( fn:current-date(), fn:current-time() )) then fn:concat#2 else () ), fn:for-each-pair( (), (), if ( fn:current-dateTime() eq fn:dateTime( fn:current-date(), fn:current-time() )) then () else fn:concat#2 ) ) |
pass | pass | pass | pass | pass | pass | |
fn-for-each-pair-010[+]
X fn-for-each-pair-010: Created on: 2012-05-01 Spec Dependencies: feature = staticTyping spec = XP30+ XQ30+ spec = XP30+ XQ30+ feature = higherOrderFunctions Test: fn:for-each-pair( (), (), if ( fn:current-dateTime() eq fn:dateTime( fn:current-date(), fn:current-time() )) then fn:concat#2 else () ) |
no result | n/a
Dependency not satisfied |
n/a
Dependency not satisfied |
pass | pass | pass | |
fn-for-each-pair-011[+]
X fn-for-each-pair-011: Created on: 2012-05-01 Spec Dependencies: spec = XP30+ XQ30+ spec = XP30+ XQ30+ feature = higherOrderFunctions Test: fn:for-each-pair( (), (), (fn:concat#2, fn:concat#2) ) |
pass | pass | pass | pass | pass | pass | |
fn-for-each-pair-012[+]
X fn-for-each-pair-012: Created on: 2012-05-01 Spec Dependencies: spec = XP30+ XQ30+ spec = XP30+ XQ30+ feature = higherOrderFunctions Test: fn:for-each-pair( (), (), fn:true() ) |
pass | pass | pass | pass | pass | pass | |
fn-for-each-pair-013[+]
X fn-for-each-pair-013: Created on: 2012-05-01 Spec Dependencies: spec = XP30+ XQ30+ spec = XP30+ XQ30+ feature = higherOrderFunctions Test: fn:for-each-pair( (), (), /root ) |
pass | pass | pass | pass | pass | pass | |
fn-for-each-pair-014[+]
X fn-for-each-pair-014: Created on: 2012-05-01 Spec Dependencies: spec = XP30+ XQ30+ spec = XP30+ XQ30+ feature = higherOrderFunctions Test: fn:for-each-pair( (), (), fn:boolean#1 ) |
pass | pass | pass | pass | pass | pass | |
fn-for-each-pair-015[+]
X fn-for-each-pair-015: Created on: 2012-05-01 Spec Dependencies: spec = XP30+ XQ30+ spec = XP30+ XQ30+ feature = higherOrderFunctions Test: fn:for-each-pair( (), (), fn:concat#3 ) |
pass | pass | pass | pass | pass | pass | |
fn-for-each-pair-016[+]
X fn-for-each-pair-016: Created on: 2012-05-01 Spec Dependencies: spec = XP30+ XQ30+ spec = XP30+ XQ30+ feature = higherOrderFunctions Test: fn:for-each-pair( (), (), function($a as item(), $b as item()) as item()* { fn:boolean($a), fn:boolean($b) } ) |
pass | pass | pass | pass | pass | pass | |
fn-for-each-pair-017[+]
X fn-for-each-pair-017: Created on: 2012-05-01 Spec Dependencies: spec = XP30+ XQ30+ spec = XP30+ XQ30+ feature = higherOrderFunctions Test: fn:for-each-pair((//node(), 1, "string", 3.14, 2.7e0, fn:exists#1), (//node(), 1, "string", 3.14, 2.7e0, fn:exists#1), function($a, $b) { if ($a instance of function(*)) then $b instance of function(*) else if ($b instance of function(*)) then false() else deep-equal($a, $b) } ) |
pass | pass | pass | pass | pass | pass | |
fn-for-each-pair-018[+]
X fn-for-each-pair-018: Created on: 2012-05-01 Spec Dependencies: spec = XP30+ XQ30+ spec = XP30+ XQ30+ feature = higherOrderFunctions Test: fn:for-each-pair( (), fn:error(), concat#2) |
pass | pass | pass | pass | pass | pass | |
fn-for-each-pair-019[+]
X fn-for-each-pair-019: Created on: 2012-05-01 Spec Dependencies: spec = XP30+ XQ30+ spec = XP30+ XQ30+ feature = higherOrderFunctions Test: fn:for-each-pair( fn:error(), (), concat#2) |
pass | pass | pass | pass | pass | pass | |
fn-for-each-pair-020[+]
X fn-for-each-pair-020: Created on: 2012-05-01 Spec Dependencies: spec = XP30+ XQ30+ spec = XP30+ XQ30+ feature = higherOrderFunctions Test: fn:for-each-pair( (), (), function($arg, $arg2) { fn:error() }) |
pass | pass | pass | pass | pass | pass | |
fn-for-each-pair-021[+]
X fn-for-each-pair-021: Created on: 2012-05-01 Spec Dependencies: spec = XP30+ XQ30+ spec = XP30+ XQ30+ feature = higherOrderFunctions Test: fn:for-each-pair( 1 to 10, 1 to 10, function($arg, $arg2) { fn:error() }) |
pass | pass | pass | pass | pass | pass | |
fn-for-each-pair-022[+]
X fn-for-each-pair-022: Created on: 2012-05-01 Spec Dependencies: spec = XP30+ XQ30+ spec = XP30+ XQ30+ feature = higherOrderFunctions Test: fn:for-each-pair( fn:error(), fn:error(), function($arg1, $arg2) { () }) |
pass | pass | pass | pass | pass | pass | |
fn-for-each-pair-023[+]
X fn-for-each-pair-023: Created on: 2012-05-01 Spec Dependencies: spec = XP30+ XQ30+ spec = XP30+ XQ30+ feature = higherOrderFunctions Test: fn:for-each-pair( (1, fn:error()), 1, function($arg1, $arg2) { ($arg1, $arg2) }) |
pass | pass | pass | pass | pass | pass | |
fn-for-each-pair-024[+]
X fn-for-each-pair-024: Created on: 2012-05-01 Spec Dependencies: spec = XP30+ XQ30+ spec = XP30+ XQ30+ feature = higherOrderFunctions Test: fn:for-each-pair( 1, (1, fn:error()), function($arg1, $arg2) { ($arg1, $arg2) }) |
pass | pass | pass | pass | pass | pass | |
fn-for-each-pair-025[+]
X fn-for-each-pair-025: Created on: 2012-05-01 Spec Dependencies: spec = XP30+ XQ30+ spec = XP30+ XQ30+ feature = higherOrderFunctions Test: fn:for-each-pair( 1 to 3, 1 to 3, function($arg1, $arg2) { ($arg1 + $arg2) }) |
pass | pass | pass | pass | pass | pass | |
fn-for-each-pair-026[+]
X fn-for-each-pair-026: Created on: 2012-05-01 Spec Dependencies: spec = XP30+ XQ30+ spec = XP30+ XQ30+ feature = higherOrderFunctions Test: fn:for-each-pair( (true(), false(), true()), 1 to 3, function($arg1, $arg2) { if ($arg1) then $arg2 else () }) |
pass | pass | pass | pass | pass | pass | |
fn-for-each-pair-027[+]
X fn-for-each-pair-027: Created on: 2012-05-01 Spec Dependencies: spec = XP30+ XQ30+ spec = XP30+ XQ30+ feature = higherOrderFunctions Test: fn:for-each-pair( 1 to 3, 1 to 3, function($arg1, $arg2) { ($arg1, $arg2) }) |
pass | pass | pass | pass | pass | pass | |
fn-for-each-pair-028[+]
X fn-for-each-pair-028: Created on: 2012-05-01 Spec Dependencies: spec = XP30+ XQ30+ spec = XP30+ XQ30+ feature = higherOrderFunctions Test: fn:for-each-pair( ("1", "2"), (1, 2), function($arg1 as xs:integer, $arg2 as xs:integer) { $arg1 + $arg2 } ) |
pass | pass | pass | pass | pass | pass | |
fn-for-each-pair-029[+]
X fn-for-each-pair-029: Created on: 2012-05-01 Spec Dependencies: spec = XP30+ XQ30+ spec = XP30+ XQ30+ feature = higherOrderFunctions Test: fn:for-each-pair( (1, 2), ("1", "2"), function($arg1 as xs:integer, $arg2 as xs:integer) { $arg1 + $arg2 } ) |
pass | pass | pass | pass | pass | pass | |
fn-for-each-pair-030[+]
X fn-for-each-pair-030: Created on: 2012-05-01 Spec Dependencies: spec = XP30+ XQ30+ spec = XP30+ XQ30+ feature = higherOrderFunctions Test: fn:for-each-pair( ("1", "2"), ("1", "2"), function($arg1 as xs:integer, $arg2 as xs:integer) { $arg1 + $arg2 } ) |
pass | pass | pass | pass | pass | pass | |
fn-for-each-pair-031[+]
X fn-for-each-pair-031: Created on: 2013-03-14 Spec Dependencies: spec = XP30+ XQ30+ spec = XP30+ XQ30+ feature = higherOrderFunctions Test: ( fn:for-each-pair( ("a"), ("b"), if ( fn:current-dateTime() eq fn:dateTime( fn:current-date(), fn:current-time() )) then fn:concat#2 else () ), fn:for-each-pair( "a", "b", if ( fn:current-dateTime() eq fn:dateTime( fn:current-date(), fn:current-time() )) then () else fn:concat#2 ) ) |
pass | pass | pass | pass | pass | pass | |
fn-for-each-pair-032[+]
X fn-for-each-pair-032: Created on: 2013-03-14 Spec Dependencies: feature = staticTyping spec = XP30+ XQ30+ spec = XP30+ XQ30+ feature = higherOrderFunctions Test: fn:for-each-pair( "a", "b", if ( fn:current-dateTime() eq fn:dateTime( fn:current-date(), fn:current-time() )) then fn:concat#2 else () ) |
no result | n/a
Dependency not satisfied |
n/a
Dependency not satisfied |
pass | pass | pass | |
fn-for-each-pair-033[+]
X fn-for-each-pair-033: Created on: 2013-03-14 Spec Dependencies: spec = XP30+ XQ30+ spec = XP30+ XQ30+ feature = higherOrderFunctions Test: fn:for-each-pair( "a", "b", (fn:concat#2, fn:concat#2) ) |
pass | pass | pass | pass | pass | pass | |
fn-for-each-pair-034[+]
X fn-for-each-pair-034: Created on: 2013-03-14 Spec Dependencies: spec = XP30+ XQ30+ spec = XP30+ XQ30+ feature = higherOrderFunctions Test: fn:for-each-pair( "a", "b", fn:true() ) |
pass | pass | pass | pass | pass | pass | |
fn-for-each-pair-035[+]
X fn-for-each-pair-035: Created on: 2013-03-14 Spec Dependencies: spec = XP30+ XQ30+ spec = XP30+ XQ30+ feature = higherOrderFunctions Test: fn:for-each-pair("a", "b", /root ) |
pass | pass | pass | pass | pass | pass | |
fn-for-each-pair-036[+]
X fn-for-each-pair-036: Created on: 2013-03-14 Spec Dependencies: spec = XP30+ XQ30+ spec = XP30+ XQ30+ feature = higherOrderFunctions Test: fn:for-each-pair( "a", "b", fn:boolean#1 ) |
pass | pass | pass | pass | pass | pass | |
fn-for-each-pair-037[+]
X fn-for-each-pair-037: Created on: 2013-03-14 Spec Dependencies: spec = XP30+ XQ30+ spec = XP30+ XQ30+ feature = higherOrderFunctions Test: fn:for-each-pair( "a", "b", fn:concat#3 ) |
pass | pass | pass | pass | pass | pass |