|
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-dates | 30/30 | 29/30 | 30/30 | 30/30 | 30/30 | 30/30 | 30/30 | 30/30 | 30/30 | 30/30 | 30/30 | 30/30 | 30/30 | 30/30 | 30/30 | 3/15 |
op-subtract-dates-yielding-DTD-1[+]
X op-subtract-dates-yielding-DTD-1: xs:date("2000-10-30") - xs:date("1999-11-28") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-dates-yielding-DTD-2[+]
X op-subtract-dates-yielding-DTD-2: xs:date("2000-10-30+05:00") - xs:date("1999-11-28Z") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-dates-yielding-DTD-3[+]
X op-subtract-dates-yielding-DTD-3: xs:date("2000-10-15-05:00") - xs:date("2000-10-10+02:00") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-dates-yielding-DTD-4[+]
X op-subtract-dates-yielding-DTD-4: fn:not(fn:string(xs:date("1998-09-12Z") - xs:date("1998-09-21Z"))) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-dates-yielding-DTD-5[+]
X op-subtract-dates-yielding-DTD-5: fn:boolean(fn:string(xs:date("1962-03-12Z") - xs:date("1962-03-12Z"))) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-dates-yielding-DTD-6[+]
X op-subtract-dates-yielding-DTD-6: fn:number(xs:date("1988-01-28Z") - xs:date("2001-03-02")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-dates-yielding-DTD-7[+]
X op-subtract-dates-yielding-DTD-7: fn:string(xs:date("1989-07-05Z") - xs:date("1962-09-04Z")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-dates-yielding-DTD-8[+]
X op-subtract-dates-yielding-DTD-8: xs:date("0001-01-01Z") - xs:date("2005-07-06Z") |
pass | fail | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-dates-yielding-DTD-9[+]
X op-subtract-dates-yielding-DTD-9: fn:string((xs:date("1993-12-09Z") - xs:date("1992-10-02Z"))) and fn:string((xs:date("1993-12-09Z") - xs:date("1980-10-20Z"))) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-dates-yielding-DTD-10[+]
X op-subtract-dates-yielding-DTD-10: fn:string((xs:date("1985-07-05Z") - xs:date("1977-12-02Z"))) or fn:string((xs:date("1985-07-05Z") - xs:date("1960-11-07Z"))) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-dates-yielding-DTD-11[+]
X op-subtract-dates-yielding-DTD-11: (xs:date("1978-12-12Z") - xs:date("1978-12-12Z")) div xs:dayTimeDuration("P17DT10H02M") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-dates-yielding-DTD-12[+]
X op-subtract-dates-yielding-DTD-12: fn:string((xs:date("1980-03-02Z") - xs:date("2001-09-11Z"))) and (fn:true()) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-dates-yielding-DTD-13[+]
X op-subtract-dates-yielding-DTD-13: fn:string((xs:date("1980-05-05Z") - xs:date("1981-12-03Z"))) eq xs:string(xs:dayTimeDuration("P17DT10H02M")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-dates-yielding-DTD-14[+]
X op-subtract-dates-yielding-DTD-14: fn:string((xs:date("1979-12-12Z") - xs:date("1979-11-11Z"))) ne xs:string(xs:dayTimeDuration("P17DT10H02M")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-dates-yielding-DTD-15[+]
X op-subtract-dates-yielding-DTD-15: fn:string((xs:date("1978-12-12Z") - xs:date("1977-03-12Z"))) le xs:string(xs:dayTimeDuration("P17DT10H02M")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-dates-yielding-DTD-16[+]
X op-subtract-dates-yielding-DTD-16: fn:string((xs:date("1977-12-12Z") - xs:date("1976-12-12Z"))) ge xs:string(xs:dayTimeDuration("P17DT10H02M")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-dates-yielding-DTD-17[+]
X op-subtract-dates-yielding-DTD-17: fn:string(xs:date("2000-12-12Z") - xs:date("2000-11-11Z")) and fn:false() |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-dates-yielding-DTD-18[+]
X op-subtract-dates-yielding-DTD-18: fn:string((xs:date("1999-10-23Z") - xs:date("1998-09-09Z"))) or fn:false() |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-dates-yielding-DTD-19[+]
X op-subtract-dates-yielding-DTD-19: (xs:date("1999-10-23Z") - xs:date("1998-09-09Z")) * xs:decimal(2.0) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-dates-yielding-DTD-20[+]
X op-subtract-dates-yielding-DTD-20: (xs:date("1999-10-23Z") - xs:date("1998-09-09Z")) + xs:dayTimeDuration("P17DT10H02M") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-DatesSubtract-1[+]
X K-DatesSubtract-1: xs:date("1999-07-19") - xs:date("1969-11-30") eq xs:dayTimeDuration("P10823D") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-DatesSubtract-2[+]
X K-DatesSubtract-2: xs:date("1999-07-19") - xs:date("1999-07-19") eq xs:dayTimeDuration("PT0S") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-DatesSubtract-3[+]
X K-DatesSubtract-3: xs:date("1999-10-12") + xs:date("1999-10-12") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-DatesSubtract-4[+]
X K-DatesSubtract-4: xs:date("1999-10-12") div xs:date("1999-10-12") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-DatesSubtract-5[+]
X K-DatesSubtract-5: xs:date("1999-10-12") * xs:date("1999-10-12") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-DatesSubtract-6[+]
X K-DatesSubtract-6: xs:date("1999-10-12") mod xs:date("1999-10-12") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
cbcl-subtract-dates-001[+]
X cbcl-subtract-dates-001: xs:date("-25252734927766554-12-31") - xs:date("25252734927766554-12-31") |
pass | wrongError
expected: FODT0001 actualCode: FOCA0002 |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
cbcl-subtract-dates-002[+]
X cbcl-subtract-dates-002: xs:date("-25252734927766554-12-31") - xs:date("25252734927766554-12-31+01:00") |
pass | wrongError
expected: FODT0001 actualCode: FOCA0002 |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
cbcl-subtract-dates-003[+]
X cbcl-subtract-dates-003: xs:date("2008-12-31") - xs:date("2002-12-31+01:00") + implicit-timezone() |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
cbcl-subtract-dates-004[+]
X cbcl-subtract-dates-004: xs:date("2002-12-31+01:00") - xs:date("2008-12-31") - implicit-timezone() |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass |