|
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-load-xquery-module* | 0/82 | 54/55 | 66/68 | 0/0 | 82/82 | 82/0 | 0/6 |
fn-load-xquery-module-001[+]
X fn-load-xquery-module-001: Created on: 2015-02-01 Spec Dependencies: spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: fn:load-xquery-module("") |
fail | pass | pass | n/a | pass | pass | |
fn-load-xquery-module-002[+]
X fn-load-xquery-module-002: Created on: 2015-02-01 Spec Dependencies: spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: fn:load-xquery-module("", map{}) |
fail | pass | pass | n/a | pass | pass | |
fn-load-xquery-module-003[+]
X fn-load-xquery-module-003: Created on: 2015-02-01 Spec Dependencies: spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: fn:load-xquery-module("http://nonexistent/module") |
fail | pass | pass | n/a | pass | pass | |
fn-load-xquery-module-004[+]
X fn-load-xquery-module-004: Created on: 2015-02-01 Spec Dependencies: spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: fn:load-xquery-module("http://nonexistent/module", map{}) |
fail | pass | pass | n/a | pass | pass | |
fn-load-xquery-module-005[+]
X fn-load-xquery-module-005: Created on: 2015-02-01 Spec Dependencies: spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: fn:load-xquery-module("http://www.w3.org/fots/fn/load-xquery-module/invalid/module") |
fail | pass | pass | n/a | pass | pass | |
fn-load-xquery-module-006[+]
X fn-load-xquery-module-006: Created on: 2015-02-01 Spec Dependencies: spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: fn:load-xquery-module("http://www.w3.org/fots/fn/load-xquery-module/invalid/module", map{}) |
fail | pass | pass | n/a | pass | pass | |
fn-load-xquery-module-007[+]
X fn-load-xquery-module-007: Created on: 2015-02-01 Spec Dependencies: spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: let $module-ns := "http://www.w3.org/fots/fn/load-xquery-module/external-var/module", $module := fn:load-xquery-module($module-ns) return $module("variables")(QName($module-ns,'var1')) |
fail | wrongError
Expected error:XPDY0002, got err:FOQM0004 |
wrongError
Expected error:XPDY0002, got err:FOQM0004 |
n/a | pass | pass | |
fn-load-xquery-module-008[+]
X fn-load-xquery-module-008: Created on: 2015-02-01 Spec Dependencies: spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: let $module-ns := "http://www.w3.org/fots/fn/load-xquery-module/external-var/module", $module := fn:load-xquery-module($module-ns, map{}) return $module("variables")(QName($module-ns,'var1')) |
fail | wrongError
Expected error:XPDY0002, got err:FOQM0004 |
wrongError
Expected error:XPDY0002, got err:FOQM0004 |
n/a | pass | pass | |
fn-load-xquery-module-009[+]
X fn-load-xquery-module-009: Created on: 2015-02-01 Spec Dependencies: spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: let $module-ns := "http://www.w3.org/fots/fn/load-xquery-module/context-item/module", $module := fn:load-xquery-module($module-ns) return $module("variables")(QName($module-ns,'context')) |
fail | wrongError
Expected error:XPDY0002, got err:FOQM0004 |
wrongError
Expected error:XPDY0002, got err:FOQM0004 |
n/a | pass | pass | |
fn-load-xquery-module-010[+]
X fn-load-xquery-module-010: Created on: 2015-02-01 Spec Dependencies: spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: let $module-ns := "http://www.w3.org/fots/fn/load-xquery-module/context-item/module", $module := fn:load-xquery-module($module-ns, map{}) return $module("variables")(QName($module-ns,'context')) |
fail | wrongError
Expected error:XPDY0002, got err:FOQM0004 |
wrongError
Expected error:XPDY0002, got err:FOQM0004 |
n/a | pass | pass | |
fn-load-xquery-module-011[+]
X fn-load-xquery-module-011: Created on: 2015-02-01 Spec Dependencies: spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: fn:load-xquery-module("http://www.w3.org/fots/fn/load-xquery-module/external-var/module", map {"variables" : map { QName("http://www.w3.org/fots/fn/load-xquery-module/external-var/module", "var1") : 1234 }}) |
fail | pass | pass | n/a | pass | pass | |
fn-load-xquery-module-012[+]
X fn-load-xquery-module-012: Created on: 2015-02-01 Spec Dependencies: spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: let $module-ns :="http://www.w3.org/fots/fn/load-xquery-module/dynamic-error/module", $module := fn:load-xquery-module($module-ns) return $module('variables')(QName($module-ns, "cause-dynamic-error")) |
fail | pass | pass | n/a | pass | pass | |
fn-load-xquery-module-013[+]
X fn-load-xquery-module-013: Created on: 2015-02-01 Spec Dependencies: spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: fn:load-xquery-module("http://www.w3.org/fots/fn/load-xquery-module/dynamic-error/module", map{}) |
fail | pass | pass | n/a | pass | pass | |
fn-load-xquery-module-014[+]
X fn-load-xquery-module-014: Created on: 2015-02-01 Spec Dependencies: spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: let $module-ns := "http://www.w3.org/fots/fn/load-xquery-module/valid/module", $module := fn:load-xquery-module($module-ns) return let $vars := $module("variables"), $fns := $module("functions") return let $var-values := ($vars(QName($module-ns, "var1")), $vars(QName($module-ns, "var2"))), $fns-values := ($fns(QName($module-ns, "func1"))(0)(), $fns(QName($module-ns, "func2"))(0)()) return ($var-values, $fns-values) |
fail | pass | pass | n/a | pass | pass | |
fn-load-xquery-module-015[+]
X fn-load-xquery-module-015: Created on: 2015-02-01 Spec Dependencies: spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: let $qn-var1 := QName("http://www.w3.org/fots/fn/load-xquery-module/external-var/module", "var1"), $test-value := "some value" return let $module := fn:load-xquery-module("http://www.w3.org/fots/fn/load-xquery-module/external-var/module", map {"variables" : map { $qn-var1 : $test-value }}) return $module("variables")($qn-var1) |
fail | pass | pass | n/a | pass | pass | |
fn-load-xquery-module-016[+]
X fn-load-xquery-module-016: Created on: 2015-02-01 Spec Dependencies: spec = XQ31+ spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: let $module := fn:load-xquery-module("http://www.w3.org/fots/fn/load-xquery-module/context-item/module", map{"context-item" : <a><b>hello</b></a>}) return let $f := $module("functions")(QName("http://www.w3.org/fots/fn/load-xquery-module/context-item/module", "get-context-child"))(0) return $f() |
fail | n/a
notXP31 |
pass | n/a | pass | pass | |
fn-load-xquery-module-017[+]
X fn-load-xquery-module-017: Created on: 2015-05-13 Spec Dependencies: spec = XQ31+ spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: let $module := fn:load-xquery-module("http://www.w3.org/fots/fn/load-xquery-module/context-item/module", map{"context-item" : <a><b>hello</b></a>}) return $module("variables")(QName("http://www.w3.org/fots/fn/load-xquery-module/context-item/module", "context")) |
fail | n/a
notXP31 |
pass | n/a | pass | pass | |
fn-load-xquery-module-018[+]
X fn-load-xquery-module-018: Created on: 2015-05-13 Spec Dependencies: spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: let $module-ns := "http://www.w3.org/fots/fn/load-xquery-module/functions/module", $module := fn:load-xquery-module($module-ns) return let $fns := $module("functions") return let $fns-values := ($fns(QName($module-ns, "func1"))(0)(), $fns(QName($module-ns, "func2"))(0)()) return $fns-values |
fail | pass | pass | n/a | pass | pass | |
fn-load-xquery-module-019[+]
X fn-load-xquery-module-019: Created on: 2015-05-13 Spec Dependencies: spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: let $module-ns := "http://www.w3.org/fots/fn/load-xquery-module/functions/module", $module := fn:load-xquery-module($module-ns) return let $fns := $module("functions") return let $fns-values := ($fns(QName($module-ns, "func1"))(0)(), $fns(QName($module-ns, "func1"))(1)("something"), $fns(QName($module-ns, "func2"))(0)(), $fns(QName($module-ns, "func2"))(1)("something")) return $fns-values |
fail | pass | pass | n/a | pass | pass | |
fn-load-xquery-module-020[+]
X fn-load-xquery-module-020: Created on: 2015-05-14 Spec Dependencies: spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: let $qn-var1 := QName("http://www.w3.org/fots/fn/load-xquery-module/external-vars/module", "var1"), $qn-var2 := QName("http://www.w3.org/fots/fn/load-xquery-module/external-vars/module", "var2"), $qn-var3 := QName("http://www.w3.org/fots/fn/load-xquery-module/external-vars/module", "var3") return let $module := fn:load-xquery-module("http://www.w3.org/fots/fn/load-xquery-module/external-vars/module", map {"variables" : map { $qn-var1 : "some value", $qn-var2 : 42, $qn-var3 : map{"a":1,"b":2,"c":(3,4,5)} }}) return ($module("variables")($qn-var1), $module("variables")($qn-var2), $module("variables")($qn-var3)("b")) |
fail | pass | pass | n/a | pass | pass | |
fn-load-xquery-module-021[+]
X fn-load-xquery-module-021: Created on: 2015-05-14 Spec Dependencies: spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: let $qn-var1 := QName("http://www.w3.org/fots/fn/load-xquery-module/external-vars/module", "var1"), $qn-var2 := QName("http://www.w3.org/fots/fn/load-xquery-module/external-vars/module", "var2"), $qn-var3 := QName("http://www.w3.org/fots/fn/load-xquery-module/external-vars/module", "var3"), $qn-var4 := QName("http://www.w3.org/fots/fn/load-xquery-module/external-vars/module", "var4") return let $module := fn:load-xquery-module("http://www.w3.org/fots/fn/load-xquery-module/external-vars/module", map {"variables" : map { $qn-var2 : 42, $qn-var3 : map{"a":1,"b":2,"c":(3,4,5)}, $qn-var4 : "the other" }}) return ($module("variables")($qn-var1), $module("variables")($qn-var2), $module("variables")($qn-var3)("b"), $module("variables")($qn-var4)) |
fail | pass | pass | n/a | pass | pass | |
fn-load-xquery-module-022[+]
X fn-load-xquery-module-022: Created on: 2015-06-01 Spec Dependencies: spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: let $module := fn:load-xquery-module("http://www.w3.org/fots/fn/load-xquery-module/import-func/module") return $module("functions")(QName("http://www.w3.org/fots/fn/load-xquery-module/valid/module", "func1")) |
fail | pass | pass | n/a | pass | pass | |
fn-load-xquery-module-023[+]
X fn-load-xquery-module-023: Created on: 2015-05-18 Spec Dependencies: spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: let $module-ns := "http://www.w3.org/fots/fn/load-xquery-module/import/module", $module := fn:load-xquery-module($module-ns), $mod1-ns := "http://www.w3.org/TestModules/module1" return let $fns := $module("functions") return $fns(QName($mod1-ns, "x"))(0)() |
fail | pass | pass | n/a | pass | pass | |
fn-load-xquery-module-024[+]
X fn-load-xquery-module-024: Created on: 2015-05-18 Spec Dependencies: spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: let $module-ns := "http://www.w3.org/fots/fn/load-xquery-module/import/module", $module := fn:load-xquery-module($module-ns), $mod1-ns := "http://www.w3.org/TestModules/module1", $mod2-ns := "http://www.w3.org/TestModules/module2" return let $fns := $module("functions") return $fns(QName($mod2-ns, "y"))(0)() |
fail | pass | pass | n/a | pass | pass | |
fn-load-xquery-module-025[+]
X fn-load-xquery-module-025: Created on: 2015-06-01 Spec Dependencies: spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: let $module := fn:load-xquery-module("http://www.w3.org/fots/fn/load-xquery-module/import-vars/module") return $module("variables")(QName("http://www.w3.org/fots/fn/load-xquery-module/valid/module", "var1")) |
fail | pass | pass | n/a | pass | pass | |
fn-load-xquery-module-026[+]
X fn-load-xquery-module-026: Created on: 2015-06-01 Spec Dependencies: spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: let $qn-var1 := QName("http://www.w3.org/fots/fn/load-xquery-module/external-vars/module", "var1") return let $module := fn:load-xquery-module("http://www.w3.org/fots/fn/load-xquery-module/import-vars/module", map {"variables" : map { $qn-var1 : "that" }}) return $module("variables")(QName("http://www.w3.org/fots/fn/load-xquery-module/import-vars/module", "var1")) |
fail | pass | pass | n/a | pass | pass | |
fn-load-xquery-module-027[+]
X fn-load-xquery-module-027: Created on: 2015-06-01 Spec Dependencies: spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: let $qn-var1 := QName("http://www.w3.org/fots/fn/load-xquery-module/external-vars/module", "var1") return let $module := fn:load-xquery-module("http://www.w3.org/fots/fn/load-xquery-module/import/module", map {"variables" : map { $qn-var1 : "that" }}) return $module("variables")(QName("http://www.w3.org/fots/fn/load-xquery-module/import/module", "var1")) |
fail | pass | pass | n/a | pass | pass | |
fn-load-xquery-module-028[+]
X fn-load-xquery-module-028: Created on: 2015-06-01 Spec Dependencies: spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: let $module-ns := "http://www.w3.org/fots/fn/load-xquery-module/import-vars/module", $module-ext := "http://www.w3.org/fots/fn/load-xquery-module/external-vars/module" return let $module := fn:load-xquery-module($module-ns, map {"variables" : map {QName($module-ext, "var3") : map{}}}) return $module("functions")(QName($module-ns, "and"))(0)() |
fail | pass | pass | n/a | pass | pass | |
fn-load-xquery-module-029[+]
X fn-load-xquery-module-029: Created on: 2015-06-01 Spec Dependencies: spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: let $module := fn:load-xquery-module("http://www.w3.org/fots/fn/load-xquery-module/import-self/module") return $module("variables")(QName("http://www.w3.org/fots/fn/load-xquery-module/import-self/module", "var1")) |
fail | pass | pass | n/a | pass | pass | |
fn-load-xquery-module-030[+]
X fn-load-xquery-module-030: Created on: 2015-06-01 Spec Dependencies: spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: let $module := fn:load-xquery-module("http://www.w3.org/TestModules/test1") return $module("functions")(QName("http://www.w3.org/TestModules/test1", "ok"))(0)() |
fail | pass | pass | n/a | pass | pass | |
fn-load-xquery-module-031[+]
X fn-load-xquery-module-031: Created on: 2015-06-01 Spec Dependencies: spec = XQ31+ spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: import module namespace vm="http://www.w3.org/fots/fn/load-xquery-module/valid/module"; let $module-ns := "http://www.w3.org/fots/fn/load-xquery-module/valid/module" let $module := fn:load-xquery-module($module-ns) return ($module("functions")(QName($module-ns, "func1"))(0)(), vm:func2()) |
fail | n/a
notXP31 |
pass | n/a | pass | pass | |
fn-load-xquery-module-032[+]
X fn-load-xquery-module-032: Created on: 2015-06-01 Spec Dependencies: spec = XQ31+ spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: import module namespace evm="http://www.w3.org/fots/fn/load-xquery-module/external-vars/module"; let $module-ns := "http://www.w3.org/fots/fn/load-xquery-module/external-vars/module" let $module := fn:load-xquery-module($module-ns, map {"variables" : map {QName($module-ns, "var1") : "that", QName($module-ns, "var3") : map{1:'b'}}}) return ($module("functions")(QName($module-ns, "get-var1"))(0)(), evm:get-var1(), $module("variables")(QName($module-ns, "var3"))?1, $evm:var3(1) ) |
fail | no result | no result | n/a | pass | pass | |
fn-load-xquery-module-033[+]
X fn-load-xquery-module-033: Created on: 2015-06-04 Spec Dependencies: spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: let $module-ns := "http://www.w3.org/fots/fn/load-xquery-module/external-vars/module", $qn-var1 := QName($module-ns, "var1"), $qn-var2 := QName($module-ns, "var2"), $qn-var3 := QName($module-ns, "var3") return let $module1 := fn:load-xquery-module($module-ns, map {"variables" : map { $qn-var1 : "some value", $qn-var2 : 42, $qn-var3 : map{"a":1,"b":2,"c":(3,4,5)} }}), $module2 := fn:load-xquery-module($module-ns, map {"variables" : map { $qn-var1 : "another value", $qn-var3 : map{"a":14,"b":"different"} }}) return ($module1("variables")($qn-var1), $module1("variables")($qn-var2), $module1("variables")($qn-var3)("b"), $module1("functions")(QName($module-ns, "get-var1"))(0)(), $module1("functions")(QName($module-ns, "get-var2"))(0)(), $module2("variables")($qn-var1), $module2("variables")($qn-var2), $module2("variables")($qn-var3)("b"), $module2("functions")(QName($module-ns, "get-var1"))(0)(), $module2("functions")(QName($module-ns, "get-var2"))(0)()) |
fail | pass | pass | n/a | pass | pass | |
fn-load-xquery-module-034[+]
X fn-load-xquery-module-034: Created on: 2015-06-04 Spec Dependencies: spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: let $module-ns := "http://www.w3.org/fots/fn/load-xquery-module/external-vars/module", $qn-var1 := QName($module-ns, "var1"), $qn-var2 := QName($module-ns, "var2"), $qn-var3 := QName($module-ns, "var3") return let $module := fn:load-xquery-module("http://www.w3.org/fots/fn/load-xquery-module/external-vars/module", map {"variables" : map { $qn-var1 : "some value", $qn-var2 : 42, $qn-var3 : fn:load-xquery-module("http://www.w3.org/fots/fn/load-xquery-module/external-vars/module", map {"variables" : map { $qn-var1 : " a string", $qn-var3 : map{} }}) }}) return ($module("variables")($qn-var1), $module("variables")($qn-var2), $module("variables")($qn-var3)("functions")(QName($module-ns, "get-var1"))(0)(), $module("variables")($qn-var3)("functions")(QName($module-ns, "get-var2"))(0)() ) |
fail | pass | pass | n/a | pass | pass | |
fn-load-xquery-module-035[+]
X fn-load-xquery-module-035: Created on: 2015-06-04 Spec Dependencies: spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: let $module-ns := "http://www.w3.org/fots/fn/load-xquery-module/load/module", $module-valid-ns := "http://www.w3.org/fots/fn/load-xquery-module/load/module", $module := fn:load-xquery-module($module-ns) return $module("variables")(QName($module-ns, "var3"))("variables") |
fail | pass | pass | n/a | pass | pass | |
fn-load-xquery-module-036[+]
X fn-load-xquery-module-036: Created on: 2015-06-04 Spec Dependencies: spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: let $module-ns := "http://www.w3.org/fots/fn/load-xquery-module/load/module", $module-valid-ns := "http://www.w3.org/fots/fn/load-xquery-module/valid/module", $module := fn:load-xquery-module($module-ns) return ($module("functions")(QName($module-ns, "get-var1"))(0)(), $module("variables")(QName($module-ns, "var1")), $module("variables")(QName($module-ns, "var3"))("variables")(QName($module-valid-ns, "var1")), $module("variables")(QName($module-ns, "var3"))("functions")(QName($module-valid-ns, "func1"))(0)()) |
fail | pass | pass | n/a | pass | pass | |
fn-load-xquery-module-037[+]
X fn-load-xquery-module-037: Created on: 2015-06-04 Spec Dependencies: spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: let $module-ns := "http://www.w3.org/fots/fn/load-xquery-module/load-self/module", $module := fn:load-xquery-module($module-ns, map {"variables" : map { QName($module-ns, "b") : true()}}) return $module("variables")(QName($module-ns, "var1"))("variables")(QName($module-ns, "var1")) |
fail | pass | pass | n/a | pass | pass | |
fn-load-xquery-module-038[+]
X fn-load-xquery-module-038: Created on: 2015-06-04 Spec Dependencies: spec = XQ31+ spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: import module namespace test="http://www.w3.org/fots/fn/load-xquery-module/load-self/module"; ($test:b, ($test:var1)("variables")(QName("http://www.w3.org/fots/fn/load-xquery-module/load-self/module", "b")), ($test:var1)("variables")(QName("http://www.w3.org/fots/fn/load-xquery-module/load-self/module", "var1"))) |
fail | n/a
environment dependencies not satisfied |
pass | n/a | pass | pass | |
fn-load-xquery-module-040[+]
X fn-load-xquery-module-040: Created on: 2015-05-29 Spec Dependencies: spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: let $module-ns := "http://www.w3.org/fots/fn/load-xquery-module/decimal-format/module", $module := fn:load-xquery-module($module-ns) return let $fns := $module("functions") return $fns(QName($module-ns, "func"))(1)(1234567.765) |
fail | pass | pass | n/a | pass | pass | |
fn-load-xquery-module-041[+]
X fn-load-xquery-module-041: Created on: 2015-05-29 Spec Dependencies: spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: let $module-ns := "http://www.w3.org/fots/fn/load-xquery-module/functions/module" return fn:load-xquery-module($module-ns)("functions")(QName($module-ns, "func"))(1)((1,2,3)) |
fail | pass | pass | n/a | pass | pass | |
fn-load-xquery-module-042[+]
X fn-load-xquery-module-042: Created on: 2015-05-29 Spec Dependencies: spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: let $module-ns := "http://www.w3.org/fots/fn/load-xquery-module/functions/module" return fn:load-xquery-module($module-ns)("functions")(QName($module-ns, "func"))(1)((1,2,3)) |
fail | pass | pass | n/a | pass | pass | |
fn-load-xquery-module-043[+]
X fn-load-xquery-module-043: Created on: 2015-05-29 Spec Dependencies: spec = XQ31+ spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: declare default order empty greatest; declare namespace test = "http://www.w3.org/fots/fn/load-xquery-module/test"; declare function test:func($seq as item()*) { for $i in 1 to 5 let $x := subsequence($seq, $i, 1) order by $x return count($x) }; let $module-ns := "http://www.w3.org/fots/fn/load-xquery-module/functions/module" return (fn:load-xquery-module($module-ns)("functions")(QName($module-ns, "func"))(1)((1,2,3)), test:func((1,2,3))) |
fail | n/a
notXP31 |
pass | n/a | pass | pass | |
fn-load-xquery-module-044[+]
X fn-load-xquery-module-044: Created on: 2015-05-29 Spec Dependencies: spec = XQ31+ spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: declare default order empty least; declare namespace test = "http://www.w3.org/fots/fn/load-xquery-module/test"; declare function test:func($seq as item()*) { for $i in 1 to 5 let $x := subsequence($seq, $i, 1) order by $x return count($x) }; let $module-ns := "http://www.w3.org/fots/fn/load-xquery-module/functions/module" return (fn:load-xquery-module($module-ns)("functions")(QName($module-ns, "func"))(1)((1,2,3)), test:func((1,2,3))) |
fail | n/a
notXP31 |
pass | n/a | pass | pass | |
fn-load-xquery-module-045[+]
X fn-load-xquery-module-045: Created on: 2015-06-02 Spec Dependencies: spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: let $module-ns := "http://www.w3.org/fots/fn/load-xquery-module/functions/module" return fn:load-xquery-module($module-ns)("functions")(QName($module-ns, "func"))(1)("abc") |
fail | pass | pass | n/a | pass | pass | |
fn-load-xquery-module-046[+]
X fn-load-xquery-module-046: Created on: 2015-06-02 Spec Dependencies: spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: let $module-ns := "http://www.w3.org/fots/fn/load-xquery-module/functions/module" return fn:load-xquery-module($module-ns)("functions")(QName($module-ns, "func"))(1)("abc") |
fail | pass | pass | n/a | pass | pass | |
fn-load-xquery-module-050[+]
X fn-load-xquery-module-050: Created on: 2015-06-02 Spec Dependencies: feature = schemaImport spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: let $module-ns := "http://www.w3.org/fots/fn/load-xquery-module/import-schema/module", $module := fn:load-xquery-module($module-ns) return $module("functions")(QName($module-ns, "hatsize"))(1)(8) |
no result | pass | pass | n/a | pass | pass | |
fn-load-xquery-module-051[+]
X fn-load-xquery-module-051: Created on: 2015-06-02 Spec Dependencies: feature = schemaImport spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: let $module-ns := "http://www.w3.org/fots/fn/load-xquery-module/import-schema/module", $module := fn:load-xquery-module($module-ns) return $module("functions")(QName($module-ns, "validate-ok"))(0)() |
no result | pass | pass | n/a | pass | pass | |
fn-load-xquery-module-052[+]
X fn-load-xquery-module-052: Created on: 2015-06-02 Spec Dependencies: spec = XQ31+ feature = schemaImport spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: declare default element namespace "http://www.w3.org/XQueryTest/abf"; let $module-ns := "http://www.w3.org/fots/fn/load-xquery-module/import-schema/module" let $module := fn:load-xquery-module($module-ns) let $c := (<a/>,<b/>,<f/>) return $module("functions")(QName($module-ns, "validate"))(1)($c) |
no result | n/a
notXP31 |
pass | n/a | pass | pass | |
fn-load-xquery-module-053[+]
X fn-load-xquery-module-053: Created on: 2015-06-02 Spec Dependencies: spec = XQ31+ feature = schemaImport spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: declare default element namespace "http://www.w3.org/XQueryTest/abf"; let $module-ns := "http://www.w3.org/fots/fn/load-xquery-module/import-schema/module" let $module := fn:load-xquery-module($module-ns) let $c := (<a/>,<b/>,<c/>,<f/>) return $module("functions")(QName($module-ns, "validate"))(1)($c) |
no result | n/a
notXP31 |
pass | n/a | pass | pass | |
fn-load-xquery-module-054[+]
X fn-load-xquery-module-054: Created on: 2015-06-02 Spec Dependencies: spec = XQ31+ feature = schemaImport spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: import schema default element namespace "http://www.w3.org/XQueryTest/abf"; let $module-ns := "http://www.w3.org/fots/fn/load-xquery-module/import-schema/module" let $module := fn:load-xquery-module($module-ns) let $c := (<a/>,<b/>,<f/>) return validate strict {$module("functions")(QName($module-ns, "abf"))(1)($c)} |
no result | n/a
notXP31 |
pass | n/a | pass | pass | |
fn-load-xquery-module-055[+]
X fn-load-xquery-module-055: Created on: 2015-06-02 Spec Dependencies: spec = XQ31+ feature = schemaImport spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: import schema default element namespace "http://www.w3.org/XQueryTest/abf"; let $module-ns := "http://www.w3.org/fots/fn/load-xquery-module/import-schema/module" let $module := fn:load-xquery-module($module-ns) let $c := (<a/>,<b/>,<c/>,<f/>) return validate strict {$module("functions")(QName($module-ns, "abf"))(1)($c)} |
no result | n/a
notXP31 |
pass | n/a | pass | pass | |
fn-load-xquery-module-056[+]
X fn-load-xquery-module-056: Created on: 2015-06-02 Spec Dependencies: spec = XQ31+ feature = schemaImport spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: declare default element namespace "http://www.w3.org/XQueryTest/abf"; let $module-ns := "http://www.w3.org/fots/fn/load-xquery-module/import-schema/module" let $module := fn:load-xquery-module($module-ns, map {"variables" : map {QName($module-ns, "c") : <outer><a/><b/><f/></outer>}}) return $module("functions")(QName($module-ns, "validate"))(0)() |
no result | n/a
notXP31 |
pass | n/a | pass | pass | |
fn-load-xquery-module-057[+]
X fn-load-xquery-module-057: Created on: 2015-06-02 Spec Dependencies: spec = XQ31+ feature = schemaImport spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: declare default element namespace "http://www.w3.org/XQueryTest/abf"; let $module-ns := "http://www.w3.org/fots/fn/load-xquery-module/import-schema/module" let $module := fn:load-xquery-module($module-ns, map {"variables" : map {QName($module-ns, "c") : <outer><a/><b/><d/><f/></outer>}}) return $module("functions")(QName($module-ns, "validate"))(0)() |
no result | n/a
notXP31 |
pass | n/a | pass | pass | |
fn-load-xquery-module-060[+]
X fn-load-xquery-module-060: Created on: 2015-06-01 Spec Dependencies: spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: let $module-ns := "http://www.w3.org/fots/fn/load-xquery-module/context-item/module", $module := fn:load-xquery-module($module-ns, map{"context-item" : "item"}) return $module("variables")(QName($module-ns, "context")) |
fail | fail
Expected error:FOQM0005, got item |
fail
Expected error:FOQM0005, got item |
n/a | pass | pass | |
fn-load-xquery-module-061[+]
X fn-load-xquery-module-061: Created on: 2015-06-04 Spec Dependencies: spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: let $module-ns := "http://www.w3.org/fots/fn/load-xquery-module/valid/module", $module := fn:load-xquery-module($module-ns, map{"context-item" : "item"}) return ($module("variables")(QName($module-ns, "var1")), $module("variables")(QName($module-ns, "var2")), $module("functions")(QName($module-ns, "func1"))(0)(), $module("functions")(QName($module-ns, "func2"))(0)()) |
fail | pass | pass | n/a | pass | pass | |
fn-load-xquery-module-062[+]
X fn-load-xquery-module-062: Created on: 2015-06-04 Spec Dependencies: spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: fn:load-xquery-module("http://www.w3.org/fots/fn/load-xquery-module/valid/module", map{"variables" : "v"}) |
fail | wrongError
Expected error:XPTY0004, got err:FOQM0007 |
wrongError
Expected error:XPTY0004, got err:FOQM0007 |
n/a | pass | pass | |
fn-load-xquery-module-063[+]
X fn-load-xquery-module-063: Created on: 2015-06-04 Spec Dependencies: spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: let $module-ns := "http://www.w3.org/fots/fn/load-xquery-module/valid/module", $module := fn:load-xquery-module($module-ns, map{"variables" : map{"wrong":"entry"}}) return $module |
fail | wrongError
Expected error:XPTY0004, got err:FOQM0007 |
wrongError
Expected error:XPTY0004, got err:FOQM0007 |
n/a | pass | pass | |
fn-load-xquery-module-064[+]
X fn-load-xquery-module-064: Created on: 2015-06-04 Spec Dependencies: spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: let $module-ns := "http://www.w3.org/fots/fn/load-xquery-module/valid/module", $module := fn:load-xquery-module($module-ns, map{"variables" : map{}}) return ($module("variables")(QName($module-ns, "var1")), $module("variables")(QName($module-ns, "var2")), $module("functions")(QName($module-ns, "func1"))(0)(), $module("functions")(QName($module-ns, "func2"))(0)()) |
fail | pass | pass | n/a | pass | pass | |
fn-load-xquery-module-065[+]
X fn-load-xquery-module-065: Created on: 2015-06-04 Spec Dependencies: spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: let $module-ns := "http://www.w3.org/fots/fn/load-xquery-module/valid/module", $module := fn:load-xquery-module($module-ns, map{"variables" : map{(QName($module-ns, "wrong")):"not there"}}) return ($module("variables")(QName($module-ns, "var1")), $module("variables")(QName($module-ns, "var2")), $module("functions")(QName($module-ns, "func1"))(0)(), $module("functions")(QName($module-ns, "func2"))(0)()) |
fail | pass | pass | n/a | pass | pass | |
fn-load-xquery-module-066[+]
X fn-load-xquery-module-066: Created on: 2015-06-04 Spec Dependencies: spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: let $module-ns := "http://www.w3.org/fots/fn/load-xquery-module/valid/module", $module := fn:load-xquery-module($module-ns, map{"vendor-options" : 42}) return $module |
fail | wrongError
Expected error:XPTY0004, got err:FOQM0007 |
wrongError
Expected error:XPTY0004, got err:FOQM0007 |
n/a | pass | pass | |
fn-load-xquery-module-067[+]
X fn-load-xquery-module-067: Created on: 2015-06-04 Spec Dependencies: spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: let $module-ns := "http://www.w3.org/fots/fn/load-xquery-module/valid/module", $module := fn:load-xquery-module($module-ns, map{"vendor-options" : map{"wrong":"entry"}}) return $module |
fail | wrongError
Expected error:XPTY0004, got err:FOQM0007 |
wrongError
Expected error:XPTY0004, got err:FOQM0007 |
n/a | pass | pass | |
fn-load-xquery-module-068[+]
X fn-load-xquery-module-068: Created on: 2015-06-04 Spec Dependencies: spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: let $module-ns := "http://www.w3.org/fots/fn/load-xquery-module/valid/module", $module := fn:load-xquery-module($module-ns, map{"vendor-options" : map{}}) return ($module("variables")(QName($module-ns, "var1")), $module("variables")(QName($module-ns, "var2")), $module("functions")(QName($module-ns, "func1"))(0)(), $module("functions")(QName($module-ns, "func2"))(0)()) |
fail | pass | pass | n/a | pass | pass | |
fn-load-xquery-module-069[+]
X fn-load-xquery-module-069: Created on: 2015-06-04 Spec Dependencies: spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: let $module-ns := "http://www.w3.org/fots/fn/load-xquery-module/valid/module", $module-unrec := "http://www.w3.example/unrecognised/namespace/nobody/uses", $module := fn:load-xquery-module($module-ns, map{"vendor-options" : map{(QName($module-unrec, "option")):"fake"}}) return ($module("variables")(QName($module-ns, "var1")), $module("variables")(QName($module-ns, "var2")), $module("functions")(QName($module-ns, "func1"))(0)(), $module("functions")(QName($module-ns, "func2"))(0)()) |
fail | pass | pass | n/a | pass | pass | |
fn-load-xquery-module-070[+]
X fn-load-xquery-module-070: Created on: 2015-06-04 Spec Dependencies: spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: let $module-ns := "http://www.w3.org/fots/fn/load-xquery-module/valid/module", $module-unrec := "http://www.w3.example/unrecognised/namespace/nobody/uses", $module := fn:load-xquery-module($module-ns, map{"nonexistant-option" : "ignored"}) return ($module("variables")(QName($module-ns, "var1")), $module("variables")(QName($module-ns, "var2")), $module("functions")(QName($module-ns, "func1"))(0)(), $module("functions")(QName($module-ns, "func2"))(0)()) |
fail | pass | pass | n/a | pass | pass | |
fn-load-xquery-module-071[+]
X fn-load-xquery-module-071: Created on: 2015-06-01 Spec Dependencies: spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: fn:load-xquery-module("http://www.w3.org/fots/fn/load-xquery-module/main/module") |
fail | pass | pass | n/a | pass | pass | |
fn-load-xquery-module-072[+]
X fn-load-xquery-module-072: Created on: 2015-06-09 Spec Dependencies: spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: let $module-ns := "http://www.w3.org/fots/fn/load-xquery-module/valid/module", $module := fn:load-xquery-module($module-ns, map{"xquery-version" : "3.1"}) return $module |
fail | wrongError
Expected error:XPTY0004, got err:FOQM0007 |
wrongError
Expected error:XPTY0004, got err:FOQM0007 |
n/a | pass | pass | |
fn-load-xquery-module-073[+]
X fn-load-xquery-module-073: Created on: 2015-06-09 Spec Dependencies: spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: let $module-ns := "http://www.w3.org/fots/fn/load-xquery-module/valid/module", $module := fn:load-xquery-module($module-ns, map{"xquery-version" : 3.1}) return ($module("variables")(QName($module-ns, "var1")), $module("variables")(QName($module-ns, "var2")), $module("functions")(QName($module-ns, "func1"))(0)(), $module("functions")(QName($module-ns, "func2"))(0)()) |
fail | pass | pass | n/a | pass | pass | |
fn-load-xquery-module-901[+]
X fn-load-xquery-module-901: Created on: 2016-09-07 Spec Dependencies: feature = fn-load-xquery-module spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: fn:load-xquery-module("") |
no result | n/a
Dependency not satisfied |
n/a
Dependency not satisfied |
n/a | pass | pass | |
fn-load-xquery-module-902[+]
X fn-load-xquery-module-902: Created on: 2016-09-07 Spec Dependencies: feature = fn-load-xquery-module spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: fn:load-xquery-module("", map{}) |
no result | n/a
Dependency not satisfied |
n/a
Dependency not satisfied |
n/a | pass | pass | |
fn-load-xquery-module-903[+]
X fn-load-xquery-module-903: Created on: 2016-09-07 Spec Dependencies: feature = fn-load-xquery-module spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: fn:load-xquery-module("http://nonexistent/module") |
no result | n/a
Dependency not satisfied |
n/a
Dependency not satisfied |
n/a | pass | pass | |
fn-load-xquery-module-904[+]
X fn-load-xquery-module-904: Created on: 2016-09-07 Spec Dependencies: feature = fn-load-xquery-module spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: fn:load-xquery-module("http://nonexistent/module", map{}) |
no result | n/a
Dependency not satisfied |
n/a
Dependency not satisfied |
n/a | pass | pass | |
fn-load-xquery-module-905[+]
X fn-load-xquery-module-905: Created on: 2016-09-07 Spec Dependencies: feature = fn-load-xquery-module spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: fn:load-xquery-module("http://www.w3.org/fots/fn/load-xquery-module/invalid/module") |
no result | n/a
Dependency not satisfied |
n/a
Dependency not satisfied |
n/a | pass | pass | |
fn-load-xquery-module-906[+]
X fn-load-xquery-module-906: Created on: 2016-09-07 Spec Dependencies: feature = fn-load-xquery-module spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: fn:load-xquery-module("http://www.w3.org/fots/fn/load-xquery-module/invalid/module", map{}) |
no result | n/a
Dependency not satisfied |
n/a
Dependency not satisfied |
n/a | pass | pass | |
fn-load-xquery-module-907[+]
X fn-load-xquery-module-907: Created on: 2016-09-07 Spec Dependencies: feature = fn-load-xquery-module spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: fn:load-xquery-module("http://www.w3.org/fots/fn/load-xquery-module/external-var/module") |
no result | n/a
Dependency not satisfied |
n/a
Dependency not satisfied |
n/a | pass | pass | |
fn-load-xquery-module-908[+]
X fn-load-xquery-module-908: Created on: 2016-09-07 Spec Dependencies: feature = fn-load-xquery-module spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: fn:load-xquery-module("http://www.w3.org/fots/fn/load-xquery-module/external-var/module", map{}) |
no result | n/a
Dependency not satisfied |
n/a
Dependency not satisfied |
n/a | pass | pass | |
fn-load-xquery-module-909[+]
X fn-load-xquery-module-909: Created on: 2016-09-07 Spec Dependencies: feature = fn-load-xquery-module spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: fn:load-xquery-module("http://www.w3.org/fots/fn/load-xquery-module/context-item/module") |
no result | n/a
Dependency not satisfied |
n/a
Dependency not satisfied |
n/a | pass | pass | |
fn-load-xquery-module-910[+]
X fn-load-xquery-module-910: Created on: 2016-09-07 Spec Dependencies: feature = fn-load-xquery-module spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: fn:load-xquery-module("http://www.w3.org/fots/fn/load-xquery-module/context-item/module", map{}) |
no result | n/a
Dependency not satisfied |
n/a
Dependency not satisfied |
n/a | pass | pass | |
fn-load-xquery-module-911[+]
X fn-load-xquery-module-911: Created on: 2016-09-07 Spec Dependencies: feature = fn-load-xquery-module spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: fn:load-xquery-module("http://www.w3.org/fots/fn/load-xquery-module/external-var/module", map {"variables" : map { QName("http://www.w3.org/fots/fn/load-xquery-module/external-var/module", "var1") : 1234 }}) |
no result | n/a
Dependency not satisfied |
n/a
Dependency not satisfied |
n/a | pass | pass | |
fn-load-xquery-module-912[+]
X fn-load-xquery-module-912: Created on: 2016-09-07 Spec Dependencies: feature = fn-load-xquery-module spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: fn:load-xquery-module("http://www.w3.org/fots/fn/load-xquery-module/dynamic-error/module") |
no result | n/a
Dependency not satisfied |
n/a
Dependency not satisfied |
n/a | pass | pass | |
fn-load-xquery-module-913[+]
X fn-load-xquery-module-913: Created on: 2016-09-07 Spec Dependencies: feature = fn-load-xquery-module spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: fn:load-xquery-module("http://www.w3.org/fots/fn/load-xquery-module/dynamic-error/module", map{}) |
no result | n/a
Dependency not satisfied |
n/a
Dependency not satisfied |
n/a | pass | pass | |
fn-load-xquery-module-914[+]
X fn-load-xquery-module-914: Created on: 2016-09-07 Spec Dependencies: feature = fn-load-xquery-module spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: let $module-ns := "http://www.w3.org/fots/fn/load-xquery-module/valid/module", $module := fn:load-xquery-module($module-ns) return let $vars := $module("variables"), $fns := $module("functions") return let $var-values := ($vars(QName($module-ns, "var1")), $vars(QName($module-ns, "var2"))), $fns-values := ($fns(QName($module-ns, "func1"))(0)(), $fns(QName($module-ns, "func2"))(0)()) return ($var-values, $fns-values) |
no result | n/a
Dependency not satisfied |
n/a
Dependency not satisfied |
n/a | pass | pass | |
fn-load-xquery-module-915[+]
X fn-load-xquery-module-915: Created on: 2016-09-07 Spec Dependencies: spec = XP31+ XQ31+ feature = fn-load-xquery-module feature = higherOrderFunctions Test: let $module-ns := "http://www.w3.org/fots/fn/load-xquery-module/valid/module", $module := fn:load-xquery-module($module-ns, map{"xquery-version" : 93.7}) return $module |
no result | pass | pass | n/a | pass | pass |