Matthias Brantner has proposed merging lp:~zorba-coders/zorba/windowing-tests 
into lp:zorba.

Requested reviews:
  Matthias Brantner (matthias-brantner)
  Till Westmann (tillw)

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/windowing-tests/+merge/84321

Added more Windowing tests (some of them fail and have an associated bug). 
Those tests will probably make it into the W3C test suite and might be removed 
again then.
-- 
https://code.launchpad.net/~zorba-coders/zorba/windowing-tests/+merge/84321
Your team Zorba Coders is subscribed to branch lp:zorba.
=== added file 'test/rbkt/ExpQueryResults/zorba/windowing/tumbling01.xml.res'
--- test/rbkt/ExpQueryResults/zorba/windowing/tumbling01.xml.res	1970-01-01 00:00:00 +0000
+++ test/rbkt/ExpQueryResults/zorba/windowing/tumbling01.xml.res	2011-12-02 20:17:26 +0000
@@ -0,0 +1,1 @@
+<window>1</window><window>2</window><window>3</window><window>4</window><window>5</window><window>6</window><window>7</window><window>8</window><window>9</window><window>10</window>

=== added file 'test/rbkt/ExpQueryResults/zorba/windowing/tumbling02.xml.res'
--- test/rbkt/ExpQueryResults/zorba/windowing/tumbling02.xml.res	1970-01-01 00:00:00 +0000
+++ test/rbkt/ExpQueryResults/zorba/windowing/tumbling02.xml.res	2011-12-02 20:17:26 +0000
@@ -0,0 +1,1 @@
+<window>1 2 3</window><window>4 5 6</window><window>7 8 9</window><window>10</window>

=== added file 'test/rbkt/ExpQueryResults/zorba/windowing/tumbling04.xml.res'
--- test/rbkt/ExpQueryResults/zorba/windowing/tumbling04.xml.res	1970-01-01 00:00:00 +0000
+++ test/rbkt/ExpQueryResults/zorba/windowing/tumbling04.xml.res	2011-12-02 20:17:26 +0000
@@ -0,0 +1,1 @@
+<window>1 2 3</window><window>4 5 6</window><window>7 8 9</window><window>10</window>

=== added file 'test/rbkt/ExpQueryResults/zorba/windowing/tumbling05.xml.res'
--- test/rbkt/ExpQueryResults/zorba/windowing/tumbling05.xml.res	1970-01-01 00:00:00 +0000
+++ test/rbkt/ExpQueryResults/zorba/windowing/tumbling05.xml.res	2011-12-02 20:17:26 +0000
@@ -0,0 +1,1 @@
+<window>1 2 3</window><window>4 5 6</window><window>7 8 9</window>

=== added file 'test/rbkt/ExpQueryResults/zorba/windowing/tumbling06.xml.res'
=== added file 'test/rbkt/ExpQueryResults/zorba/windowing/tumbling07.xml.res'
--- test/rbkt/ExpQueryResults/zorba/windowing/tumbling07.xml.res	1970-01-01 00:00:00 +0000
+++ test/rbkt/ExpQueryResults/zorba/windowing/tumbling07.xml.res	2011-12-02 20:17:26 +0000
@@ -0,0 +1,1 @@
+<window>1 2 3 4 5 6 7 8 9 10</window>

=== added file 'test/rbkt/ExpQueryResults/zorba/windowing/tumbling08.xml.res'
--- test/rbkt/ExpQueryResults/zorba/windowing/tumbling08.xml.res	1970-01-01 00:00:00 +0000
+++ test/rbkt/ExpQueryResults/zorba/windowing/tumbling08.xml.res	2011-12-02 20:17:26 +0000
@@ -0,0 +1,1 @@
+<window>1 2 3 4 5 6 7 8 9 10</window>

=== added file 'test/rbkt/ExpQueryResults/zorba/windowing/tumbling09.xml.res'
--- test/rbkt/ExpQueryResults/zorba/windowing/tumbling09.xml.res	1970-01-01 00:00:00 +0000
+++ test/rbkt/ExpQueryResults/zorba/windowing/tumbling09.xml.res	2011-12-02 20:17:26 +0000
@@ -0,0 +1,1 @@
+<window>1 2 3 4 5 6 7 8 9 10</window>

=== added file 'test/rbkt/ExpQueryResults/zorba/windowing/tumbling10.xml.res'
--- test/rbkt/ExpQueryResults/zorba/windowing/tumbling10.xml.res	1970-01-01 00:00:00 +0000
+++ test/rbkt/ExpQueryResults/zorba/windowing/tumbling10.xml.res	2011-12-02 20:17:26 +0000
@@ -0,0 +1,1 @@
+<window>1 2 3 4 5 6 7 8 9 10 1 1 2 10 10 9</window>

=== added file 'test/rbkt/ExpQueryResults/zorba/windowing/tumbling24.xml.res'
--- test/rbkt/ExpQueryResults/zorba/windowing/tumbling24.xml.res	1970-01-01 00:00:00 +0000
+++ test/rbkt/ExpQueryResults/zorba/windowing/tumbling24.xml.res	2011-12-02 20:17:26 +0000
@@ -0,0 +1,1 @@
+true

=== added file 'test/rbkt/ExpQueryResults/zorba/windowing/tumbling25.xml.res'
=== added file 'test/rbkt/ExpQueryResults/zorba/windowing/tumbling26.xml.res'
--- test/rbkt/ExpQueryResults/zorba/windowing/tumbling26.xml.res	1970-01-01 00:00:00 +0000
+++ test/rbkt/ExpQueryResults/zorba/windowing/tumbling26.xml.res	2011-12-02 20:17:26 +0000
@@ -0,0 +1,1 @@
+<window>6 8 10</window><window>12 14</window>

=== added file 'test/rbkt/ExpQueryResults/zorba/windowing/tumbling27.xml.res'
--- test/rbkt/ExpQueryResults/zorba/windowing/tumbling27.xml.res	1970-01-01 00:00:00 +0000
+++ test/rbkt/ExpQueryResults/zorba/windowing/tumbling27.xml.res	2011-12-02 20:17:26 +0000
@@ -0,0 +1,1 @@
+<window>6 8 10</window><window>12 14</window><window>6 8 10</window><window>12 14</window>

=== added file 'test/rbkt/ExpQueryResults/zorba/windowing/tumbling28.xml.res'
--- test/rbkt/ExpQueryResults/zorba/windowing/tumbling28.xml.res	1970-01-01 00:00:00 +0000
+++ test/rbkt/ExpQueryResults/zorba/windowing/tumbling28.xml.res	2011-12-02 20:17:26 +0000
@@ -0,0 +1,1 @@
+<window>1</window><window>1</window><window>2</window><window>2</window>

=== added file 'test/rbkt/ExpQueryResults/zorba/windowing/tumbling29.xml.res'
--- test/rbkt/ExpQueryResults/zorba/windowing/tumbling29.xml.res	1970-01-01 00:00:00 +0000
+++ test/rbkt/ExpQueryResults/zorba/windowing/tumbling29.xml.res	2011-12-02 20:17:26 +0000
@@ -0,0 +1,1 @@
+1 2 3 4 5 6 7 8 9 10 1 1 2 10 10 9

=== added file 'test/rbkt/ExpQueryResults/zorba/windowing/tumbling30.xml.res'
--- test/rbkt/ExpQueryResults/zorba/windowing/tumbling30.xml.res	1970-01-01 00:00:00 +0000
+++ test/rbkt/ExpQueryResults/zorba/windowing/tumbling30.xml.res	2011-12-02 20:17:26 +0000
@@ -0,0 +1,1 @@
+<window>3</window><window>6</window><window>3</window><window>6</window>

=== added file 'test/rbkt/ExpQueryResults/zorba/windowing/tumbling32.xml.res'
--- test/rbkt/ExpQueryResults/zorba/windowing/tumbling32.xml.res	1970-01-01 00:00:00 +0000
+++ test/rbkt/ExpQueryResults/zorba/windowing/tumbling32.xml.res	2011-12-02 20:17:26 +0000
@@ -0,0 +1,12 @@
+<run-up>
+  <start-date>2008-01-02</start-date>
+  <start-price>101</start-price>
+  <end-date>2008-01-04</end-date>
+  <end-price>103</end-price>
+</run-up>
+<run-up>
+  <start-date>2008-01-05</start-date>
+  <start-price>102</start-price>
+  <end-date>2008-01-06</end-date>
+  <end-price>104</end-price>
+</run-up>

=== added file 'test/rbkt/ExpQueryResults/zorba/windowing/tumbling33.xml.res'
--- test/rbkt/ExpQueryResults/zorba/windowing/tumbling33.xml.res	1970-01-01 00:00:00 +0000
+++ test/rbkt/ExpQueryResults/zorba/windowing/tumbling33.xml.res	2011-12-02 20:17:26 +0000
@@ -0,0 +1,1 @@
+<window num="1">1 2 3</window><window num="2">4 5 6</window><window num="3">7 8 9</window><window num="4">10</window>

=== added file 'test/rbkt/ExpQueryResults/zorba/windowing/tumbling34.xml.res'
--- test/rbkt/ExpQueryResults/zorba/windowing/tumbling34.xml.res	1970-01-01 00:00:00 +0000
+++ test/rbkt/ExpQueryResults/zorba/windowing/tumbling34.xml.res	2011-12-02 20:17:26 +0000
@@ -0,0 +1,1 @@
+<window num="1">1 2 3</window><window num="2">4 5 6</window>

=== added file 'test/rbkt/ExpQueryResults/zorba/windowing/tumbling35.xml.res'
--- test/rbkt/ExpQueryResults/zorba/windowing/tumbling35.xml.res	1970-01-01 00:00:00 +0000
+++ test/rbkt/ExpQueryResults/zorba/windowing/tumbling35.xml.res	2011-12-02 20:17:26 +0000
@@ -0,0 +1,1 @@
+<window num="1">1 2 3</window><window num="2">1 2 3</window><window num="3">4 5 6</window>

=== added file 'test/rbkt/ExpQueryResults/zorba/windowing/tumbling36.xml.res'
--- test/rbkt/ExpQueryResults/zorba/windowing/tumbling36.xml.res	1970-01-01 00:00:00 +0000
+++ test/rbkt/ExpQueryResults/zorba/windowing/tumbling36.xml.res	2011-12-02 20:17:26 +0000
@@ -0,0 +1,1 @@
+<window>7 8 9</window><window>4 5 6</window><window>1 2 3</window>

=== added file 'test/rbkt/ExpQueryResults/zorba/windowing/tumbling38.xml.res'
--- test/rbkt/ExpQueryResults/zorba/windowing/tumbling38.xml.res	1970-01-01 00:00:00 +0000
+++ test/rbkt/ExpQueryResults/zorba/windowing/tumbling38.xml.res	2011-12-02 20:17:26 +0000
@@ -0,0 +1,1 @@
+<window>1 2 3</window><window>4 5 6</window><window>7 8 9</window>

=== added file 'test/rbkt/ExpQueryResults/zorba/windowing/tumbling39.xml.res'
--- test/rbkt/ExpQueryResults/zorba/windowing/tumbling39.xml.res	1970-01-01 00:00:00 +0000
+++ test/rbkt/ExpQueryResults/zorba/windowing/tumbling39.xml.res	2011-12-02 20:17:26 +0000
@@ -0,0 +1,1 @@
+<window num="1">3 2 1</window><window num="2">6 5 4</window><window num="3">9 8 7</window>

=== added file 'test/rbkt/ExpQueryResults/zorba/windowing/tumbling40.xml.res'
--- test/rbkt/ExpQueryResults/zorba/windowing/tumbling40.xml.res	1970-01-01 00:00:00 +0000
+++ test/rbkt/ExpQueryResults/zorba/windowing/tumbling40.xml.res	2011-12-02 20:17:26 +0000
@@ -0,0 +1,24 @@
+<run-up symbol="ABC">
+  <start-date>2008-01-02</start-date>
+  <start-price>101</start-price>
+  <end-date>2008-01-04</end-date>
+  <end-price>103</end-price>
+</run-up>
+<run-up symbol="ABC">
+  <start-date>2008-01-05</start-date>
+  <start-price>101</start-price>
+  <end-date>2008-01-06</end-date>
+  <end-price>104</end-price>
+</run-up>
+<run-up symbol="DEF">
+  <start-date>2008-01-02</start-date>
+  <start-price>054</start-price>
+  <end-date>2008-01-03</end-date>
+  <end-price>056</end-price>
+</run-up>
+<run-up symbol="DEF">
+  <start-date>2008-01-04</start-date>
+  <start-price>052</start-price>
+  <end-date>2008-01-06</end-date>
+  <end-price>059</end-price>
+</run-up>

=== added file 'test/rbkt/ExpQueryResults/zorba/windowing/tumbling41.xml.res'
--- test/rbkt/ExpQueryResults/zorba/windowing/tumbling41.xml.res	1970-01-01 00:00:00 +0000
+++ test/rbkt/ExpQueryResults/zorba/windowing/tumbling41.xml.res	2011-12-02 20:17:26 +0000
@@ -0,0 +1,1 @@
+<window>1 2 3 4</window><window>5 6 7 8</window><window>9 10</window>

=== added file 'test/rbkt/ExpQueryResults/zorba/windowing/tumbling45.xml.res'
--- test/rbkt/ExpQueryResults/zorba/windowing/tumbling45.xml.res	1970-01-01 00:00:00 +0000
+++ test/rbkt/ExpQueryResults/zorba/windowing/tumbling45.xml.res	2011-12-02 20:17:26 +0000
@@ -0,0 +1,1 @@
+false false false false false

=== added file 'test/rbkt/ExpQueryResults/zorba/windowing/tumbling46.xml.res'
--- test/rbkt/ExpQueryResults/zorba/windowing/tumbling46.xml.res	1970-01-01 00:00:00 +0000
+++ test/rbkt/ExpQueryResults/zorba/windowing/tumbling46.xml.res	2011-12-02 20:17:26 +0000
@@ -0,0 +1,1 @@
+<window>1</window><window>5</window><window>9</window>

=== added file 'test/rbkt/ExpQueryResults/zorba/windowing/tumbling47.xml.res'
--- test/rbkt/ExpQueryResults/zorba/windowing/tumbling47.xml.res	1970-01-01 00:00:00 +0000
+++ test/rbkt/ExpQueryResults/zorba/windowing/tumbling47.xml.res	2011-12-02 20:17:26 +0000
@@ -0,0 +1,1 @@
+<window>1</window><window>5</window><window>9</window>

=== added file 'test/rbkt/ExpQueryResults/zorba/windowing/tumbling48.xml.res'
--- test/rbkt/ExpQueryResults/zorba/windowing/tumbling48.xml.res	1970-01-01 00:00:00 +0000
+++ test/rbkt/ExpQueryResults/zorba/windowing/tumbling48.xml.res	2011-12-02 20:17:26 +0000
@@ -0,0 +1,1 @@
+<window>1</window><window>2</window><window>3</window><window>4</window><window>5</window>

=== added file 'test/rbkt/ExpQueryResults/zorba/windowing/tumbling49.xml.res'
=== modified file 'test/rbkt/Queries/CMakeLists.txt'
--- test/rbkt/Queries/CMakeLists.txt	2011-10-26 13:43:15 +0000
+++ test/rbkt/Queries/CMakeLists.txt	2011-12-02 20:17:26 +0000
@@ -294,3 +294,17 @@
 
 EXPECTED_FAILURE(test/rbkt/zorba/reference/reference_5 868640)
 
+
+# Failing windowing tests.
+EXPECTED_FAILURE(test/rbkt/zorba/windowing/tumbling22 899363)
+
+EXPECTED_FAILURE(test/rbkt/zorba/windowing/tumbling44 899366)
+
+EXPECTED_FAILURE(test/rbkt/zorba/windowing/tumbling14 899364)
+EXPECTED_FAILURE(test/rbkt/zorba/windowing/tumbling16 899364)
+EXPECTED_FAILURE(test/rbkt/zorba/windowing/tumbling15 899364)
+EXPECTED_FAILURE(test/rbkt/zorba/windowing/tumbling18 899364)
+EXPECTED_FAILURE(test/rbkt/zorba/windowing/tumbling19 899364)
+EXPECTED_FAILURE(test/rbkt/zorba/windowing/tumbling20 899364)
+EXPECTED_FAILURE(test/rbkt/zorba/windowing/tumbling17 899364)
+EXPECTED_FAILURE(test/rbkt/zorba/windowing/tumbling21 899364)

=== added file 'test/rbkt/Queries/zorba/windowing/tumbling01.xq'
--- test/rbkt/Queries/zorba/windowing/tumbling01.xq	1970-01-01 00:00:00 +0000
+++ test/rbkt/Queries/zorba/windowing/tumbling01.xq	2011-12-02 20:17:26 +0000
@@ -0,0 +1,4 @@
+for tumbling window $w in (1 to 10)
+start $s when true()
+end $e when true()
+return <window>{$w}</window>

=== added file 'test/rbkt/Queries/zorba/windowing/tumbling02.xq'
--- test/rbkt/Queries/zorba/windowing/tumbling02.xq	1970-01-01 00:00:00 +0000
+++ test/rbkt/Queries/zorba/windowing/tumbling02.xq	2011-12-02 20:17:26 +0000
@@ -0,0 +1,5 @@
+for tumbling window $w in (1 to 10)
+start $s when true()
+end $e when $e - $s eq 2
+return <window>{$w}</window>
+

=== added file 'test/rbkt/Queries/zorba/windowing/tumbling04.xq'
--- test/rbkt/Queries/zorba/windowing/tumbling04.xq	1970-01-01 00:00:00 +0000
+++ test/rbkt/Queries/zorba/windowing/tumbling04.xq	2011-12-02 20:17:26 +0000
@@ -0,0 +1,4 @@
+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>

=== added file 'test/rbkt/Queries/zorba/windowing/tumbling05.xq'
--- test/rbkt/Queries/zorba/windowing/tumbling05.xq	1970-01-01 00:00:00 +0000
+++ test/rbkt/Queries/zorba/windowing/tumbling05.xq	2011-12-02 20:17:26 +0000
@@ -0,0 +1,5 @@
+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>
+

=== added file 'test/rbkt/Queries/zorba/windowing/tumbling06.xq'
--- test/rbkt/Queries/zorba/windowing/tumbling06.xq	1970-01-01 00:00:00 +0000
+++ test/rbkt/Queries/zorba/windowing/tumbling06.xq	2011-12-02 20:17:26 +0000
@@ -0,0 +1,4 @@
+for tumbling window $w in (1 to 10)
+start $s when true()
+only end $e when false() 
+return <window>{$w}</window>

=== added file 'test/rbkt/Queries/zorba/windowing/tumbling07.xq'
--- test/rbkt/Queries/zorba/windowing/tumbling07.xq	1970-01-01 00:00:00 +0000
+++ test/rbkt/Queries/zorba/windowing/tumbling07.xq	2011-12-02 20:17:26 +0000
@@ -0,0 +1,4 @@
+for tumbling window $w in (1 to 10)
+start $s when true()
+end $e when false() 
+return <window>{$w}</window>

=== added file 'test/rbkt/Queries/zorba/windowing/tumbling08.xq'
--- test/rbkt/Queries/zorba/windowing/tumbling08.xq	1970-01-01 00:00:00 +0000
+++ test/rbkt/Queries/zorba/windowing/tumbling08.xq	2011-12-02 20:17:26 +0000
@@ -0,0 +1,6 @@
+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>

=== added file 'test/rbkt/Queries/zorba/windowing/tumbling09.xq'
--- test/rbkt/Queries/zorba/windowing/tumbling09.xq	1970-01-01 00:00:00 +0000
+++ test/rbkt/Queries/zorba/windowing/tumbling09.xq	2011-12-02 20:17:26 +0000
@@ -0,0 +1,6 @@
+declare namespace window = "foo:bar";
+
+for tumbling window $"foo:bar":w in (1 to 10)
+start $s when true()
+end $e when false() 
+return <window>{$window:w}</window>

=== added file 'test/rbkt/Queries/zorba/windowing/tumbling10.xq'
--- test/rbkt/Queries/zorba/windowing/tumbling10.xq	1970-01-01 00:00:00 +0000
+++ test/rbkt/Queries/zorba/windowing/tumbling10.xq	2011-12-02 20:17:26 +0000
@@ -0,0 +1,10 @@
+declare namespace w = "foo:bar";
+
+for tumbling window $"foo:bar":w in (1 to 10)
+start $"foo:bar":s at $"foo:bar":x previous $"foo:bar":sp next $"foo:bar":sn when true()
+end $"foo:bar":e at $"foo:bar":y previous $"foo:bar":ep next $"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>

=== added file 'test/rbkt/Queries/zorba/windowing/tumbling11.spec'
--- test/rbkt/Queries/zorba/windowing/tumbling11.spec	1970-01-01 00:00:00 +0000
+++ test/rbkt/Queries/zorba/windowing/tumbling11.spec	2011-12-02 20:17:26 +0000
@@ -0,0 +1,1 @@
+Error: http://www.w3.org/2005/xqt-errors:XPST0008

=== added file 'test/rbkt/Queries/zorba/windowing/tumbling11.xq'
--- test/rbkt/Queries/zorba/windowing/tumbling11.xq	1970-01-01 00:00:00 +0000
+++ test/rbkt/Queries/zorba/windowing/tumbling11.xq	2011-12-02 20:17:26 +0000
@@ -0,0 +1,4 @@
+for tumbling window $w in (1 to 10)
+start $s when true()
+end $e when $e - $w eq 2
+return <window>{$w}</window>

=== added file 'test/rbkt/Queries/zorba/windowing/tumbling14.spec'
--- test/rbkt/Queries/zorba/windowing/tumbling14.spec	1970-01-01 00:00:00 +0000
+++ test/rbkt/Queries/zorba/windowing/tumbling14.spec	2011-12-02 20:17:26 +0000
@@ -0,0 +1,1 @@
+Error: http://www.w3.org/2005/xqt-errors:XQST0103

=== added file 'test/rbkt/Queries/zorba/windowing/tumbling14.xq'
--- test/rbkt/Queries/zorba/windowing/tumbling14.xq	1970-01-01 00:00:00 +0000
+++ test/rbkt/Queries/zorba/windowing/tumbling14.xq	2011-12-02 20:17:26 +0000
@@ -0,0 +1,4 @@
+for tumbling window $w in (1 to 10)
+start $w when true()
+end $e when false()
+return <window>{$w}</window>

=== added file 'test/rbkt/Queries/zorba/windowing/tumbling15.spec'
--- test/rbkt/Queries/zorba/windowing/tumbling15.spec	1970-01-01 00:00:00 +0000
+++ test/rbkt/Queries/zorba/windowing/tumbling15.spec	2011-12-02 20:17:26 +0000
@@ -0,0 +1,2 @@
+Error: http://www.w3.org/2005/xqt-errors:XQST0103
+

=== added file 'test/rbkt/Queries/zorba/windowing/tumbling15.xq'
--- test/rbkt/Queries/zorba/windowing/tumbling15.xq	1970-01-01 00:00:00 +0000
+++ test/rbkt/Queries/zorba/windowing/tumbling15.xq	2011-12-02 20:17:26 +0000
@@ -0,0 +1,4 @@
+for tumbling window $w in (1 to 10)
+start $s when true()
+end $w when false() 
+return <window>{$w}</window>

=== added file 'test/rbkt/Queries/zorba/windowing/tumbling16.spec'
--- test/rbkt/Queries/zorba/windowing/tumbling16.spec	1970-01-01 00:00:00 +0000
+++ test/rbkt/Queries/zorba/windowing/tumbling16.spec	2011-12-02 20:17:26 +0000
@@ -0,0 +1,1 @@
+Error: http://www.w3.org/2005/xqt-errors:XQST0103

=== added file 'test/rbkt/Queries/zorba/windowing/tumbling16.xq'
--- test/rbkt/Queries/zorba/windowing/tumbling16.xq	1970-01-01 00:00:00 +0000
+++ test/rbkt/Queries/zorba/windowing/tumbling16.xq	2011-12-02 20:17:26 +0000
@@ -0,0 +1,4 @@
+for tumbling window $w in (1 to 10)
+start $s at $w when true()
+end $e when false() 
+return <window>{$w}</window>

=== added file 'test/rbkt/Queries/zorba/windowing/tumbling17.spec'
--- test/rbkt/Queries/zorba/windowing/tumbling17.spec	1970-01-01 00:00:00 +0000
+++ test/rbkt/Queries/zorba/windowing/tumbling17.spec	2011-12-02 20:17:26 +0000
@@ -0,0 +1,1 @@
+Error: http://www.w3.org/2005/xqt-errors:XQST0103

=== added file 'test/rbkt/Queries/zorba/windowing/tumbling17.xq'
--- test/rbkt/Queries/zorba/windowing/tumbling17.xq	1970-01-01 00:00:00 +0000
+++ test/rbkt/Queries/zorba/windowing/tumbling17.xq	2011-12-02 20:17:26 +0000
@@ -0,0 +1,4 @@
+for tumbling window $w in (1 to 10)
+start $s when true()
+end $e at $w when false() 
+return <window>{$w}</window>

=== added file 'test/rbkt/Queries/zorba/windowing/tumbling18.spec'
--- test/rbkt/Queries/zorba/windowing/tumbling18.spec	1970-01-01 00:00:00 +0000
+++ test/rbkt/Queries/zorba/windowing/tumbling18.spec	2011-12-02 20:17:26 +0000
@@ -0,0 +1,1 @@
+Error: http://www.w3.org/2005/xqt-errors:XQST0103

=== added file 'test/rbkt/Queries/zorba/windowing/tumbling18.xq'
--- test/rbkt/Queries/zorba/windowing/tumbling18.xq	1970-01-01 00:00:00 +0000
+++ test/rbkt/Queries/zorba/windowing/tumbling18.xq	2011-12-02 20:17:26 +0000
@@ -0,0 +1,4 @@
+for tumbling window $w in (1 to 10)
+start $s previous $w when true()
+end $e when false() 
+return <window>{$w}</window>

=== added file 'test/rbkt/Queries/zorba/windowing/tumbling19.spec'
--- test/rbkt/Queries/zorba/windowing/tumbling19.spec	1970-01-01 00:00:00 +0000
+++ test/rbkt/Queries/zorba/windowing/tumbling19.spec	2011-12-02 20:17:26 +0000
@@ -0,0 +1,1 @@
+Error: http://www.w3.org/2005/xqt-errors:XQST0103

=== added file 'test/rbkt/Queries/zorba/windowing/tumbling19.xq'
--- test/rbkt/Queries/zorba/windowing/tumbling19.xq	1970-01-01 00:00:00 +0000
+++ test/rbkt/Queries/zorba/windowing/tumbling19.xq	2011-12-02 20:17:26 +0000
@@ -0,0 +1,4 @@
+for tumbling window $w in (1 to 10)
+start $s next $w when true()
+end $e when false() 
+return <window>{$w}</window>

=== added file 'test/rbkt/Queries/zorba/windowing/tumbling20.spec'
--- test/rbkt/Queries/zorba/windowing/tumbling20.spec	1970-01-01 00:00:00 +0000
+++ test/rbkt/Queries/zorba/windowing/tumbling20.spec	2011-12-02 20:17:26 +0000
@@ -0,0 +1,1 @@
+Error: http://www.w3.org/2005/xqt-errors:XQST0103

=== added file 'test/rbkt/Queries/zorba/windowing/tumbling20.xq'
--- test/rbkt/Queries/zorba/windowing/tumbling20.xq	1970-01-01 00:00:00 +0000
+++ test/rbkt/Queries/zorba/windowing/tumbling20.xq	2011-12-02 20:17:26 +0000
@@ -0,0 +1,4 @@
+for tumbling window $w in (1 to 10)
+start $s when true()
+end $e previous $w when false() 
+return <window>{$w}</window>

=== added file 'test/rbkt/Queries/zorba/windowing/tumbling21.spec'
--- test/rbkt/Queries/zorba/windowing/tumbling21.spec	1970-01-01 00:00:00 +0000
+++ test/rbkt/Queries/zorba/windowing/tumbling21.spec	2011-12-02 20:17:26 +0000
@@ -0,0 +1,1 @@
+Error: http://www.w3.org/2005/xqt-errors:XQST0103

=== added file 'test/rbkt/Queries/zorba/windowing/tumbling21.xq'
--- test/rbkt/Queries/zorba/windowing/tumbling21.xq	1970-01-01 00:00:00 +0000
+++ test/rbkt/Queries/zorba/windowing/tumbling21.xq	2011-12-02 20:17:26 +0000
@@ -0,0 +1,4 @@
+for tumbling window $w in (1 to 10)
+start $s when true()
+end $e next $w when false() 
+return <window>{$w}</window>

=== added file 'test/rbkt/Queries/zorba/windowing/tumbling22.spec'
--- test/rbkt/Queries/zorba/windowing/tumbling22.spec	1970-01-01 00:00:00 +0000
+++ test/rbkt/Queries/zorba/windowing/tumbling22.spec	2011-12-02 20:17:26 +0000
@@ -0,0 +1,1 @@
+Error: http://www.w3.org/2005/xqt-errors:XQST0103

=== added file 'test/rbkt/Queries/zorba/windowing/tumbling22.xq'
--- test/rbkt/Queries/zorba/windowing/tumbling22.xq	1970-01-01 00:00:00 +0000
+++ test/rbkt/Queries/zorba/windowing/tumbling22.xq	2011-12-02 20:17:26 +0000
@@ -0,0 +1,4 @@
+for tumbling window $w in (1 to 10)
+start $s when true()
+end $s when false() 
+return <window>{$w}</window>

=== added file 'test/rbkt/Queries/zorba/windowing/tumbling24.xq'
--- test/rbkt/Queries/zorba/windowing/tumbling24.xq	1970-01-01 00:00:00 +0000
+++ test/rbkt/Queries/zorba/windowing/tumbling24.xq	2011-12-02 20:17:26 +0000
@@ -0,0 +1,6 @@
+(: check all variables are in scope in the following clause :)
+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()

=== added file 'test/rbkt/Queries/zorba/windowing/tumbling25.xq'
--- test/rbkt/Queries/zorba/windowing/tumbling25.xq	1970-01-01 00:00:00 +0000
+++ test/rbkt/Queries/zorba/windowing/tumbling25.xq	2011-12-02 20:17:26 +0000
@@ -0,0 +1,5 @@
+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)
+

=== added file 'test/rbkt/Queries/zorba/windowing/tumbling26.xq'
--- test/rbkt/Queries/zorba/windowing/tumbling26.xq	1970-01-01 00:00:00 +0000
+++ test/rbkt/Queries/zorba/windowing/tumbling26.xq	2011-12-02 20:17:26 +0000
@@ -0,0 +1,3 @@
+for tumbling window $w in (2, 4, 6, 8, 10, 12, 14)
+start $first when $first mod 3 = 0
+return <window>{ $w }</window>

=== added file 'test/rbkt/Queries/zorba/windowing/tumbling27.xq'
--- test/rbkt/Queries/zorba/windowing/tumbling27.xq	1970-01-01 00:00:00 +0000
+++ test/rbkt/Queries/zorba/windowing/tumbling27.xq	2011-12-02 20:17:26 +0000
@@ -0,0 +1,4 @@
+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>

=== added file 'test/rbkt/Queries/zorba/windowing/tumbling28.xq'
--- test/rbkt/Queries/zorba/windowing/tumbling28.xq	1970-01-01 00:00:00 +0000
+++ test/rbkt/Queries/zorba/windowing/tumbling28.xq	2011-12-02 20:17:26 +0000
@@ -0,0 +1,4 @@
+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 3 = 0
+return <window>{ $y }</window>

=== added file 'test/rbkt/Queries/zorba/windowing/tumbling29.xq'
--- test/rbkt/Queries/zorba/windowing/tumbling29.xq	1970-01-01 00:00:00 +0000
+++ test/rbkt/Queries/zorba/windowing/tumbling29.xq	2011-12-02 20:17:26 +0000
@@ -0,0 +1,17 @@
+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), " "
+  )

=== added file 'test/rbkt/Queries/zorba/windowing/tumbling31.spec'
--- test/rbkt/Queries/zorba/windowing/tumbling31.spec	1970-01-01 00:00:00 +0000
+++ test/rbkt/Queries/zorba/windowing/tumbling31.spec	2011-12-02 20:17:26 +0000
@@ -0,0 +1,1 @@
+Error: http://www.w3.org/2005/xqt-errors:XPST0003

=== added file 'test/rbkt/Queries/zorba/windowing/tumbling31.xq'
--- test/rbkt/Queries/zorba/windowing/tumbling31.xq	1970-01-01 00:00:00 +0000
+++ test/rbkt/Queries/zorba/windowing/tumbling31.xq	2011-12-02 20:17:26 +0000
@@ -0,0 +1,3 @@
+for tumbling window $w in (1 to 10)
+start $s next $sn previous $pn when true()
+return <window>{$w}</window>

=== added file 'test/rbkt/Queries/zorba/windowing/tumbling32.xq'
--- test/rbkt/Queries/zorba/windowing/tumbling32.xq	1970-01-01 00:00:00 +0000
+++ test/rbkt/Queries/zorba/windowing/tumbling32.xq	2011-12-02 20:17:26 +0000
@@ -0,0 +1,19 @@
+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>

=== added file 'test/rbkt/Queries/zorba/windowing/tumbling33.xq'
--- test/rbkt/Queries/zorba/windowing/tumbling33.xq	1970-01-01 00:00:00 +0000
+++ test/rbkt/Queries/zorba/windowing/tumbling33.xq	2011-12-02 20:17:26 +0000
@@ -0,0 +1,5 @@
+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>

=== added file 'test/rbkt/Queries/zorba/windowing/tumbling34.xq'
--- test/rbkt/Queries/zorba/windowing/tumbling34.xq	1970-01-01 00:00:00 +0000
+++ test/rbkt/Queries/zorba/windowing/tumbling34.xq	2011-12-02 20:17:26 +0000
@@ -0,0 +1,6 @@
+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>

=== added file 'test/rbkt/Queries/zorba/windowing/tumbling35.xq'
--- test/rbkt/Queries/zorba/windowing/tumbling35.xq	1970-01-01 00:00:00 +0000
+++ test/rbkt/Queries/zorba/windowing/tumbling35.xq	2011-12-02 20:17:26 +0000
@@ -0,0 +1,8 @@
+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>
+

=== added file 'test/rbkt/Queries/zorba/windowing/tumbling36.xq'
--- test/rbkt/Queries/zorba/windowing/tumbling36.xq	1970-01-01 00:00:00 +0000
+++ test/rbkt/Queries/zorba/windowing/tumbling36.xq	2011-12-02 20:17:26 +0000
@@ -0,0 +1,5 @@
+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>

=== added file 'test/rbkt/Queries/zorba/windowing/tumbling37.spec'
--- test/rbkt/Queries/zorba/windowing/tumbling37.spec	1970-01-01 00:00:00 +0000
+++ test/rbkt/Queries/zorba/windowing/tumbling37.spec	2011-12-02 20:17:26 +0000
@@ -0,0 +1,1 @@
+Error: http://www.w3.org/2005/xqt-errors:XPST0008

=== added file 'test/rbkt/Queries/zorba/windowing/tumbling37.xq'
--- test/rbkt/Queries/zorba/windowing/tumbling37.xq	1970-01-01 00:00:00 +0000
+++ test/rbkt/Queries/zorba/windowing/tumbling37.xq	2011-12-02 20:17:26 +0000
@@ -0,0 +1,8 @@
+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>

=== added file 'test/rbkt/Queries/zorba/windowing/tumbling38.xq'
--- test/rbkt/Queries/zorba/windowing/tumbling38.xq	1970-01-01 00:00:00 +0000
+++ test/rbkt/Queries/zorba/windowing/tumbling38.xq	2011-12-02 20:17:26 +0000
@@ -0,0 +1,8 @@
+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>

=== added file 'test/rbkt/Queries/zorba/windowing/tumbling39.xq'
--- test/rbkt/Queries/zorba/windowing/tumbling39.xq	1970-01-01 00:00:00 +0000
+++ test/rbkt/Queries/zorba/windowing/tumbling39.xq	2011-12-02 20:17:26 +0000
@@ -0,0 +1,12 @@
+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>

=== added file 'test/rbkt/Queries/zorba/windowing/tumbling40.xq'
--- test/rbkt/Queries/zorba/windowing/tumbling40.xq	1970-01-01 00:00:00 +0000
+++ test/rbkt/Queries/zorba/windowing/tumbling40.xq	2011-12-02 20:17:26 +0000
@@ -0,0 +1,27 @@
+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>

=== added file 'test/rbkt/Queries/zorba/windowing/tumbling41.xq'
--- test/rbkt/Queries/zorba/windowing/tumbling41.xq	1970-01-01 00:00:00 +0000
+++ test/rbkt/Queries/zorba/windowing/tumbling41.xq	2011-12-02 20:17:26 +0000
@@ -0,0 +1,9 @@
+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()

=== added file 'test/rbkt/Queries/zorba/windowing/tumbling42.spec'
--- test/rbkt/Queries/zorba/windowing/tumbling42.spec	1970-01-01 00:00:00 +0000
+++ test/rbkt/Queries/zorba/windowing/tumbling42.spec	2011-12-02 20:17:26 +0000
@@ -0,0 +1,1 @@
+Error: http://www.w3.org/2005/xqt-errors:XPST0003

=== added file 'test/rbkt/Queries/zorba/windowing/tumbling42.xq'
--- test/rbkt/Queries/zorba/windowing/tumbling42.xq	1970-01-01 00:00:00 +0000
+++ test/rbkt/Queries/zorba/windowing/tumbling42.xq	2011-12-02 20:17:26 +0000
@@ -0,0 +1,4 @@
+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>

=== added file 'test/rbkt/Queries/zorba/windowing/tumbling43.spec'
--- test/rbkt/Queries/zorba/windowing/tumbling43.spec	1970-01-01 00:00:00 +0000
+++ test/rbkt/Queries/zorba/windowing/tumbling43.spec	2011-12-02 20:17:26 +0000
@@ -0,0 +1,1 @@
+Error: http://www.w3.org/2005/xqt-errors:XPST0003

=== added file 'test/rbkt/Queries/zorba/windowing/tumbling43.xq'
--- test/rbkt/Queries/zorba/windowing/tumbling43.xq	1970-01-01 00:00:00 +0000
+++ test/rbkt/Queries/zorba/windowing/tumbling43.xq	2011-12-02 20:17:26 +0000
@@ -0,0 +1,4 @@
+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>

=== added file 'test/rbkt/Queries/zorba/windowing/tumbling44.spec'
--- test/rbkt/Queries/zorba/windowing/tumbling44.spec	1970-01-01 00:00:00 +0000
+++ test/rbkt/Queries/zorba/windowing/tumbling44.spec	2011-12-02 20:17:26 +0000
@@ -0,0 +1,1 @@
+Error: http://www.w3.org/2005/xqt-errors:XPTY0004

=== added file 'test/rbkt/Queries/zorba/windowing/tumbling44.xq'
--- test/rbkt/Queries/zorba/windowing/tumbling44.xq	1970-01-01 00:00:00 +0000
+++ test/rbkt/Queries/zorba/windowing/tumbling44.xq	2011-12-02 20:17:26 +0000
@@ -0,0 +1,4 @@
+for tumbling window $w as xs:string in (1 to 10)
+start $s when true()
+end $e when $e - $s eq 3
+return <window>{$w}</window>

=== added file 'test/rbkt/Queries/zorba/windowing/tumbling45.xq'
--- test/rbkt/Queries/zorba/windowing/tumbling45.xq	1970-01-01 00:00:00 +0000
+++ test/rbkt/Queries/zorba/windowing/tumbling45.xq	2011-12-02 20:17:26 +0000
@@ -0,0 +1,4 @@
+for tumbling window $w in (1 to 10)
+start $s when true()
+end $e when $e - $s
+return $w instance of xs:integer

=== added file 'test/rbkt/Queries/zorba/windowing/tumbling46.xq'
--- test/rbkt/Queries/zorba/windowing/tumbling46.xq	1970-01-01 00:00:00 +0000
+++ test/rbkt/Queries/zorba/windowing/tumbling46.xq	2011-12-02 20:17:26 +0000
@@ -0,0 +1,17 @@
+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)
+

=== added file 'test/rbkt/Queries/zorba/windowing/tumbling47.xq'
--- test/rbkt/Queries/zorba/windowing/tumbling47.xq	1970-01-01 00:00:00 +0000
+++ test/rbkt/Queries/zorba/windowing/tumbling47.xq	2011-12-02 20:17:26 +0000
@@ -0,0 +1,20 @@
+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()
+

=== added file 'test/rbkt/Queries/zorba/windowing/tumbling48.xq'
--- test/rbkt/Queries/zorba/windowing/tumbling48.xq	1970-01-01 00:00:00 +0000
+++ test/rbkt/Queries/zorba/windowing/tumbling48.xq	2011-12-02 20:17:26 +0000
@@ -0,0 +1,18 @@
+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()
+

=== added file 'test/rbkt/Queries/zorba/windowing/tumbling49.xq'
--- test/rbkt/Queries/zorba/windowing/tumbling49.xq	1970-01-01 00:00:00 +0000
+++ test/rbkt/Queries/zorba/windowing/tumbling49.xq	2011-12-02 20:17:26 +0000
@@ -0,0 +1,12 @@
+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()

=== added file 'test/rbkt/Queries/zorba/windowing/windowing13.spec'
--- test/rbkt/Queries/zorba/windowing/windowing13.spec	1970-01-01 00:00:00 +0000
+++ test/rbkt/Queries/zorba/windowing/windowing13.spec	2011-12-02 20:17:26 +0000
@@ -0,0 +1,1 @@
+Error: http://www.w3.org/2005/xqt-errors:XPST0003

=== added file 'test/rbkt/Queries/zorba/windowing/windowing13.xq'
--- test/rbkt/Queries/zorba/windowing/windowing13.xq	1970-01-01 00:00:00 +0000
+++ test/rbkt/Queries/zorba/windowing/windowing13.xq	2011-12-02 20:17:26 +0000
@@ -0,0 +1,4 @@
+for window $w in (1 to 10)
+start $s when true()
+end $e when false() 
+return <window>{$w}</window>

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to     : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp

Reply via email to