Change id: cast-to-list
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) |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Castable-ListType-2[+]
X Castable-ListType-2: xquery version "3.0"; import schema namespace s="http://www.w3.org/XQueryTest/unionListDefined"; "1.1 2.1 3.1" castable as s:intListType1 |
no result | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass |
CastAs-ListType-1[+]
X CastAs-ListType-1: xquery version "3.0"; import schema namespace s="http://www.w3.org/XQueryTest/unionListDefined"; s:decimalListType1("2 2.3") |
no result | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass |
CastAs-ListType-2[+]
X CastAs-ListType-2: xquery version "3.0"; import schema namespace s="http://www.w3.org/XQueryTest/unionListDefined"; s:myRestrictedList1("123 987 567 456") |
no result | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass |
CastAs-ListType-3[+]
X CastAs-ListType-3: xquery version "3.0"; import schema namespace s="http://www.w3.org/XQueryTest/unionListDefined"; s:myRestrictedList1("123 987 567 456 877") |
no result | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
fail |
CastAs-ListType-4[+]
X CastAs-ListType-4: xquery version "3.0"; import schema namespace s="http://www.w3.org/XQueryTest/unionListDefined"; "text1 text2 text3" cast as s:strListType1 |
no result | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass |
CastAs-ListType-5[+]
X CastAs-ListType-5: xquery version "3.0"; import schema namespace s="http://www.w3.org/XQueryTest/unionListDefined"; "1.1 2.1 text3" cast as s:decimalListType1 |
no result | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass |
CastAs-ListType-6[+]
X CastAs-ListType-6: xquery version "3.0"; import schema namespace s="http://www.w3.org/XQueryTest/unionListDefined"; "1.1 2.1 3.1" cast as s:intListType1 |
no result | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass |
CastAs-ListType-7[+]
X CastAs-ListType-7: "a b c" cast as xs:IDREFS |
no result | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XP30+ XQ30+, satisfied=true) was not met. |
pass |
CastAs-ListType-8[+]
X CastAs-ListType-8: xs:IDREFS("") |
no result | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XP30+ XQ30+, satisfied=true) was not met. |
pass |
CastAs-ListType-9[+]
X CastAs-ListType-9: let $f := xs:IDREFS#1 return $f("a b c") |
no result | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XP30+ XQ30+, satisfied=true) was not met. |
pass |
CastAs-ListType-10[+]
X CastAs-ListType-10: let $f := function-lookup(QName('http://www.w3.org/2001/XMLSchema', 'IDREFS'), 1) return $f("a b c") |
no result | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass |
CastAs-ListType-11[+]
X CastAs-ListType-11: let $f := xs:IDREFS(?) return $f("a b c") |
no result | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass |
CastAs-ListType-12[+]
X CastAs-ListType-12: "a b c" cast as xs:NMTOKENS |
no result | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XP30+ XQ30+, satisfied=true) was not met. |
pass |
CastAs-ListType-13[+]
X CastAs-ListType-13: xs:NMTOKENS("") |
no result | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XP30+ XQ30+, satisfied=true) was not met. |
pass |
CastAs-ListType-14[+]
X CastAs-ListType-14: "a b c" cast as xs:ENTITIES |
no result | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XP30+ XQ30+, satisfied=true) was not met. |
pass |
CastAs-ListType-15[+]
X CastAs-ListType-15: xs:ENTITIES(" ") |
no result | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XP30+ XQ30+, satisfied=true) was not met. |
pass |
CastAs-ListType-16[+]
X CastAs-ListType-16: xs:ENTITIES(" a b c 12 ") |
no result | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XP30+ XQ30+, satisfied=true) was not met. |
pass |
CastAs-ListType-17[+]
X CastAs-ListType-17: xs:ENTITIES(xs:anyURI("abcd")) |
no result | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XP30+ XQ30+, satisfied=true) was not met. |
pass |
CastAs-ListType-18[+]
X CastAs-ListType-18: let $f := xs:ENTITIES#1 return $f(xs:anyURI("abcd")) |
no result | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XP30+ XQ30+, satisfied=true) was not met. |
pass |
CastAs-ListType-19[+]
X CastAs-ListType-19: let $f := xs:ENTITIES#1 return $f(($f("abcd"), $f("defg"))) |
no result | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XP30+ XQ30+, satisfied=true) was not met. |
pass |
CastAs-ListType-20[+]
X CastAs-ListType-20: let $v as xs:NMTOKENS := xs:NMTOKENS("a b c") return count($v) |
no result | wrongError
expected: XPST0051 actualCode: XPTY0004 |
pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass |
CastAs-ListType-21[+]
X CastAs-ListType-21: xquery version "3.0"; import schema namespace s="http://www.w3.org/XQueryTest/unionListDefined"; let $result := ("a b xs:integer" cast as s:listOfUnions) return count($result) eq 3 and $result[1] eq "a" and $result[1] instance of xs:NCName and $result[1] instance of s:sensitiveUnion |
no result | fail | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass |
CastAs-ListType-22[+]
X CastAs-ListType-22: xquery version "3.0"; import schema namespace s="http://www.w3.org/XQueryTest/unionListDefined"; ("123 987 567 456") cast as s:myRestrictedList1 |
no result | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass |
CastAs-ListType-23[+]
X CastAs-ListType-23: xquery version "3.0"; import schema namespace s="http://www.w3.org/XQueryTest/unionListDefined"; ("123 987 567 456 877") cast as s:myRestrictedList1 |
no result | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
fail |
CastAs-ListType-24[+]
X CastAs-ListType-24: xquery version "3.0"; import schema namespace s="http://www.w3.org/XQueryTest/unionListDefined"; let $f := function-lookup(QName('http://www.w3.org/XQueryTest/unionListDefined', 'myRestrictedList1'), 1) return $f("123 987 567 456") |
no result | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass |
CastAs-ListType-25[+]
X CastAs-ListType-25: xquery version "3.0"; import schema namespace s="http://www.w3.org/XQueryTest/unionListDefined"; s:myRestrictedList1("123 987 567 456 877") |
no result | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
fail |
CastAs-ListType-26[+]
X CastAs-ListType-26: xquery version "3.0"; import schema namespace s="http://www.w3.org/XQueryTest/unionListDefined"; let $f as function(xs:string) as xs:integer* := function-lookup(QName('http://www.w3.org/XQueryTest/unionListDefined', 'myRestrictedList1'), 1) return $f("123 987 567 456") |
no result | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
fail |
CastAs-ListType-27[+]
X CastAs-ListType-27: let $f as function(xs:anyAtomicType) as xs:NMTOKEN* := xs:NMTOKENS#1 let $v as xs:NMTOKEN* := $f("a b c") return count($v) |
no result | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
fail |
CastAs-ListType-28[+]
X CastAs-ListType-28: "a b c" castable as xs:NMTOKENS |
no result | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass |
CastAs-ListType-29[+]
X CastAs-ListType-29: "a b 12" castable as xs:IDREFS |
no result | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass |
CastAs-ListType-30[+]
X CastAs-ListType-30: " " castable as xs:NMTOKENS |
no result | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass |
CastAs-ListType-31[+]
X CastAs-ListType-31: xquery version "3.0"; import schema namespace s="http://www.w3.org/XQueryTest/unionListDefined"; "123 987 567 456 229" castable as s:myRestrictedList1 |
no result | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
fail |
CastAs-ListType-32[+]
X CastAs-ListType-32: xquery version "3.0"; import schema namespace s="http://www.w3.org/XQueryTest/unionListDefined"; " 123 987 567 456 " castable as s:myRestrictedList1 |
no result | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass |
FunctionCall-009[+]
X FunctionCall-009: declare function local:f($in as xs:decimal*) as xs:decimal {sum($in, 0.0)}; local:f(xs:NMTOKENS('1 1.2 1.3 1.4')!xs:untypedAtomic(.)) |
pass | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass |
FunctionCall-011[+]
X FunctionCall-011: codepoints-to-string(xs:NMTOKENS('48 49 50 51')!xs:untypedAtomic(.)) |
no result | n/a | no result | n/a
notXP20 |
n/a
notXQ10 |
pass | n/a
notXQ30 |
pass | n/a | n/a | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XP30+, satisfied=true) was not met. |
n/a
Dependency (type=spec, value=XP30+, satisfied=true) was not met. |
FunctionCall-012[+]
X FunctionCall-012: codepoints-to-string(xs:NMTOKENS('30 31 32 33')) |
no result | n/a | no result | n/a
notXP20 |
n/a
notXQ10 |
pass | n/a
notXQ30 |
pass | n/a | n/a | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XP30+, satisfied=true) was not met. |
n/a
Dependency (type=spec, value=XP30+, satisfied=true) was not met. |