|
Implementations | |||||||
Tests | BaseX 8.5 beta XQ31 (QT3 vCVS) |
Saxon-EE 9.7.0.11 XP31 (QT3 v0.6) |
Saxon-EE 9.7.0.11 XQ31 (QT3 v0.6) |
XmlPrime 4.0.0.16079 XP31 (QT3 vCVS) |
XmlPrime 4.0.0.26293 XQ31 (QT3 vCVS) |
XmlPrime 4.0.0.27704 XQX31 (QT3 vCVS) |
|
---|---|---|---|---|---|---|---|
fn-replace | 86/87 | 86/86 | 87/87 | 86/86 | 87/87 | 87/78 | 0/6 |
fn-replace3args-1[+]
X fn-replace3args-1: Created on: 2004-12-13 Spec Dependencies: Test: fn:replace("This is a characte","This is a characte","This is a characte") |
pass | pass | pass | pass | pass | pass | |
fn-replace3args-2[+]
X fn-replace3args-2: Created on: 2004-12-13 Spec Dependencies: Test: fn:replace("This is a characte","This is a characte","This is a characte") |
pass | pass | pass | pass | pass | pass | |
fn-replace3args-3[+]
X fn-replace3args-3: Created on: 2004-12-13 Spec Dependencies: Test: fn:replace("This is a characte","This is a characte","This is a characte") |
pass | pass | pass | pass | pass | pass | |
fn-replace3args-4[+]
X fn-replace3args-4: Created on: 2004-12-13 Spec Dependencies: Test: fn:replace("This is a characte","This is a characte","This is a characte") |
pass | pass | pass | pass | pass | pass | |
fn-replace3args-5[+]
X fn-replace3args-5: Created on: 2004-12-13 Spec Dependencies: Test: fn:replace("This is a characte","This is a characte","This is a characte") |
pass | pass | pass | pass | pass | pass | |
fn-replace3args-6[+]
X fn-replace3args-6: Created on: 2004-12-13 Spec Dependencies: Test: fn:replace("This is a characte","This is a characte","This is a characte") |
pass | pass | pass | pass | pass | pass | |
fn-replace3args-7[+]
X fn-replace3args-7: Created on: 2004-12-13 Spec Dependencies: Test: fn:replace(xs:string("This is a characte"),xs:string("This is a characte"),xs:string("This is a characte")) |
pass | pass | pass | pass | pass | pass | |
fn-replaceErr-1[+]
X fn-replaceErr-1: Created on: 2005-10-04 Spec Dependencies: Test: fn:replace("abracadabra", "bra", "*", "p") |
pass | pass | pass | pass | pass | pass | |
fn-replaceErr-2[+]
X fn-replaceErr-2: Created on: 2005-10-04 Spec Dependencies: Test: fn:replace("abracadabra", "bra", "\") |
pass | pass | pass | pass | pass | pass | |
fn-replaceErr-3[+]
X fn-replaceErr-3: Created on: 2005-10-04 Spec Dependencies: Test: fn:replace("abracadabra", "bra", "$y") |
pass | pass | pass | pass | pass | pass | |
fn-replace-1[+]
X fn-replace-1: Created on: 2005-10-13 Spec Dependencies: Test: replace("abracadabra", "bra", "*") |
pass | pass | pass | pass | pass | pass | |
fn-replace-2[+]
X fn-replace-2: Created on: 2005-10-13 Spec Dependencies: Test: replace("abracadabra", "a.*a", "*") |
pass | pass | pass | pass | pass | pass | |
fn-replace-3[+]
X fn-replace-3: Created on: 2005-10-13 Spec Dependencies: Test: replace("abracadabra", "a.*?a", "*") |
pass | pass | pass | pass | pass | pass | |
fn-replace-4[+]
X fn-replace-4: Created on: 2005-10-13 Spec Dependencies: Test: replace("abracadabra", "a", "") |
pass | pass | pass | pass | pass | pass | |
fn-replace-5[+]
X fn-replace-5: Created on: 2005-10-13 Spec Dependencies: Test: replace("abracadabra", "a(.)", "a$1$1") |
pass | pass | pass | pass | pass | pass | |
fn-replace-6[+]
X fn-replace-6: Created on: 2005-10-13 Spec Dependencies: Test: replace("abracadabra", ".*?", "$1") |
pass | pass | pass | pass | pass | pass | |
fn-replace-7[+]
X fn-replace-7: Created on: 2005-10-13 Spec Dependencies: Test: replace("AAAA", "A+", "b") |
pass | pass | pass | pass | pass | pass | |
fn-replace-8[+]
X fn-replace-8: Created on: 2005-10-13 Spec Dependencies: Test: replace("AAAA", "A+?", "b") |
pass | pass | pass | pass | pass | pass | |
fn-replace-9[+]
X fn-replace-9: Created on: 2005-10-13 Spec Dependencies: Test: replace("darted", "^(.*?)d(.*)$", "$1c$2") |
pass | pass | pass | pass | pass | pass | |
fn-replace-10[+]
X fn-replace-10: Created on: 2005-10-13 Spec Dependencies: Test: fn:replace("abcd", "(ab)|(a)", "[1=$1][2=$2]") |
pass | pass | pass | pass | pass | pass | |
fn-replace-11[+]
X fn-replace-11: Created on: 2005-10-13 Spec Dependencies: Test: fn:count(fn:replace((), "bra", "*")) |
pass | pass | pass | pass | pass | pass | |
fn-replace-12[+]
X fn-replace-12: Created on: 2005-10-13 Spec Dependencies: Test: replace("abracadabra", "bra", "*", "") |
pass | pass | pass | pass | pass | pass | |
fn-replace-13[+]
X fn-replace-13: Created on: 2005-10-13 Spec Dependencies: Test: fn:replace("abracadabra?abracadabra", "\?", "with") |
pass | pass | pass | pass | pass | pass | |
fn-replace-14[+]
X fn-replace-14: Created on: 2005-10-13 Spec Dependencies: Test: fn:replace("abracadabra*abracadabra", "\*", "with") |
pass | pass | pass | pass | pass | pass | |
fn-replace-15[+]
X fn-replace-15: Created on: 2005-10-13 Spec Dependencies: Test: fn:replace("abracadabra+abracadabra", "\+", "with") |
pass | pass | pass | pass | pass | pass | |
fn-replace-16[+]
X fn-replace-16: Created on: 2005-10-13 Spec Dependencies: Test: fn:replace("abracadabra{abracadabra", "\{", "with") |
pass | pass | pass | pass | pass | pass | |
fn-replace-17[+]
X fn-replace-17: Created on: 2005-10-13 Spec Dependencies: Test: fn:replace("abracadabra}abracadabra", "\}", "with") |
pass | pass | pass | pass | pass | pass | |
fn-replace-18[+]
X fn-replace-18: Created on: 2005-10-13 Spec Dependencies: Test: fn:replace("abracadabra(abracadabra", "\(", "with") |
pass | pass | pass | pass | pass | pass | |
fn-replace-19[+]
X fn-replace-19: Created on: 2005-10-13 Spec Dependencies: Test: fn:replace("abracadabra)abracadabra", "\)", "with") |
pass | pass | pass | pass | pass | pass | |
fn-replace-20[+]
X fn-replace-20: Created on: 2005-10-13 Spec Dependencies: Test: fn:replace("abracadabra[abracadabra", "\[", "with") |
pass | pass | pass | pass | pass | pass | |
fn-replace-21[+]
X fn-replace-21: Created on: 2005-10-13 Spec Dependencies: Test: fn:replace("abracadabra]abracadabra", "\]", "with") |
pass | pass | pass | pass | pass | pass | |
fn-replace-22[+]
X fn-replace-22: Created on: 2005-10-14 Spec Dependencies: Test: fn:replace("abracadabra-abracadabra", "\-","with") |
pass | pass | pass | pass | pass | pass | |
fn-replace-23[+]
X fn-replace-23: Created on: 2005-10-14 Spec Dependencies: Test: fn:replace("abracadabra.abracadabra", "\.","with") |
pass | pass | pass | pass | pass | pass | |
fn-replace-24[+]
X fn-replace-24: Created on: 2005-10-14 Spec Dependencies: Test: fn:replace("abracadabra|abracadabra", "\|","with") |
pass | pass | pass | pass | pass | pass | |
fn-replace-25[+]
X fn-replace-25: Created on: 2005-10-14 Spec Dependencies: Test: fn:replace("abracadabra\abracadabra", "\\","with") |
pass | pass | pass | pass | pass | pass | |
fn-replace-26[+]
X fn-replace-26: Created on: 2005-10-14 Spec Dependencies: Test: fn:replace("abracadabra abracadabra", "\t","with") |
pass | pass | pass | pass | pass | pass | |
fn-replace-27[+]
X fn-replace-27: Created on: 2005-10-14 Spec Dependencies: Test: fn:replace("abracadabra abracadabra", "\n","with") |
pass | pass | pass | pass | pass | pass | |
fn-replace-28[+]
X fn-replace-28: Created on: 2005-10-14 Spec Dependencies: Test: fn:replace("abracadabraabracadabra", "aa{1}","with") |
pass | pass | pass | pass | pass | pass | |
fn-replace-29[+]
X fn-replace-29: Created on: 2005-10-14 Spec Dependencies: Test: fn:replace("abracadabraabracadabraabracadabra", "aa{1,}","with") |
pass | pass | pass | pass | pass | pass | |
fn-replace-30[+]
X fn-replace-30: Created on: 2005-10-14 Spec Dependencies: Test: fn:replace("abracadabraabracadabraabracadabra", "aa{1,2}","with") |
pass | pass | pass | pass | pass | pass | |
fn-replace-31[+]
X fn-replace-31: Created on: 2005-10-14 Spec Dependencies: Test: fn:replace("abracadabra^abracadabra", "\^","with") |
pass | pass | pass | pass | pass | pass | |
fn-replace-32[+]
X fn-replace-32: Created on: 2005-10-14 Spec Dependencies: Test: fn:replace("abracadabra", "^a","with") |
pass | pass | pass | pass | pass | pass | |
fn-replace-33[+]
X fn-replace-33: Created on: 2005-10-14 Spec Dependencies: Test: fn:replace("abracadabra", "ww","with") |
pass | pass | pass | pass | pass | pass | |
fn-replace-34[+]
X fn-replace-34: Created on: 2012-01-08 Spec Dependencies: spec = XP30+ XQ30+ Test: fn:replace("abracadabra", "a", "$1", "q") |
pass | pass | pass | pass | pass | pass | |
fn-replace-35[+]
X fn-replace-35: Created on: 2012-01-08 Spec Dependencies: spec = XP30+ XQ30+ Test: fn:replace("a?bracadabra?", "a?", "\$1", "q") |
pass | pass | pass | pass | pass | pass | |
fn-replace-36[+]
X fn-replace-36: Created on: 2012-01-08 Spec Dependencies: spec = XP30+ XQ30+ Test: fn:replace("abracadabra", "([aA])(?:br)([aA])", "$1**$2") |
pass | pass | pass | pass | pass | pass | |
fn-replace-37[+]
X fn-replace-37: Created on: 2012-01-08 Spec Dependencies: Test: fn:replace("abracadabra", "a", "\$") |
pass | pass | pass | pass | pass | pass | |
fn-replace-38[+]
X fn-replace-38: Created on: 2012-01-08 Spec Dependencies: Test: fn:replace("abracadabra", "(a)", "\$$1") |
pass | pass | pass | pass | pass | pass | |
fn-replace-39[+]
X fn-replace-39: Created on: 2012-01-08 Spec Dependencies: Test: fn:replace("abracadabra", "a", "\\") |
pass | pass | pass | pass | pass | pass | |
fn-replace-40[+]
X fn-replace-40: Created on: 2012-01-08 Spec Dependencies: Test: fn:replace("abracadabra", "((((( ((((( (((((a))))) ))))) )))))", "|$1$15|", "x") |
pass | pass | pass | pass | pass | pass | |
fn-replace-41[+]
X fn-replace-41: Created on: 2012-01-08 Spec Dependencies: Test: fn:replace("abracadabra", "((((( ((((( (((((a))))) ))))) )))))", "$1520", "x") |
pass | pass | pass | pass | pass | pass | |
fn-replace-42[+]
X fn-replace-42: Created on: 2012-01-08 Spec Dependencies: Test: fn:replace("abracadabra", "((((( ((((( (((((a)(b))))) ))))) )))))", "($14.$15.$16.$17)", "x") |
pass | pass | pass | pass | pass | pass | |
fn-replace-43[+]
X fn-replace-43: Created on: 2012-09-25 Spec Dependencies: Test: fn:replace(concat('Mary', codepoints-to-string(13), 'Jones'), 'Mary.Jones', 'Jacob Jones') |
pass | pass | pass | pass | pass | pass | |
fn-replace-44[+]
X fn-replace-44: Created on: 2012-09-25 Spec Dependencies: Test: fn:replace(concat('Mary', codepoints-to-string(13), 'Jones'), 'Mary.Jones', 'Jacob Jones', 's') |
pass | pass | pass | pass | pass | pass | |
fn-replace-45[+]
X fn-replace-45: Created on: 2013-05-24 Spec Dependencies: Test: replace("Now, let's SEND OUT for QUICHE!!", "[A-Z][A-Z]+", "$0$0") |
pass | pass | pass | pass | pass | pass | |
fn-replace-46[+]
X fn-replace-46: Created on: 2014-10-07 Spec Dependencies: Test: replace("12-34", "^\d+(-(\d+))?$", "$2") |
pass | pass | pass | pass | pass | pass | |
fn-replace-47[+]
X fn-replace-47: Created on: 2015-06-03 Spec Dependencies: Test: replace('abc', '^.+?(b+)?$', '$1') |
pass | pass | pass | pass | pass | pass | |
fn-replace-48[+]
X fn-replace-48: Created on: 2015-06-03 Spec Dependencies: Test: replace('abcd', '^a(.).$|^a...$', '$1') |
pass | pass | pass | pass | pass | pass | |
fn-replace-49[+]
X fn-replace-49: Created on: 2016-03-09 Spec Dependencies: spec = XP30+ XQ30+ Test: fn:replace("a/b/c", "/", "\", "q") |
pass | pass | pass | pass | pass | pass | |
fn-replace-50[+]
X fn-replace-50: Created on: 2016-03-09 Spec Dependencies: spec = XP30+ XQ30+ Test: fn:replace("a\b\c", "\", "\\", "q") |
pass | pass | pass | pass | pass | pass | |
fn-replace-51[+]
X fn-replace-51: Created on: 2016-03-09 Spec Dependencies: spec = XP30+ XQ30+ Test: fn:replace("a/b/c", "/", "$", "q") |
pass | pass | pass | pass | pass | pass | |
fn-replace-52[+]
X fn-replace-52: Created on: 2016-03-09 Spec Dependencies: spec = XP30+ XQ30+ Test: fn:replace("a/b/c", "/", "$'", "q") |
pass | pass | pass | pass | pass | pass | |
fn-replace-53[+]
X fn-replace-53: Created on: 2016-03-09 Spec Dependencies: spec = XP30+ XQ30+ Test: fn:replace("a/b/c", "/", "$`", "q") |
pass | pass | pass | pass | pass | pass | |
fn-replace-54[+]
X fn-replace-54: Created on: 2016-05-05 Spec Dependencies: Test: fn:replace("abracadabra", "((((( ((((( (((((a))))) ))))) )))))", "$1$1", "x") |
pass | pass | pass | pass | pass | pass | |
fn-replace-55[+]
X fn-replace-55: Created on: 2016-07-31 Spec Dependencies: Test: replace('abcdefghijk', '(a)|(b)|(c)|(d)|(e)|(f)|(g)|(h)|(i)|(j)', '$1') |
no result | pass | pass | pass | pass | pass | |
K-ReplaceFunc-1[+]
X K-ReplaceFunc-1: Created on: 2007-11-26 Spec Dependencies: Test: replace("input", "pattern", "replacement", " ") |
pass | pass | pass | pass | pass | pass | |
K-ReplaceFunc-2[+]
X K-ReplaceFunc-2: Created on: 2007-11-26 Spec Dependencies: Test: replace("input", (), "replacement") |
pass | pass | pass | pass | pass | pass | |
K-ReplaceFunc-3[+]
X K-ReplaceFunc-3: Created on: 2007-11-26 Spec Dependencies: Test: replace("input", "pattern", ()) |
pass | pass | pass | pass | pass | pass | |
K-ReplaceFunc-4[+]
X K-ReplaceFunc-4: Created on: 2007-11-26 Spec Dependencies: Test: replace("input", "pattern", "replacement", "X") |
pass | pass | pass | pass | pass | pass | |
K-ReplaceFunc-5[+]
X K-ReplaceFunc-5: Created on: 2007-11-26 Spec Dependencies: Test: replace("input", "pattern", "replacement", "", ()) |
pass | pass | pass | pass | pass | pass | |
K-ReplaceFunc-6[+]
X K-ReplaceFunc-6: Created on: 2007-11-26 Spec Dependencies: Test: replace("input", "in", "thisIsInvalid\") |
pass | pass | pass | pass | pass | pass | |
K-ReplaceFunc-7[+]
X K-ReplaceFunc-7: Created on: 2007-11-26 Spec Dependencies: Test: replace("input", "(input)", "thisIsInvalid$") |
pass | pass | pass | pass | pass | pass | |
K-ReplaceFunc-8[+]
X K-ReplaceFunc-8: Created on: 2007-11-26 Spec Dependencies: Test: replace("input", "in", "thisIsInvalid\ ") |
pass | pass | pass | pass | pass | pass | |
K-ReplaceFunc-9[+]
X K-ReplaceFunc-9: Created on: 2007-11-26 Spec Dependencies: Test: replace("input", "in", "thisIsInvalid$ ") |
pass | pass | pass | pass | pass | pass | |
K2-ReplaceFunc-1[+]
X K2-ReplaceFunc-1: Created on: 2007-11-26 Spec Dependencies: Test: replace("a a a ", "(a )", "replacment: \1") |
pass | pass | pass | pass | pass | pass | |
K2-ReplaceFunc-2[+]
X K2-ReplaceFunc-2: Created on: 2007-11-26 Spec Dependencies: Test: replace("a a a ", "(a )", "replacment: \1") |
pass | pass | pass | pass | pass | pass | |
K2-ReplaceFunc-3[+]
X K2-ReplaceFunc-3: Created on: 2007-11-26 Spec Dependencies: Test: replace("abcd", "(a)\2(b)", "") |
pass | pass | pass | pass | pass | pass | |
K2-ReplaceFunc-4[+]
X K2-ReplaceFunc-4: Created on: 2007-11-26 Spec Dependencies: Test: replace("abcd", "(asd)[\1]", "") |
pass | pass | pass | pass | pass | pass | |
K2-ReplaceFunc-5[+]
X K2-ReplaceFunc-5: Created on: 2007-11-26 Spec Dependencies: Test: replace("abcd", "(asd)[asd\1]", "") |
pass | pass | pass | pass | pass | pass | |
K2-ReplaceFunc-6[+]
X K2-ReplaceFunc-6: Created on: 2007-11-26 Spec Dependencies: Test: replace("abcd", "(asd)[asd\0]", "") |
pass | pass | pass | pass | pass | pass | |
K2-ReplaceFunc-7[+]
X K2-ReplaceFunc-7: Created on: 2007-11-26 Spec Dependencies: Test: replace("abcd", "1[asd\0]", "") |
pass | pass | pass | pass | pass | pass | |
K2-ReplaceFunc-8[+]
X K2-ReplaceFunc-8: Created on: 2008-06-06 Spec Dependencies: spec = XQ10+ Test: declare function local:doReplace($input as xs:string?, $pattern as xs:string, $replacement as xs:string) as xs:string { fn:replace($input, $pattern, $replacement) }; <result> <para>{fn:replace("ThiY Ybcd.", "Y", "Q")}</para> <para>{local:doReplace("ThiY iY a abYY.", "Y", "Q")}</para> </result>, fn:replace("ThiY abcdY.", "Y", "Q"), local:doReplace("ThiY iY a abYY.", "Y", "Q") |
pass | n/a
notXP31 |
pass | n/a | pass | pass | |
cbcl-fn-replace-001[+]
X cbcl-fn-replace-001: Created on: 2008-06-10 Spec Dependencies: Test: boolean(replace(if(exists((1 to 10)[. mod 2 = 0])) then "blah" else (),"a","e","m")) |
pass | pass | pass | pass | pass | pass | |
cbcl-fn-replace-002[+]
X cbcl-fn-replace-002: Created on: 2008-06-16 Spec Dependencies: Test: replace("a","","b") |
pass | pass | pass | pass | pass | pass | |
cbcl-fn-replace-003[+]
X cbcl-fn-replace-003: Created on: 2008-06-17 Spec Dependencies: Test: replace(string-join(for $x in (1 to 10)[. mod 2 = 0] return string($x),","),"","c") |
pass | pass | pass | pass | pass | pass | |
cbcl-fn-replace-004[+]
X cbcl-fn-replace-004: Created on: 2008-06-17 Spec Dependencies: Test: replace(string-join(for $x in (1 to 10)[. mod 2 = 0] return string($x),","),"","c","m") |
pass | pass | pass | pass | pass | pass | |
cbcl-fn-replace-005[+]
X cbcl-fn-replace-005: Created on: 2008-06-17 Spec Dependencies: Test: replace(string-join(for $x in (1 to 10)[. mod 2 = 0] return string($x),","),"","c","m") |
pass | pass | pass | pass | pass | pass |