|
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-translate | 42/42 | 42/42 | 42/42 | 42/42 | 42/42 | 42/42 | 42/42 | 42/42 | 42/42 | 42/42 | 42/42 | 42/42 | 42/42 | 42/42 | 42/42 | 3/15 |
fn-translate3args-1[+]
X fn-translate3args-1: translate('---abcABCxyz---','-abcABCxyz','1ABCabcXYZ') |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-translate3args-2[+]
X fn-translate3args-2: translate('newline tab space ',' ','123') |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-translate3args-3[+]
X fn-translate3args-3: translate('','-','x') |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-translate3args-4[+]
X fn-translate3args-4: translate((),'-','x') |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-translate3args-5[+]
X fn-translate3args-5: translate(1,'-','x') |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-translate3args-6[+]
X fn-translate3args-6: translate('abc',1,'x') |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-translate3args-7[+]
X fn-translate3args-7: translate('abc','x',1) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-translate3args-8[+]
X fn-translate3args-8: translate('abc') |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-translate-1[+]
X fn-translate-1: fn:translate("bar","abc","ABC") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-translate-2[+]
X fn-translate-2: fn:translate("--aaa--","abc-","ABC") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-translate-3[+]
X fn-translate-3: fn:translate("abcdabc", "abc", "AB") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-translate-4[+]
X fn-translate-4: fn:translate("acdefghijklmnopqrstuvwxyz", "abcdefghijklmnopqrstuvwxyz", "ABCDEFGHIJKLMNOPQRSTUVWXYZ") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-translate-5[+]
X fn-translate-5: fn:translate("ABCDEFGHIJKLMNOPQRSTUVWXYZ","ABCDEFGHIJKLMNOPQRSTUVWXYZ","abcdefghijklmnopqrstuvwxyz") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-translate-6[+]
X fn-translate-6: fn:count(fn:translate("","","")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-translate-7[+]
X fn-translate-7: fn:translate("ABC", "ABC", "ABC") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-translate-8[+]
X fn-translate-8: fn:translate("123", "123", "123") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-translate-9[+]
X fn-translate-9: fn:translate("123ABC", "123ABC", "123ABC") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-translate-10[+]
X fn-translate-10: fn:translate(fn:string("ABC"), fn:string("ABC"), fn:string("ABC")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-translate-11[+]
X fn-translate-11: fn:string(fn:translate("ABC", "ABC", "ABC")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-translate-12[+]
X fn-translate-12: fn:string-length(fn:translate("ABC","ABC","ABC")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-translate-13[+]
X fn-translate-13: xs:decimal(fn:translate("123","123","123")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-translate-14[+]
X fn-translate-14: xs:integer(fn:translate("123","123","123")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-translate-15[+]
X fn-translate-15: xs:float(fn:translate("123","123","123")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-translate-16[+]
X fn-translate-16: xs:double(fn:translate("123","123","123")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-translate-17[+]
X fn-translate-17: translate("abcd", "𐀁a", "xy") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-translate-18[+]
X fn-translate-18: translate("abcd", "xa", "𐀁y") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-translate-19[+]
X fn-translate-19: translate("abcd𐀄e", "a𐀄e", "XYZ") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-translate-20[+]
X fn-translate-20: translate("abcd𐀄e", "a𐀄e", "𐀆YZ") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-TranslateFunc-1[+]
X K-TranslateFunc-1: translate() |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-TranslateFunc-2[+]
X K-TranslateFunc-2: translate("string", "map string") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-TranslateFunc-3[+]
X K-TranslateFunc-3: translate("arg", "map string", "transString", "wrong param") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-TranslateFunc-4[+]
X K-TranslateFunc-4: translate("--aaa--","-","") eq "aaa" |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-TranslateFunc-5[+]
X K-TranslateFunc-5: translate("--aaa--","bbb++","") eq "--aaa--" |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-TranslateFunc-6[+]
X K-TranslateFunc-6: translate("argstr", "", "matrs") eq "argstr" |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-TranslateFunc-7[+]
X K-TranslateFunc-7: translate((), "map", "trans") eq "" |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-TranslateFunc-8[+]
X K-TranslateFunc-8: translate("abcdabc", "abc", "AB") eq "ABdAB" |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-TranslateFunc-9[+]
X K-TranslateFunc-9: translate("bar","abc","ABC") eq "BAr" |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-TranslateFunc-10[+]
X K-TranslateFunc-10: translate("--aaa--","abc-","ABC") eq "AAA" |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K2-TranslateFunc-1[+]
X K2-TranslateFunc-1: fn:translate("arg", (), "transString") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K2-TranslateFunc-2[+]
X K2-TranslateFunc-2: fn:translate("arg", "mapString", ()) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
cbcl-fn-translate-001[+]
X cbcl-fn-translate-001: boolean(translate(string-join(for $x in 1 to 10 return "blah","-"),exactly-one(("--","==")[position() mod 2 = 0]),"__")) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
cbcl-fn-translate-002[+]
X cbcl-fn-translate-002: translate(codepoints-to-string(65536 to 65537),codepoints-to-string(65536 to 65537),"l") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass |