|
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) |
|
---|---|---|---|---|---|---|---|
prod-WindowClause | 114/117 | 0/0 | 117/117 | 0/0 | 117/117 | 117/0 | 0/6 |
SlidingWindowExpr501[+]
X SlidingWindowExpr501: Created on: 2011-07-28 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: for sliding window $w in (1, 2, 3, 4) start at $s when fn:true() end at $e when $e - $s eq 1 return $w |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
SlidingWindowExpr502[+]
X SlidingWindowExpr502: Created on: 2011-07-28 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: for sliding window $w in (1, 2, 3, 4) start at $s when fn:true() only end at $e when $e - $s eq 1 return $w |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
SlidingWindowExpr503[+]
X SlidingWindowExpr503: Created on: 2011-07-28 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: for sliding window $w in (1, 2, 3, 4) start $s at $s previous $s when fn:true() only end $s at $s previous $s when $s - $s eq 1 return $w |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
TumblingWindowExpr503[+]
X TumblingWindowExpr503: Created on: 2011-07-28 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: for tumbling window $w in (1, 2, 3, 4) start $s at $s previous $s when fn:true() only end $s at $s previous $s when $s - $s eq 1 return $w |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
WindowingUseCase01[+]
X WindowingUseCase01: Created on: 2011-07-28 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: <table>{ for tumbling window $w in ./doc/* start at $x when fn:true() end at $y when $y - $x = 2 return <tr>{ for $i in $w return <td>{data($i)}</td> }</tr> }</table> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
WindowingUseCase01S[+]
X WindowingUseCase01S: Created on: 2011-07-28 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: <table>{ for tumbling window $w in ./doc/* start at $x when fn:true() end at $y when $y - $x = 2 return <tr>{ for $i in $w return <td>{data($i)}</td> }</tr> }</table> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
WindowingUseCase02[+]
X WindowingUseCase02: Created on: 2011-07-28 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: <chapter>{ for tumbling window $w in ./body/* start previous $s when $s[self::h2] end next $e when $e[self::h2] return <section title="{data($s)}">{ for $x in $w return <para>{data($x)}</para> }</section> }</chapter> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
WindowingUseCase02S[+]
X WindowingUseCase02S: Created on: 2011-07-28 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: <chapter>{ for tumbling window $w in ./body/* start previous $s when $s[self::h2] end next $e when $e[self::h2] return <section title="{data($s)}">{ for $x in $w return <para>{data($x)}</para> }</section> }</chapter> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
WindowingUseCase03[+]
X WindowingUseCase03: Created on: 2011-07-28 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: <doc>{ for tumbling window $w in ./doc/* start $x when $x[self::dt] end $y next $z when $y[self::dd] and $z[self::dt] return <term>{ $w }</term> }</doc> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
WindowingUseCase03S[+]
X WindowingUseCase03S: Created on: 2011-07-28 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: <doc>{ for tumbling window $w in ./doc/* start $x when $x[self::dt] end $y next $z when $y[self::dd] and $z[self::dt] return <term>{ $w }</term> }</doc> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
WindowingUseCase04[+]
X WindowingUseCase04: Created on: 2011-07-28 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: let $MAX_DIFF := 2 for sliding window $w in ./stream/event start $s_curr at $s_pos previous $s_prev when ($s_curr/@time ne $s_prev/@time) or (empty($s_prev)) only end next $e_next when $e_next/@time - $s_curr/@time gt $MAX_DIFF return avg( $w/@temp ) |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
WindowingUseCase04S[+]
X WindowingUseCase04S: Created on: 2011-07-28 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: let $MAX_DIFF := 2 for sliding window $w in ./stream/event start $s_curr at $s_pos previous $s_prev when ($s_curr/@time ne $s_prev/@time) or (empty($s_prev)) only end next $e_next when $e_next/@time - $s_curr/@time gt $MAX_DIFF return avg( $w/@temp ) |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
WindowingUseCase05[+]
X WindowingUseCase05: Created on: 2011-07-28 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: let $SMOOTH_CONST := 0.2 for sliding window $w in ./stream/event start at $s_pos when true() only end at $e_pos when $e_pos - $s_pos eq 2 return round-half-to-even($SMOOTH_CONST * data($w[3]/@temp) + (1 - $SMOOTH_CONST) * ( $SMOOTH_CONST * data($w[2]/@temp) + (1 - $SMOOTH_CONST) * data($w[1]/@temp) ), 2) |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
WindowingUseCase05S[+]
X WindowingUseCase05S: Created on: 2011-07-28 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: let $SMOOTH_CONST := 0.2 for sliding window $w in ./stream/event start at $s_pos when true() only end at $e_pos when $e_pos - $s_pos eq 2 return round-half-to-even($SMOOTH_CONST * data($w[3]/@temp) + (1 - $SMOOTH_CONST) * ( $SMOOTH_CONST * data($w[2]/@temp) + (1 - $SMOOTH_CONST) * data($w[1]/@temp) ), 2) |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
WindowingUseCase06[+]
X WindowingUseCase06: Created on: 2011-07-28 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: for sliding window $w in ./stream/event start $s_curr when fn:true() only end next $next when $next/@time > $s_curr/@time + 3 return let $avg := fn:avg($w/@temp) where $avg * 2 lt xs:double($next/@temp) or $avg div 2 gt xs:double($next/@temp) return <alarm>Outlier detected. Event id:{data($next/@time)}</alarm> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
WindowingUseCase06S[+]
X WindowingUseCase06S: Created on: 2011-07-28 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: for sliding window $w in ./stream/event start $s_curr when fn:true() only end next $next when $next/@time > $s_curr/@time + 3 return let $avg := fn:avg($w/@temp) where $avg * 2 lt xs:double($next/@temp) or $avg div 2 gt xs:double($next/@temp) return <alarm>Outlier detected. Event id:{data($next/@time)}</alarm> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
WindowingUseCase07[+]
X WindowingUseCase07: Created on: 2011-07-28 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: <result>{ for tumbling window $w in ./stream/event start $s when $s/person eq "Anton" and $s/direction eq "in" only end $e next $n when xs:dateTime($n/@time) - xs:dateTime($s/@time) gt xs:dayTimeDuration("PT1H") or ($e/person eq "Barbara" and $e/direction eq "in") or ($e/person eq "Anton" and $e/direction eq "out") where $e/person eq "Barbara" and $e/direction eq "in" return <warning time="{ $e/@time }">Barbara: Anton arrived 1h ago</warning> }</result> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
WindowingUseCase07S[+]
X WindowingUseCase07S: Created on: 2011-07-28 Spec Dependencies: spec = XQ30+ feature = schemaImport spec = XQ30+ Test: <result>{ for tumbling window $w in ./stream/event start $s when $s/person eq "Anton" and $s/direction eq "in" only end $e next $n when xs:dateTime($n/@time) - xs:dateTime($s/@time) gt xs:dayTimeDuration("PT1H") or ($e/person eq "Barbara" and $e/direction eq "in") or ($e/person eq "Anton" and $e/direction eq "out") where $e/person eq "Barbara" and $e/direction eq "in" return <warning time="{ $e/@time }">Barbara: Anton arrived 1h ago</warning> }</result> |
no result | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
WindowingUseCase08[+]
X WindowingUseCase08: Created on: 2011-07-28 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: <result>{ for sliding window $w in ./stream/event start $s when $s/direction eq "in" only end $e when $s/person eq $e/person and $e/direction eq "out" return <working-time> {$s/person} <time>{ xs:dateTime($e/@time) - xs:dateTime($s/@time)}</time> </working-time> }</result> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
WindowingUseCase08S[+]
X WindowingUseCase08S: Created on: 2011-07-28 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: <result>{ for sliding window $w in ./stream/event start $s when $s/direction eq "in" only end $e when $s/person eq $e/person and $e/direction eq "out" return <working-time> {$s/person} <time>{ xs:dateTime($e/@time) - xs:dateTime($s/@time)}</time> </working-time> }</result> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
WindowingUseCase09[+]
X WindowingUseCase09: Created on: 2011-07-28 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: <result>{ for sliding window $w in ./stream/event start $s when $s/direction eq "in" only end $e when $s/person eq $e/person and $e/direction eq "out" let $person := $s/person let $workingTime := xs:dateTime($e/@time) - xs:dateTime($s/@time) group by $person order by $person return <working-time> <person>{ $person }</person> <time>{ sum($workingTime) }</time> </working-time> }</result> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
WindowingUseCase09S[+]
X WindowingUseCase09S: Created on: 2011-07-28 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: <result>{ for sliding window $w in ./stream/event start $s when $s/direction eq "in" only end $e when $s/person eq $e/person and $e/direction eq "out" let $person := $s/person let $workingTime := xs:dateTime($e/@time) - xs:dateTime($s/@time) group by $person order by $person return <working-time> <person>{ $person }</person> <time>{ sum($workingTime) }</time> </working-time> }</result> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
WindowingUseCase10[+]
X WindowingUseCase10: Created on: 2011-07-28 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: <result>{ for tumbling window $w in ./stream/event[direction eq "in"] start $s when fn:true() end next $e when xs:date( xs:dateTime($s/@time) ) ne xs:date( xs:dateTime($e/@time) ) let $date := xs:date(xs:dateTime($s/@time)) where not($w[person eq "Barbara"]) return <alert date="{ $date }">Barbara did not come to work</alert> }</result> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
WindowingUseCase10S[+]
X WindowingUseCase10S: Created on: 2011-07-28 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: <result>{ for tumbling window $w in ./stream/event[direction eq "in"] start $s when fn:true() end next $e when xs:date( xs:dateTime($s/@time) ) ne xs:date( xs:dateTime($e/@time) ) let $date := xs:date(xs:dateTime($s/@time)) where not($w[person eq "Barbara"]) return <alert date="{ $date }">Barbara did not come to work</alert> }</result> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
WindowingUseCase11[+]
X WindowingUseCase11: Created on: 2011-07-28 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: <results>{ for tumbling window $w in ./stream/event[direction eq "in"] start when true() only end next $x when $x/person eq "Clara" return <result time="{ $x/@time }">{ distinct-values(for $y in $w where (xs:dateTime($y/@time) + xs:dayTimeDuration("PT15M") ) ge xs:dateTime($x/@time) return $y/person) }</result> }</results> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
WindowingUseCase11S[+]
X WindowingUseCase11S: Created on: 2011-07-28 Spec Dependencies: spec = XQ30+ feature = schemaImport spec = XQ30+ Test: <results>{ for tumbling window $w in ./stream/event[direction eq "in"] start when true() only end next $x when $x/person eq "Clara" return <result time="{ $x/@time }">{ distinct-values(for $y in $w where (xs:dateTime($y/@time) + xs:dayTimeDuration("PT15M") ) ge xs:dateTime($x/@time) return $y/person) }</result> }</results> |
no result | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
WindowingUseCase12[+]
X WindowingUseCase12: Created on: 2011-07-28 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: <result>{ for tumbling window $w in ./stream/event[direction eq "in"] start $x when $x/person = ("Barbara", "Anton") end next $y when xs:dateTime($y/@time) - xs:dateTime($x/@time) gt xs:dayTimeDuration("PT30M") where $w[person eq "Anton"] and $w[person eq "Barbara"] return <alert time="{ xs:dateTime($y/@time) }">Anton and Barbara just arrived</alert> }</result> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
WindowingUseCase12S[+]
X WindowingUseCase12S: Created on: 2011-07-28 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: <result>{ for tumbling window $w in ./stream/event[direction eq "in"] start $x when $x/person = ("Barbara", "Anton") end next $y when xs:dateTime($y/@time) - xs:dateTime($x/@time) gt xs:dayTimeDuration("PT30M") where $w[person eq "Anton"] and $w[person eq "Barbara"] return <alert time="{ xs:dateTime($y/@time) }">Anton and Barbara just arrived</alert> }</result> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
WindowingUseCase13[+]
X WindowingUseCase13: Created on: 2011-07-28 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: <result>{ for sliding window $w in ./stream/event start $s when true() end next $e when xs:dateTime($e/@time) - xs:dateTime($s/@time) gt xs:dayTimeDuration("PT1H") where count($w[person eq $s/person and direction eq "in"]) ge 3 return <alert time="{ $e/@time }">{fn:data($s/person)} is suspicious</alert> }</result> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
WindowingUseCase13S[+]
X WindowingUseCase13S: Created on: 2011-07-28 Spec Dependencies: spec = XQ30+ feature = schemaImport spec = XQ30+ Test: <result>{ for sliding window $w in ./stream/event start $s when true() end next $e when xs:dateTime($e/@time) - xs:dateTime($s/@time) gt xs:dayTimeDuration("PT1H") where count($w[person eq $s/person and direction eq "in"]) ge 3 return <alert time="{ $e/@time }">{fn:data($s/person)} is suspicious</alert> }</result> |
no result | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
WindowingUseCase14[+]
X WindowingUseCase14: Created on: 2011-07-28 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: <result>{ for tumbling window $w in ./rss/channel/item start $first when fn:true() end next $lookAhead when $first/author ne $lookAhead/author where count($w) ge 3 return <annoying-author>{ $w[1]/author }</annoying-author> }</result> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
WindowingUseCase14S[+]
X WindowingUseCase14S: Created on: 2011-07-28 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: <result>{ for tumbling window $w in ./rss/channel/item start $first when fn:true() end next $lookAhead when $first/author ne $lookAhead/author where count($w) ge 3 return <annoying-author>{ $w[1]/author }</annoying-author> }</result> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
WindowingUseCase15[+]
X WindowingUseCase15: Created on: 2011-07-28 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: <result>{ for tumbling window $w in ./rss/channel/item start $s_curr when true() end next $e_next when fn:day-from-dateTime(xs:dateTime($e_next/pubDate)) ne fn:day-from-dateTime(xs:dateTime($s_curr/pubDate)) return <item> <date>{xs:date(xs:dateTime($s_curr/pubDate))}</date> { for $item in $w where fn:contains( xs:string($item/title), 'XQuery') return $item/title } </item> }</result> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
WindowingUseCase15S[+]
X WindowingUseCase15S: Created on: 2011-07-28 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: <result>{ for tumbling window $w in ./rss/channel/item start $s_curr when true() end next $e_next when fn:day-from-dateTime(xs:dateTime($e_next/pubDate)) ne fn:day-from-dateTime(xs:dateTime($s_curr/pubDate)) return <item> <date>{xs:date(xs:dateTime($s_curr/pubDate))}</date> { for $item in $w where fn:contains( xs:string($item/title), 'XQuery') return $item/title } </item> }</result> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
WindowingUseCase16[+]
X WindowingUseCase16: Created on: 2011-07-28 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: <result>{ for tumbling window $w in ./rss/channel/item start $s_curr when true() end next $e_next when fn:day-from-dateTime(xs:dateTime($e_next/pubDate)) ne fn:day-from-dateTime(xs:dateTime($s_curr/pubDate)) return <item> <date>{xs:date(xs:dateTime($s_curr/pubDate))}</date> { for $a in fn:distinct-values($w/author) return <author name="{$a}"> <titles> { $w[author eq $a]/title } </titles> </author> } </item> }</result> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
WindowingUseCase16S[+]
X WindowingUseCase16S: Created on: 2011-07-28 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: <result>{ for tumbling window $w in ./rss/channel/item start $s_curr when true() end next $e_next when fn:day-from-dateTime(xs:dateTime($e_next/pubDate)) ne fn:day-from-dateTime(xs:dateTime($s_curr/pubDate)) return <item> <date>{xs:date(xs:dateTime($s_curr/pubDate))}</date> { for $a in fn:distinct-values($w/author) return <author name="{$a}"> <titles> { $w[author eq $a]/title } </titles> </author> } </item> }</result> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
WindowingUseCase17[+]
X WindowingUseCase17: Created on: 2011-07-28 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: <result>{ for sliding window $w in ./sequence/* start $cur previous $prev when day-from-dateTime($cur/@date) ne day-from-dateTime($prev/@date) or empty($prev) end $end next $next when day-from-dateTime(xs:dateTime($end/@date)) ne day-from-dateTime(xs:dateTime($next/@date)) return <mostValuableCustomer endOfDay="{xs:dateTime($cur/@date)}">{ let $companies := for $x in distinct-values($w/@billTo ) return <amount company="{$x}">{sum($w[@billTo eq $x]/@total)}</amount> let $max := max($companies) for $company in $companies where $company eq xs:untypedAtomic($max) return $company }</mostValuableCustomer> }</result> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
WindowingUseCase17S[+]
X WindowingUseCase17S: Created on: 2011-07-28 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: <result>{ for sliding window $w in ./sequence/* start $cur previous $prev when day-from-dateTime($cur/@date) ne day-from-dateTime($prev/@date) or empty($prev) end $end next $next when day-from-dateTime(xs:dateTime($end/@date)) ne day-from-dateTime(xs:dateTime($next/@date)) return <mostValuableCustomer endOfDay="{xs:dateTime($cur/@date)}">{ let $companies := for $x in distinct-values($w/@billTo ) return <amount company="{$x}">{sum($w[@billTo eq $x]/@total)}</amount> let $max := max($companies) for $company in $companies where $company eq xs:untypedAtomic($max) return $company }</mostValuableCustomer> }</result> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
WindowingUseCase18[+]
X WindowingUseCase18: Created on: 2011-07-28 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: <result>{ for sliding window $w in ./sequence/* start $s when $s[self::OrderRequest] end $e when $e/@orderID eq $s/@orderID and ($e[self::ConfirmationRequest] and $e/@status eq "reject" or $e[self::ShipNotice]) where $e[self::ShipNotice] return <timeToShip orderID="{ $s/@orderID}">{xs:dateTime($e/@date) - xs:dateTime($s/@date) }</timeToShip> }</result> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
WindowingUseCase18S[+]
X WindowingUseCase18S: Created on: 2011-07-28 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: <result>{ for sliding window $w in ./sequence/* start $s when $s[self::OrderRequest] end $e when $e/@orderID eq $s/@orderID and ($e[self::ConfirmationRequest] and $e/@status eq "reject" or $e[self::ShipNotice]) where $e[self::ShipNotice] return <timeToShip orderID="{ $s/@orderID}">{xs:dateTime($e/@date) - xs:dateTime($s/@date) }</timeToShip> }</result> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
WindowingUseCase19[+]
X WindowingUseCase19: Created on: 2011-07-28 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: <result>{ for sliding window $w in ./sequence/* start previous $wSPrev when $wSPrev[self::OrderRequest] end next $wENext when $wENext/@orderID eq $wSPrev/@orderID and ($wENext[self::ConfirmationRequest] and $wENext/@status eq "reject" or $wENext[self::ShipNotice]) where $wENext[self::ShipNotice] return <bundleWith orderId="{$wSPrev/@orderID}">{ for sliding window $bundle in $w start $bSCur when $bSCur[self::OrderRequest] and $bSCur/@shipTo eq $wSPrev/@shipTo end $bECur next $bENext when $bECur/@orderID eq $bSCur/@orderID and ($bECur[self::ConfirmationRequest] and $bECur/@status eq "reject" or $bECur[self::ShipNotice]) where empty($bENext) return $bSCur }</bundleWith> }</result> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
WindowingUseCase19S[+]
X WindowingUseCase19S: Created on: 2011-07-28 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: <result>{ for sliding window $w in ./sequence/* start previous $wSPrev when $wSPrev[self::OrderRequest] end next $wENext when $wENext/@orderID eq $wSPrev/@orderID and ($wENext[self::ConfirmationRequest] and $wENext/@status eq "reject" or $wENext[self::ShipNotice]) where $wENext[self::ShipNotice] return <bundleWith orderId="{$wSPrev/@orderID}">{ for sliding window $bundle in $w start $bSCur when $bSCur[self::OrderRequest] and $bSCur/@shipTo eq $wSPrev/@shipTo end $bECur next $bENext when $bECur/@orderID eq $bSCur/@orderID and ($bECur[self::ConfirmationRequest] and $bECur/@status eq "reject" or $bECur[self::ShipNotice]) where empty($bENext) return $bSCur }</bundleWith> }</result> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
TumblingWindowExpr504[+]
X TumblingWindowExpr504: Created on: 2011-07-28 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: for tumbling window $w in (1, 2, 3, 4) start $s at $ps previous $pps when fn:true() only end $s at $ps previous $pps when $ps - $ps eq 1 return $w |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
SlidingWindowExpr504[+]
X SlidingWindowExpr504: Created on: 2011-07-28 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: for sliding window $w in (1, 2, 3, 4) start $s at $ps previous $pps when fn:true() only end $s at $ps previous $pps when $ps - $ps eq 1 return $w |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
SlidingWindowExpr505[+]
X SlidingWindowExpr505: Created on: 2011-07-28 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: for sliding window $w in (1, 2, 3, 4) start at $s when fn:true() end at $e when $s - $e eq 1 return $s |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
TumblingWindowExpr505[+]
X TumblingWindowExpr505: Created on: 2011-07-28 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: for tumbling window $w in (1, 2, 3, 4) start at $s when fn:true() end at $e when $s - $e eq 1 return $s |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
SlidingWindowExpr506[+]
X SlidingWindowExpr506: Created on: 2011-08-08 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: for sliding window $w in (1, 2, 3, 4, 14, 13, 12, 11) start $s when fn:true() only end $e when $e eq $s + 10 return string-join($w!string(), ' ') |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
SlidingWindowExpr507[+]
X SlidingWindowExpr507: Created on: 2011-08-08 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: for sliding window $w as xs:integer+ in (1, 2, "london", 3, 4, "paris") start $start when $start instance of xs:integer only end next $beyond when $beyond instance of xs:string return string-join($w!string(), ' ') |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
TumblingWindowExpr507[+]
X TumblingWindowExpr507: Created on: 2011-08-08 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: for tumbling window $w as xs:integer+ in (1, 2, "london", 3, 4, "paris") start $start when $start instance of xs:integer only end next $beyond when $beyond instance of xs:string return string-join($w!string(), ' ') |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
SlidingWindowExpr508[+]
X SlidingWindowExpr508: Created on: 2011-08-08 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: for sliding window $w as xs:integer+ in (1, 2, "london", 3, 4.1, "paris") start $start when $start instance of xs:integer only end next $beyond when $beyond instance of xs:string return string-join($w!string(), ' ') |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
TumblingWindowExpr508[+]
X TumblingWindowExpr508: Created on: 2011-08-08 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: for tumbling window $w as xs:integer+ in (1, 2, "london", 3, 4.1, "paris") start $start when $start instance of xs:integer only end next $beyond when $beyond instance of xs:string return string-join($w!string(), ' ') |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
SlidingWindowExpr509[+]
X SlidingWindowExpr509: Created on: 2011-08-08 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: avg( for sliding window $w in (1, 2, "london", 3, 4, "paris") start $start when $start instance of xs:integer only end next $beyond when $beyond instance of xs:string return count($w) ) |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
TumblingWindowExpr509[+]
X TumblingWindowExpr509: Created on: 2011-08-08 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: avg( for tumbling window $w in (1, 2, "london", 3, 4, "paris") start $start when $start instance of xs:integer only end next $beyond when $beyond instance of xs:string return count($w) ) |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
TumblingWindowExpr510[+]
X TumblingWindowExpr510: Created on: 2011-12-02 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: for tumbling window $w in (1 to 10) start $s when true() end $e when true() return <window>{$w}</window> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
SlidingWindowExpr510[+]
X SlidingWindowExpr510: Created on: 2011-12-02 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: for sliding window $w in (1 to 10) start $s when true() end $e when true() return <window>{$w}</window> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
TumblingWindowExpr511[+]
X TumblingWindowExpr511: Created on: 2011-12-02 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: for tumbling window $w in (1 to 10) start $s when true() end $e when $e - $s eq 2 return <window>{$w}</window> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
SlidingWindowExpr511[+]
X SlidingWindowExpr511: Created on: 2011-12-02 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: for sliding window $w in (1 to 10) start $s when true() end $e when $e - $s eq 2 return <window>{$w}</window> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
TumblingWindowExpr512[+]
X TumblingWindowExpr512: Created on: 2011-12-02 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: for tumbling window $w in (1 to 10) start $s at $x when true() end $e at $y when $y - $x eq 2 return <window>{$w}</window> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
SlidingWindowExpr512[+]
X SlidingWindowExpr512: Created on: 2011-12-02 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: for sliding window $w in (1 to 10) start $s at $x when true() end $e at $y when $y - $x eq 2 return <window>{$w}</window> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
TumblingWindowExpr513[+]
X TumblingWindowExpr513: Created on: 2011-12-02 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: for tumbling window $w in (1 to 10) start $s at $x when true() only end $e at $y when $y - $x eq 2 return <window>{$w}</window> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
SlidingWindowExpr513[+]
X SlidingWindowExpr513: Created on: 2011-12-02 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: for sliding window $w in (1 to 10) start $s at $x when true() only end $e at $y when $y - $x eq 2 return <window>{$w}</window> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
TumblingWindowExpr514[+]
X TumblingWindowExpr514: Created on: 2011-12-02 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: for tumbling window $w in (1 to 10) start $s when true() only end $e when false() return <window>{$w}</window> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
SlidingWindowExpr514[+]
X SlidingWindowExpr514: Created on: 2011-12-02 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: for sliding window $w in (1 to 10) start $s when true() only end $e when false() return <window>{$w}</window> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
TumblingWindowExpr515[+]
X TumblingWindowExpr515: Created on: 2011-12-02 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: for tumbling window $w in (1 to 10) start $s when true() end $e when false() return <window>{$w}</window> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
SlidingWindowExpr515[+]
X SlidingWindowExpr515: Created on: 2011-12-02 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: for sliding window $w in (1 to 10) start $s when true() end $e when false() return <window>{$w}</window> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
TumblingWindowExpr516[+]
X TumblingWindowExpr516: Created on: 2011-12-02 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: declare namespace window = "foo:bar"; for tumbling window $window:w in (1 to 10) start $s when true() end $e when false() return <window>{$window:w}</window> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
TumblingWindowExpr517[+]
X TumblingWindowExpr517: Created on: 2011-12-02 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: declare namespace window = "foo:bar"; for tumbling window $Q{foo:bar}w in (1 to 10) start $s when true() end $e when false() return <window>{$window:w}</window> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
SlidingWindowExpr517[+]
X SlidingWindowExpr517: Created on: 2011-12-02 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: declare namespace window = "foo:bar"; for sliding window $Q{foo:bar}w in (1 to 10) start $s when true() end $e when false() return <window>{$window:w}</window> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
TumblingWindowExpr518[+]
X TumblingWindowExpr518: Created on: 2011-12-02 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: declare namespace w = "foo:bar"; for tumbling window $Q{foo:bar}w in (1 to 10) start $Q{foo:bar}s at $Q{foo:bar}x previous $Q{foo:bar}sp next $Q{foo:bar}sn when true() end $Q{foo:bar}e at $Q{foo:bar}y previous $Q{foo:bar}ep next $Q{foo:bar}en when false() return <window>{ string-join ( for $w:w in ($w:w, $w:s, $w:x, $w:sp, $w:sn, $w:e, $w:y, $w:ep, $w:en) return string($w:w), " " )}</window> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
TumblingWindowExpr518a[+]
X TumblingWindowExpr518a: Created on: 2011-12-30 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: declare namespace w = "foo:bar"; <window>{ for tumbling window $Q{foo:bar}w in (1 to 10) start $Q{foo:bar}s at $Q{foo:bar}x previous $Q{foo:bar}sp next $Q{foo:bar}sn when true() end $Q{foo:bar}e at $Q{foo:bar}y previous $Q{foo:bar}ep next $Q{foo:bar}en when false() return string-join ( for $w:w in ($w:w, $w:s, $w:x, $w:sp, $w:sn, $w:e, $w:y, $w:ep, $w:en) return string($w:w), " " ) }</window> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
SlidingWindowExpr518[+]
X SlidingWindowExpr518: Created on: 2011-12-02 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: declare namespace w = "foo:bar"; for sliding window $Q{foo:bar}w in (1 to 10) start $Q{foo:bar}s at $Q{foo:bar}x previous $Q{foo:bar}sp next $Q{foo:bar}sn when true() end $Q{foo:bar}e at $Q{foo:bar}y previous $Q{foo:bar}ep next $Q{foo:bar}en when false() return <window>{ string-join ( for $w:w in ($w:w, $w:s, $w:x, $w:sp, $w:sn, $w:e, $w:y, $w:ep, $w:en) return string($w:w), " " )}</window> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
TumblingWindowExpr519[+]
X TumblingWindowExpr519: Created on: 2011-12-02 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: for tumbling window $w in (1 to 10) start $s when true() end $e when $e - $w eq 2 return <window>{$w}</window> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
SlidingWindowExpr519[+]
X SlidingWindowExpr519: Created on: 2011-12-02 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: for sliding window $w in (1 to 10) start $s when true() end $e when $e - $w eq 2 return <window>{$w}</window> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
TumblingWindowExpr520[+]
X TumblingWindowExpr520: Created on: 2011-12-02 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: for tumbling window $w in (1 to 10) start $w when true() end $e when false() return <window>{$w}</window> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
TumblingWindowExpr521[+]
X TumblingWindowExpr521: Created on: 2011-12-02 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: for tumbling window $w in (1 to 10) start $s when true() end $w when false() return <window>{$w}</window> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
TumblingWindowExpr522[+]
X TumblingWindowExpr522: Created on: 2011-12-02 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: for tumbling window $w in (1 to 10) start $s at $w when true() end $e when false() return <window>{$w}</window> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
TumblingWindowExpr523[+]
X TumblingWindowExpr523: Created on: 2011-12-02 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: for tumbling window $w in (1 to 10) start $s when true() end $e at $w when false() return <window>{$w}</window> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
TumblingWindowExpr524[+]
X TumblingWindowExpr524: Created on: 2011-12-02 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: for tumbling window $w in (1 to 10) start $s previous $w when true() end $e when false() return <window>{$w}</window> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
TumblingWindowExpr525[+]
X TumblingWindowExpr525: Created on: 2011-12-02 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: for tumbling window $w in (1 to 10) start $s next $w when true() end $e when false() return <window>{$w}</window> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
TumblingWindowExpr526[+]
X TumblingWindowExpr526: Created on: 2011-12-02 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: for tumbling window $w in (1 to 10) start $s when true() end $e previous $w when false() return <window>{$w}</window> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
TumblingWindowExpr527[+]
X TumblingWindowExpr527: Created on: 2011-12-02 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: for tumbling window $w in (1 to 10) start $s when true() end $e next $w when false() return <window>{$w}</window> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
TumblingWindowExpr528[+]
X TumblingWindowExpr528: Created on: 2011-12-02 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: for tumbling window $w in (1 to 10) start $s when true() end $s when false() return <window>{$w}</window> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
TumblingWindowExpr529[+]
X TumblingWindowExpr529: Created on: 2011-12-02 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: for tumbling window $w in (1 to 10) start $s at $x previous $sp next $sn when true() end $e at $y previous $ep next $en when false() where count($w) eq 10 and $x eq 1 and empty($sp) and $sn eq 2 and $e eq 10 and $y eq 10 and $ep eq 9 and empty($en) return true() |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
SlidingWindowExpr529[+]
X SlidingWindowExpr529: Created on: 2011-12-02 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: for sliding window $w in (1 to 10) start $s at $x previous $sp next $sn when true() end $e at $y previous $ep next $en when false() where count($w) eq 10 and $x eq 1 and empty($sp) and $sn eq 2 and $e eq 10 and $y eq 10 and $ep eq 9 and empty($en) return true() |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
TumblingWindowExpr530[+]
X TumblingWindowExpr530: Created on: 2011-12-02 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: for tumbling window $w in () start $s at $x previous $sp next $sn when true() end $e at $y previous $ep next $en when false() return ($w, $s, $x, $sp, $sn, $e, $y, $ep, $en) |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
TumblingWindowExpr531[+]
X TumblingWindowExpr531: Created on: 2011-12-02 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: for tumbling window $w in (2, 4, 6, 8, 10, 12, 14) start $first when $first mod 3 = 0 return <window>{ $w }</window> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
TumblingWindowExpr531a[+]
X TumblingWindowExpr531a: Created on: 2011-12-30 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: <o>{ for tumbling window $w in (2, 4, 6, 8, 10, 12, 14) start $first when $first mod 3 = 0 return <window>{ $w }</window> }</o> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
TumblingWindowExpr532[+]
X TumblingWindowExpr532: Created on: 2011-12-02 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: for $w in (1 to 2) for tumbling window $w in (2, 4, 6, 8, 10, 12, 14) start $first when $first mod 3 = 0 return <window>{ $w }</window> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
TumblingWindowExpr533[+]
X TumblingWindowExpr533: Created on: 2011-12-02 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: for $w at $y in (1 to 2) for tumbling window $w in (2, 4, 6, 8, 10, 12, 14) start $first when $first mod $y = 0 return <window>{ $y }</window> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
TumblingWindowExpr534[+]
X TumblingWindowExpr534: Created on: 2011-12-02 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: for $x1 in 11 for $x2 in 12 for $x3 in 13 for $x4 in 14 for $x5 in 15 for $x6 in 16 for $x7 in 17 for $x8 in 18 for $x9 in 19 for tumbling window $x1 in (1 to 10) start $x2 at $x3 previous $x4 next $x5 when true() end $x6 at $x7 previous $x8 next $x9 when false() return string-join( for $i in ($x1, $x2, $x3, $x4, $x5, $x6, $x7, $x8, $x9) return string($i), " " ) |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
SlidingWindowExpr534[+]
X SlidingWindowExpr534: Created on: 2011-12-02 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: for $x1 in 11 for $x2 in 12 for $x3 in 13 for $x4 in 14 for $x5 in 15 for $x6 in 16 for $x7 in 17 for $x8 in 18 for $x9 in 19 for sliding window $x1 in (1 to 10) start $x2 at $x3 previous $x4 next $x5 when true() end $x6 at $x7 previous $x8 next $x9 when false() return string-join( for $i in ($x1, $x2, $x3, $x4, $x5, $x6, $x7, $x8, $x9) return string($i), " " ) |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
TumblingWindowExpr535a[+]
X TumblingWindowExpr535a: Created on: 2011-12-02 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: for tumbling window $w in (1 to 10) start $s next $sn previous $pn when true() return <window>{$w}</window> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
TumblingWindowExpr535b[+]
X TumblingWindowExpr535b: Created on: 2011-12-02 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: for tumbling window $w in (1 to 10) end $e next $en previous $en when true() return <window>{$w}</window> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
TumblingWindowExpr536[+]
X TumblingWindowExpr536: Created on: 2011-12-02 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: let $stock := <stock> <closing> <date>2008-01-01</date> <price>105</price> </closing> <closing> <date>2008-01-02</date> <price>101</price> </closing> <closing> <date>2008-01-03</date> <price>102</price> </closing> <closing> <date>2008-01-04</date> <price>103</price> </closing> <closing> <date>2008-01-05</date> <price>102</price> </closing> <closing> <date>2008-01-06</date> <price>104</price> </closing> </stock> for tumbling window $w in $stock//closing start $first next $second when $first/price < $second/price end $last next $beyond when $last/price > $beyond/price return <run-up> <start-date>{fn:data($first/date)}</start-date> <start-price>{fn:data($first/price)}</start-price> <end-date>{fn:data($last/date)}</end-date> <end-price>{fn:data($last/price)}</end-price> </run-up> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
TumblingWindowExpr537[+]
X TumblingWindowExpr537: Created on: 2011-12-02 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: for tumbling window $w in (1 to 10) start $s when true() end $e when $e - $s eq 2 count $r return <window num="{$r}">{$w}</window> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
TumblingWindowExpr538[+]
X TumblingWindowExpr538: Created on: 2011-12-02 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: for tumbling window $w in (1 to 10) start $s when true() end $e when $e - $s eq 2 count $r where $r le 2 return <window num="{$r}">{$w}</window> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
SlidingWindowExpr538[+]
X SlidingWindowExpr538: Created on: 2011-12-02 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: for sliding window $w in (1 to 10) start $s when true() end $e when $e - $s eq 2 count $r where $r le 2 return <window num="{$r}">{$w}</window> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
TumblingWindowExpr539[+]
X TumblingWindowExpr539: Created on: 2011-12-02 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: for $i in 1 to 3 count $r for tumbling window $w in (1 to 10) start $s when true() end $e when $e - $s eq 2 where $w = $r + 1 return <window num="{$r}">{$w}</window> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
SlidingWindowExpr539[+]
X SlidingWindowExpr539: Created on: 2011-12-02 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: for $i in 1 to 3 count $r for sliding window $w in (1 to 10) start $s when true() end $e when $e - $s eq 2 where $w = $r + 1 return <window num="{$r}">{$w}</window> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
TumblingWindowExpr540[+]
X TumblingWindowExpr540: Created on: 2011-12-02 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: for tumbling window $w in (1 to 10) start $s when true() only end $e when $e - $s eq 2 order by $w[2] descending return <window>{$w}</window> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
SlidingWindowExpr540[+]
X SlidingWindowExpr540: Created on: 2011-12-02 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: for sliding window $w in (1 to 10) start $s when true() only end $e when $e - $s eq 2 order by $w[2] descending return <window>{$w}</window> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
TumblingWindowExpr541[+]
X TumblingWindowExpr541: Created on: 2011-12-02 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: for tumbling window $w1 in for tumbling window $w2 in (1 to 10) start $s when true() only end $e when $e - $s eq 2 return $w2 start $s when true() end $e when $e - $s eq 2 return <window>{$w2}</window> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
TumblingWindowExpr542[+]
X TumblingWindowExpr542: Created on: 2011-12-02 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: for tumbling window $w1 in for tumbling window $w2 in (1 to 10) start $s when true() only end $e when $e - $s eq 2 return $w2 start $s when true() end $e when $e - $s eq 2 return <window>{$w1}</window> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
TumblingWindowExpr544[+]
X TumblingWindowExpr544: Created on: 2011-12-02 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: for tumbling window $w in (1 to 10) start $s when true() only end $e when $e - $s eq 2 count $r return <window num="{$r}">{ for $i in $w order by $i descending return $i }</window> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
SlidingWindowExpr544[+]
X SlidingWindowExpr544: Created on: 2011-12-02 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: for sliding window $w in (1 to 10) start $s when true() only end $e when $e - $s eq 2 count $r return <window num="{$r}">{ for $i in $w order by $i descending return $i }</window> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
TumblingWindowExpr545[+]
X TumblingWindowExpr545: Created on: 2011-12-02 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: let $s := <stocks> <closing> <symbol>ABC</symbol> <date>2008-01-01</date> <price>105</price> </closing> <closing> <symbol>DEF</symbol> <date>2008-01-01</date> <price>057</price> </closing> <closing> <symbol>ABC</symbol> <date>2008-01-02</date> <price>101</price> </closing> <closing> <symbol>DEF</symbol> <date>2008-01-02</date> <price>054</price> </closing> <closing> <symbol>ABC</symbol> <date>2008-01-03</date> <price>102</price> </closing> <closing> <symbol>DEF</symbol> <date>2008-01-03</date> <price>056</price> </closing> <closing> <symbol>ABC</symbol> <date>2008-01-04</date> <price>103</price> </closing> <closing> <symbol>DEF</symbol> <date>2008-01-04</date> <price>052</price> </closing> <closing> <symbol>ABC</symbol> <date>2008-01-05</date> <price>101</price> </closing> <closing> <symbol>DEF</symbol> <date>2008-01-05</date> <price>055</price> </closing> <closing> <symbol>ABC</symbol> <date>2008-01-06</date> <price>104</price> </closing> <closing> <symbol>DEF</symbol> <date>2008-01-06</date> <price>059</price> </closing> </stocks> for $closings in $s//closing let $symbol := $closings/symbol group by $symbol for tumbling window $w in $closings start $first next $second when $first/price < $second/price end $last next $beyond when $last/price > $beyond/price return <run-up symbol="{$symbol}"> <start-date>{fn:data($first/date)}</start-date> <start-price>{fn:data($first/price)}</start-price> <end-date>{fn:data($last/date)}</end-date> <end-price>{fn:data($last/price)}</end-price> </run-up> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
TumblingWindowExpr546[+]
X TumblingWindowExpr546: Created on: 2011-12-02 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: declare function local:window() { for tumbling window $w in (1 to 10) start $s when true() end $e when $e - $s eq 3 return <window>{$w}</window> }; local:window() |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
TumblingWindowExpr547[+]
X TumblingWindowExpr547: Created on: 2011-12-02 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: for tumbling window $w in (1 to 10) start $s at $x as xs:integer when true() end $e when $e - $s eq 3 return <window>{$w}</window> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
TumblingWindowExpr549[+]
X TumblingWindowExpr549: Created on: 2011-12-02 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: for tumbling window $w in (1 to 10) start $s next $sn as xs:integer when true() end $e when $e - $s eq 3 return <window>{$w}</window> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
TumblingWindowExpr550[+]
X TumblingWindowExpr550: Created on: 2011-12-02 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: for tumbling window $w in (1 to 3) start when true() end when false() return <window>{$w}</window> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
SlidingWindowExpr550[+]
X SlidingWindowExpr550: Created on: 2011-12-02 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: for sliding window $w in (1 to 3) start when true() end when false() return <window>{$w}</window> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
TumblingWindowExpr551[+]
X TumblingWindowExpr551: Created on: 2011-12-02 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: for tumbling window $w in (1 to 10) start $s when true() end $e when $e - $s return $w instance of xs:integer |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
TumblingWindowExpr552[+]
X TumblingWindowExpr552: Created on: 2011-12-02 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: declare function local:window($seq) { for tumbling window $w in $seq start $s when true() end $e when $e - $s eq 3 return <window>{ if ($w instance of xs:integer) then $w else $s }</window> }; local:window(1 to 10) |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
TumblingWindowExpr553[+]
X TumblingWindowExpr553: Created on: 2011-12-02 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: declare variable $local:foo as xs:integer* := 1 to 10; declare function local:window() { for tumbling window $w in $local:foo start $s when true() end $e when $e - $s eq 3 return <window>{ if ($w instance of xs:integer) then $w else $s }</window> }; local:window() |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
TumblingWindowExpr554[+]
X TumblingWindowExpr554: Created on: 2011-12-02 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: declare variable $local:foo as xs:integer* := 1 to 5; declare function local:window() { for tumbling window $w1 in $local:foo start $s when true() end $e when $e - $s eq 3 for tumbling window $w2 in $w1 start $s when true() end $e when true() return <window>{ fn:distinct-values($w1[.=$w2]) }</window> }; local:window() |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
TumblingWindowExpr555[+]
X TumblingWindowExpr555: Created on: 2011-12-02 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: declare variable $local:foo as xs:integer* := 1 to 10; declare function local:window() { for tumbling window $w in $local:foo start $s when false() end $e when false() return <window>{$w}</window> }; local:window() |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
WindowExpr500[+]
X WindowExpr500: Created on: 2011-12-02 Spec Dependencies: spec = XQ30+ spec = XQ30+ Test: for window $w in (1 to 10) start $s when true() end $e when false() return <window>{$w}</window> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass |