|
Implementations | ||||||||||||||||
Tests | BaseX 7.7 XQ30 |
EMC/xDB xDB_main_r2411365 XQ30 |
Saxon-EE 9.5.1.1 XP20 |
Saxon-EE 9.5.1.1 XQ10 |
Saxon-EE 9.5.1.1 XP30 |
Saxon-EE 9.5.1.1 XQ30 |
Saxon-EE 9.5.1.4 XQX30 (QT3 v1.1) |
XmlPrime 3.0.0.0 XP30 (QT3 vCVS) |
XmlPrime 3.0.0.0 XQ30 (QT3 vCVS) |
XmlPrime 3.0.0.0 XQX30 (QT3 vCVS) |
XmlPrime 3.0.0.0 XP20 (QT3 vCVS) |
XmlPrime 3.0.0.0 XQX10 (QT3 vCVS) |
XmlPrime 3.0.0.0 XQ10 (QT3 vCVS) |
Zorba 2.9 XQ10 (QT3 vCVS) |
Zorba 2.9 XQ30 (QT3 vCVS) |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fn-zero-or-one | 51/51 | 51/51 | 49/49 | 51/51 | 49/49 | 51/51 | 51/51 | 49/49 | 51/51 | 51/51 | 49/49 | 51/51 | 51/51 | 51/51 | 51/51 | 3/15 |
fn-zero-or-oneint1args-1[+]
X fn-zero-or-oneint1args-1: fn:zero-or-one(xs:int("-2147483648")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-zero-or-oneint1args-2[+]
X fn-zero-or-oneint1args-2: fn:zero-or-one(xs:int("-1873914410")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-zero-or-oneint1args-3[+]
X fn-zero-or-oneint1args-3: fn:zero-or-one(xs:int("2147483647")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-zero-or-oneintg1args-1[+]
X fn-zero-or-oneintg1args-1: fn:zero-or-one(xs:integer("-999999999999999999")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-zero-or-oneintg1args-2[+]
X fn-zero-or-oneintg1args-2: fn:zero-or-one(xs:integer("830993497117024304")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-zero-or-oneintg1args-3[+]
X fn-zero-or-oneintg1args-3: fn:zero-or-one(xs:integer("999999999999999999")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-zero-or-onedec1args-1[+]
X fn-zero-or-onedec1args-1: fn:zero-or-one(xs:decimal("-999999999999999999")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-zero-or-onedec1args-2[+]
X fn-zero-or-onedec1args-2: fn:zero-or-one(xs:decimal("617375191608514839")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-zero-or-onedec1args-3[+]
X fn-zero-or-onedec1args-3: fn:zero-or-one(xs:decimal("999999999999999999")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-zero-or-onedbl1args-1[+]
X fn-zero-or-onedbl1args-1: fn:zero-or-one(xs:double("-1.7976931348623157E308")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-zero-or-onedbl1args-2[+]
X fn-zero-or-onedbl1args-2: fn:zero-or-one(xs:double("0")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-zero-or-onedbl1args-3[+]
X fn-zero-or-onedbl1args-3: fn:zero-or-one(xs:double("1.7976931348623157E308")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-zero-or-oneflt1args-1[+]
X fn-zero-or-oneflt1args-1: fn:zero-or-one(xs:float("-3.4028235E38")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-zero-or-oneflt1args-2[+]
X fn-zero-or-oneflt1args-2: fn:zero-or-one(xs:float("0")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-zero-or-oneflt1args-3[+]
X fn-zero-or-oneflt1args-3: fn:zero-or-one(xs:float("3.4028235E38")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-zero-or-onelng1args-1[+]
X fn-zero-or-onelng1args-1: fn:zero-or-one(xs:long("-92233720368547758")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-zero-or-onelng1args-2[+]
X fn-zero-or-onelng1args-2: fn:zero-or-one(xs:long("-47175562203048468")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-zero-or-onelng1args-3[+]
X fn-zero-or-onelng1args-3: fn:zero-or-one(xs:long("92233720368547758")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-zero-or-oneusht1args-1[+]
X fn-zero-or-oneusht1args-1: fn:zero-or-one(xs:unsignedShort("0")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-zero-or-oneusht1args-2[+]
X fn-zero-or-oneusht1args-2: fn:zero-or-one(xs:unsignedShort("44633")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-zero-or-oneusht1args-3[+]
X fn-zero-or-oneusht1args-3: fn:zero-or-one(xs:unsignedShort("65535")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-zero-or-onenint1args-1[+]
X fn-zero-or-onenint1args-1: fn:zero-or-one(xs:negativeInteger("-999999999999999999")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-zero-or-onenint1args-2[+]
X fn-zero-or-onenint1args-2: fn:zero-or-one(xs:negativeInteger("-297014075999096793")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-zero-or-onenint1args-3[+]
X fn-zero-or-onenint1args-3: fn:zero-or-one(xs:negativeInteger("-1")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-zero-or-onepint1args-1[+]
X fn-zero-or-onepint1args-1: fn:zero-or-one(xs:positiveInteger("1")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-zero-or-onepint1args-2[+]
X fn-zero-or-onepint1args-2: fn:zero-or-one(xs:positiveInteger("52704602390610033")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-zero-or-onepint1args-3[+]
X fn-zero-or-onepint1args-3: fn:zero-or-one(xs:positiveInteger("999999999999999999")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-zero-or-oneulng1args-1[+]
X fn-zero-or-oneulng1args-1: fn:zero-or-one(xs:unsignedLong("0")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-zero-or-oneulng1args-2[+]
X fn-zero-or-oneulng1args-2: fn:zero-or-one(xs:unsignedLong("130747108607674654")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-zero-or-oneulng1args-3[+]
X fn-zero-or-oneulng1args-3: fn:zero-or-one(xs:unsignedLong("184467440737095516")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-zero-or-onenpi1args-1[+]
X fn-zero-or-onenpi1args-1: fn:zero-or-one(xs:nonPositiveInteger("-999999999999999999")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-zero-or-onenpi1args-2[+]
X fn-zero-or-onenpi1args-2: fn:zero-or-one(xs:nonPositiveInteger("-475688437271870490")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-zero-or-onenpi1args-3[+]
X fn-zero-or-onenpi1args-3: fn:zero-or-one(xs:nonPositiveInteger("0")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-zero-or-onenni1args-1[+]
X fn-zero-or-onenni1args-1: fn:zero-or-one(xs:nonNegativeInteger("0")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-zero-or-onenni1args-2[+]
X fn-zero-or-onenni1args-2: fn:zero-or-one(xs:nonNegativeInteger("303884545991464527")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-zero-or-onenni1args-3[+]
X fn-zero-or-onenni1args-3: fn:zero-or-one(xs:nonNegativeInteger("999999999999999999")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-zero-or-onesht1args-1[+]
X fn-zero-or-onesht1args-1: fn:zero-or-one(xs:short("-32768")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-zero-or-onesht1args-2[+]
X fn-zero-or-onesht1args-2: fn:zero-or-one(xs:short("-5324")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-zero-or-onesht1args-3[+]
X fn-zero-or-onesht1args-3: fn:zero-or-one(xs:short("32767")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-zero-or-one-1[+]
X fn-zero-or-one-1: fn:zero-or-one((1,2)) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-SeqZeroOrOneFunc-1[+]
X K-SeqZeroOrOneFunc-1: zero-or-one(1, 2) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-SeqZeroOrOneFunc-2[+]
X K-SeqZeroOrOneFunc-2: zero-or-one() |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-SeqZeroOrOneFunc-3[+]
X K-SeqZeroOrOneFunc-3: zero-or-one(true()) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-SeqZeroOrOneFunc-4[+]
X K-SeqZeroOrOneFunc-4: empty(zero-or-one(())) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-SeqZeroOrOneFunc-5[+]
X K-SeqZeroOrOneFunc-5: count(zero-or-one( "one" )) eq 1 |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-SeqZeroOrOneFunc-6[+]
X K-SeqZeroOrOneFunc-6: count(zero-or-one( () )) eq 0 |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-SeqZeroOrOneFunc-7[+]
X K-SeqZeroOrOneFunc-7: zero-or-one(error()) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-SeqZeroOrOneFunc-8[+]
X K-SeqZeroOrOneFunc-8: zero-or-one( (1, 2, 3) ) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
cbcl-if-not-empty-001[+]
X cbcl-if-not-empty-001: for $x in zero-or-one((1 to 10)[. div 2 = 0]) return () |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
cbcl-zero-or-one-001[+]
X cbcl-zero-or-one-001: declare function local:generate($arg as xs:integer?) { if ($arg = 0) then (1, 2, 3) else $arg }; fn:empty( fn:zero-or-one(fn:unordered( local:generate( () ) )) ) |
pass | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass | |
cbcl-zero-or-one-002[+]
X cbcl-zero-or-one-002: declare function local:generate($arg as xs:integer?) { if ($arg = 0) then () else if ($arg = 1) then $arg else ($arg, $arg) }; 1 + fn:zero-or-one(fn:one-or-more( local:generate( 1 ) )) |
pass | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |