|
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-distinct-values | 105/105 | 91/91 | 105/105 | 91/91 | 105/105 | 105/91 | 0/6 |
fn-distinct-valuesint1args-1[+]
X fn-distinct-valuesint1args-1: Created on: 2004-12-13 Spec Dependencies: Test: fn:distinct-values((xs:int("-2147483648"))) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-valuesint1args-2[+]
X fn-distinct-valuesint1args-2: Created on: 2004-12-13 Spec Dependencies: Test: fn:distinct-values((xs:int("-1873914410"))) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-valuesint1args-3[+]
X fn-distinct-valuesint1args-3: Created on: 2004-12-13 Spec Dependencies: Test: fn:distinct-values((xs:int("2147483647"))) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-valuesintg1args-1[+]
X fn-distinct-valuesintg1args-1: Created on: 2004-12-13 Spec Dependencies: Test: fn:distinct-values((xs:integer("-999999999999999999"))) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-valuesintg1args-2[+]
X fn-distinct-valuesintg1args-2: Created on: 2004-12-13 Spec Dependencies: Test: fn:distinct-values((xs:integer("830993497117024304"))) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-valuesintg1args-3[+]
X fn-distinct-valuesintg1args-3: Created on: 2004-12-13 Spec Dependencies: Test: fn:distinct-values((xs:integer("999999999999999999"))) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-valuesdec1args-1[+]
X fn-distinct-valuesdec1args-1: Created on: 2004-12-13 Spec Dependencies: Test: fn:distinct-values((xs:decimal("-999999999999999999"))) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-valuesdec1args-2[+]
X fn-distinct-valuesdec1args-2: Created on: 2004-12-13 Spec Dependencies: Test: fn:distinct-values((xs:decimal("617375191608514839"))) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-valuesdec1args-3[+]
X fn-distinct-valuesdec1args-3: Created on: 2004-12-13 Spec Dependencies: Test: fn:distinct-values((xs:decimal("999999999999999999"))) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-valuesdbl1args-1[+]
X fn-distinct-valuesdbl1args-1: Created on: 2004-12-13 Spec Dependencies: Test: fn:distinct-values((xs:double("-1.7976931348623157E308"))) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-valuesdbl1args-2[+]
X fn-distinct-valuesdbl1args-2: Created on: 2004-12-13 Spec Dependencies: Test: fn:distinct-values((xs:double("0"))) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-valuesdbl1args-3[+]
X fn-distinct-valuesdbl1args-3: Created on: 2004-12-13 Spec Dependencies: Test: fn:distinct-values((xs:double("1.7976931348623157E308"))) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-valuesflt1args-1[+]
X fn-distinct-valuesflt1args-1: Created on: 2004-12-13 Spec Dependencies: Test: fn:distinct-values((xs:float("-3.4028235E38"))) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-valuesflt1args-2[+]
X fn-distinct-valuesflt1args-2: Created on: 2004-12-13 Spec Dependencies: Test: fn:distinct-values((xs:float("0"))) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-valuesflt1args-3[+]
X fn-distinct-valuesflt1args-3: Created on: 2004-12-13 Spec Dependencies: Test: fn:distinct-values((xs:float("3.4028235E38"))) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-valueslng1args-1[+]
X fn-distinct-valueslng1args-1: Created on: 2004-12-13 Spec Dependencies: Test: fn:distinct-values((xs:long("-92233720368547758"))) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-valueslng1args-2[+]
X fn-distinct-valueslng1args-2: Created on: 2004-12-13 Spec Dependencies: Test: fn:distinct-values((xs:long("-47175562203048468"))) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-valueslng1args-3[+]
X fn-distinct-valueslng1args-3: Created on: 2004-12-13 Spec Dependencies: Test: fn:distinct-values((xs:long("92233720368547758"))) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-valuesusht1args-1[+]
X fn-distinct-valuesusht1args-1: Created on: 2004-12-13 Spec Dependencies: Test: fn:distinct-values((xs:unsignedShort("0"))) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-valuesusht1args-2[+]
X fn-distinct-valuesusht1args-2: Created on: 2004-12-13 Spec Dependencies: Test: fn:distinct-values((xs:unsignedShort("44633"))) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-valuesusht1args-3[+]
X fn-distinct-valuesusht1args-3: Created on: 2004-12-13 Spec Dependencies: Test: fn:distinct-values((xs:unsignedShort("65535"))) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-valuesnint1args-1[+]
X fn-distinct-valuesnint1args-1: Created on: 2004-12-13 Spec Dependencies: Test: fn:distinct-values((xs:negativeInteger("-999999999999999999"))) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-valuesnint1args-2[+]
X fn-distinct-valuesnint1args-2: Created on: 2004-12-13 Spec Dependencies: Test: fn:distinct-values((xs:negativeInteger("-297014075999096793"))) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-valuesnint1args-3[+]
X fn-distinct-valuesnint1args-3: Created on: 2004-12-13 Spec Dependencies: Test: fn:distinct-values((xs:negativeInteger("-1"))) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-valuespint1args-1[+]
X fn-distinct-valuespint1args-1: Created on: 2004-12-13 Spec Dependencies: Test: fn:distinct-values((xs:positiveInteger("1"))) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-valuespint1args-2[+]
X fn-distinct-valuespint1args-2: Created on: 2004-12-13 Spec Dependencies: Test: fn:distinct-values((xs:positiveInteger("52704602390610033"))) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-valuespint1args-3[+]
X fn-distinct-valuespint1args-3: Created on: 2004-12-13 Spec Dependencies: Test: fn:distinct-values((xs:positiveInteger("999999999999999999"))) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-valuesulng1args-1[+]
X fn-distinct-valuesulng1args-1: Created on: 2004-12-13 Spec Dependencies: Test: fn:distinct-values((xs:unsignedLong("0"))) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-valuesulng1args-2[+]
X fn-distinct-valuesulng1args-2: Created on: 2004-12-13 Spec Dependencies: Test: fn:distinct-values((xs:unsignedLong("130747108607674654"))) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-valuesulng1args-3[+]
X fn-distinct-valuesulng1args-3: Created on: 2004-12-13 Spec Dependencies: Test: fn:distinct-values((xs:unsignedLong("184467440737095516"))) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-valuesnpi1args-1[+]
X fn-distinct-valuesnpi1args-1: Created on: 2004-12-13 Spec Dependencies: Test: fn:distinct-values((xs:nonPositiveInteger("-999999999999999999"))) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-valuesnpi1args-2[+]
X fn-distinct-valuesnpi1args-2: Created on: 2004-12-13 Spec Dependencies: Test: fn:distinct-values((xs:nonPositiveInteger("-475688437271870490"))) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-valuesnpi1args-3[+]
X fn-distinct-valuesnpi1args-3: Created on: 2004-12-13 Spec Dependencies: Test: fn:distinct-values((xs:nonPositiveInteger("0"))) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-valuesnni1args-1[+]
X fn-distinct-valuesnni1args-1: Created on: 2004-12-13 Spec Dependencies: Test: fn:distinct-values((xs:nonNegativeInteger("0"))) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-valuesnni1args-2[+]
X fn-distinct-valuesnni1args-2: Created on: 2004-12-13 Spec Dependencies: Test: fn:distinct-values((xs:nonNegativeInteger("303884545991464527"))) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-valuesnni1args-3[+]
X fn-distinct-valuesnni1args-3: Created on: 2004-12-13 Spec Dependencies: Test: fn:distinct-values((xs:nonNegativeInteger("999999999999999999"))) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-valuessht1args-1[+]
X fn-distinct-valuessht1args-1: Created on: 2004-12-13 Spec Dependencies: Test: fn:distinct-values((xs:short("-32768"))) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-valuessht1args-2[+]
X fn-distinct-valuessht1args-2: Created on: 2004-12-13 Spec Dependencies: Test: fn:distinct-values((xs:short("-5324"))) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-valuessht1args-3[+]
X fn-distinct-valuessht1args-3: Created on: 2004-12-13 Spec Dependencies: Test: fn:distinct-values((xs:short("32767"))) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-values-mixed-args-001[+]
X fn-distinct-values-mixed-args-001: Created on: 2005-05-26 Spec Dependencies: Test: fn:distinct-values((1, 2)) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-values-mixed-args-002[+]
X fn-distinct-values-mixed-args-002: Created on: 2005-05-26 Spec Dependencies: Test: fn:distinct-values(( 1, (1), ((1)) )) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-values-mixed-args-003[+]
X fn-distinct-values-mixed-args-003: Created on: 2005-05-26 Spec Dependencies: Test: fn:distinct-values(( 1, 1.0e0)) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-values-mixed-args-004[+]
X fn-distinct-values-mixed-args-004: Created on: 2005-05-26 Spec Dependencies: Test: fn:distinct-values(( xs:integer(1), 1)) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-values-mixed-args-005[+]
X fn-distinct-values-mixed-args-005: Created on: 2005-05-26 Spec Dependencies: Test: fn:distinct-values(( 0e0, -0, 0, 1 )) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-values-mixed-args-006[+]
X fn-distinct-values-mixed-args-006: Created on: 2005-05-26 Spec Dependencies: Test: fn:distinct-values(( "cat", 'CAT' )) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-values-mixed-args-007[+]
X fn-distinct-values-mixed-args-007: Created on: 2005-05-26 Spec Dependencies: Test: fn:distinct-values(( xs:string("hello"), "hello")) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-values-mixed-args-008[+]
X fn-distinct-values-mixed-args-008: Created on: 2005-05-26 Spec Dependencies: Test: fn:distinct-values(( xs:string(""), "", '')) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-values-mixed-args-009[+]
X fn-distinct-values-mixed-args-009: Created on: 2005-05-26 Spec Dependencies: Test: fn:distinct-values((1, true(), true(), ())) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-values-mixed-args-010[+]
X fn-distinct-values-mixed-args-010: Created on: 2005-05-26 Spec Dependencies: Test: fn:distinct-values((xs:decimal('1.2'), xs:decimal('1.2000000000000001'))) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-values-mixed-args-011[+]
X fn-distinct-values-mixed-args-011: Created on: 2005-05-26 Spec Dependencies: Test: fn:distinct-values((xs:decimal('1.2'), '1.2')) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-values-mixed-args-012[+]
X fn-distinct-values-mixed-args-012: Created on: 2005-05-26 Spec Dependencies: Test: fn:distinct-values((xs:decimal('1.2'), xs:float('1.2'))) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-values-mixed-args-013[+]
X fn-distinct-values-mixed-args-013: Created on: 2005-05-26 Spec Dependencies: Test: fn:distinct-values((xs:decimal('1.2'), xs:double('1.2'))) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-values-mixed-args-014[+]
X fn-distinct-values-mixed-args-014: Created on: 2005-05-26 Spec Dependencies: Test: fn:distinct-values((xs:float('NaN'), 'NaN')) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-values-mixed-args-015[+]
X fn-distinct-values-mixed-args-015: Created on: 2005-05-26 Spec Dependencies: Test: fn:distinct-values((xs:float('INF'), 'INF')) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-values-mixed-args-016[+]
X fn-distinct-values-mixed-args-016: Created on: 2005-05-26 Spec Dependencies: Test: fn:distinct-values((xs:float('-INF'), '-INF')) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-values-mixed-args-017[+]
X fn-distinct-values-mixed-args-017: Created on: 2005-05-26 Spec Dependencies: Test: fn:distinct-values((xs:float('INF'), xs:float('INF'))) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-values-mixed-args-018[+]
X fn-distinct-values-mixed-args-018: Created on: 2005-05-26 Spec Dependencies: Test: fn:distinct-values((xs:float('-INF'), xs:float('INF'))) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-values-mixed-args-019[+]
X fn-distinct-values-mixed-args-019: Created on: 2005-05-26 Spec Dependencies: Test: fn:distinct-values((xs:float('NaN'), xs:float('NaN'))) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-values-mixed-args-020[+]
X fn-distinct-values-mixed-args-020: Created on: 2005-05-26 Spec Dependencies: Test: fn:distinct-values((xs:float('NaN'), xs:float('NaN'))) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-values-mixed-args-021[+]
X fn-distinct-values-mixed-args-021: Created on: 2005-05-26 Spec Dependencies: Test: fn:distinct-values((xs:float('NaN'), xs:double('NaN'))) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-values-mixed-args-022[+]
X fn-distinct-values-mixed-args-022: Created on: 2005-05-26 Spec Dependencies: Test: fn:distinct-values((xs:float('INF'), xs:double('INF'))) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-values-mixed-args-023[+]
X fn-distinct-values-mixed-args-023: Created on: 2005-05-26 Spec Dependencies: Test: fn:distinct-values((xs:float('-INF'), xs:double('-INF'))) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-values-mixed-args-024[+]
X fn-distinct-values-mixed-args-024: Created on: 2005-05-26 Spec Dependencies: Test: fn:distinct-values((xs:double('-INF'), xs:double('INF'))) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-values-mixed-args-025[+]
X fn-distinct-values-mixed-args-025: Created on: 2005-05-26 Spec Dependencies: Test: fn:distinct-values((xs:double('NaN'), xs:double('NaN'))) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-values-mixed-args-026[+]
X fn-distinct-values-mixed-args-026: Created on: 2005-05-26 Spec Dependencies: Test: fn:distinct-values((xs:double('NaN'), xs:double('NaN'))) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-values-mixed-args-027[+]
X fn-distinct-values-mixed-args-027: Created on: 2005-05-26 Spec Dependencies: Test: fn:distinct-values(("NaN", "-NaN")) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-values-mixed-args-028[+]
X fn-distinct-values-mixed-args-028: Created on: 2005-05-26 Spec Dependencies: Test: fn:distinct-values(("-INF", "INF")) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-values-mixed-args-029[+]
X fn-distinct-values-mixed-args-029: Created on: 2005-05-26 Spec Dependencies: Test: fn:distinct-values((xs:boolean('true'), true())) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-values-mixed-args-030[+]
X fn-distinct-values-mixed-args-030: Created on: 2005-05-26 Spec Dependencies: Test: fn:distinct-values((xs:boolean('true'), xs:boolean('1'))) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-values-mixed-args-031[+]
X fn-distinct-values-mixed-args-031: Created on: 2005-05-26 Spec Dependencies: Test: fn:distinct-values((xs:boolean('false'), xs:boolean('0'))) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-values-mixed-args-032[+]
X fn-distinct-values-mixed-args-032: Created on: 2005-05-26 Spec Dependencies: Test: fn:distinct-values(( true(), false(), () )) |
pass | pass | pass | pass | pass | pass | |
fn-distinct-values-mixed-args-033[+]
X fn-distinct-values-mixed-args-033: Created on: 2015-04-08 Spec Dependencies: Test: count(distinct-values(( xs:integer(1), xs:gDay("---15"), xs:gDay("---10"), xs:decimal(1) ))) |
pass | pass | pass | pass | pass | pass | |
K-SeqDistinctValuesFunc-1[+]
X K-SeqDistinctValuesFunc-1: Created on: 2007-11-26 Spec Dependencies: Test: distinct-values() |
pass | pass | pass | pass | pass | pass | |
K-SeqDistinctValuesFunc-2[+]
X K-SeqDistinctValuesFunc-2: Created on: 2007-11-26 Spec Dependencies: Test: deep-equal(distinct-values((1, 2, 3), "http://www.example.com/COLLATION/NOT/SUPPORTED"), (1, 2, 3)) |
pass | pass | pass | pass | pass | pass | |
K-SeqDistinctValuesFunc-3[+]
X K-SeqDistinctValuesFunc-3: Created on: 2007-11-26 Spec Dependencies: Test: distinct-values("a string", "http://www.w3.org/2005/xpath-functions/collation/codepoint", "wrong param") |
pass | pass | pass | pass | pass | pass | |
K-SeqDistinctValuesFunc-4[+]
X K-SeqDistinctValuesFunc-4: Created on: 2007-11-26 Spec Dependencies: Test: distinct-values("a string", "http://www.w3.org/2005/xpath-functions/collation/codepoint") eq "a string" |
pass | pass | pass | pass | pass | pass | |
K-SeqDistinctValuesFunc-5[+]
X K-SeqDistinctValuesFunc-5: Created on: 2007-11-26 Spec Dependencies: Test: empty(distinct-values(())) |
pass | pass | pass | pass | pass | pass | |
K-SeqDistinctValuesFunc-6[+]
X K-SeqDistinctValuesFunc-6: Created on: 2007-11-26 Spec Dependencies: spec = XQ10+ Test: declare function local:canon($arg) { for $i in for $s in $arg return string($s) order by $i return $i }; deep-equal( local:canon( distinct-values(("1", 1, 2, 1, 1, 3, 1, 1, 3, xs:anyURI("example.com/"), xs:anyURI("example.com/")))), local:canon(("1", 1, 2, 3, xs:anyURI("example.com/")))) |
pass | n/a
notXP31 |
pass | n/a | pass | pass | |
K-SeqDistinctValuesFunc-7[+]
X K-SeqDistinctValuesFunc-7: Created on: 2007-11-26 Spec Dependencies: Test: distinct-values((1, 1)) |
pass | pass | pass | pass | pass | pass | |
K-SeqDistinctValuesFunc-8[+]
X K-SeqDistinctValuesFunc-8: Created on: 2007-11-26 Spec Dependencies: Test: distinct-values((-3, -3)) |
pass | pass | pass | pass | pass | pass | |
K-SeqDistinctValuesFunc-9[+]
X K-SeqDistinctValuesFunc-9: Created on: 2007-11-26 Spec Dependencies: Test: count(distinct-values((1, 2.0, 3, 2))) eq 3 |
pass | pass | pass | pass | pass | pass | |
K-SeqDistinctValuesFunc-10[+]
X K-SeqDistinctValuesFunc-10: Created on: 2007-11-26 Spec Dependencies: Test: deep-equal(distinct-values((1, 2.0, 3, 2)), (1, 2.0, 3)) |
pass | pass | pass | pass | pass | pass | |
K-SeqDistinctValuesFunc-11[+]
X K-SeqDistinctValuesFunc-11: Created on: 2007-11-26 Spec Dependencies: Test: exists(distinct-values((1, 2, 3, 1))) |
pass | pass | pass | pass | pass | pass | |
K-SeqDistinctValuesFunc-12[+]
X K-SeqDistinctValuesFunc-12: Created on: 2007-11-26 Spec Dependencies: Test: not(empty(distinct-values((1, 1)))) |
pass | pass | pass | pass | pass | pass | |
K-SeqDistinctValuesFunc-13[+]
X K-SeqDistinctValuesFunc-13: Created on: 2007-11-26 Spec Dependencies: Test: count(distinct-values((1, 2, 2, current-time()))) eq 3 |
pass | pass | pass | pass | pass | pass | |
K-SeqDistinctValuesFunc-14[+]
X K-SeqDistinctValuesFunc-14: Created on: 2007-11-26 Spec Dependencies: Test: count(distinct-values(())) eq 0 |
pass | pass | pass | pass | pass | pass | |
K-SeqDistinctValuesFunc-15[+]
X K-SeqDistinctValuesFunc-15: Created on: 2007-11-26 Spec Dependencies: Test: count(distinct-values(current-time())) eq 1 |
pass | pass | pass | pass | pass | pass | |
K2-SeqDistinctValuesFunc-1[+]
X K2-SeqDistinctValuesFunc-1: Created on: 2007-11-26 Spec Dependencies: Test: fn:distinct-values(("1", "2", "3"), "http://www.example.com/COLLATION/NOT/SUPPORTED") |
pass | pass | pass | pass | pass | pass | |
fn-distinct-values-1[+]
X fn-distinct-values-1: Created on: 2009-12-24 Spec Dependencies: spec = XQ10+ Test: let $input := (xs:float('1.0'), xs:decimal('1.0000000000100000000001'), xs:double( '1.00000000001'), xs:float('2.0'), xs:decimal('2.0000000000100000000001'), xs:double( '2.00000000001')), $distinct := distinct-values($input) return ( (every $n in $input satisfies $n = $distinct) and (every $bool in (for $d1 at $p in $distinct, $d2 in $distinct [position() > $p] return $d1 eq $d2) satisfies not($bool)) ) |
pass | n/a
notXP31 |
pass | n/a | pass | pass | |
fn-distinct-values-2[+]
X fn-distinct-values-2: Created on: 2011-07-01 Spec Dependencies: Test: distinct-values((1 to 300, 100 to 400, 29, 145, 20 to 50, for $x in (30 to 40) return xs:string($x), "foo", "bar")) |
pass | pass | pass | pass | pass | pass | |
cbcl-distinct-values-001[+]
X cbcl-distinct-values-001: Created on: 2008-04-30 Spec Dependencies: Test: count(distinct-values((xs:integer("3"), xs:float("3"), xs:float("NaN"), xs:double("3"), xs:double("NaN"), xs:decimal("3"), xs:float("3")))) |
pass | pass | pass | pass | pass | pass | |
cbcl-distinct-values-002[+]
X cbcl-distinct-values-002: Created on: 2008-06-02 Spec Dependencies: spec = XQ10 Test: declare function local:create($arg) as xs:anyAtomicType* { ( if ($arg castable as xs:untypedAtomic) then $arg cast as xs:untypedAtomic else () ), ( if ($arg castable as xs:dateTime) then $arg cast as xs:dateTime else () ), ( if ($arg castable as xs:date) then $arg cast as xs:date else () ), ( if ($arg castable as xs:time) then $arg cast as xs:time else () ), ( if ($arg castable as xs:time) then $arg cast as xs:time else () ), ( if ($arg castable as xs:duration) then $arg cast as xs:duration else () ), ( if ($arg castable as xs:yearMonthDuration) then $arg cast as xs:yearMonthDuration else () ), ( if ($arg castable as xs:dayTimeDuration) then $arg cast as xs:dayTimeDuration else () ), ( if ($arg castable as xs:float) then $arg cast as xs:float else () ), ( if ($arg castable as xs:double) then $arg cast as xs:double else () ), ( if ($arg castable as xs:decimal) then $arg cast as xs:decimal else () ), ( if ($arg castable as xs:integer) then $arg cast as xs:integer else () ), ( if ($arg castable as xs:nonPositiveInteger) then $arg cast as xs:nonPositiveInteger else () ), ( if ($arg castable as xs:negativeInteger) then $arg cast as xs:negativeInteger else () ), ( if ($arg castable as xs:long) then $arg cast as xs:long else () ), ( if ($arg castable as xs:int) then $arg cast as xs:int else () ), ( if ($arg castable as xs:short) then $arg cast as xs:short else () ), ( if ($arg castable as xs:byte) then $arg cast as xs:byte else () ), ( if ($arg castable as xs:byte) then $arg cast as xs:byte else () ), ( if ($arg castable as xs:nonNegativeInteger) then $arg cast as xs:nonNegativeInteger else () ), ( if ($arg castable as xs:unsignedLong) then $arg cast as xs:unsignedLong else () ), ( if ($arg castable as xs:unsignedInt) then $arg cast as xs:unsignedInt else () ), ( if ($arg castable as xs:unsignedShort) then $arg cast as xs:unsignedShort else () ), ( if ($arg castable as xs:unsignedByte) then $arg cast as xs:unsignedByte else () ), ( if ($arg castable as xs:positiveInteger) then $arg cast as xs:positiveInteger else () ), ( if ($arg castable as xs:gYearMonth) then $arg cast as xs:gYearMonth else () ), ( if ($arg castable as xs:gYear) then $arg cast as xs:gYear else () ), ( if ($arg castable as xs:gMonthDay) then $arg cast as xs:gMonthDay else () ), ( if ($arg castable as xs:gDay) then $arg cast as xs:gDay else () ), ( if ($arg castable as xs:gMonth) then $arg cast as xs:gMonth else () ), ( if ($arg castable as xs:string) then $arg cast as xs:string else () ), ( if ($arg castable as xs:normalizedString) then $arg cast as xs:normalizedString else () ), ( if ($arg castable as xs:token) then $arg cast as xs:token else () ), ( if ($arg castable as xs:language) then $arg cast as xs:language else () ), ( if ($arg castable as xs:NMTOKEN) then $arg cast as xs:NMTOKEN else () ), ( if ($arg castable as xs:Name) then $arg cast as xs:Name else () ), ( if ($arg castable as xs:NCName) then $arg cast as xs:NCName else () ), ( if ($arg castable as xs:ID) then $arg cast as xs:ID else () ), ( if ($arg castable as xs:IDREF) then $arg cast as xs:IDREF else () ), ( if ($arg castable as xs:ENTITY) then $arg cast as xs:ENTITY else () ), ( if ($arg castable as xs:boolean) then $arg cast as xs:boolean else () ), ( if ($arg castable as xs:base64Binary) then $arg cast as xs:base64Binary else () ), ( if ($arg castable as xs:hexBinary) then $arg cast as xs:hexBinary else () ), ( if ($arg castable as xs:QName) then $arg cast as xs:QName else () ) }; for $value in fn:distinct-values( ( local:create(0), local:create(-1), local:create(1), local:create(3.141), local:create(3.141e0), local:create(3.333), local:create(3.141e0), local:create(3.333e2), local:create('NaN'), local:create('zero'), local:create('false'), local:create('true'), local:create('http://www.example.com/'), local:create('2008-06-01'), local:create('1972-06-01Z'), local:create('2008-06-01T12:00:00'), local:create('1972-06-01T12:00:00+01:00'), local:create('00:00:00'), local:create('12:00:00'), local:create('2008'), local:create('1972Z'), local:create('--06'), local:create('--12Z'), local:create('2008-06'), local:create('1972-12Z'), local:create('--06-01'), local:create('--12-15Z'), local:create('---01'), local:create('---15Z'), local:create('P20Y15M'), local:create('P10Y15M'), local:create('-P2DT15H0M0S'), local:create('-P1DT15H0M0S'), local:create(fn:QName("http://www.example.com/example", "person")), local:create(fn:QName("http://www.example.com/example", "ht:person")), local:create('-P2DT15H0M0S'), local:create('FFFEFDFC'), local:create('aGVsbG8=') )) order by string($value) return $value |
no result | n/a
notXP31 |
n/a
notXQ31 |
n/a | n/a | n/a | |
cbcl-distinct-values-002b[+]
X cbcl-distinct-values-002b: Created on: 2008-06-02 Spec Dependencies: spec = XQ30+ Test: declare function local:create($arg) as xs:anyAtomicType* { ( if ($arg castable as xs:untypedAtomic) then $arg cast as xs:untypedAtomic else () ), ( if ($arg castable as xs:dateTime) then $arg cast as xs:dateTime else () ), ( if ($arg castable as xs:date) then $arg cast as xs:date else () ), ( if ($arg castable as xs:time) then $arg cast as xs:time else () ), ( if ($arg castable as xs:time) then $arg cast as xs:time else () ), ( if ($arg castable as xs:duration) then $arg cast as xs:duration else () ), ( if ($arg castable as xs:yearMonthDuration) then $arg cast as xs:yearMonthDuration else () ), ( if ($arg castable as xs:dayTimeDuration) then $arg cast as xs:dayTimeDuration else () ), ( if ($arg castable as xs:float) then $arg cast as xs:float else () ), ( if ($arg castable as xs:double) then $arg cast as xs:double else () ), ( if ($arg castable as xs:decimal) then $arg cast as xs:decimal else () ), ( if ($arg castable as xs:integer) then $arg cast as xs:integer else () ), ( if ($arg castable as xs:nonPositiveInteger) then $arg cast as xs:nonPositiveInteger else () ), ( if ($arg castable as xs:negativeInteger) then $arg cast as xs:negativeInteger else () ), ( if ($arg castable as xs:long) then $arg cast as xs:long else () ), ( if ($arg castable as xs:int) then $arg cast as xs:int else () ), ( if ($arg castable as xs:short) then $arg cast as xs:short else () ), ( if ($arg castable as xs:byte) then $arg cast as xs:byte else () ), ( if ($arg castable as xs:byte) then $arg cast as xs:byte else () ), ( if ($arg castable as xs:nonNegativeInteger) then $arg cast as xs:nonNegativeInteger else () ), ( if ($arg castable as xs:unsignedLong) then $arg cast as xs:unsignedLong else () ), ( if ($arg castable as xs:unsignedInt) then $arg cast as xs:unsignedInt else () ), ( if ($arg castable as xs:unsignedShort) then $arg cast as xs:unsignedShort else () ), ( if ($arg castable as xs:unsignedByte) then $arg cast as xs:unsignedByte else () ), ( if ($arg castable as xs:positiveInteger) then $arg cast as xs:positiveInteger else () ), ( if ($arg castable as xs:gYearMonth) then $arg cast as xs:gYearMonth else () ), ( if ($arg castable as xs:gYear) then $arg cast as xs:gYear else () ), ( if ($arg castable as xs:gMonthDay) then $arg cast as xs:gMonthDay else () ), ( if ($arg castable as xs:gDay) then $arg cast as xs:gDay else () ), ( if ($arg castable as xs:gMonth) then $arg cast as xs:gMonth else () ), ( if ($arg castable as xs:string) then $arg cast as xs:string else () ), ( if ($arg castable as xs:normalizedString) then $arg cast as xs:normalizedString else () ), ( if ($arg castable as xs:token) then $arg cast as xs:token else () ), ( if ($arg castable as xs:language) then $arg cast as xs:language else () ), ( if ($arg castable as xs:NMTOKEN) then $arg cast as xs:NMTOKEN else () ), ( if ($arg castable as xs:Name) then $arg cast as xs:Name else () ), ( if ($arg castable as xs:NCName) then $arg cast as xs:NCName else () ), ( if ($arg castable as xs:ID) then $arg cast as xs:ID else () ), ( if ($arg castable as xs:IDREF) then $arg cast as xs:IDREF else () ), ( if ($arg castable as xs:ENTITY) then $arg cast as xs:ENTITY else () ), ( if ($arg castable as xs:boolean) then $arg cast as xs:boolean else () ), ( if ($arg castable as xs:base64Binary) then $arg cast as xs:base64Binary else () ), ( if ($arg castable as xs:hexBinary) then $arg cast as xs:hexBinary else () ), ( if ($arg castable as xs:QName) then $arg cast as xs:QName else () ) }; for $value in fn:distinct-values( ( local:create(0), local:create(-1), local:create(1), local:create(3.141), local:create(3.141e0), local:create(3.333), local:create(3.141e0), local:create(3.333e2), local:create('NaN'), local:create('zero'), local:create('false'), local:create('true'), local:create('http://www.example.com/'), local:create('2008-06-01'), local:create('1972-06-01Z'), local:create('2008-06-01T12:00:00'), local:create('1972-06-01T12:00:00+01:00'), local:create('00:00:00'), local:create('12:00:00'), local:create('2008'), local:create('1972Z'), local:create('--06'), local:create('--12Z'), local:create('2008-06'), local:create('1972-12Z'), local:create('--06-01'), local:create('--12-15Z'), local:create('---01'), local:create('---15Z'), local:create('P20Y15M'), local:create('P10Y15M'), local:create('-P2DT15H0M0S'), local:create('-P1DT15H0M0S'), local:create(fn:QName("http://www.example.com/example", "person")), local:create(fn:QName("http://www.example.com/example", "ht:person")), local:create('-P2DT15H0M0S'), local:create('FFFEFDFC'), local:create('aGVsbG8=') )) order by string($value) return $value |
pass | n/a
notXP31 |
pass | n/a | pass | pass | |
cbcl-distinct-values-003[+]
X cbcl-distinct-values-003: Created on: 2008-06-13 Spec Dependencies: Test: distinct-values( (xs:dateTime("2008-01-01T13:00:00"), adjust-dateTime-to-timezone(xs:dateTime("2008-01-01T13:00:00")))) |
pass | pass | pass | pass | pass | pass | |
cbcl-distinct-values-004[+]
X cbcl-distinct-values-004: Created on: 2008-06-02 Spec Dependencies: spec = XQ10+ Test: for $value in fn:distinct-values(( xs:date('2008-06-01'), xs:date('2008-06-01'), xs:date('2012-06-01'), xs:date('1918-11-11Z'), xs:date('1972-06-01Z'), xs:date('1972-06-01Z') )) order by $value return $value |
pass | n/a
notXP31 |
pass | n/a | pass | pass | |
cbcl-distinct-values-005[+]
X cbcl-distinct-values-005: Created on: 2008-06-02 Spec Dependencies: spec = XQ10+ Test: for $value in fn:distinct-values(( xs:dateTime('2008-06-01T12:00:00'), xs:dateTime('2008-06-01T12:00:00'), xs:dateTime('2008-06-01T00:00:00'), xs:dateTime('2008-06-02T00:00:00'), xs:dateTime('1918-11-11T11:00:00Z'), xs:dateTime('1972-06-01T13:00:00Z'), xs:dateTime('1972-06-01T13:00:00Z') )) order by $value return $value |
pass | n/a
notXP31 |
pass | n/a | pass | pass | |
cbcl-distinct-values-006[+]
X cbcl-distinct-values-006: Created on: 2008-06-02 Spec Dependencies: spec = XQ10+ Test: for $value in fn:distinct-values(( xs:time('12:00:00'), xs:time('11:00:00'), xs:time('12:00:00'))) order by $value return $value |
pass | n/a
notXP31 |
pass | n/a | pass | pass | |
cbcl-distinct-values-007[+]
X cbcl-distinct-values-007: Created on: 2008-06-02 Spec Dependencies: spec = XQ10+ Test: for $value at $p in ( for $time in fn:distinct-values(( xs:time('12:00:00'), xs:time('12:00:00'), xs:time('20:00:00'), xs:time('01:00:00+12:00'), xs:time('02:00:00+13:00'))) order by $time return $time ) return adjust-time-to-timezone($value, (xs:dayTimeDuration("PT0S")[$p])) |
pass | n/a
notXP31 |
pass | n/a | pass | pass | |
cbcl-distinct-values-008[+]
X cbcl-distinct-values-008: Created on: 2008-06-13 Spec Dependencies: spec = XQ10+ Test: for $value in fn:distinct-values(( xs:hexBinary('FFFF'), xs:hexBinary('FFFF'), xs:hexBinary('FFFE'), xs:hexBinary('FF'))) order by string($value) return $value |
pass | n/a
notXP31 |
pass | n/a | pass | pass | |
cbcl-distinct-values-009[+]
X cbcl-distinct-values-009: Created on: 2008-06-13 Spec Dependencies: spec = XQ10+ Test: for $value in fn:distinct-values(( xs:base64Binary('aGVsbG8NCg=='), xs:base64Binary('aGVsbG8NCg=='), xs:base64Binary('aGFsbG8NCg=='), xs:base64Binary('aGkNCg=='))) order by string($value) return $value |
pass | n/a
notXP31 |
pass | n/a | pass | pass | |
cbcl-distinct-values-010[+]
X cbcl-distinct-values-010: Created on: 2008-06-13 Spec Dependencies: spec = XQ10+ Test: for $value in fn:distinct-values(( xs:untypedAtomic('a'), xs:untypedAtomic('a'), xs:untypedAtomic('b'), xs:untypedAtomic(''))) order by string($value) return $value |
pass | n/a
notXP31 |
pass | n/a | pass | pass | |
cbcl-distinct-values-011[+]
X cbcl-distinct-values-011: Created on: 2008-06-13 Spec Dependencies: spec = XQ10+ Test: for $value in fn:distinct-values(( xs:string('a'), xs:string('a'), xs:string('b'), xs:string(''))) order by string($value) return $value |
pass | n/a
notXP31 |
pass | n/a | pass | pass | |
cbcl-distinct-values-012[+]
X cbcl-distinct-values-012: Created on: 2008-06-13 Spec Dependencies: spec = XQ10+ Test: for $value in fn:distinct-values(( xs:gYear('2008'), xs:gYear('2008'), xs:gYear('1972'))) order by string($value) return $value |
pass | n/a
notXP31 |
pass | n/a | pass | pass | |
cbcl-distinct-values-013[+]
X cbcl-distinct-values-013: Created on: 2008-06-13 Spec Dependencies: spec = XQ10+ Test: for $value in fn:distinct-values(( xs:dayTimeDuration('P0D'), xs:yearMonthDuration('P0Y'), xs:duration('P0Y'), xs:duration('P0Y'), xs:yearMonthDuration('P0Y'), xs:dayTimeDuration('P0D'), xs:dayTimeDuration('P1D'), xs:yearMonthDuration('P1Y'), xs:duration('P1Y'))) order by string($value) return $value |
pass | n/a
notXP31 |
pass | n/a | pass | pass | |
cbcl-distinct-values-014[+]
X cbcl-distinct-values-014: Created on: 2008-06-13 Spec Dependencies: spec = XQ10+ Test: for $value in fn:distinct-values(( xs:gMonthDay('--06-16'), xs:gMonthDay('--06-16'), xs:gMonthDay('--12-15'))) order by string($value) return $value |
pass | n/a
notXP31 |
pass | n/a | pass | pass | |
cbcl-distinct-values-016[+]
X cbcl-distinct-values-016: Created on: 2008-06-16 Spec Dependencies: Test: for $x in 65 to 75 return distinct-values(1 to 10,codepoints-to-string($x to $x+10)) |
pass | pass | pass | pass | pass | pass |