|
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) |
|
---|---|---|---|---|---|---|---|
misc-AnnexE | 8/8 | 0/0 | 8/8 | 0/0 | 8/8 | 8/0 | 0/6 |
annex-1[+]
X annex-1: Created on: 2006-03-12 Spec Dependencies: spec = XQ10+ spec = XQ10+ Test: declare namespace eg = "http://example.org"; declare function eg:if-empty ( $node as node()?, $value as xs:anyAtomicType) as xs:anyAtomicType* { if ($node and $node/child::node()) then fn:data($node) else $value }; let $arg1 := <element1>some data</element1> let $arg2 as xs:anyAtomicType := 1 return eg:if-empty($arg1,$arg2) |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
annex-2[+]
X annex-2: Created on: 2006-03-12 Spec Dependencies: spec = XQ10+ spec = XQ10+ Test: declare namespace eg = "http://example.org"; declare function eg:if-absent ( $node as node()?, $value as xs:anyAtomicType) as xs:anyAtomicType* { if ($node) then fn:data($node) else $value }; let $arg1 := <element1>some data</element1> let $arg2 as xs:anyAtomicType := 1 return eg:if-absent($arg1,$arg2) |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
annex-3[+]
X annex-3: Created on: 2006-03-12 Spec Dependencies: spec = XQ10+ Test: declare namespace eg = "http://example.org"; declare function eg:value-union ( $arg1 as xs:anyAtomicType*, $arg2 as xs:anyAtomicType*) as xs:anyAtomicType* { fn:distinct-values(($arg1, $arg2)) }; let $arg1 as xs:anyAtomicType := 1 let $arg2 as xs:anyAtomicType := 2 return eg:value-union($arg1,$arg2) |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
annex-4[+]
X annex-4: Created on: 2006-03-12 Spec Dependencies: spec = XQ10+ Test: declare namespace eg = "http://example.org"; declare function eg:value-intersect ( $arg1 as xs:anyAtomicType*, $arg2 as xs:anyAtomicType* ) as xs:anyAtomicType* { fn:distinct-values($arg1[.=$arg2]) }; let $arg1 as xs:anyAtomicType := 1 let $arg2 as xs:anyAtomicType := 1 return eg:value-intersect($arg1,$arg2) |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
annex-5[+]
X annex-5: Created on: 2006-03-12 Spec Dependencies: spec = XQ10+ Test: declare namespace eg = "http://example.org"; declare function eg:value-except ( $arg1 as xs:anyAtomicType*, $arg2 as xs:anyAtomicType*) as xs:anyAtomicType* { fn:distinct-values($arg1[not(.=$arg2)]) }; let $arg1 as xs:anyAtomicType := 1 let $arg2 as xs:anyAtomicType := 2 return eg:value-except($arg1,$arg2) |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
annex-6[+]
X annex-6: Created on: 2006-03-12 Spec Dependencies: spec = XQ10+ spec = XQ10+ Test: declare namespace eg = "http://example.org"; declare function eg:index-of-node($sequence as node()*, $srch as node()) as xs:integer* { for $n at $i in $sequence where ($n is $srch) return $i }; let $arg1 := (<element1>some data 1</element1>,<element2>some data 2</element2>) let $arg2 := $arg1[2] return eg:index-of-node($arg1, exactly-one($arg2)) |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
annex-7[+]
X annex-7: Created on: 2006-03-12 Spec Dependencies: spec = XQ10+ Test: declare namespace eg = "http://example.org"; declare function eg:string-pad ( $padString as xs:string?, $padCount as xs:integer) as xs:string { fn:string-join((for $i in 1 to $padCount return $padString), "") }; let $arg1 as xs:string := "A String" let $arg2 as xs:integer := 3 return eg:string-pad($arg1,$arg2) |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
annex-8[+]
X annex-8: Created on: 2006-03-12 Spec Dependencies: spec = XQ10+ spec = XQ10+ Test: declare namespace eg = "http://example.org"; declare function eg:distinct-nodes-stable ($arg as node()*) as node()* { for $a at $apos in $arg let $before_a := fn:subsequence($arg, 1, $apos - 1) where every $ba in $before_a satisfies not($ba is $a) return $a }; let $arg1 := (<element1>some data 1</element1>,<element2>some data 2</element2>) return eg:distinct-nodes-stable($arg1) |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass |