|
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-subtract-yearMonthDurations | 33/33 | 33/33 | 30/30 | 33/33 | 30/30 | 33/33 | 33/33 | 30/30 | 33/33 | 33/33 | 30/30 | 33/33 | 33/33 | 33/33 | 33/33 | 3/15 |
op-subtract-yearMonthDurations2args-1[+]
X op-subtract-yearMonthDurations2args-1: xs:yearMonthDuration("P0Y0M") - xs:yearMonthDuration("P0Y0M") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-yearMonthDurations2args-2[+]
X op-subtract-yearMonthDurations2args-2: xs:yearMonthDuration("P1000Y6M") - xs:yearMonthDuration("P0Y0M") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-yearMonthDurations2args-3[+]
X op-subtract-yearMonthDurations2args-3: xs:yearMonthDuration("P2030Y12M") - xs:yearMonthDuration("P0Y0M") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-yearMonthDurations2args-4[+]
X op-subtract-yearMonthDurations2args-4: xs:yearMonthDuration("P0Y0M") - xs:yearMonthDuration("P1000Y6M") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-yearMonthDurations2args-5[+]
X op-subtract-yearMonthDurations2args-5: xs:yearMonthDuration("P0Y0M") - xs:yearMonthDuration("P2030Y12M") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-yearMonthDurations-1[+]
X op-subtract-yearMonthDurations-1: (xs:yearMonthDuration("P2Y11M") - xs:yearMonthDuration("P3Y3M")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-yearMonthDurations-2[+]
X op-subtract-yearMonthDurations-2: fn:string(xs:yearMonthDuration("P10Y11M") - xs:yearMonthDuration("P12Y07M")) and fn:false() |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-yearMonthDurations-3[+]
X op-subtract-yearMonthDurations-3: fn:string(xs:yearMonthDuration("P20Y10M") - xs:yearMonthDuration("P19Y10M")) or fn:false() |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-yearMonthDurations-4[+]
X op-subtract-yearMonthDurations-4: fn:not(fn:string(xs:yearMonthDuration("P11Y04M") - xs:yearMonthDuration("P02Y11M"))) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-yearMonthDurations-5[+]
X op-subtract-yearMonthDurations-5: fn:boolean(fn:string(xs:yearMonthDuration("P05Y08M") - xs:yearMonthDuration("P03Y06M"))) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-yearMonthDurations-6[+]
X op-subtract-yearMonthDurations-6: fn:number(xs:yearMonthDuration("P02Y09M") - xs:yearMonthDuration("P10Y01M")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-yearMonthDurations-7[+]
X op-subtract-yearMonthDurations-7: fn:string(xs:yearMonthDuration("P03Y08M") - xs:yearMonthDuration("P01Y02M")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-yearMonthDurations-8[+]
X op-subtract-yearMonthDurations-8: (xs:yearMonthDuration("P10Y01M") - xs:yearMonthDuration("P11Y02M")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-yearMonthDurations-9[+]
X op-subtract-yearMonthDurations-9: fn:string((xs:yearMonthDuration("P01Y01M") - xs:yearMonthDuration("P02Y02M"))) and fn:string((xs:yearMonthDuration("P02Y03M") - xs:yearMonthDuration("P04Y04M"))) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-yearMonthDurations-10[+]
X op-subtract-yearMonthDurations-10: fn:string((xs:yearMonthDuration("P05Y02M") - xs:yearMonthDuration("P03Y04M"))) or fn:string((xs:yearMonthDuration("P05Y03M") - xs:yearMonthDuration("P01Y03M"))) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-yearMonthDurations-11[+]
X op-subtract-yearMonthDurations-11: (xs:yearMonthDuration("P42Y10M") - xs:yearMonthDuration("P20Y10M")) div (xs:yearMonthDuration("P20Y11M") - xs:yearMonthDuration("P18Y11M")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-yearMonthDurations-12[+]
X op-subtract-yearMonthDurations-12: fn:string((xs:yearMonthDuration("P10Y11M") - xs:yearMonthDuration("P05Y07M"))) and (fn:true()) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-yearMonthDurations-13[+]
X op-subtract-yearMonthDurations-13: (xs:yearMonthDuration("P23Y11M") - xs:yearMonthDuration("P23Y11M")) eq xs:yearMonthDuration("P23Y11M") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-yearMonthDurations-14[+]
X op-subtract-yearMonthDurations-14: (xs:yearMonthDuration("P21Y12M") - xs:yearMonthDuration("P08Y05M")) ne xs:yearMonthDuration("P08Y05M") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-yearMonthDurations-15[+]
X op-subtract-yearMonthDurations-15: (xs:yearMonthDuration("P10Y01M") - xs:yearMonthDuration("P17Y02M")) le xs:yearMonthDuration("P17Y02M") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-yearMonthDurations-16[+]
X op-subtract-yearMonthDurations-16: (xs:yearMonthDuration("P13Y09M") - xs:yearMonthDuration("P18Y02M")) ge xs:yearMonthDuration("P18Y02M") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-YearMonthDurationSubtract-1[+]
X K-YearMonthDurationSubtract-1: xs:yearMonthDuration("P3Y3M") - xs:yearMonthDuration("P0M") eq xs:yearMonthDuration("P3Y3M") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-YearMonthDurationSubtract-2[+]
X K-YearMonthDurationSubtract-2: xs:yearMonthDuration("P0M") - xs:yearMonthDuration("P3Y3M") eq xs:yearMonthDuration("-P3Y3M") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-YearMonthDurationSubtract-3[+]
X K-YearMonthDurationSubtract-3: xs:yearMonthDuration("P32Y43M") - xs:yearMonthDuration("P12Y13M") eq xs:yearMonthDuration("P22Y6M") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-YearMonthDurationSubtract-4[+]
X K-YearMonthDurationSubtract-4: xs:dayTimeDuration("P3D") + xs:yearMonthDuration("P3Y3M") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-YearMonthDurationSubtract-5[+]
X K-YearMonthDurationSubtract-5: xs:yearMonthDuration("P3Y3M") + xs:dayTimeDuration("P3D") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-YearMonthDurationSubtract-6[+]
X K-YearMonthDurationSubtract-6: xs:duration("P3D") + xs:yearMonthDuration("P3Y3M") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-YearMonthDurationSubtract-7[+]
X K-YearMonthDurationSubtract-7: xs:yearMonthDuration("P3Y3M") + xs:duration("P3D") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-YearMonthDurationSubtract-8[+]
X K-YearMonthDurationSubtract-8: xs:dayTimeDuration("P3D") + xs:duration("P3Y3M") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-YearMonthDurationSubtract-9[+]
X K-YearMonthDurationSubtract-9: xs:duration("P3Y3M") + xs:dayTimeDuration("P3D") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
cbcl-subtract-yearMonthDurations-001[+]
X cbcl-subtract-yearMonthDurations-001: declare function local:yearMonthDuration($years as xs:integer, $months as xs:integer ) { xs:yearMonthDuration(concat('P', $years, 'Y', $months, 'M')) }; local:yearMonthDuration(1, 1) - xs:yearMonthDuration("P0Y") |
pass | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass | |
cbcl-subtract-yearMonthDurations-002[+]
X cbcl-subtract-yearMonthDurations-002: declare function local:yearMonthDuration($years as xs:integer, $months as xs:integer ) { xs:yearMonthDuration(concat('P', $years, 'Y', $months, 'M')) }; local:yearMonthDuration(1, 1) - local:yearMonthDuration(1, 1) |
pass | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass | |
cbcl-subtract-yearMonthDurations-003[+]
X cbcl-subtract-yearMonthDurations-003: declare function local:yearMonthDuration($years as xs:integer, $months as xs:integer ) { xs:yearMonthDuration(concat('P', $years, 'Y', $months, 'M')) }; xs:yearMonthDuration("-P768614336404564650Y") - local:yearMonthDuration(768614336404564650, 1) |
pass | wrongError
expected: FODT0002 actualCode: FOCA0002 |
pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |