|
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-tokenize | 51/53 | 53/53 | 49/49 | 50/50 | 52/52 | 53/53 | 53/53 | 52/52 | 53/53 | 53/53 | 49/49 | 50/50 | 50/50 | 50/50 | 53/53 | 2/15 |
fn-tokenize-1[+]
X fn-tokenize-1: fn:tokenize("abba", ".?") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-tokenize-2[+]
X fn-tokenize-2: fn:tokenize("The cat sat on the mat", "\s+", "t") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-tokenize-3[+]
X fn-tokenize-3: fn:tokenize("The cat sat on the mat", "\s+") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-tokenize-4[+]
X fn-tokenize-4: fn:tokenize("1, 15, 24, 50", ",\s*") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-tokenize-5[+]
X fn-tokenize-5: fn:tokenize("Some unparsed <br> HTML <BR> text", "\s*<br>\s*", "i") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-tokenize-6[+]
X fn-tokenize-6: fn:tokenize("Some unparsed <br> HTML <BR> text", "\s*<br>\s*", "") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-tokenize-7[+]
X fn-tokenize-7: fn:count(fn:tokenize((), "\s+")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-tokenize-8[+]
X fn-tokenize-8: fn:count(fn:tokenize("", "\s+")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-tokenize-9[+]
X fn-tokenize-9: string-join(fn:tokenize("abracadabra", "(ab)|(a)"), '#') |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-tokenize-10[+]
X fn-tokenize-10: fn:tokenize("abracadabra", "ww") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-tokenize-11[+]
X fn-tokenize-11: fn:tokenize("abracadabra", "^a") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-tokenize-12[+]
X fn-tokenize-12: fn:tokenize("abracadabra^abracadabra", "\^") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-tokenize-13[+]
X fn-tokenize-13: fn:tokenize("abracadabra?abracadabra", "\?") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-tokenize-14[+]
X fn-tokenize-14: fn:tokenize("abracadabra*abracadabra", "\*") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-tokenize-15[+]
X fn-tokenize-15: fn:tokenize("abracadabra+abracadabra", "\+") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-tokenize-16[+]
X fn-tokenize-16: fn:tokenize("abracadabra{abracadabra", "\{") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-tokenize-17[+]
X fn-tokenize-17: fn:tokenize("abracadabra}abracadabra", "\}") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-tokenize-18[+]
X fn-tokenize-18: fn:tokenize("abracadabra(abracadabra", "\(") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-tokenize-19[+]
X fn-tokenize-19: fn:tokenize("abracadabra)abracadabra", "\)") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-tokenize-20[+]
X fn-tokenize-20: fn:tokenize("abracadabra[abracadabra", "\[") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-tokenize-21[+]
X fn-tokenize-21: fn:tokenize("abracadabra]abracadabra", "\]") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-tokenize-22[+]
X fn-tokenize-22: fn:tokenize("abracadabra-abracadabra", "\-") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-tokenize-23[+]
X fn-tokenize-23: fn:tokenize("abracadabra.abracadabra", "\.") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-tokenize-24[+]
X fn-tokenize-24: fn:tokenize("abracadabra|abracadabra", "\|") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-tokenize-25[+]
X fn-tokenize-25: fn:tokenize("abracadabra\abracadabra", "\\") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-tokenize-26[+]
X fn-tokenize-26: fn:tokenize("abracadabra abracadabra", "\t") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-tokenize-27[+]
X fn-tokenize-27: fn:tokenize("abracadabra abracadabra", "\n") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-tokenize-28[+]
X fn-tokenize-28: fn:tokenize("abracadabraabracadabra", "aa{1}") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-tokenize-29[+]
X fn-tokenize-29: fn:tokenize("abracadabraabracadabraabracadabra", "aa{1,}") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-tokenize-30[+]
X fn-tokenize-30: fn:tokenize("abracadabraabracadabraabracadabra", "aa{1,2}") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-tokenize-31[+]
X fn-tokenize-31: fn:tokenize("abc.def.gh.ijk", ".", "q") |
pass | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
pass | pass | pass | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XP30+ XQ30+, satisfied=true) was not met. |
pass | |
fn-tokenize-32[+]
X fn-tokenize-32: fn:tokenize("A.BRA.CADA.BRA", "a.", "qi") |
pass | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
pass | pass | pass | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XP30+ XQ30+, satisfied=true) was not met. |
pass | |
fn-tokenize-33[+]
X fn-tokenize-33: fn:tokenize("ABRACADABRA", "A(?:B)") |
pass | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
pass | pass | pass | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XP30+ XQ30+, satisfied=true) was not met. |
pass | |
fn-tokenize-34[+]
X fn-tokenize-34: fn:tokenize(concat('Mary', codepoints-to-string(13), 'Jones'), 'y.J') |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-tokenize-35[+]
X fn-tokenize-35: fn:tokenize(concat('Mary', codepoints-to-string(13), 'Jones'), 'y.J', 's') |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-tokenize-36[+]
X fn-tokenize-36: fn:tokenize(concat('Mary', codepoints-to-string(10), 'Jones'), '^', 'm') |
fail | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-tokenize-37[+]
X fn-tokenize-37: fn:tokenize(concat('Mary', codepoints-to-string(10), 'Jones'), '$', 'm') |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-tokenize-38[+]
X fn-tokenize-38: fn:tokenize(concat('Mary', codepoints-to-string(10), 'Jones'), '^[\s]*$', 'm') |
fail | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-TokenizeFunc-1[+]
X K-TokenizeFunc-1: tokenize("input") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-TokenizeFunc-2[+]
X K-TokenizeFunc-2: tokenize("input", ()) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-TokenizeFunc-3[+]
X K-TokenizeFunc-3: tokenize("input", "pattern", " ") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-TokenizeFunc-4[+]
X K-TokenizeFunc-4: tokenize("input", "pattern", "X") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-TokenizeFunc-5[+]
X K-TokenizeFunc-5: tokenize("input", "pattern", "", ()) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K2-TokenizeFunc-1[+]
X K2-TokenizeFunc-1: fn:tokenize(("abracadabra", current-time())[1] treat as xs:string, "(ab)|(a)")[last()] eq "" |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K2-TokenizeFunc-2[+]
X K2-TokenizeFunc-2: empty(fn:tokenize(("abracadabra", current-time())[1] treat as xs:string, "(ab)|(a)")[last() + 1]) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K2-TokenizeFunc-3[+]
X K2-TokenizeFunc-3: fn:tokenize(("abracadabra", current-time())[1] treat as xs:string, "(ab)|(a)")[last() - 1] |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K2-TokenizeFunc-4[+]
X K2-TokenizeFunc-4: fn:tokenize(("abracadabra", current-time())[1] treat as xs:string, "(ab)|(a)")[last() - 3] |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K2-TokenizeFunc-5[+]
X K2-TokenizeFunc-5: deep-equal(fn:tokenize("The cat sat on the mat", "\s+"), ("The", "cat", "sat", "on", "the", "mat")), count(fn:tokenize("The cat sat on the mat", "\s+")), count(fn:tokenize(" The cat sat on the mat ", "\s+")), fn:tokenize("The cat sat on the mat", "\s+") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K2-TokenizeFunc-6[+]
X K2-TokenizeFunc-6: replace('APXterms6', '\w{3}\d*([^TKR0-9]+).*$', '$1') |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K2-TokenizeFunc-7[+]
X K2-TokenizeFunc-7: count(tokenize("a b", " ")), count(tokenize("a b", "\s")), string-join(tokenize("a b", " "), '|'), string-join(tokenize("a b", "\s"), '|'), tokenize("a b", " "), tokenize("a b", "\s") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
cbcl-fn-tokenize-001[+]
X cbcl-fn-tokenize-001: for $x in xs:string(zero-or-one((1 to 10)[. mod 2 = -1])) return tokenize($x,',') |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
cbcl-fn-tokenize-002[+]
X cbcl-fn-tokenize-002: tokenize(string-join(for $x in (1 to 10)[. mod 2 = 0] return string($x),','),'[') |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
cbcl-fn-tokenize-003[+]
X cbcl-fn-tokenize-003: tokenize(string-join(for $x in (1 to 10)[. mod 2 < 0] return string($x),','),',') |
pass | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |