|
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-index-of | 53/53 | 50/53 | 53/53 | 53/53 | 53/53 | 53/53 | 53/53 | 53/53 | 53/53 | 53/53 | 53/53 | 53/53 | 53/53 | 53/53 | 53/53 | 3/15 |
fn-indexof-mix-args-001[+]
X fn-indexof-mix-args-001: fn:index-of ((10, 20, 30, 30, 20, 10), 20) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-indexof-mix-args-002[+]
X fn-indexof-mix-args-002: fn:index-of ((10, 20, 30, 40), 35) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-indexof-mix-args-003[+]
X fn-indexof-mix-args-003: fn:index-of (("a", "sport", "and", "a", "pastime"), "a") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-indexof-mix-args-004[+]
X fn-indexof-mix-args-004: fn:index-of(("sport", "", "and", "", "", "pastime"), "") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-indexof-mix-args-005[+]
X fn-indexof-mix-args-005: fn:index-of((),"") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-indexof-mix-args-006[+]
X fn-indexof-mix-args-006: fn:index-of(("sport"), "") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-indexof-mix-args-007[+]
X fn-indexof-mix-args-007: fn:index-of((),fn:exactly-one(xs:untypedAtomic(''))) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-indexof-mix-args-008[+]
X fn-indexof-mix-args-008: fn:index-of((xs:float('NaN')), fn:exactly-one(xs:float('NaN'))) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-indexof-mix-args-009[+]
X fn-indexof-mix-args-009: fn:index-of((xs:double('NaN')), fn:exactly-one(xs:double('NaN'))) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-indexof-mix-args-010[+]
X fn-indexof-mix-args-010: fn:index-of((xs:double('INF')), fn:exactly-one(xs:double('INF'))) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-indexof-mix-args-011[+]
X fn-indexof-mix-args-011: fn:index-of((xs:double('-INF')), fn:exactly-one(xs:double('-INF'))) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-indexof-mix-args-012[+]
X fn-indexof-mix-args-012: fn:index-of((xs:decimal('9.99999999999999999999999999')), fn:exactly-one(xs:decimal('9.99999999999999999999999999'))) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-indexof-mix-args-013[+]
X fn-indexof-mix-args-013: fn:index-of((xs:decimal('9.99999999999999999999999999')), fn:exactly-one(xs:decimal('9.9999999999999999999999999'))) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-indexof-mix-args-014[+]
X fn-indexof-mix-args-014: fn:index-of((xs:positiveInteger('1'),xs:positiveInteger('2')), fn:exactly-one(xs:positiveInteger('2'))) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-indexof-mix-args-015[+]
X fn-indexof-mix-args-015: fn:index-of((xs:negativeInteger('-2'), xs:negativeInteger('-1')), fn:exactly-one(xs:negativeInteger('-1'))) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-indexof-mix-args-016[+]
X fn-indexof-mix-args-016: fn:index-of((1, (1,2,3)),1) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-indexof-mix-args-017[+]
X fn-indexof-mix-args-017: fn:index-of(((1),(1), (2,1), (0,1)),1) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-indexof-mix-args-018[+]
X fn-indexof-mix-args-018: fn:index-of((/bib/book/publisher), "Addison-Wesley") |
pass | fail | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-indexof-mix-args-019[+]
X fn-indexof-mix-args-019: fn:index-of((/bib/book/publisher), /bib/book[1]/publisher[1]/text() cast as xs:string) |
pass | fail | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-indexof-mix-args-020[+]
X fn-indexof-mix-args-020: fn:index-of(("sport", "", "and", "", "", "pastime"), "") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-indexof-mix-args-021[+]
X fn-indexof-mix-args-021: fn:index-of( ("", 1, ""), "") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-indexof-mix-args-022[+]
X fn-indexof-mix-args-022: fn:index-of((1,2,3,4)) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-SeqIndexOfFunc-1[+]
X K-SeqIndexOfFunc-1: index-of() |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-SeqIndexOfFunc-2[+]
X K-SeqIndexOfFunc-2: index-of(1) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-SeqIndexOfFunc-3[+]
X K-SeqIndexOfFunc-3: index-of((1, 2, 3), 1, ()) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-SeqIndexOfFunc-4[+]
X K-SeqIndexOfFunc-4: index-of("a string", "a string", "http://www.example.com/COLLATION/NOT/SUPPORTED") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-SeqIndexOfFunc-5[+]
X K-SeqIndexOfFunc-5: index-of("a string", "a string", "http://www.w3.org/2005/xpath-functions/collation/codepoint", "wrong param") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-SeqIndexOfFunc-6[+]
X K-SeqIndexOfFunc-6: index-of("a string", "a string", "http://www.w3.org/2005/xpath-functions/collation/codepoint") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-SeqIndexOfFunc-7[+]
X K-SeqIndexOfFunc-7: empty(index-of(xs:double("NaN"), xs:float("NaN"))) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-SeqIndexOfFunc-8[+]
X K-SeqIndexOfFunc-8: empty(index-of(xs:float("NaN"), xs:double("NaN"))) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-SeqIndexOfFunc-9[+]
X K-SeqIndexOfFunc-9: empty(index-of(xs:float("NaN"), xs:float("NaN"))) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-SeqIndexOfFunc-10[+]
X K-SeqIndexOfFunc-10: empty(index-of(xs:double("NaN"), xs:double("NaN"))) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-SeqIndexOfFunc-11[+]
X K-SeqIndexOfFunc-11: empty(index-of(4, "4")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-SeqIndexOfFunc-12[+]
X K-SeqIndexOfFunc-12: index-of(4, 4) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-SeqIndexOfFunc-13[+]
X K-SeqIndexOfFunc-13: empty(index-of((), 4)) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-SeqIndexOfFunc-14[+]
X K-SeqIndexOfFunc-14: index-of(4, 4) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-SeqIndexOfFunc-15[+]
X K-SeqIndexOfFunc-15: deep-equal((1, 2, 3, 4, 5, 6), index-of((4, 4, 4, 4, 4, 4), 4)) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-SeqIndexOfFunc-16[+]
X K-SeqIndexOfFunc-16: empty(index-of(xs:anyURI("example.com/"), xs:hexBinary("FF"))) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-SeqIndexOfFunc-17[+]
X K-SeqIndexOfFunc-17: index-of(xs:untypedAtomic("example.com/"), xs:anyURI("example.com/")) |
pass | fail | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-SeqIndexOfFunc-18[+]
X K-SeqIndexOfFunc-18: deep-equal(index-of((1, 2, "three", 5, 5, 6), 5), (4, 5)) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-SeqIndexOfFunc-19[+]
X K-SeqIndexOfFunc-19: empty(index-of((10, 20, 30, 40), 35)) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-SeqIndexOfFunc-20[+]
X K-SeqIndexOfFunc-20: deep-equal(index-of((10, 20, 30, 30, 20, 10), 20), (2, 5)) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-SeqIndexOfFunc-21[+]
X K-SeqIndexOfFunc-21: deep-equal(index-of(("a", "sport", "and", "a", "pastime"), "a"), (1, 4)) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-SeqIndexOfFunc-22[+]
X K-SeqIndexOfFunc-22: count(index-of((1, 2, 3, 2, 1), 2)) eq 2 |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-SeqIndexOfFunc-23[+]
X K-SeqIndexOfFunc-23: count(index-of((1, 2, 3, 2, 1), 1)) eq 2 |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-SeqIndexOfFunc-24[+]
X K-SeqIndexOfFunc-24: count(index-of((1, 2, 3, 2, 1), 3)) eq 1 |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-SeqIndexOfFunc-25[+]
X K-SeqIndexOfFunc-25: count(index-of((1, 2, 3, 2, 1), 4)) eq 0 |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
cbcl-fn-indexof-1[+]
X cbcl-fn-indexof-1: index-of(1 to 5,4) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
cbcl-fn-indexof-2[+]
X cbcl-fn-indexof-2: index-of(exactly-one((1 to 10)[. div 5 = 1]),5) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
cbcl-fn-indexof-3[+]
X cbcl-fn-indexof-3: boolean(index-of((1 to 10)[. mod 2 = 0],4)) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
cbcl-fn-indexof-4[+]
X cbcl-fn-indexof-4: boolean(index-of((1 to 10)[. mod 2 = 0],5)) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
cbcl-fn-indexof-5[+]
X cbcl-fn-indexof-5: index-of((1 to 10,(1 to 10)[. mod 2 = 0]),4) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
cbcl-fn-indexof-006[+]
X cbcl-fn-indexof-006: index-of(1 to 10,(1 to 10)[. div 2 = 0][1]) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass |