|
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-namespace-uri-for-prefix | 29/29 | 29/29 | 2/2 | 29/29 | 2/2 | 29/29 | 29/29 | 2/2 | 29/29 | 29/29 | 2/2 | 29/29 | 29/29 | 29/29 | 29/29 | 3/15 |
fn-namespace-uri-for-prefix-1[+]
X fn-namespace-uri-for-prefix-1: let $var := <anElement xmlns:p1 = "http://www.example.com/examples">some context</anElement> return string(fn:namespace-uri-for-prefix("p1",$var)) |
pass | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass | |
fn-namespace-uri-for-prefix-2[+]
X fn-namespace-uri-for-prefix-2: let $var := <anElement xmlns:p1 = "http://www.example.com/examples">some context</anElement> return fn:count(fn:namespace-uri-for-prefix("p2",$var)) |
pass | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass | |
fn-namespace-uri-for-prefix-3[+]
X fn-namespace-uri-for-prefix-3: declare default element namespace "http://www.example.com/defaultspace"; let $var := <anElement xmlns:p1 = "http://www.example.com/examples">some context</anElement> return fn:string(fn:namespace-uri-for-prefix("",$var)) |
pass | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass | |
fn-namespace-uri-for-prefix-4[+]
X fn-namespace-uri-for-prefix-4: declare default element namespace "http://www.example.com/defaultspace"; let $var := <anElement xmlns:p1 = "http://www.example.com/examples">some context</anElement> return fn:string(fn:namespace-uri-for-prefix((), $var)) |
pass | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass | |
fn-namespace-uri-for-prefix-5[+]
X fn-namespace-uri-for-prefix-5: fn:string(fn:namespace-uri-for-prefix("p1",<anElement xmlns:p1 = "http://www.example.com/examples">some context</anElement>)) |
pass | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass | |
fn-namespace-uri-for-prefix-6[+]
X fn-namespace-uri-for-prefix-6: fn:count(fn:namespace-uri-for-prefix("p2",<anElement xmlns:p1 = "http://www.example.com/examples">some context</anElement>)) |
pass | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass | |
fn-namespace-uri-for-prefix-7[+]
X fn-namespace-uri-for-prefix-7: fn:string(fn:namespace-uri-for-prefix(xs:string("p1"),<anElement xmlns:p1 = "http://www.example.com/examples">some context</anElement>)) |
pass | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass | |
fn-namespace-uri-for-prefix-8[+]
X fn-namespace-uri-for-prefix-8: fn:string(fn:namespace-uri-for-prefix(fn:string("p1"),<anElement xmlns:p1 = "http://www.example.com/examples">some context</anElement>)) |
pass | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass | |
fn-namespace-uri-for-prefix-9[+]
X fn-namespace-uri-for-prefix-9: fn:string(fn:namespace-uri-for-prefix(fn:upper-case("p1"),<anElement xmlns:P1 = "http://www.example.com/examples">some context</anElement>)) |
pass | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass | |
fn-namespace-uri-for-prefix-10[+]
X fn-namespace-uri-for-prefix-10: fn:string(fn:namespace-uri-for-prefix(fn:lower-case("P1"),<anElement xmlns:p1 = "http://www.example.com/examples">some context</anElement>)) |
pass | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass | |
fn-namespace-uri-for-prefix-11[+]
X fn-namespace-uri-for-prefix-11: fn:string(fn:namespace-uri-for-prefix(fn:substring("abcp1",4),<anElement xmlns:p1 = "http://www.example.com/examples">some context</anElement>)) |
pass | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass | |
fn-namespace-uri-for-prefix-12[+]
X fn-namespace-uri-for-prefix-12: fn:string(fn:namespace-uri-for-prefix(fn:concat("p","1"),<anElement xmlns:p1 = "http://www.example.com/examples">some context</anElement>)) |
pass | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass | |
fn-namespace-uri-for-prefix-13[+]
X fn-namespace-uri-for-prefix-13: fn:string(fn:namespace-uri-for-prefix(fn:string-join(("p","1"),""),<anElement xmlns:p1 = "http://www.example.com/examples">some context</anElement>)) |
pass | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass | |
fn-namespace-uri-for-prefix-14[+]
X fn-namespace-uri-for-prefix-14: fn:string(fn:namespace-uri-for-prefix(fn:substring-before("p1abc","abc"),<anElement xmlns:p1 = "http://www.example.com/examples">some context</anElement>)) |
pass | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass | |
fn-namespace-uri-for-prefix-15[+]
X fn-namespace-uri-for-prefix-15: fn:string(fn:namespace-uri-for-prefix(fn:substring-after("abcp1","abc"),<anElement xmlns:p1 = "http://www.example.com/examples">some context</anElement>)) |
pass | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass | |
fn-namespace-uri-for-prefix-16[+]
X fn-namespace-uri-for-prefix-16: declare default element namespace "http://www.example.com/defaultnamespace"; fn:count(fn:namespace-uri-for-prefix("p1",<anElement>some context</anElement>)) |
pass | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass | |
fn-namespace-uri-for-prefix-17[+]
X fn-namespace-uri-for-prefix-17: declare default element namespace "http://www.example.com/defaultnamespace"; fn:count(fn:namespace-uri-for-prefix("p1",element anElement {"some content"})) |
pass | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass | |
fn-namespace-uri-for-prefix-18[+]
X fn-namespace-uri-for-prefix-18: declare default element namespace "http://www.example.com/defaultnamespace"; let $var := element anElement {"some content"} return fn:count(fn:namespace-uri-for-prefix("p1",$var)) |
pass | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass | |
fn-namespace-uri-for-prefix-19[+]
X fn-namespace-uri-for-prefix-19: declare default element namespace "http://www.example.com/defaultnamespace"; for $var in (element anElement {"some content"}) return fn:count(fn:namespace-uri-for-prefix("p1",$var)) |
pass | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass | |
fn-namespace-uri-for-prefix-20[+]
X fn-namespace-uri-for-prefix-20: declare default element namespace "http://www.example.com/defaultnamespace"; for $var in element anElement {"some content"} return fn:count(fn:namespace-uri-for-prefix("p1",$var)) |
pass | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass | |
fn-namespace-uri-for-prefix-21[+]
X fn-namespace-uri-for-prefix-21: fn:string(fn:namespace-uri-for-prefix("p1", <anElement xmlns:p1="http://www.example.com/examples" xmlns:p2="http://www.someotherns.com/namespace">some content"</anElement> )) |
pass | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass | |
fn-namespace-uri-for-prefix-22[+]
X fn-namespace-uri-for-prefix-22: fn:namespace-uri-for-prefix("", <e/>) |
pass | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass | |
fn-namespace-uri-for-prefix-23[+]
X fn-namespace-uri-for-prefix-23: fn:namespace-uri-for-prefix((), <e/>) |
pass | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass | |
K-NamespaceURIForPrefixFunc-1[+]
X K-NamespaceURIForPrefixFunc-1: namespace-uri-for-prefix() |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K-NamespaceURIForPrefixFunc-2[+]
X K-NamespaceURIForPrefixFunc-2: namespace-uri-for-prefix("string", (), "wrong param") |
pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | |
K2-NamespaceURIForPrefixFunc-1[+]
X K2-NamespaceURIForPrefixFunc-1: declare namespace p = "http://www.example.com/B"; namespace-uri-for-prefix("", <e xmlns="http://www.example.com/A" xmlns:A="http://www.example.com/C"> <b xmlns:B="http://www.example.com/C" xmlns="http://www.example.com/B"/> </e>/p:b) |
pass | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass | |
K2-NamespaceURIForPrefixFunc-2[+]
X K2-NamespaceURIForPrefixFunc-2: namespace-uri-for-prefix("", exactly-one( <e xmlns="http://www.example.com/A" xmlns:A="http://www.example.com/C"> <b xmlns:B="http://www.example.com/C" xmlns=""/> </e>/b) ) |
pass | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass | |
K2-NamespaceURIForPrefixFunc-3[+]
X K2-NamespaceURIForPrefixFunc-3: declare namespace p = "http://www.example.com/A"; namespace-uri-for-prefix("", <e xmlns="http://www.example.com/A" xmlns:A="http://www.example.com/C"> <b xmlns:B="http://www.example.com/C" /> </e>/p:b) |
pass | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass | |
cbcl-namespace-uri-for-prefix-001[+]
X cbcl-namespace-uri-for-prefix-001: fn:boolean(fn:namespace-uri-for-prefix('', <a />)) |
pass | pass | pass | n/a
notXP20 |
pass | n/a
notXP30 |
pass | n/a | pass | pass | n/a | pass | pass | pass | pass |