|
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-yearMonthDuration-from-date | 25/25 | 25/25 | 23/23 | 25/25 | 23/23 | 25/25 | 25/25 | 23/23 | 25/25 | 25/25 | 23/23 | 25/25 | 25/25 | 25/25 | 25/25 | 3/15 |
op-subtract-yearMonthDuration-from-date2args-1[+]
X op-subtract-yearMonthDuration-from-date2args-1: xs:date("1970-01-01Z") - xs:yearMonthDuration("P0Y0M") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-yearMonthDuration-from-date2args-2[+]
X op-subtract-yearMonthDuration-from-date2args-2: xs:date("1983-11-17Z") - xs:yearMonthDuration("P0Y0M") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-yearMonthDuration-from-date2args-3[+]
X op-subtract-yearMonthDuration-from-date2args-3: xs:date("2030-12-31Z") - xs:yearMonthDuration("P0Y0M") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-yearMonthDuration-from-date2args-4[+]
X op-subtract-yearMonthDuration-from-date2args-4: xs:date("1970-01-01Z") - xs:yearMonthDuration("P1000Y6M") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-yearMonthDuration-from-date2args-5[+]
X op-subtract-yearMonthDuration-from-date2args-5: xs:date("1970-01-01Z") - xs:yearMonthDuration("P2030Y12M") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-yearMonthDuration-from-date-1[+]
X op-subtract-yearMonthDuration-from-date-1: xs:date("2000-10-30") - xs:yearMonthDuration("P1Y2M") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-yearMonthDuration-from-date-2[+]
X op-subtract-yearMonthDuration-from-date-2: xs:date("2000-02-29Z") - xs:yearMonthDuration("P1Y") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-yearMonthDuration-from-date-3[+]
X op-subtract-yearMonthDuration-from-date-3: xs:date("2000-10-31-05:00") - xs:yearMonthDuration("P1Y1M") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-yearMonthDuration-from-date-4[+]
X op-subtract-yearMonthDuration-from-date-4: fn:not(fn:string(xs:date("1998-09-12Z") - xs:yearMonthDuration("P20Y03M"))) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-yearMonthDuration-from-date-5[+]
X op-subtract-yearMonthDuration-from-date-5: fn:boolean(fn:string(xs:date("1962-03-12Z") - xs:yearMonthDuration("P10Y01M"))) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-yearMonthDuration-from-date-6[+]
X op-subtract-yearMonthDuration-from-date-6: fn:number(xs:date("1988-01-28Z") - xs:yearMonthDuration("P09Y02M")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-yearMonthDuration-from-date-7[+]
X op-subtract-yearMonthDuration-from-date-7: fn:string(xs:date("1989-07-05Z") - xs:yearMonthDuration("P08Y04M")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-yearMonthDuration-from-date-8[+]
X op-subtract-yearMonthDuration-from-date-8: (xs:date("0001-01-01Z") - xs:yearMonthDuration("-P20Y07M")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-yearMonthDuration-from-date-9[+]
X op-subtract-yearMonthDuration-from-date-9: fn:string((xs:date("1993-12-09Z") - xs:yearMonthDuration("P03Y03M"))) and fn:string((xs:date("1993-12-09Z") - xs:yearMonthDuration("P03Y03M"))) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-yearMonthDuration-from-date-10[+]
X op-subtract-yearMonthDuration-from-date-10: fn:string((xs:date("1985-07-05Z") - xs:yearMonthDuration("P02Y02M"))) or fn:string((xs:date("1985-07-05Z") - xs:yearMonthDuration("P02Y02M"))) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-yearMonthDuration-from-date-12[+]
X op-subtract-yearMonthDuration-from-date-12: fn:string((xs:date("1980-03-02Z") - xs:yearMonthDuration("P05Y05M"))) and (fn:true()) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-yearMonthDuration-from-date-13[+]
X op-subtract-yearMonthDuration-from-date-13: (xs:date("1980-05-05Z") - xs:yearMonthDuration("P23Y11M")) eq xs:date("1980-05-05Z") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-yearMonthDuration-from-date-14[+]
X op-subtract-yearMonthDuration-from-date-14: (xs:date("1979-12-12Z") - xs:yearMonthDuration("P08Y08M")) ne xs:date("1979-12-12Z") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-yearMonthDuration-from-date-15[+]
X op-subtract-yearMonthDuration-from-date-15: (xs:date("1978-12-12Z") - xs:yearMonthDuration("P17Y12M")) le xs:date("1978-12-12Z") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-yearMonthDuration-from-date-16[+]
X op-subtract-yearMonthDuration-from-date-16: (xs:date("1977-12-12Z") - xs:yearMonthDuration("P18Y02M")) ge xs:date("1977-12-12Z") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-yearMonthDuration-from-date-17[+]
X op-subtract-yearMonthDuration-from-date-17: fn:string(xs:date("2000-12-12Z") - xs:yearMonthDuration("P18Y11M")) and fn:false() |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
op-subtract-yearMonthDuration-from-date-18[+]
X op-subtract-yearMonthDuration-from-date-18: fn:string((xs:date("1999-10-23Z") - xs:yearMonthDuration("P19Y12M"))) or fn:false() |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-DateSubtractYMD-1[+]
X K-DateSubtractYMD-1: xs:date("1999-08-12") - xs:yearMonthDuration("P3Y7M") eq xs:date("1996-01-12") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
cbcl-subtract-yearMonthDuration-from-date-001[+]
X cbcl-subtract-yearMonthDuration-from-date-001: declare function local:two-digit($number as xs:integer) { let $string := string($number) return if (string-length($string) lt 2) then concat('0', $string) else $string }; declare function local:date($year as xs:integer, $month as xs:integer, $day as xs:integer) { let $m := local:two-digit($month), $d := local:two-digit($day) return xs:date(concat($year, '-', $m, '-', $d)) }; local:date(2008, 05, 12) - xs:dayTimeDuration("P0D") |
pass | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass | |
cbcl-subtract-yearMonthDuration-from-date-002[+]
X cbcl-subtract-yearMonthDuration-from-date-002: declare function local:two-digit($number as xs:integer) { let $string := string($number) return if (string-length($string) lt 2) then concat('0', $string) else $string }; declare function local:date($year as xs:integer, $month as xs:integer, $day as xs:integer) { let $m := local:two-digit($month), $d := local:two-digit($day) return xs:date(concat($year, '-', $m, '-', $d)) }; local:date(-25252734927766554, 05, 12) - xs:yearMonthDuration("-P3214267297Y") |
pass | wrongError
expected: FODT0001 actualCode: FOCA0002 |
pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |