|
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-years-from-duration | 31/31 | 31/31 | 31/31 | 31/31 | 31/31 | 31/31 | 31/31 | 31/31 | 31/31 | 31/31 | 31/31 | 31/31 | 31/31 | 31/31 | 31/31 | 3/15 |
fn-years-from-duration1args-1[+]
X fn-years-from-duration1args-1: fn:years-from-duration(xs:yearMonthDuration("P0Y0M")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-years-from-duration1args-2[+]
X fn-years-from-duration1args-2: fn:years-from-duration(xs:yearMonthDuration("P1000Y6M")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-years-from-duration1args-3[+]
X fn-years-from-duration1args-3: fn:years-from-duration(xs:yearMonthDuration("P2030Y12M")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-years-from-duration-1[+]
X fn-years-from-duration-1: fn:years-from-duration(xs:yearMonthDuration("P20Y15M")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-years-from-duration-2[+]
X fn-years-from-duration-2: fn:years-from-duration(xs:yearMonthDuration("-P15M")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-years-from-duration-3[+]
X fn-years-from-duration-3: fn:years-from-duration(xs:yearMonthDuration("P20Y3M")) lt fn:years-from-duration(xs:yearMonthDuration("P21Y2M")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-years-from-duration-4[+]
X fn-years-from-duration-4: fn:years-from-duration(xs:yearMonthDuration("P21Y10M")) le fn:years-from-duration(xs:yearMonthDuration("P22Y10M")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-years-from-duration-5[+]
X fn-years-from-duration-5: fn:count(fn:years-from-duration(())) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-years-from-duration-6[+]
X fn-years-from-duration-6: fn:years-from-duration(xs:yearMonthDuration("P01Y10M")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-years-from-duration-7[+]
X fn-years-from-duration-7: fn:avg((fn:years-from-duration(xs:yearMonthDuration("P23Y10M")),fn:years-from-duration(xs:yearMonthDuration("P21Y10M")))) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-years-from-duration-8[+]
X fn-years-from-duration-8: fn:years-from-duration(xs:yearMonthDuration("P21Y10M")) + fn:years-from-duration(xs:yearMonthDuration("P22Y10M")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-years-from-duration-9[+]
X fn-years-from-duration-9: fn:years-from-duration(xs:yearMonthDuration("P30Y10M")) - fn:years-from-duration(xs:yearMonthDuration("P10Y10M")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-years-from-duration-10[+]
X fn-years-from-duration-10: fn:years-from-duration(xs:yearMonthDuration("P20Y10M")) * fn:years-from-duration(xs:yearMonthDuration("P02Y10M")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-years-from-duration-11[+]
X fn-years-from-duration-11: fn:years-from-duration(xs:yearMonthDuration("P20Y10M")) div fn:years-from-duration(xs:yearMonthDuration("P05Y10M")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-years-from-duration-12[+]
X fn-years-from-duration-12: fn:years-from-duration(xs:yearMonthDuration("P25Y10M")) idiv fn:years-from-duration(xs:yearMonthDuration("P05Y10M")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-years-from-duration-13[+]
X fn-years-from-duration-13: fn:years-from-duration(xs:yearMonthDuration("P10Y10M")) mod fn:years-from-duration(xs:yearMonthDuration("P03Y10M")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-years-from-duration-14[+]
X fn-years-from-duration-14: +fn:years-from-duration(xs:yearMonthDuration("P21Y10M")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-years-from-duration-15[+]
X fn-years-from-duration-15: -fn:years-from-duration(xs:yearMonthDuration("P25Y10M")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-years-from-duration-16[+]
X fn-years-from-duration-16: fn:years-from-duration(xs:yearMonthDuration("P22Y10M")) eq fn:years-from-duration(xs:yearMonthDuration("P22Y10M")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-years-from-duration-17[+]
X fn-years-from-duration-17: fn:years-from-duration(xs:yearMonthDuration("P22Y10M")) ne fn:years-from-duration(xs:yearMonthDuration("P23Y10M")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-years-from-duration-18[+]
X fn-years-from-duration-18: fn:years-from-duration(xs:yearMonthDuration("P21Y01M")) le fn:years-from-duration(xs:yearMonthDuration("P21Y15M")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-years-from-duration-19[+]
X fn-years-from-duration-19: fn:years-from-duration(xs:yearMonthDuration("P20Y10M")) ge fn:years-from-duration(xs:yearMonthDuration("P20Y10M")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-years-from-duration-20[+]
X fn-years-from-duration-20: fn:years-from-duration(xs:duration("P1Y2M3DT10H30M")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-YearsFromDurationFunc-1[+]
X K-YearsFromDurationFunc-1: years-from-duration() |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-YearsFromDurationFunc-2[+]
X K-YearsFromDurationFunc-2: years-from-duration((), "Wrong param") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-YearsFromDurationFunc-3[+]
X K-YearsFromDurationFunc-3: empty(years-from-duration(())) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-YearsFromDurationFunc-4[+]
X K-YearsFromDurationFunc-4: years-from-duration(()) instance of xs:integer? |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-YearsFromDurationFunc-5[+]
X K-YearsFromDurationFunc-5: years-from-duration(xs:yearMonthDuration("P0003Y2M")) eq 3 |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-YearsFromDurationFunc-6[+]
X K-YearsFromDurationFunc-6: years-from-duration(xs:yearMonthDuration("-P0003Y2M")) eq -3 |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-YearsFromDurationFunc-7[+]
X K-YearsFromDurationFunc-7: years-from-duration(xs:duration("-P3Y4M4DT1H23M2.34S")) eq -3 |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
cbcl-years-from-duration-001[+]
X cbcl-years-from-duration-001: fn:years-from-duration(xs:dayTimeDuration('P1D')) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass |