|
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) |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
op-numeric-unary-plus | 55/55 | 55/55 | 52/52 | 55/55 | 52/52 | 55/55 | 55/55 | 52/52 | 55/55 | 55/55 | 52/52 | 55/55 | 55/55 | 55/55 | 55/55 | 3/15 |
op-numeric-unary-plusint1args-1[+]
X op-numeric-unary-plusint1args-1: +(xs:int("-2147483648")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-plusint1args-2[+]
X op-numeric-unary-plusint1args-2: +(xs:int("-1873914410")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-plusint1args-3[+]
X op-numeric-unary-plusint1args-3: +(xs:int("2147483647")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-plusintg1args-1[+]
X op-numeric-unary-plusintg1args-1: +(xs:integer("-999999999999999999")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-plusintg1args-2[+]
X op-numeric-unary-plusintg1args-2: +(xs:integer("830993497117024304")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-plusintg1args-3[+]
X op-numeric-unary-plusintg1args-3: +(xs:integer("999999999999999999")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-plusdec1args-1[+]
X op-numeric-unary-plusdec1args-1: +(xs:decimal("-999999999999999999")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-plusdec1args-2[+]
X op-numeric-unary-plusdec1args-2: +(xs:decimal("617375191608514839")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-plusdec1args-3[+]
X op-numeric-unary-plusdec1args-3: +(xs:decimal("999999999999999999")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-plusdbl1args-1[+]
X op-numeric-unary-plusdbl1args-1: +(xs:double("-1.7976931348623157E308")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-plusdbl1args-2[+]
X op-numeric-unary-plusdbl1args-2: +(xs:double("0")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-plusdbl1args-3[+]
X op-numeric-unary-plusdbl1args-3: +(xs:double("1.7976931348623157E308")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-plusflt1args-1[+]
X op-numeric-unary-plusflt1args-1: +(xs:float("-3.4028235E38")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-plusflt1args-2[+]
X op-numeric-unary-plusflt1args-2: +(xs:float("0")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-plusflt1args-3[+]
X op-numeric-unary-plusflt1args-3: +(xs:float("3.4028235E38")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-pluslng1args-1[+]
X op-numeric-unary-pluslng1args-1: +(xs:long("-92233720368547758")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-pluslng1args-2[+]
X op-numeric-unary-pluslng1args-2: +(xs:long("-47175562203048468")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-pluslng1args-3[+]
X op-numeric-unary-pluslng1args-3: +(xs:long("92233720368547758")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-plususht1args-1[+]
X op-numeric-unary-plususht1args-1: +(xs:unsignedShort("0")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-plususht1args-2[+]
X op-numeric-unary-plususht1args-2: +(xs:unsignedShort("44633")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-plususht1args-3[+]
X op-numeric-unary-plususht1args-3: +(xs:unsignedShort("65535")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-plusnint1args-1[+]
X op-numeric-unary-plusnint1args-1: +(xs:negativeInteger("-999999999999999999")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-plusnint1args-2[+]
X op-numeric-unary-plusnint1args-2: +(xs:negativeInteger("-297014075999096793")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-plusnint1args-3[+]
X op-numeric-unary-plusnint1args-3: +(xs:negativeInteger("-1")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-pluspint1args-1[+]
X op-numeric-unary-pluspint1args-1: +(xs:positiveInteger("1")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-pluspint1args-2[+]
X op-numeric-unary-pluspint1args-2: +(xs:positiveInteger("52704602390610033")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-pluspint1args-3[+]
X op-numeric-unary-pluspint1args-3: +(xs:positiveInteger("999999999999999999")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-plusulng1args-1[+]
X op-numeric-unary-plusulng1args-1: +(xs:unsignedLong("0")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-plusulng1args-2[+]
X op-numeric-unary-plusulng1args-2: +(xs:unsignedLong("130747108607674654")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-plusulng1args-3[+]
X op-numeric-unary-plusulng1args-3: +(xs:unsignedLong("184467440737095516")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-plusnpi1args-1[+]
X op-numeric-unary-plusnpi1args-1: +(xs:nonPositiveInteger("-999999999999999999")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-plusnpi1args-2[+]
X op-numeric-unary-plusnpi1args-2: +(xs:nonPositiveInteger("-475688437271870490")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-plusnpi1args-3[+]
X op-numeric-unary-plusnpi1args-3: +(xs:nonPositiveInteger("0")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-plusnni1args-1[+]
X op-numeric-unary-plusnni1args-1: +(xs:nonNegativeInteger("0")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-plusnni1args-2[+]
X op-numeric-unary-plusnni1args-2: +(xs:nonNegativeInteger("303884545991464527")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-plusnni1args-3[+]
X op-numeric-unary-plusnni1args-3: +(xs:nonNegativeInteger("999999999999999999")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-plussht1args-1[+]
X op-numeric-unary-plussht1args-1: +(xs:short("-32768")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-plussht1args-2[+]
X op-numeric-unary-plussht1args-2: +(xs:short("-5324")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-plussht1args-3[+]
X op-numeric-unary-plussht1args-3: +(xs:short("32767")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-NumericUnaryPlus-1[+]
X K-NumericUnaryPlus-1: +"a string" |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-NumericUnaryPlus-2[+]
X K-NumericUnaryPlus-2: (+3) eq 3 |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-NumericUnaryPlus-3[+]
X K-NumericUnaryPlus-3: (+3) eq +3 |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-NumericUnaryPlus-4[+]
X K-NumericUnaryPlus-4: (+3) eq +(3) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-NumericUnaryPlus-5[+]
X K-NumericUnaryPlus-5: +(3) eq 3 |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-NumericUnaryPlus-6[+]
X K-NumericUnaryPlus-6: +(3) eq +3 |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-NumericUnaryPlus-7[+]
X K-NumericUnaryPlus-7: -(3) ne 3 |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-NumericUnaryPlus-8[+]
X K-NumericUnaryPlus-8: ----------3 eq 3 |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-NumericUnaryPlus-9[+]
X K-NumericUnaryPlus-9: +++++++++++3 eq 3 |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-NumericUnaryPlus-10[+]
X K-NumericUnaryPlus-10: -+-+-+-+-+-+-+-3 eq 3 |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-NumericUnaryPlus-11[+]
X K-NumericUnaryPlus-11: -+-+-+-+-+-++-+-++-+-+-+-+++3 eq 3 |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-NumericUnaryPlus-12[+]
X K-NumericUnaryPlus-12: +++3 eq ++3 |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K2-NumericUnaryPlus-1[+]
X K2-NumericUnaryPlus-1: empty(document{()}/(+element())) |
pass | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass | |
K2-NumericUnaryPlus-2[+]
X K2-NumericUnaryPlus-2: empty(+()) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-numeric-unary-plus-1[+]
X op-numeric-unary-plus-1: for $x in (1, xs:decimal(2), xs:float(3), xs:double(4), xs:untypedAtomic(5)) return typeswitch (+$x) case xs:integer return "integer" case xs:decimal return "decimal" case xs:float return "float" case xs:double return "double" default return error() |
pass | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass | |
cbcl-numeric-unary-plus-001[+]
X cbcl-numeric-unary-plus-001: declare function local:value($number as xs:boolean) { if ($number) then 1 else xs:string('1') }; +(local:value(true())) |
pass | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |