|
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-lang | 36/36 | 36/36 | 28/28 | 36/36 | 28/28 | 36/36 | 36/36 | 28/28 | 36/36 | 36/36 | 28/28 | 36/36 | 36/36 | 36/36 | 36/36 | 3/15 |
fn-lang1args-1[+]
X fn-lang1args-1: fn:lang(xs:string("en"),/root[1]/time[1]) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-lang1args-2[+]
X fn-lang1args-2: fn:lang(xs:string("EN"),./root[1]/time[1]) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-lang1args-3[+]
X fn-lang1args-3: fn:lang(xs:string("eN"),./root[1]/time[1]) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-lang-1[+]
X fn-lang-1: declare namespace eg = "http://example.org"; declare function eg:noContextFunction() { fn:lang("en") }; eg:noContextFunction() |
pass | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass | |
fn-lang-2[+]
X fn-lang-2: fn:count(fn:lang((), ./langs[1]/para[1])) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-lang-3[+]
X fn-lang-3: for $x in /langs/para[1] return $x/fn:lang("en") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-lang-4[+]
X fn-lang-4: for $x in /langs/div[1]/para return $x/fn:lang("en") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-lang-5[+]
X fn-lang-5: for $x in /langs/para[2] return $x/fn:lang("EN") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-lang-6[+]
X fn-lang-6: for $x in /langs/para[2] return $x/fn:lang("En") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-lang-7[+]
X fn-lang-7: for $x in /langs/para[2] return $x/fn:lang("eN") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-lang-8[+]
X fn-lang-8: for $x in /langs/para[2] return $x/fn:lang("en") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-lang-9[+]
X fn-lang-9: for $x in /langs/para[3] return $x/fn:lang("en-us") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-lang-10[+]
X fn-lang-10: for $x in /langs/para[3] return $x/fn:lang("EN") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-lang-11[+]
X fn-lang-11: for $x in /langs/para[3] return $x/fn:lang("En") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-lang-12[+]
X fn-lang-12: for $x in /langs/para[3] return $x/fn:lang("eN") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-lang-13[+]
X fn-lang-13: for $x in /langs/para[3] return $x/fn:lang("en") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-lang-14[+]
X fn-lang-14: for $x in /langs/para[3] return $x/fn:lang("en-us") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-lang-15[+]
X fn-lang-15: 1[fn:lang("en-us")] |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-lang-16[+]
X fn-lang-16: for $x in /langs/para[3] return $x/fn:lang("us-us") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-lang-17[+]
X fn-lang-17: for $x in /langs/para[2] return $x/fn:lang("fr") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-lang-18[+]
X fn-lang-18: fn:lang("en",fn:exactly-one(/langs/para[1])) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-lang-19[+]
X fn-lang-19: fn:lang("fr",fn:exactly-one(/langs/para[1])) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-lang-20[+]
X fn-lang-20: fn:lang("en",fn:exactly-one(/langs/para[3])) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-lang-21[+]
X fn-lang-21: fn:lang("en",fn:exactly-one(/langs/para[2])) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
fn-lang-22[+]
X fn-lang-22: fn:lang("en",.) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-NodeLangFunc-1[+]
X K-NodeLangFunc-1: lang() |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-NodeLangFunc-2[+]
X K-NodeLangFunc-2: if(false()) then lang("en", .) else true() |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-NodeLangFunc-3[+]
X K-NodeLangFunc-3: if(false()) then lang("en") else true() |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-NodeLangFunc-4[+]
X K-NodeLangFunc-4: lang("en", 2) |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K2-NodeLangFunc-1[+]
X K2-NodeLangFunc-1: let $i := <e xml:lang="en"> <b xml:lang="de"/> </e> return (lang("de", $i/b), lang("de", $i)) |
pass | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass | |
K2-NodeLangFunc-2[+]
X K2-NodeLangFunc-2: let $i := <e xml:lang="en"> <b xml:lang="de"/> </e> return lang("de", $i/b/@xml:lang) |
pass | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass | |
K2-NodeLangFunc-3[+]
X K2-NodeLangFunc-3: lang("de", attribute xml:lang {()}) |
pass | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass | |
K2-NodeLangFunc-4[+]
X K2-NodeLangFunc-4: lang("en", <e xml:lang="ene"/>) |
pass | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass | |
K2-NodeLangFunc-5[+]
X K2-NodeLangFunc-5: fn:lang("fr", attribute xml:lang {"fr"}) |
pass | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass | |
K2-NodeLangFunc-6[+]
X K2-NodeLangFunc-6: fn:lang("fr", attribute xml:lang {()}) |
pass | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass | |
cbcl-fn-lang-001[+]
X cbcl-fn-lang-001: if(current-date() > xs:date("2000-01-01")) then lang("en",<a/>) else () |
pass | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |