Merge lp:~zorba-coders/zorba/windowing-tests into lp:zorba
- windowing-tests
- Merge into trunk
Status: | Superseded |
---|---|
Proposed branch: | lp:~zorba-coders/zorba/windowing-tests |
Merge into: | lp:zorba |
Diff against target: |
1109 lines (+523/-0) 116 files modified
test/rbkt/ExpQueryResults/zorba/windowing/sliding01.xml.res (+1/-0) test/rbkt/ExpQueryResults/zorba/windowing/sliding02.xml.res (+1/-0) test/rbkt/ExpQueryResults/zorba/windowing/sliding03.xml.res (+1/-0) test/rbkt/ExpQueryResults/zorba/windowing/sliding04.xml.res (+1/-0) test/rbkt/ExpQueryResults/zorba/windowing/sliding06.xml.res (+1/-0) test/rbkt/ExpQueryResults/zorba/windowing/sliding07.xml.res (+1/-0) test/rbkt/ExpQueryResults/zorba/windowing/sliding09.xml.res (+1/-0) test/rbkt/ExpQueryResults/zorba/windowing/sliding10.xml.res (+1/-0) test/rbkt/ExpQueryResults/zorba/windowing/sliding11.xml.res (+1/-0) test/rbkt/ExpQueryResults/zorba/windowing/sliding12.xml.res (+1/-0) test/rbkt/ExpQueryResults/zorba/windowing/sliding13.xml.res (+1/-0) test/rbkt/ExpQueryResults/zorba/windowing/sliding14.xml.res (+1/-0) test/rbkt/ExpQueryResults/zorba/windowing/tumbling01.xml.res (+1/-0) test/rbkt/ExpQueryResults/zorba/windowing/tumbling02.xml.res (+1/-0) test/rbkt/ExpQueryResults/zorba/windowing/tumbling04.xml.res (+1/-0) test/rbkt/ExpQueryResults/zorba/windowing/tumbling05.xml.res (+1/-0) test/rbkt/ExpQueryResults/zorba/windowing/tumbling07.xml.res (+1/-0) test/rbkt/ExpQueryResults/zorba/windowing/tumbling08.xml.res (+1/-0) test/rbkt/ExpQueryResults/zorba/windowing/tumbling09.xml.res (+1/-0) test/rbkt/ExpQueryResults/zorba/windowing/tumbling10.xml.res (+1/-0) test/rbkt/ExpQueryResults/zorba/windowing/tumbling24.xml.res (+1/-0) test/rbkt/ExpQueryResults/zorba/windowing/tumbling26.xml.res (+1/-0) test/rbkt/ExpQueryResults/zorba/windowing/tumbling27.xml.res (+1/-0) test/rbkt/ExpQueryResults/zorba/windowing/tumbling28.xml.res (+1/-0) test/rbkt/ExpQueryResults/zorba/windowing/tumbling29.xml.res (+1/-0) test/rbkt/ExpQueryResults/zorba/windowing/tumbling30.xml.res (+1/-0) test/rbkt/ExpQueryResults/zorba/windowing/tumbling32.xml.res (+12/-0) test/rbkt/ExpQueryResults/zorba/windowing/tumbling33.xml.res (+1/-0) test/rbkt/ExpQueryResults/zorba/windowing/tumbling34.xml.res (+1/-0) test/rbkt/ExpQueryResults/zorba/windowing/tumbling35.xml.res (+1/-0) test/rbkt/ExpQueryResults/zorba/windowing/tumbling36.xml.res (+1/-0) test/rbkt/ExpQueryResults/zorba/windowing/tumbling38.xml.res (+1/-0) test/rbkt/ExpQueryResults/zorba/windowing/tumbling39.xml.res (+1/-0) test/rbkt/ExpQueryResults/zorba/windowing/tumbling40.xml.res (+24/-0) test/rbkt/ExpQueryResults/zorba/windowing/tumbling41.xml.res (+1/-0) test/rbkt/ExpQueryResults/zorba/windowing/tumbling45.xml.res (+1/-0) test/rbkt/ExpQueryResults/zorba/windowing/tumbling46.xml.res (+1/-0) test/rbkt/ExpQueryResults/zorba/windowing/tumbling47.xml.res (+1/-0) test/rbkt/ExpQueryResults/zorba/windowing/tumbling48.xml.res (+1/-0) test/rbkt/Queries/CMakeLists.txt (+14/-0) test/rbkt/Queries/zorba/windowing/sliding01.xq (+4/-0) test/rbkt/Queries/zorba/windowing/sliding02.xq (+5/-0) test/rbkt/Queries/zorba/windowing/sliding03.xq (+5/-0) test/rbkt/Queries/zorba/windowing/sliding04.xq (+4/-0) test/rbkt/Queries/zorba/windowing/sliding05.xq (+4/-0) test/rbkt/Queries/zorba/windowing/sliding06.xq (+6/-0) test/rbkt/Queries/zorba/windowing/sliding07.xq (+10/-0) test/rbkt/Queries/zorba/windowing/sliding08.spec (+1/-0) test/rbkt/Queries/zorba/windowing/sliding08.xq (+4/-0) test/rbkt/Queries/zorba/windowing/sliding09.xq (+5/-0) test/rbkt/Queries/zorba/windowing/sliding10.xq (+18/-0) test/rbkt/Queries/zorba/windowing/sliding11.xq (+5/-0) test/rbkt/Queries/zorba/windowing/sliding12.xq (+7/-0) test/rbkt/Queries/zorba/windowing/sliding13.xq (+5/-0) test/rbkt/Queries/zorba/windowing/sliding14.xq (+12/-0) test/rbkt/Queries/zorba/windowing/tumbling01.xq (+4/-0) test/rbkt/Queries/zorba/windowing/tumbling02.xq (+5/-0) test/rbkt/Queries/zorba/windowing/tumbling04.xq (+4/-0) test/rbkt/Queries/zorba/windowing/tumbling05.xq (+5/-0) test/rbkt/Queries/zorba/windowing/tumbling06.xq (+4/-0) test/rbkt/Queries/zorba/windowing/tumbling07.xq (+4/-0) test/rbkt/Queries/zorba/windowing/tumbling08.xq (+6/-0) test/rbkt/Queries/zorba/windowing/tumbling09.xq (+6/-0) test/rbkt/Queries/zorba/windowing/tumbling10.xq (+10/-0) test/rbkt/Queries/zorba/windowing/tumbling11.spec (+1/-0) test/rbkt/Queries/zorba/windowing/tumbling11.xq (+4/-0) test/rbkt/Queries/zorba/windowing/tumbling14.spec (+1/-0) test/rbkt/Queries/zorba/windowing/tumbling14.xq (+4/-0) test/rbkt/Queries/zorba/windowing/tumbling15.spec (+2/-0) test/rbkt/Queries/zorba/windowing/tumbling15.xq (+4/-0) test/rbkt/Queries/zorba/windowing/tumbling16.spec (+1/-0) test/rbkt/Queries/zorba/windowing/tumbling16.xq (+4/-0) test/rbkt/Queries/zorba/windowing/tumbling17.spec (+1/-0) test/rbkt/Queries/zorba/windowing/tumbling17.xq (+4/-0) test/rbkt/Queries/zorba/windowing/tumbling18.spec (+1/-0) test/rbkt/Queries/zorba/windowing/tumbling18.xq (+4/-0) test/rbkt/Queries/zorba/windowing/tumbling19.spec (+1/-0) test/rbkt/Queries/zorba/windowing/tumbling19.xq (+4/-0) test/rbkt/Queries/zorba/windowing/tumbling20.spec (+1/-0) test/rbkt/Queries/zorba/windowing/tumbling20.xq (+4/-0) test/rbkt/Queries/zorba/windowing/tumbling21.spec (+1/-0) test/rbkt/Queries/zorba/windowing/tumbling21.xq (+4/-0) test/rbkt/Queries/zorba/windowing/tumbling22.spec (+1/-0) test/rbkt/Queries/zorba/windowing/tumbling22.xq (+4/-0) test/rbkt/Queries/zorba/windowing/tumbling24.xq (+6/-0) test/rbkt/Queries/zorba/windowing/tumbling25.xq (+5/-0) test/rbkt/Queries/zorba/windowing/tumbling26.xq (+3/-0) test/rbkt/Queries/zorba/windowing/tumbling27.xq (+4/-0) test/rbkt/Queries/zorba/windowing/tumbling28.xq (+4/-0) test/rbkt/Queries/zorba/windowing/tumbling29.xq (+17/-0) test/rbkt/Queries/zorba/windowing/tumbling31.spec (+1/-0) test/rbkt/Queries/zorba/windowing/tumbling31.xq (+3/-0) test/rbkt/Queries/zorba/windowing/tumbling32.xq (+19/-0) test/rbkt/Queries/zorba/windowing/tumbling33.xq (+5/-0) test/rbkt/Queries/zorba/windowing/tumbling34.xq (+6/-0) test/rbkt/Queries/zorba/windowing/tumbling35.xq (+8/-0) test/rbkt/Queries/zorba/windowing/tumbling36.xq (+5/-0) test/rbkt/Queries/zorba/windowing/tumbling37.spec (+1/-0) test/rbkt/Queries/zorba/windowing/tumbling37.xq (+8/-0) test/rbkt/Queries/zorba/windowing/tumbling38.xq (+8/-0) test/rbkt/Queries/zorba/windowing/tumbling39.xq (+12/-0) test/rbkt/Queries/zorba/windowing/tumbling40.xq (+27/-0) test/rbkt/Queries/zorba/windowing/tumbling41.xq (+9/-0) test/rbkt/Queries/zorba/windowing/tumbling42.spec (+1/-0) test/rbkt/Queries/zorba/windowing/tumbling42.xq (+4/-0) test/rbkt/Queries/zorba/windowing/tumbling43.spec (+1/-0) test/rbkt/Queries/zorba/windowing/tumbling43.xq (+4/-0) test/rbkt/Queries/zorba/windowing/tumbling44.spec (+1/-0) test/rbkt/Queries/zorba/windowing/tumbling44.xq (+4/-0) test/rbkt/Queries/zorba/windowing/tumbling45.xq (+4/-0) test/rbkt/Queries/zorba/windowing/tumbling46.xq (+17/-0) test/rbkt/Queries/zorba/windowing/tumbling47.xq (+20/-0) test/rbkt/Queries/zorba/windowing/tumbling48.xq (+18/-0) test/rbkt/Queries/zorba/windowing/tumbling49.xq (+12/-0) test/rbkt/Queries/zorba/windowing/windowing13.spec (+1/-0) test/rbkt/Queries/zorba/windowing/windowing13.xq (+4/-0) |
To merge this branch: | bzr merge lp:~zorba-coders/zorba/windowing-tests |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Matthias Brantner | Approve | ||
Till Westmann | Pending | ||
Review via email: mp+84538@code.launchpad.net |
This proposal supersedes a proposal from 2011-12-02.
This proposal has been superseded by a proposal from 2011-12-06.
Commit message
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.
Description of the change
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.
Matthias Brantner (matthias-brantner) : Posted in a previous version of this proposal | # |
Zorba Build Bot (zorba-buildbot) wrote : Posted in a previous version of this proposal | # |
Zorba Build Bot (zorba-buildbot) wrote : Posted in a previous version of this proposal | # |
Validation queue job windowing-
All tests succeeded!
Zorba Build Bot (zorba-buildbot) wrote : Posted in a previous version of this proposal | # |
Voting does not meet specified criteria. Required: Approve > 1, Disapprove < 1. Got: 1 Approve, 1 Pending.
Matthias Brantner (matthias-brantner) : | # |
Zorba Build Bot (zorba-buildbot) wrote : | # |
Validation queue starting for merge proposal.
Log at: http://
Zorba Build Bot (zorba-buildbot) wrote : | # |
The attempt to merge lp:~zorba-coders/zorba/windowing-tests into lp:zorba failed. Below is the output from the failed tests.
CMake Error at /home/ceej/
Validation queue job windowing-
The final status was:
1 tests did not succeed - changes not commited.
Error in read script: /home/ceej/
- 10575. By Paul J. Lucas
-
undo previous changes and mark bug as expected to fail. Approved: Paul J. Lucas, Matthias Brantner
- 10576. By Paul J. Lucas
-
Things should be reverted now. Approved: Matthias Brantner, Paul J. Lucas
- 10577. By Matthias Brantner
-
fix build on windows Approved: Juan Zacarias, Matthias Brantner
- 10578. By Paul J. Lucas
-
Fixed build. Approved: Matthias Brantner, Paul J. Lucas
- 10579. By Matthias Brantner
-
exclude .bzr dir from source packages Approved: Cezar Andrei, Matthias Brantner
- 10580. By Markos Zaharioudakis
-
Cleaned up unused stuff in debugger_expr Approved: Gabriel Petrovay, Markos Zaharioudakis
- 10581. By Matthias Brantner
-
removed obsolete code guarded by the USE_POS macro Approved: Markos Zaharioudakis, Matthias Brantner
- 10582. By Matthias Brantner
-
- automatic caching of recursive, non-sequential, and deterministic functions with atomic parameter and return types
- %ann:cache and %ann:no-cache for controlling function result caching Approved: Markos Zaharioudakis, Matthias Brantner - 10583. By Markos Zaharioudakis
-
Optimized and cleaned up SimpleTempSeq implementation and its usage. Approved: Markos Zaharioudakis
- 10584. By Paul J. Lucas
-
Applied William's patch; patched William's patch to handle UTF-8 properly. Approved: William Candillon, Paul J. Lucas
- 10585. By Markos Zaharioudakis
-
Changed functions to use getReturnType(const fo_expr*) const instead of the old one recieving a TypeManager* and std::vector<
xqtref_ t>.
Approved: Markos Zaharioudakis - 10586. By Markos Zaharioudakis
-
allow for the default element and function namespaces to be set multiple times via the c++ api Approved: Markos Zaharioudakis
- 10587. By Sorin Marian Nasoi <email address hidden>
-
Fixed the title for the links of the functions in the function summary table.
Fixed the function parameters.
Small fixes for better XHTML 1.0 conformance. Approved: Daniel Turcanu, Sorin Marian Nasoi - 10588. By Gabriel Petrovay
-
Mature zorba debugger with graceful degradation if libedit not found. Approved: David Graf, Gabriel Petrovay
- 10589. By Rodolfo Ochoa
-
-Added createDayTimeDu
ration
-Added createYearMonthDuration
-Added createDocumentNode
-Added createCommentNode
-Added createPiNode Approved: Matthias Brantner, Nicolae Brinza - 10590. By Markos Zaharioudakis
-
Fix for bug #905050 (setting and getting the context item type)
Approved: Markos Zaharioudakis - 10591. By Markos Zaharioudakis
-
No-node-copy optimization Approved: Markos Zaharioudakis, Matthias Brantner
- 10592. By Matthias Brantner
-
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. Approved: Till Westmann, Matthias Brantner
- 10593. By Daniel Turcanu
-
Fixed plan serialization of udf_function Approved: Markos Zaharioudakis, Matthias Brantner
- 10594. By Matthias Brantner
-
do not predeclare zerr Approved: Paul J. Lucas, Markos Zaharioudakis
- 10595. By Gabriel Petrovay
-
Fixes one issue and a couple of warnings in the debugger.
Removes the ZORBA_WITH_DEBUGGER_ CLIENT cmake variable. Approved: David Graf, Gabriel Petrovay - 10596. By Daniel Turcanu
-
Fixing plan serializer memory leaks Approved: Daniel Turcanu, Matthias Brantner
- 10597. By Markos Zaharioudakis
-
fixed a bug in the cloning of a var_expr Approved: Markos Zaharioudakis
- 10598. By Markos Zaharioudakis
-
fixed bug in destruction of exit_catcher_expr Approved: Markos Zaharioudakis
- 10599. By Matthias Brantner
-
fix for bug #907872 (segfault when returning an input ItemSequence from an external function) Approved: Markos Zaharioudakis, Matthias Brantner
- 10600. By Markos Zaharioudakis
-
fixed wrong assertion in var_expr:
:remove_ set_expr Approved: Markos Zaharioudakis - 10601. By Paul J. Lucas
-
The bug was fixed in november. Paul did a fix, and the user had to do a clean rebuild.
The bug was not related to Windows 8. Approved: Matthias Brantner, Daniel Turcanu - 10602. By Matthias Brantner
-
implementation of string:split function that doesn't accept regular expressions but allows for streamable processing of the input (resolves bug #898074) Approved: Matthias Brantner, William Candillon
- 10603. By Gabriel Petrovay
-
Fixes the two problems on mac that break the build:
- usage of wait() without parameters
- moved the "sys/wait" include in "process_listener. h" since that uses pid_t that is available once this header is included. Approved: Paul J. Lucas, Gabriel Petrovay - 10604. By Markos Zaharioudakis
-
during destruction, var_decl_expr must remove itself from associated var_expr Approved: Markos Zaharioudakis
- 10605. By Matthias Brantner
-
fixed bug #911585 (management of variables during eval) Approved: Markos Zaharioudakis
- 10606. By Paul J. Lucas
-
Added missing #ifndef ZORBA_NO_FULL_TEXT. Approved: Matthias Brantner, Paul J. Lucas
- 10607. By Matthias Brantner
-
Bug #911956: Zorba fails to build with gcc 4.7.0 Approved: Till Westmann, Matthias Brantner
- 10608. By Markos Zaharioudakis
-
fixed bug in no-copy rule + made zorba cmd use the for-serializati
on-only mode Approved: Markos Zaharioudakis - 10609. By Gabriel Petrovay
-
Fixed libedit search on mac issue.
Added history support from libedit for UNIX platforms.
Approved: David Graf, Gabriel Petrovay - 10610. By Markos Zaharioudakis
-
moved atomic type codes enum to the store api Approved: Markos Zaharioudakis
- 10611. By Chris Hillery
-
Expose Item::getNamesp
aceBindings( ) through the public API. Approved: Matthias Brantner, Chris Hillery - 10612. By Daniel Turcanu
-
Removed test versioning/link1 to avoid bug 908062 on Windows Approved: Daniel Turcanu, Chris Hillery
- 10613. By Gabriel Petrovay
-
Implemented the stop command.
Fixed termination on Windows.
TODO: still a problem on Windows when quitting the debugger client: a zorba store is shut down and in the store destructor a lock hangs the execution of xqdb forever. Not even Ctrl-C helps (probably because everything is called from the exit function in main.cpp) Approved: David Graf, Gabriel Petrovay - 10614. By Markos Zaharioudakis
-
types-related optimization for the general comparison operator Approved: Markos Zaharioudakis
- 10615. By Chris Hillery
-
Ensure clean test run when Zorba build with ZORBA_WITH_
BIG_INTEGER. Approved: Matthias Brantner, Chris Hillery - 10616. By Markos Zaharioudakis
-
fixed timing bug in zorbacmd Approved: Markos Zaharioudakis
- 10617. By Markos Zaharioudakis
-
fixed bug in detecting mutually recursive functions Approved: Markos Zaharioudakis
- 10618. By Markos Zaharioudakis
-
fixed bug in no-copy rule Approved: Markos Zaharioudakis
- 10619. By Markos Zaharioudakis
-
Fixed bug 917923 (bug in copying outer var values into the eval dynamic context) Approved: Markos Zaharioudakis
- 10620. By Gabriel Petrovay
-
Added Ctrl-C hooking in the debugger. Ctrl-C can not kill the debugger anymore. It will only stop the running query. Approved: David Graf, Gabriel Petrovay
- 10621. By William Candillon
-
This merge adds the PHP API that was introduced at the PHP Tour 2011. Approved: Rodolfo Ochoa, William Candillon
- 10622. By Chris Hillery
-
This merge adds the PHP API that was introduced at the PHP Tour 2011. Approved: Rodolfo Ochoa, William Candillon
- 10623. By Sorin Marian Nasoi <email address hidden>
-
Added the information about the Zorba module version in the generated XQDoc documentation. Approved: William Candillon, Sorin Marian Nasoi
- 10624. By Markos Zaharioudakis
-
fix for bug #919189 Approved: Markos Zaharioudakis
- 10625. By Markos Zaharioudakis
-
fix for bug #866423 Approved: Markos Zaharioudakis
- 10626. By Matthias Brantner
-
fn:serialize avoids copying the result but returns a streamable string instead Approved: Till Westmann, Matthias Brantner
- 10627. By Matthias Brantner
-
Implemented StaticContext:
:getNamespaceBi ndings to resolve bug #905035. In the same commit, the function getNamespaceURI ByPrefix was deprecated because it's superseded by the new function. Approved: Rodolfo Ochoa, Markos Zaharioudakis - 10628. By Markos Zaharioudakis
-
fix for bug #866932 (string pool not empty on shutdown)
Approved: Markos Zaharioudakis - 10629. By Chris Hillery
-
Remove test case sc3_ex3 in order to merge the removal of the non-core JSON module. sc3_ex3 will be re-added along with the core JSON module. Approved: Paul J. Lucas, Chris Hillery
- 10630. By Markos Zaharioudakis
-
More types-related optimizations for the comparison operators Approved: Markos Zaharioudakis
- 10631. By Markos Zaharioudakis
-
Fixed bug involving positional var and groupby Approved: Markos Zaharioudakis
- 10632. By Chris Hillery
-
- updated the import scripts to use the latest version of XQTS, XQUTS and XQFTTS as of 25.01.2012
- added EXPECTED_FAILURES for XQFTTS XQuery and XQueryX tests
- updated the W3C conformance documentation
- included fix for the XQFTTS XQueryX tests created by Daniel in lp:~zorba-coders/zorba/xqueryx_fulltext branch Approved: Chris Hillery, Sorin Marian Nasoi - 10633. By Markos Zaharioudakis
-
type-related optimizagtions of boolean iterators Approved: Markos Zaharioudakis
- 10634. By Paul J. Lucas
-
Migrated several unit tests to libunittest. Approved: Chris Hillery, Paul J. Lucas
- 10635. By Chris Hillery
-
Fix filename when creating library for unversioned module. Approved: Dennis Knochenwefel, Chris Hillery
- 10636. By Markos Zaharioudakis
-
type-related optimizations for sequence-type iterators Approved: Markos Zaharioudakis
- 10637. By Paul J. Lucas
-
Fixed bug 924063 (sentence is incorrectly incremented when token characters end without sentence terminator) Approved: Matthias Brantner, Paul J. Lucas
- 10638. By Chris Hillery
-
Install the XHTML DTD locally so we don't ask w3.org for it. Approved: Chris Hillery, Sorin Marian Nasoi
- 10639. By Chris Hillery
-
Added DECLARE_
ZORBA_URI_ FILE() for installing files of any type that we would like to load by URI. Also made built-in URI mappers look on the filesystem for any kind of URIs, not just modules and schemas. Approved: Cezar Andrei, Chris Hillery - 10640. By Daniel Turcanu
-
several fixes for the plan serializer + implemented materialize_
clause: :clone( ) Approved: Matthias Brantner, Chris Hillery - 10641. By Markos Zaharioudakis
-
w3c test modules-
schema- context now passes Approved: Markos Zaharioudakis - 10642. By Ghislain Fourny
-
Correcting two typos (parameter name and document debug output). Approved: Ghislain Fourny, Matthias Brantner
- 10643. By William Candillon
-
Fix for bug #918592 Approved: Chris Hillery, Rodolfo Ochoa
- 10644. By Chris Hillery
-
Several fixes related to test breakages caused by zorba-xquery.com changes:
1. Don't attempt HTTP resolution w/ HttpStream if Zorba compiled without CURL.
2. store/example_3 test: load content from zorbatest site like other tests.
3. fetch_bogus2 and impot5 test: change "ver" test module to be identified with a flworfound.org URI, so we'll get a 404 when loading it wrong. (Both example.com and zorba-xquery.com don't return 404 for unknown URLs.)
Approved: Matthias Brantner, Chris Hillery - 10645. By Rodolfo Ochoa
-
Added recognition for URIs without authority, this is a JAVA URI case. Approved: Rodolfo Ochoa, Cezar Andrei
- 10646. By Rodolfo Ochoa
-
added
#include "stdafx.h"and changed uri_util.h having
ZORBA_DLL_PUBLIC extern char const uri_safe[];
ZORBA_DLL_PUBLIC extern signed char const hex2dec[]; Approved: Cezar Andrei, Matthias Brantner - 10647. By Sorin Marian Nasoi <email address hidden>
-
Downloaded the latest version of the W3C Working Draft 13 December 2011for XQuery 3.0 F&O to be used in test "xquery_3_0". Approved: Juan Zacarias, Sorin Marian Nasoi
- 10648. By Ghislain Fourny
-
Using GET_PUL_FACTORY macro. Approved: Markos Zaharioudakis
- 10649. By Markos Zaharioudakis
-
optimization for the Item::add/
removeReference methods Approved: Markos Zaharioudakis - 10650. By Chris Hillery
-
Ensure same module is not declared twice with the same version number (including twice with no declared version).
Approved: Sorin Marian Nasoi, Chris Hillery - 10651. By Chris Hillery
-
Download v1.0 of http-client. Approved: Sorin Marian Nasoi, Chris Hillery
- 10652. By Ghislain Fourny
-
Made same-directory simple store includes. Approved: Matthias Brantner, Markos Zaharioudakis
- 10653. By Paul J. Lucas
-
Simple fix. Approved: William Candillon, Paul J. Lucas
- 10654. By Markos Zaharioudakis
-
use SUBSEQUENCE_INT function, instead of SUBSEQUENCE_INT in partial_eval_eq rewrite rule Approved: Markos Zaharioudakis
- 10655. By Paul J. Lucas
-
Added clone(). Approved: Matthias Brantner, William Candillon
- 10656. By Markos Zaharioudakis
-
small optimization for subsequence iterators Approved: Markos Zaharioudakis
- 10657. By Markos Zaharioudakis
-
1. Optimization: preallocate and reuse temp sequence iterator for LetVarITerator and CtxVarIterator.
2. Optimization: enhanced push-down of positional predicate into LetVarITerator and CtxVarIterator. Approved: Markos Zaharioudakis - 10658. By Markos Zaharioudakis
-
Fixed bug #872288 Approved: Markos Zaharioudakis
- 10659. By Till Westmann
-
added a new unit test for the plan serializer Approved: Matthias Brantner, Till Westmann
- 10660. By Markos Zaharioudakis
-
Fixed bug #867022 Approved: Markos Zaharioudakis
- 10661. By Markos Zaharioudakis
-
fix for bug #867266 Approved: Markos Zaharioudakis
- 10662. By Paul J. Lucas
-
New JSON parser and module. Approved: Sorin Marian Nasoi, Paul J. Lucas
- 10663. By Paul J. Lucas
-
- Added transcode_streambuf
- file:read-text now respects encodings
- http:send-request now respects encodings Approved: Matthias Brantner, Paul J. Lucas - 10664. By Markos Zaharioudakis
-
Optimization: changed the implementation of the free-vars annotation and got rid of the annotations map in expressions Approved: Markos Zaharioudakis
- 10665. By Matthias Brantner
-
Put the state file written by the uuid functionality into the system's temp directory (temporary solution). Approved: Till Westmann, Matthias Brantner
- 10666. By Paul J. Lucas
-
Fixed return type. Approved: Juan Zacarias, Matthias Brantner, Paul J. Lucas
- 10667. By Matthias Brantner
-
added two api functions to introspect the functions of a static context Approved: Till Westmann, Matthias Brantner
- 10668. By William Candillon <email address hidden>
-
Fix typos in doxygen documentation. Approved: Cezar Andrei, Matthias Brantner
- 10669. By William Candillon
-
Update the XQDDF ebnf to fit with XQuery 3.0 syntax. Approved: William Candillon, Matthias Brantner
- 10670. By William Candillon
-
Add support for return and parameters elements in XQDoc. Approved: William Candillon, Sorin Marian Nasoi
- 10671. By Rodolfo Ochoa
-
Just some precompiled headers included Approved: Matthias Brantner, Cezar Andrei
- 10672. By William Candillon
-
XQuery 3.0 concat operator Approved: Matthias Brantner, William Candillon
- 10673. By David Graf
-
Added the new external variable value tests that will be added to the w3c testsuite to the zorba rbkt tests. Inclusive the failing once. Added launchpad entries for them and marked the tests as expected failures. Approved: Matthias Brantner, David Graf
- 10674. By Chris Hillery
-
Update data-cleaning module to release 1.0 (fixes conversion tests).
Approved: Sorin Marian Nasoi, Chris Hillery - 10675. By William Candillon
-
Add --compile-plan and --execute-plan option to zorba command line.
Example:
zorba -q 1+1 --compile-plan > test.xqc
zorba -q test.xqc -f --execute-plan Approved: William Candillon, Matthias Brantner - 10676. By Chris Hillery
-
Error checking for DownloadModules
.cmake; try three times on failures.
Approved: Sorin Marian Nasoi, Chris Hillery - 10677. By Matthias Brantner
-
more efficient implementation of xs:base64Binary items Approved: Till Westmann, Matthias Brantner
- 10678. By Ghislain Fourny
-
Makes same-directory store includes in the headers as well. Approved: Till Westmann, Matthias Brantner
- 10679. By Markos Zaharioudakis
-
Fixed bug in codegen: do not create a materialize clause if one exists already Approved: Markos Zaharioudakis
- 10680. By William Candillon
-
Remove conflicting shortcut -e for --execute-plan option. Approved: Matthias Brantner, William Candillon
- 10681. By Ghislain Fourny
-
Replacing ulong positions with xs_integer for positions in collections. Approved: Ghislain Fourny, Matthias Brantner
- 10682. By Ghislain Fourny
-
Refactored CollectionSet class. zorba::
store:: CollectionSet is abstract, zorba:: simplestore: :SimpleCollecti onSet is its implementation for the simple store. Approved: Matthias Brantner, Till Westmann - 10683. By Paul J. Lucas
-
Fixed bug 942808. Approved: Matthias Brantner, Paul J. Lucas
- 10684. By Markos Zaharioudakis
-
removed properties-
generating scripts and restored zorba_properties.h and store_properties.h files. Approved: Markos Zaharioudakis - 10685. By Daniel Turcanu
-
Making https work on Windows. Approved: Gabriel Petrovay, Sorin Marian Nasoi
- 10686. By Ghislain Fourny
-
Refactored QName pool and QNameItem class. Approved: Markos Zaharioudakis
- 10687. By Sorin Marian Nasoi <email address hidden>
-
Updated the web crawler tutorial. Approved: Nicolae Brinza, Sorin Marian Nasoi
- 10688. By William Candillon
-
Optimize iterator generation for the concat operator (fixes bug #942011) Approved: Matthias Brantner, Markos Zaharioudakis
- 10689. By Paul J. Lucas
-
Better implementation of ZORBA_WITH_
BIG_INTEGER= OFF: now limited to 63 bits (for a 64-bit implementation of a long long). Also added build_options.dox. Approved: Markos Zaharioudakis, Matthias Brantner - 10690. By Markos Zaharioudakis
-
fixed bug involing eval and the no-copy rule Approved: Markos Zaharioudakis
- 10691. By Matthias Brantner
-
fix for bug #943788 (streamable string is not seekable) Approved: Till Westmann, Matthias Brantner
- 10692. By Federico Cavalieri <federico@M702X>
-
Fixed bug #912579 (validate-in-place on non-root elements)
Fixed merge of updput primitives
Fixed merge conflict. Approved: Markos Zaharioudakis, Cezar Andrei - 10693. By Markos Zaharioudakis
-
Added test that illustrates bug #944002 Approved: Markos Zaharioudakis
- 10694. By Markos Zaharioudakis
-
Fixed another bug involving eval and the no-copy rule Approved: Markos Zaharioudakis
- 10695. By Paul J. Lucas
-
Added ~XmlNodeTokeniz
erCallback( ) to destroy tokenizers. Approved: Matthias Brantner, Paul J. Lucas - 10696. By Ghislain Fourny
-
Introduces an abstract layer between zorba::
store:: collection and zorba:: simplestore: :SimpleCollecti on. Approved: Matthias Brantner, Markos Zaharioudakis - 10697. By Markos Zaharioudakis
-
fixed bug #944002
Approved: Markos Zaharioudakis - 10698. By Ghislain Fourny
-
Making two non-abstract functions in simplecollection API also non-virtual. Approved: Matthias Brantner, Markos Zaharioudakis
- 10699. By Ghislain Fourny
-
Added default constructors for index classes in simple store. Approved: Markos Zaharioudakis, Matthias Brantner
- 10700. By Markos Zaharioudakis
-
Fixed bug #867024 Approved: Markos Zaharioudakis
- 10701. By Sorin Marian Nasoi <email address hidden>
-
Fixed bug lp:946896. Approved: William Candillon, Sorin Marian Nasoi
- 10702. By Markos Zaharioudakis
-
Fixed memory leak in no-copy rule Approved: Markos Zaharioudakis
- 10703. By Matthias Brantner
-
A new module that provides URL-related functions. Currently, it provides functions to do URL-decoding but other URL-related functions (e.g. to retrieve the scheme or path) will be added later. Approved: Matthias Brantner, Chris Hillery
- 10704. By Markos Zaharioudakis
-
fixes bug 924987
- extended TypeIdentifier to also support schema-element, schema-attribute
and namespace-node sequence types
- fixed TypeOps::get_type_ identifier
- added a test to the staticcollectionmanager unit test
- added operator<< for TypeIdentifier Approved: Markos Zaharioudakis, Till Westmann - 10705. By Paul J. Lucas
-
Set dispose_
data_using_ delete_ = false in reserve(). Approved: Markos Zaharioudakis, Matthias Brantner - 10706. By Cezar Andrei <email address hidden>
-
Fix for bug 891209 : validation with xsi:type returns untyped. Approved: Matthias Brantner, Markos Zaharioudakis, Cezar Andrei
- 10707. By Sorin Marian Nasoi <email address hidden>
-
- fixed the test 'moduleDocument
ation': all modules that appear in ZorbaManifest.xml are checked for correct XQDoc documentation
- re-enabled the 'moduleDocumentation' test that was previously disabled. Approved: Sorin Marian Nasoi, Chris Hillery - 10708. By Markos Zaharioudakis
-
bug fixes: some methods in atomic_item.h should have been virtual + use myChild local var in children iterators" Approved: Markos Zaharioudakis
- 10709. By Paul J. Lucas
-
Added links to full-text documentation. Approved: Matthias Brantner, Paul J. Lucas
- 10710. By Paul J. Lucas
-
fix Bug #949111: getUnsignedIntV
alue() not implemented for Integer Approved: Matthias Brantner, Paul J. Lucas - 10711. By Paul J. Lucas
-
Added delete theSerStream; Approved: Matthias Brantner, Paul J. Lucas
- 10712. By Sorin Marian Nasoi <email address hidden>
-
Fix for bug lp:948712: Added a way for easy copy&paste of the import schema statements. Approved: Matthias Brantner, Sorin Marian Nasoi
- 10713. By Matthias Brantner
-
StaticCollectio
nManager: :declaredIndexe s() doesn't return temporary indexes anymore. Also isDeclaredIndex also doesn't return true if asked whether a temporary index is declared. Approved: Till Westmann, Matthias Brantner - 10714. By Matthias Brantner
-
- fix bug #938934 "collection dml:truncate function missing"
- fixes documentation bug: raise zerr:ZDDY0003 instead of zerr:ZDDY0009 Approved: Till Westmann, Markos Zaharioudakis, Matthias Brantner - 10715. By Matthias Brantner
-
fixed bug #951772 Comment node crashes serialization) Approved: William Candillon, Matthias Brantner
- 10716. By Matthias Brantner
-
Fixed bug #952829 (Nondeterministic annotation doesn't seem to be checked) Approved: Matthias Brantner, William Candillon
- 10717. By Rodolfo Ochoa
-
This fixes the error:
n strings remain in the pool.
and change it to a more comprehensive error with reference to document that helps to prevent the error. Approved: Matthias Brantner, Markos Zaharioudakis, Cezar Andrei - 10718. By Matthias Brantner
-
adapted windowing tests to latest use case document + added one test for each use case which expects the input to be typed
Unmerged revisions
- 10718. By Matthias Brantner
-
adapted windowing tests to latest use case document + added one test for each use case which expects the input to be typed
Preview Diff
1 | === added file 'test/rbkt/ExpQueryResults/zorba/windowing/sliding01.xml.res' | |||
2 | --- test/rbkt/ExpQueryResults/zorba/windowing/sliding01.xml.res 1970-01-01 00:00:00 +0000 | |||
3 | +++ test/rbkt/ExpQueryResults/zorba/windowing/sliding01.xml.res 2011-12-06 00:30:31 +0000 | |||
4 | @@ -0,0 +1,1 @@ | |||
5 | 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> | ||
6 | 0 | 2 | ||
7 | === added file 'test/rbkt/ExpQueryResults/zorba/windowing/sliding02.xml.res' | |||
8 | --- test/rbkt/ExpQueryResults/zorba/windowing/sliding02.xml.res 1970-01-01 00:00:00 +0000 | |||
9 | +++ test/rbkt/ExpQueryResults/zorba/windowing/sliding02.xml.res 2011-12-06 00:30:31 +0000 | |||
10 | @@ -0,0 +1,1 @@ | |||
11 | 1 | <window>1 2 3</window><window>2 3 4</window><window>3 4 5</window><window>4 5 6</window><window>5 6 7</window><window>6 7 8</window><window>7 8 9</window><window>8 9 10</window><window>9 10</window><window>10</window> | ||
12 | 0 | 2 | ||
13 | === added file 'test/rbkt/ExpQueryResults/zorba/windowing/sliding03.xml.res' | |||
14 | --- test/rbkt/ExpQueryResults/zorba/windowing/sliding03.xml.res 1970-01-01 00:00:00 +0000 | |||
15 | +++ test/rbkt/ExpQueryResults/zorba/windowing/sliding03.xml.res 2011-12-06 00:30:31 +0000 | |||
16 | @@ -0,0 +1,1 @@ | |||
17 | 1 | <window>1 2 3</window><window>2 3 4</window><window>3 4 5</window><window>4 5 6</window><window>5 6 7</window><window>6 7 8</window><window>7 8 9</window><window>8 9 10</window><window>9 10</window><window>10</window> | ||
18 | 0 | 2 | ||
19 | === added file 'test/rbkt/ExpQueryResults/zorba/windowing/sliding04.xml.res' | |||
20 | --- test/rbkt/ExpQueryResults/zorba/windowing/sliding04.xml.res 1970-01-01 00:00:00 +0000 | |||
21 | +++ test/rbkt/ExpQueryResults/zorba/windowing/sliding04.xml.res 2011-12-06 00:30:31 +0000 | |||
22 | @@ -0,0 +1,1 @@ | |||
23 | 1 | <window>1 2 3</window><window>2 3 4</window><window>3 4 5</window><window>4 5 6</window><window>5 6 7</window><window>6 7 8</window><window>7 8 9</window><window>8 9 10</window> | ||
24 | 0 | 2 | ||
25 | === added file 'test/rbkt/ExpQueryResults/zorba/windowing/sliding05.xml.res' | |||
26 | === added file 'test/rbkt/ExpQueryResults/zorba/windowing/sliding06.xml.res' | |||
27 | --- test/rbkt/ExpQueryResults/zorba/windowing/sliding06.xml.res 1970-01-01 00:00:00 +0000 | |||
28 | +++ test/rbkt/ExpQueryResults/zorba/windowing/sliding06.xml.res 2011-12-06 00:30:31 +0000 | |||
29 | @@ -0,0 +1,1 @@ | |||
30 | 1 | <window>1 2 3 4 5 6 7 8 9 10</window><window>2 3 4 5 6 7 8 9 10</window><window>3 4 5 6 7 8 9 10</window><window>4 5 6 7 8 9 10</window><window>5 6 7 8 9 10</window><window>6 7 8 9 10</window><window>7 8 9 10</window><window>8 9 10</window><window>9 10</window><window>10</window> | ||
31 | 0 | 2 | ||
32 | === added file 'test/rbkt/ExpQueryResults/zorba/windowing/sliding07.xml.res' | |||
33 | --- test/rbkt/ExpQueryResults/zorba/windowing/sliding07.xml.res 1970-01-01 00:00:00 +0000 | |||
34 | +++ test/rbkt/ExpQueryResults/zorba/windowing/sliding07.xml.res 2011-12-06 00:30:31 +0000 | |||
35 | @@ -0,0 +1,1 @@ | |||
36 | 1 | <window>1 2 3 4 5 6 7 8 9 10 1 1 2 10 10 9</window><window>2 3 4 5 6 7 8 9 10 2 2 1 3 10 10 9</window><window>3 4 5 6 7 8 9 10 3 3 2 4 10 10 9</window><window>4 5 6 7 8 9 10 4 4 3 5 10 10 9</window><window>5 6 7 8 9 10 5 5 4 6 10 10 9</window><window>6 7 8 9 10 6 6 5 7 10 10 9</window><window>7 8 9 10 7 7 6 8 10 10 9</window><window>8 9 10 8 8 7 9 10 10 9</window><window>9 10 9 9 8 10 10 10 9</window><window>10 10 10 9 10 10 9</window> | ||
37 | 0 | 2 | ||
38 | === added file 'test/rbkt/ExpQueryResults/zorba/windowing/sliding09.xml.res' | |||
39 | --- test/rbkt/ExpQueryResults/zorba/windowing/sliding09.xml.res 1970-01-01 00:00:00 +0000 | |||
40 | +++ test/rbkt/ExpQueryResults/zorba/windowing/sliding09.xml.res 2011-12-06 00:30:31 +0000 | |||
41 | @@ -0,0 +1,1 @@ | |||
42 | 1 | true | ||
43 | 0 | 2 | ||
44 | === added file 'test/rbkt/ExpQueryResults/zorba/windowing/sliding10.xml.res' | |||
45 | --- test/rbkt/ExpQueryResults/zorba/windowing/sliding10.xml.res 1970-01-01 00:00:00 +0000 | |||
46 | +++ test/rbkt/ExpQueryResults/zorba/windowing/sliding10.xml.res 2011-12-06 00:30:31 +0000 | |||
47 | @@ -0,0 +1,1 @@ | |||
48 | 1 | 1 2 3 4 5 6 7 8 9 10 1 1 2 10 10 9 2 3 4 5 6 7 8 9 10 2 2 1 3 10 10 9 3 4 5 6 7 8 9 10 3 3 2 4 10 10 9 4 5 6 7 8 9 10 4 4 3 5 10 10 9 5 6 7 8 9 10 5 5 4 6 10 10 9 6 7 8 9 10 6 6 5 7 10 10 9 7 8 9 10 7 7 6 8 10 10 9 8 9 10 8 8 7 9 10 10 9 9 10 9 9 8 10 10 10 9 10 10 10 9 10 10 9 | ||
49 | 0 | 2 | ||
50 | === added file 'test/rbkt/ExpQueryResults/zorba/windowing/sliding11.xml.res' | |||
51 | --- test/rbkt/ExpQueryResults/zorba/windowing/sliding11.xml.res 1970-01-01 00:00:00 +0000 | |||
52 | +++ test/rbkt/ExpQueryResults/zorba/windowing/sliding11.xml.res 2011-12-06 00:30:31 +0000 | |||
53 | @@ -0,0 +1,1 @@ | |||
54 | 1 | <window num="1">1 2 3</window><window num="2">2 3 4</window><window num="3">3 4 5</window><window num="4">4 5 6</window><window num="5">5 6 7</window><window num="6">6 7 8</window><window num="7">7 8 9</window><window num="8">8 9 10</window><window num="9">9 10</window><window num="10">10</window> | ||
55 | 0 | 2 | ||
56 | === added file 'test/rbkt/ExpQueryResults/zorba/windowing/sliding12.xml.res' | |||
57 | --- test/rbkt/ExpQueryResults/zorba/windowing/sliding12.xml.res 1970-01-01 00:00:00 +0000 | |||
58 | +++ test/rbkt/ExpQueryResults/zorba/windowing/sliding12.xml.res 2011-12-06 00:30:31 +0000 | |||
59 | @@ -0,0 +1,1 @@ | |||
60 | 1 | <window num="1">1 2 3</window><window num="2">1 2 3</window><window num="3">4 5 6</window> | ||
61 | 0 | 2 | ||
62 | === added file 'test/rbkt/ExpQueryResults/zorba/windowing/sliding13.xml.res' | |||
63 | --- test/rbkt/ExpQueryResults/zorba/windowing/sliding13.xml.res 1970-01-01 00:00:00 +0000 | |||
64 | +++ test/rbkt/ExpQueryResults/zorba/windowing/sliding13.xml.res 2011-12-06 00:30:31 +0000 | |||
65 | @@ -0,0 +1,1 @@ | |||
66 | 1 | <window>8 9 10</window><window>7 8 9</window><window>6 7 8</window><window>5 6 7</window><window>4 5 6</window><window>3 4 5</window><window>2 3 4</window><window>1 2 3</window> | ||
67 | 0 | 2 | ||
68 | === added file 'test/rbkt/ExpQueryResults/zorba/windowing/sliding14.xml.res' | |||
69 | --- test/rbkt/ExpQueryResults/zorba/windowing/sliding14.xml.res 1970-01-01 00:00:00 +0000 | |||
70 | +++ test/rbkt/ExpQueryResults/zorba/windowing/sliding14.xml.res 2011-12-06 00:30:31 +0000 | |||
71 | @@ -0,0 +1,1 @@ | |||
72 | 1 | <window num="1">3 2 1</window><window num="2">6 5 4</window><window num="3">9 8 7</window> | ||
73 | 0 | 2 | ||
74 | === added file 'test/rbkt/ExpQueryResults/zorba/windowing/tumbling01.xml.res' | |||
75 | --- test/rbkt/ExpQueryResults/zorba/windowing/tumbling01.xml.res 1970-01-01 00:00:00 +0000 | |||
76 | +++ test/rbkt/ExpQueryResults/zorba/windowing/tumbling01.xml.res 2011-12-06 00:30:31 +0000 | |||
77 | @@ -0,0 +1,1 @@ | |||
78 | 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> | ||
79 | 0 | 2 | ||
80 | === added file 'test/rbkt/ExpQueryResults/zorba/windowing/tumbling02.xml.res' | |||
81 | --- test/rbkt/ExpQueryResults/zorba/windowing/tumbling02.xml.res 1970-01-01 00:00:00 +0000 | |||
82 | +++ test/rbkt/ExpQueryResults/zorba/windowing/tumbling02.xml.res 2011-12-06 00:30:31 +0000 | |||
83 | @@ -0,0 +1,1 @@ | |||
84 | 1 | <window>1 2 3</window><window>4 5 6</window><window>7 8 9</window><window>10</window> | ||
85 | 0 | 2 | ||
86 | === added file 'test/rbkt/ExpQueryResults/zorba/windowing/tumbling04.xml.res' | |||
87 | --- test/rbkt/ExpQueryResults/zorba/windowing/tumbling04.xml.res 1970-01-01 00:00:00 +0000 | |||
88 | +++ test/rbkt/ExpQueryResults/zorba/windowing/tumbling04.xml.res 2011-12-06 00:30:31 +0000 | |||
89 | @@ -0,0 +1,1 @@ | |||
90 | 1 | <window>1 2 3</window><window>4 5 6</window><window>7 8 9</window><window>10</window> | ||
91 | 0 | 2 | ||
92 | === added file 'test/rbkt/ExpQueryResults/zorba/windowing/tumbling05.xml.res' | |||
93 | --- test/rbkt/ExpQueryResults/zorba/windowing/tumbling05.xml.res 1970-01-01 00:00:00 +0000 | |||
94 | +++ test/rbkt/ExpQueryResults/zorba/windowing/tumbling05.xml.res 2011-12-06 00:30:31 +0000 | |||
95 | @@ -0,0 +1,1 @@ | |||
96 | 1 | <window>1 2 3</window><window>4 5 6</window><window>7 8 9</window> | ||
97 | 0 | 2 | ||
98 | === added file 'test/rbkt/ExpQueryResults/zorba/windowing/tumbling06.xml.res' | |||
99 | === added file 'test/rbkt/ExpQueryResults/zorba/windowing/tumbling07.xml.res' | |||
100 | --- test/rbkt/ExpQueryResults/zorba/windowing/tumbling07.xml.res 1970-01-01 00:00:00 +0000 | |||
101 | +++ test/rbkt/ExpQueryResults/zorba/windowing/tumbling07.xml.res 2011-12-06 00:30:31 +0000 | |||
102 | @@ -0,0 +1,1 @@ | |||
103 | 1 | <window>1 2 3 4 5 6 7 8 9 10</window> | ||
104 | 0 | 2 | ||
105 | === added file 'test/rbkt/ExpQueryResults/zorba/windowing/tumbling08.xml.res' | |||
106 | --- test/rbkt/ExpQueryResults/zorba/windowing/tumbling08.xml.res 1970-01-01 00:00:00 +0000 | |||
107 | +++ test/rbkt/ExpQueryResults/zorba/windowing/tumbling08.xml.res 2011-12-06 00:30:31 +0000 | |||
108 | @@ -0,0 +1,1 @@ | |||
109 | 1 | <window>1 2 3 4 5 6 7 8 9 10</window> | ||
110 | 0 | 2 | ||
111 | === added file 'test/rbkt/ExpQueryResults/zorba/windowing/tumbling09.xml.res' | |||
112 | --- test/rbkt/ExpQueryResults/zorba/windowing/tumbling09.xml.res 1970-01-01 00:00:00 +0000 | |||
113 | +++ test/rbkt/ExpQueryResults/zorba/windowing/tumbling09.xml.res 2011-12-06 00:30:31 +0000 | |||
114 | @@ -0,0 +1,1 @@ | |||
115 | 1 | <window>1 2 3 4 5 6 7 8 9 10</window> | ||
116 | 0 | 2 | ||
117 | === added file 'test/rbkt/ExpQueryResults/zorba/windowing/tumbling10.xml.res' | |||
118 | --- test/rbkt/ExpQueryResults/zorba/windowing/tumbling10.xml.res 1970-01-01 00:00:00 +0000 | |||
119 | +++ test/rbkt/ExpQueryResults/zorba/windowing/tumbling10.xml.res 2011-12-06 00:30:31 +0000 | |||
120 | @@ -0,0 +1,1 @@ | |||
121 | 1 | <window>1 2 3 4 5 6 7 8 9 10 1 1 2 10 10 9</window> | ||
122 | 0 | 2 | ||
123 | === added file 'test/rbkt/ExpQueryResults/zorba/windowing/tumbling24.xml.res' | |||
124 | --- test/rbkt/ExpQueryResults/zorba/windowing/tumbling24.xml.res 1970-01-01 00:00:00 +0000 | |||
125 | +++ test/rbkt/ExpQueryResults/zorba/windowing/tumbling24.xml.res 2011-12-06 00:30:31 +0000 | |||
126 | @@ -0,0 +1,1 @@ | |||
127 | 1 | true | ||
128 | 0 | 2 | ||
129 | === added file 'test/rbkt/ExpQueryResults/zorba/windowing/tumbling25.xml.res' | |||
130 | === added file 'test/rbkt/ExpQueryResults/zorba/windowing/tumbling26.xml.res' | |||
131 | --- test/rbkt/ExpQueryResults/zorba/windowing/tumbling26.xml.res 1970-01-01 00:00:00 +0000 | |||
132 | +++ test/rbkt/ExpQueryResults/zorba/windowing/tumbling26.xml.res 2011-12-06 00:30:31 +0000 | |||
133 | @@ -0,0 +1,1 @@ | |||
134 | 1 | <window>6 8 10</window><window>12 14</window> | ||
135 | 0 | 2 | ||
136 | === added file 'test/rbkt/ExpQueryResults/zorba/windowing/tumbling27.xml.res' | |||
137 | --- test/rbkt/ExpQueryResults/zorba/windowing/tumbling27.xml.res 1970-01-01 00:00:00 +0000 | |||
138 | +++ test/rbkt/ExpQueryResults/zorba/windowing/tumbling27.xml.res 2011-12-06 00:30:31 +0000 | |||
139 | @@ -0,0 +1,1 @@ | |||
140 | 1 | <window>6 8 10</window><window>12 14</window><window>6 8 10</window><window>12 14</window> | ||
141 | 0 | 2 | ||
142 | === added file 'test/rbkt/ExpQueryResults/zorba/windowing/tumbling28.xml.res' | |||
143 | --- test/rbkt/ExpQueryResults/zorba/windowing/tumbling28.xml.res 1970-01-01 00:00:00 +0000 | |||
144 | +++ test/rbkt/ExpQueryResults/zorba/windowing/tumbling28.xml.res 2011-12-06 00:30:31 +0000 | |||
145 | @@ -0,0 +1,1 @@ | |||
146 | 1 | <window>1</window><window>1</window><window>2</window><window>2</window> | ||
147 | 0 | 2 | ||
148 | === added file 'test/rbkt/ExpQueryResults/zorba/windowing/tumbling29.xml.res' | |||
149 | --- test/rbkt/ExpQueryResults/zorba/windowing/tumbling29.xml.res 1970-01-01 00:00:00 +0000 | |||
150 | +++ test/rbkt/ExpQueryResults/zorba/windowing/tumbling29.xml.res 2011-12-06 00:30:31 +0000 | |||
151 | @@ -0,0 +1,1 @@ | |||
152 | 1 | 1 2 3 4 5 6 7 8 9 10 1 1 2 10 10 9 | ||
153 | 0 | 2 | ||
154 | === added file 'test/rbkt/ExpQueryResults/zorba/windowing/tumbling30.xml.res' | |||
155 | --- test/rbkt/ExpQueryResults/zorba/windowing/tumbling30.xml.res 1970-01-01 00:00:00 +0000 | |||
156 | +++ test/rbkt/ExpQueryResults/zorba/windowing/tumbling30.xml.res 2011-12-06 00:30:31 +0000 | |||
157 | @@ -0,0 +1,1 @@ | |||
158 | 1 | <window>3</window><window>6</window><window>3</window><window>6</window> | ||
159 | 0 | 2 | ||
160 | === added file 'test/rbkt/ExpQueryResults/zorba/windowing/tumbling32.xml.res' | |||
161 | --- test/rbkt/ExpQueryResults/zorba/windowing/tumbling32.xml.res 1970-01-01 00:00:00 +0000 | |||
162 | +++ test/rbkt/ExpQueryResults/zorba/windowing/tumbling32.xml.res 2011-12-06 00:30:31 +0000 | |||
163 | @@ -0,0 +1,12 @@ | |||
164 | 1 | <run-up> | ||
165 | 2 | <start-date>2008-01-02</start-date> | ||
166 | 3 | <start-price>101</start-price> | ||
167 | 4 | <end-date>2008-01-04</end-date> | ||
168 | 5 | <end-price>103</end-price> | ||
169 | 6 | </run-up> | ||
170 | 7 | <run-up> | ||
171 | 8 | <start-date>2008-01-05</start-date> | ||
172 | 9 | <start-price>102</start-price> | ||
173 | 10 | <end-date>2008-01-06</end-date> | ||
174 | 11 | <end-price>104</end-price> | ||
175 | 12 | </run-up> | ||
176 | 0 | 13 | ||
177 | === added file 'test/rbkt/ExpQueryResults/zorba/windowing/tumbling33.xml.res' | |||
178 | --- test/rbkt/ExpQueryResults/zorba/windowing/tumbling33.xml.res 1970-01-01 00:00:00 +0000 | |||
179 | +++ test/rbkt/ExpQueryResults/zorba/windowing/tumbling33.xml.res 2011-12-06 00:30:31 +0000 | |||
180 | @@ -0,0 +1,1 @@ | |||
181 | 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> | ||
182 | 0 | 2 | ||
183 | === added file 'test/rbkt/ExpQueryResults/zorba/windowing/tumbling34.xml.res' | |||
184 | --- test/rbkt/ExpQueryResults/zorba/windowing/tumbling34.xml.res 1970-01-01 00:00:00 +0000 | |||
185 | +++ test/rbkt/ExpQueryResults/zorba/windowing/tumbling34.xml.res 2011-12-06 00:30:31 +0000 | |||
186 | @@ -0,0 +1,1 @@ | |||
187 | 1 | <window num="1">1 2 3</window><window num="2">4 5 6</window> | ||
188 | 0 | 2 | ||
189 | === added file 'test/rbkt/ExpQueryResults/zorba/windowing/tumbling35.xml.res' | |||
190 | --- test/rbkt/ExpQueryResults/zorba/windowing/tumbling35.xml.res 1970-01-01 00:00:00 +0000 | |||
191 | +++ test/rbkt/ExpQueryResults/zorba/windowing/tumbling35.xml.res 2011-12-06 00:30:31 +0000 | |||
192 | @@ -0,0 +1,1 @@ | |||
193 | 1 | <window num="1">1 2 3</window><window num="2">1 2 3</window><window num="3">4 5 6</window> | ||
194 | 0 | 2 | ||
195 | === added file 'test/rbkt/ExpQueryResults/zorba/windowing/tumbling36.xml.res' | |||
196 | --- test/rbkt/ExpQueryResults/zorba/windowing/tumbling36.xml.res 1970-01-01 00:00:00 +0000 | |||
197 | +++ test/rbkt/ExpQueryResults/zorba/windowing/tumbling36.xml.res 2011-12-06 00:30:31 +0000 | |||
198 | @@ -0,0 +1,1 @@ | |||
199 | 1 | <window>7 8 9</window><window>4 5 6</window><window>1 2 3</window> | ||
200 | 0 | 2 | ||
201 | === added file 'test/rbkt/ExpQueryResults/zorba/windowing/tumbling38.xml.res' | |||
202 | --- test/rbkt/ExpQueryResults/zorba/windowing/tumbling38.xml.res 1970-01-01 00:00:00 +0000 | |||
203 | +++ test/rbkt/ExpQueryResults/zorba/windowing/tumbling38.xml.res 2011-12-06 00:30:31 +0000 | |||
204 | @@ -0,0 +1,1 @@ | |||
205 | 1 | <window>1 2 3</window><window>4 5 6</window><window>7 8 9</window> | ||
206 | 0 | 2 | ||
207 | === added file 'test/rbkt/ExpQueryResults/zorba/windowing/tumbling39.xml.res' | |||
208 | --- test/rbkt/ExpQueryResults/zorba/windowing/tumbling39.xml.res 1970-01-01 00:00:00 +0000 | |||
209 | +++ test/rbkt/ExpQueryResults/zorba/windowing/tumbling39.xml.res 2011-12-06 00:30:31 +0000 | |||
210 | @@ -0,0 +1,1 @@ | |||
211 | 1 | <window num="1">3 2 1</window><window num="2">6 5 4</window><window num="3">9 8 7</window> | ||
212 | 0 | 2 | ||
213 | === added file 'test/rbkt/ExpQueryResults/zorba/windowing/tumbling40.xml.res' | |||
214 | --- test/rbkt/ExpQueryResults/zorba/windowing/tumbling40.xml.res 1970-01-01 00:00:00 +0000 | |||
215 | +++ test/rbkt/ExpQueryResults/zorba/windowing/tumbling40.xml.res 2011-12-06 00:30:31 +0000 | |||
216 | @@ -0,0 +1,24 @@ | |||
217 | 1 | <run-up symbol="ABC"> | ||
218 | 2 | <start-date>2008-01-02</start-date> | ||
219 | 3 | <start-price>101</start-price> | ||
220 | 4 | <end-date>2008-01-04</end-date> | ||
221 | 5 | <end-price>103</end-price> | ||
222 | 6 | </run-up> | ||
223 | 7 | <run-up symbol="ABC"> | ||
224 | 8 | <start-date>2008-01-05</start-date> | ||
225 | 9 | <start-price>101</start-price> | ||
226 | 10 | <end-date>2008-01-06</end-date> | ||
227 | 11 | <end-price>104</end-price> | ||
228 | 12 | </run-up> | ||
229 | 13 | <run-up symbol="DEF"> | ||
230 | 14 | <start-date>2008-01-02</start-date> | ||
231 | 15 | <start-price>054</start-price> | ||
232 | 16 | <end-date>2008-01-03</end-date> | ||
233 | 17 | <end-price>056</end-price> | ||
234 | 18 | </run-up> | ||
235 | 19 | <run-up symbol="DEF"> | ||
236 | 20 | <start-date>2008-01-04</start-date> | ||
237 | 21 | <start-price>052</start-price> | ||
238 | 22 | <end-date>2008-01-06</end-date> | ||
239 | 23 | <end-price>059</end-price> | ||
240 | 24 | </run-up> | ||
241 | 0 | 25 | ||
242 | === added file 'test/rbkt/ExpQueryResults/zorba/windowing/tumbling41.xml.res' | |||
243 | --- test/rbkt/ExpQueryResults/zorba/windowing/tumbling41.xml.res 1970-01-01 00:00:00 +0000 | |||
244 | +++ test/rbkt/ExpQueryResults/zorba/windowing/tumbling41.xml.res 2011-12-06 00:30:31 +0000 | |||
245 | @@ -0,0 +1,1 @@ | |||
246 | 1 | <window>1 2 3 4</window><window>5 6 7 8</window><window>9 10</window> | ||
247 | 0 | 2 | ||
248 | === added file 'test/rbkt/ExpQueryResults/zorba/windowing/tumbling45.xml.res' | |||
249 | --- test/rbkt/ExpQueryResults/zorba/windowing/tumbling45.xml.res 1970-01-01 00:00:00 +0000 | |||
250 | +++ test/rbkt/ExpQueryResults/zorba/windowing/tumbling45.xml.res 2011-12-06 00:30:31 +0000 | |||
251 | @@ -0,0 +1,1 @@ | |||
252 | 1 | false false false false false | ||
253 | 0 | 2 | ||
254 | === added file 'test/rbkt/ExpQueryResults/zorba/windowing/tumbling46.xml.res' | |||
255 | --- test/rbkt/ExpQueryResults/zorba/windowing/tumbling46.xml.res 1970-01-01 00:00:00 +0000 | |||
256 | +++ test/rbkt/ExpQueryResults/zorba/windowing/tumbling46.xml.res 2011-12-06 00:30:31 +0000 | |||
257 | @@ -0,0 +1,1 @@ | |||
258 | 1 | <window>1</window><window>5</window><window>9</window> | ||
259 | 0 | 2 | ||
260 | === added file 'test/rbkt/ExpQueryResults/zorba/windowing/tumbling47.xml.res' | |||
261 | --- test/rbkt/ExpQueryResults/zorba/windowing/tumbling47.xml.res 1970-01-01 00:00:00 +0000 | |||
262 | +++ test/rbkt/ExpQueryResults/zorba/windowing/tumbling47.xml.res 2011-12-06 00:30:31 +0000 | |||
263 | @@ -0,0 +1,1 @@ | |||
264 | 1 | <window>1</window><window>5</window><window>9</window> | ||
265 | 0 | 2 | ||
266 | === added file 'test/rbkt/ExpQueryResults/zorba/windowing/tumbling48.xml.res' | |||
267 | --- test/rbkt/ExpQueryResults/zorba/windowing/tumbling48.xml.res 1970-01-01 00:00:00 +0000 | |||
268 | +++ test/rbkt/ExpQueryResults/zorba/windowing/tumbling48.xml.res 2011-12-06 00:30:31 +0000 | |||
269 | @@ -0,0 +1,1 @@ | |||
270 | 1 | <window>1</window><window>2</window><window>3</window><window>4</window><window>5</window> | ||
271 | 0 | 2 | ||
272 | === added file 'test/rbkt/ExpQueryResults/zorba/windowing/tumbling49.xml.res' | |||
273 | === modified file 'test/rbkt/Queries/CMakeLists.txt' | |||
274 | --- test/rbkt/Queries/CMakeLists.txt 2011-10-26 13:43:15 +0000 | |||
275 | +++ test/rbkt/Queries/CMakeLists.txt 2011-12-06 00:30:31 +0000 | |||
276 | @@ -294,3 +294,17 @@ | |||
277 | 294 | 294 | ||
278 | 295 | EXPECTED_FAILURE(test/rbkt/zorba/reference/reference_5 868640) | 295 | EXPECTED_FAILURE(test/rbkt/zorba/reference/reference_5 868640) |
279 | 296 | 296 | ||
280 | 297 | |||
281 | 298 | # Failing windowing tests. | ||
282 | 299 | EXPECTED_FAILURE(test/rbkt/zorba/windowing/tumbling22 899363) | ||
283 | 300 | |||
284 | 301 | EXPECTED_FAILURE(test/rbkt/zorba/windowing/tumbling44 899366) | ||
285 | 302 | |||
286 | 303 | EXPECTED_FAILURE(test/rbkt/zorba/windowing/tumbling14 899364) | ||
287 | 304 | EXPECTED_FAILURE(test/rbkt/zorba/windowing/tumbling16 899364) | ||
288 | 305 | EXPECTED_FAILURE(test/rbkt/zorba/windowing/tumbling15 899364) | ||
289 | 306 | EXPECTED_FAILURE(test/rbkt/zorba/windowing/tumbling18 899364) | ||
290 | 307 | EXPECTED_FAILURE(test/rbkt/zorba/windowing/tumbling19 899364) | ||
291 | 308 | EXPECTED_FAILURE(test/rbkt/zorba/windowing/tumbling20 899364) | ||
292 | 309 | EXPECTED_FAILURE(test/rbkt/zorba/windowing/tumbling17 899364) | ||
293 | 310 | EXPECTED_FAILURE(test/rbkt/zorba/windowing/tumbling21 899364) | ||
294 | 297 | 311 | ||
295 | === added file 'test/rbkt/Queries/zorba/windowing/sliding01.xq' | |||
296 | --- test/rbkt/Queries/zorba/windowing/sliding01.xq 1970-01-01 00:00:00 +0000 | |||
297 | +++ test/rbkt/Queries/zorba/windowing/sliding01.xq 2011-12-06 00:30:31 +0000 | |||
298 | @@ -0,0 +1,4 @@ | |||
299 | 1 | for sliding window $w in (1 to 10) | ||
300 | 2 | start $s when true() | ||
301 | 3 | end $e when true() | ||
302 | 4 | return <window>{$w}</window> | ||
303 | 0 | 5 | ||
304 | === added file 'test/rbkt/Queries/zorba/windowing/sliding02.xq' | |||
305 | --- test/rbkt/Queries/zorba/windowing/sliding02.xq 1970-01-01 00:00:00 +0000 | |||
306 | +++ test/rbkt/Queries/zorba/windowing/sliding02.xq 2011-12-06 00:30:31 +0000 | |||
307 | @@ -0,0 +1,5 @@ | |||
308 | 1 | for sliding window $w in (1 to 10) | ||
309 | 2 | start $s when true() | ||
310 | 3 | end $e when $e - $s eq 2 | ||
311 | 4 | return <window>{$w}</window> | ||
312 | 5 | |||
313 | 0 | 6 | ||
314 | === added file 'test/rbkt/Queries/zorba/windowing/sliding03.xq' | |||
315 | --- test/rbkt/Queries/zorba/windowing/sliding03.xq 1970-01-01 00:00:00 +0000 | |||
316 | +++ test/rbkt/Queries/zorba/windowing/sliding03.xq 2011-12-06 00:30:31 +0000 | |||
317 | @@ -0,0 +1,5 @@ | |||
318 | 1 | for sliding window $w in (1 to 10) | ||
319 | 2 | start $s at $x when true() | ||
320 | 3 | end $e at $y when $y - $x eq 2 | ||
321 | 4 | return <window>{$w}</window> | ||
322 | 5 | |||
323 | 0 | 6 | ||
324 | === added file 'test/rbkt/Queries/zorba/windowing/sliding04.xq' | |||
325 | --- test/rbkt/Queries/zorba/windowing/sliding04.xq 1970-01-01 00:00:00 +0000 | |||
326 | +++ test/rbkt/Queries/zorba/windowing/sliding04.xq 2011-12-06 00:30:31 +0000 | |||
327 | @@ -0,0 +1,4 @@ | |||
328 | 1 | for sliding window $w in (1 to 10) | ||
329 | 2 | start $s at $x when true() | ||
330 | 3 | only end $e at $y when $y - $x eq 2 | ||
331 | 4 | return <window>{$w}</window> | ||
332 | 0 | 5 | ||
333 | === added file 'test/rbkt/Queries/zorba/windowing/sliding05.xq' | |||
334 | --- test/rbkt/Queries/zorba/windowing/sliding05.xq 1970-01-01 00:00:00 +0000 | |||
335 | +++ test/rbkt/Queries/zorba/windowing/sliding05.xq 2011-12-06 00:30:31 +0000 | |||
336 | @@ -0,0 +1,4 @@ | |||
337 | 1 | for sliding window $w in (1 to 10) | ||
338 | 2 | start $s when true() | ||
339 | 3 | only end $e when false() | ||
340 | 4 | return <window>{$w}</window> | ||
341 | 0 | 5 | ||
342 | === added file 'test/rbkt/Queries/zorba/windowing/sliding06.xq' | |||
343 | --- test/rbkt/Queries/zorba/windowing/sliding06.xq 1970-01-01 00:00:00 +0000 | |||
344 | +++ test/rbkt/Queries/zorba/windowing/sliding06.xq 2011-12-06 00:30:31 +0000 | |||
345 | @@ -0,0 +1,6 @@ | |||
346 | 1 | declare namespace window = "foo:bar"; | ||
347 | 2 | |||
348 | 3 | for sliding window $"foo:bar":w in (1 to 10) | ||
349 | 4 | start $s when true() | ||
350 | 5 | end $e when false() | ||
351 | 6 | return <window>{$window:w}</window> | ||
352 | 0 | 7 | ||
353 | === added file 'test/rbkt/Queries/zorba/windowing/sliding07.xq' | |||
354 | --- test/rbkt/Queries/zorba/windowing/sliding07.xq 1970-01-01 00:00:00 +0000 | |||
355 | +++ test/rbkt/Queries/zorba/windowing/sliding07.xq 2011-12-06 00:30:31 +0000 | |||
356 | @@ -0,0 +1,10 @@ | |||
357 | 1 | declare namespace w = "foo:bar"; | ||
358 | 2 | |||
359 | 3 | for sliding window $"foo:bar":w in (1 to 10) | ||
360 | 4 | start $"foo:bar":s at $"foo:bar":x previous $"foo:bar":sp next $"foo:bar":sn when true() | ||
361 | 5 | end $"foo:bar":e at $"foo:bar":y previous $"foo:bar":ep next $"foo:bar":en when false() | ||
362 | 6 | return <window>{ | ||
363 | 7 | string-join ( | ||
364 | 8 | for $w:w in ($w:w, $w:s, $w:x, $w:sp, $w:sn, $w:e, $w:y, $w:ep, $w:en) | ||
365 | 9 | return string($w:w), " " | ||
366 | 10 | )}</window> | ||
367 | 0 | 11 | ||
368 | === added file 'test/rbkt/Queries/zorba/windowing/sliding08.spec' | |||
369 | --- test/rbkt/Queries/zorba/windowing/sliding08.spec 1970-01-01 00:00:00 +0000 | |||
370 | +++ test/rbkt/Queries/zorba/windowing/sliding08.spec 2011-12-06 00:30:31 +0000 | |||
371 | @@ -0,0 +1,1 @@ | |||
372 | 1 | Error: http://www.w3.org/2005/xqt-errors:XPST0008 | ||
373 | 0 | 2 | ||
374 | === added file 'test/rbkt/Queries/zorba/windowing/sliding08.xq' | |||
375 | --- test/rbkt/Queries/zorba/windowing/sliding08.xq 1970-01-01 00:00:00 +0000 | |||
376 | +++ test/rbkt/Queries/zorba/windowing/sliding08.xq 2011-12-06 00:30:31 +0000 | |||
377 | @@ -0,0 +1,4 @@ | |||
378 | 1 | for sliding window $w in (1 to 10) | ||
379 | 2 | start $s when true() | ||
380 | 3 | end $e when $e - $w eq 2 | ||
381 | 4 | return <window>{$w}</window> | ||
382 | 0 | 5 | ||
383 | === added file 'test/rbkt/Queries/zorba/windowing/sliding09.xq' | |||
384 | --- test/rbkt/Queries/zorba/windowing/sliding09.xq 1970-01-01 00:00:00 +0000 | |||
385 | +++ test/rbkt/Queries/zorba/windowing/sliding09.xq 2011-12-06 00:30:31 +0000 | |||
386 | @@ -0,0 +1,5 @@ | |||
387 | 1 | for sliding window $w in (1 to 10) | ||
388 | 2 | start $s at $x previous $sp next $sn when true() | ||
389 | 3 | end $e at $y previous $ep next $en when false() | ||
390 | 4 | 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) | ||
391 | 5 | return true() | ||
392 | 0 | 6 | ||
393 | === added file 'test/rbkt/Queries/zorba/windowing/sliding10.xq' | |||
394 | --- test/rbkt/Queries/zorba/windowing/sliding10.xq 1970-01-01 00:00:00 +0000 | |||
395 | +++ test/rbkt/Queries/zorba/windowing/sliding10.xq 2011-12-06 00:30:31 +0000 | |||
396 | @@ -0,0 +1,18 @@ | |||
397 | 1 | for $x1 in 11 | ||
398 | 2 | for $x2 in 12 | ||
399 | 3 | for $x3 in 13 | ||
400 | 4 | for $x4 in 14 | ||
401 | 5 | for $x5 in 15 | ||
402 | 6 | for $x6 in 16 | ||
403 | 7 | for $x7 in 17 | ||
404 | 8 | for $x8 in 18 | ||
405 | 9 | for $x9 in 19 | ||
406 | 10 | for sliding window $x1 in (1 to 10) | ||
407 | 11 | start $x2 at $x3 previous $x4 next $x5 when true() | ||
408 | 12 | end $x6 at $x7 previous $x8 next $x9 when false() | ||
409 | 13 | return | ||
410 | 14 | string-join( | ||
411 | 15 | for $i in ($x1, $x2, $x3, $x4, $x5, $x6, $x7, $x8, $x9) | ||
412 | 16 | return string($i), " " | ||
413 | 17 | ) | ||
414 | 18 | |||
415 | 0 | 19 | ||
416 | === added file 'test/rbkt/Queries/zorba/windowing/sliding11.xq' | |||
417 | --- test/rbkt/Queries/zorba/windowing/sliding11.xq 1970-01-01 00:00:00 +0000 | |||
418 | +++ test/rbkt/Queries/zorba/windowing/sliding11.xq 2011-12-06 00:30:31 +0000 | |||
419 | @@ -0,0 +1,5 @@ | |||
420 | 1 | for sliding window $w in (1 to 10) | ||
421 | 2 | start $s when true() | ||
422 | 3 | end $e when $e - $s eq 2 | ||
423 | 4 | count $r | ||
424 | 5 | return <window num="{$r}">{$w}</window> | ||
425 | 0 | 6 | ||
426 | === added file 'test/rbkt/Queries/zorba/windowing/sliding12.xq' | |||
427 | --- test/rbkt/Queries/zorba/windowing/sliding12.xq 1970-01-01 00:00:00 +0000 | |||
428 | +++ test/rbkt/Queries/zorba/windowing/sliding12.xq 2011-12-06 00:30:31 +0000 | |||
429 | @@ -0,0 +1,7 @@ | |||
430 | 1 | for $i in 1 to 3 | ||
431 | 2 | count $r | ||
432 | 3 | for tumbling window $w in (1 to 10) | ||
433 | 4 | start $s when true() | ||
434 | 5 | end $e when $e - $s eq 2 | ||
435 | 6 | where $w = $r + 1 | ||
436 | 7 | return <window num="{$r}">{$w}</window> | ||
437 | 0 | 8 | ||
438 | === added file 'test/rbkt/Queries/zorba/windowing/sliding13.xq' | |||
439 | --- test/rbkt/Queries/zorba/windowing/sliding13.xq 1970-01-01 00:00:00 +0000 | |||
440 | +++ test/rbkt/Queries/zorba/windowing/sliding13.xq 2011-12-06 00:30:31 +0000 | |||
441 | @@ -0,0 +1,5 @@ | |||
442 | 1 | for sliding window $w in (1 to 10) | ||
443 | 2 | start $s when true() | ||
444 | 3 | only end $e when $e - $s eq 2 | ||
445 | 4 | order by $w[2] descending | ||
446 | 5 | return <window>{$w}</window> | ||
447 | 0 | 6 | ||
448 | === added file 'test/rbkt/Queries/zorba/windowing/sliding14.xq' | |||
449 | --- test/rbkt/Queries/zorba/windowing/sliding14.xq 1970-01-01 00:00:00 +0000 | |||
450 | +++ test/rbkt/Queries/zorba/windowing/sliding14.xq 2011-12-06 00:30:31 +0000 | |||
451 | @@ -0,0 +1,12 @@ | |||
452 | 1 | for tumbling window $w in (1 to 10) | ||
453 | 2 | start $s when true() | ||
454 | 3 | only end $e when $e - $s eq 2 | ||
455 | 4 | count $r | ||
456 | 5 | return | ||
457 | 6 | <window num="{$r}"> | ||
458 | 7 | { | ||
459 | 8 | for $i in $w | ||
460 | 9 | order by $i descending | ||
461 | 10 | return $i | ||
462 | 11 | } | ||
463 | 12 | </window> | ||
464 | 0 | 13 | ||
465 | === added file 'test/rbkt/Queries/zorba/windowing/tumbling01.xq' | |||
466 | --- test/rbkt/Queries/zorba/windowing/tumbling01.xq 1970-01-01 00:00:00 +0000 | |||
467 | +++ test/rbkt/Queries/zorba/windowing/tumbling01.xq 2011-12-06 00:30:31 +0000 | |||
468 | @@ -0,0 +1,4 @@ | |||
469 | 1 | for tumbling window $w in (1 to 10) | ||
470 | 2 | start $s when true() | ||
471 | 3 | end $e when true() | ||
472 | 4 | return <window>{$w}</window> | ||
473 | 0 | 5 | ||
474 | === added file 'test/rbkt/Queries/zorba/windowing/tumbling02.xq' | |||
475 | --- test/rbkt/Queries/zorba/windowing/tumbling02.xq 1970-01-01 00:00:00 +0000 | |||
476 | +++ test/rbkt/Queries/zorba/windowing/tumbling02.xq 2011-12-06 00:30:31 +0000 | |||
477 | @@ -0,0 +1,5 @@ | |||
478 | 1 | for tumbling window $w in (1 to 10) | ||
479 | 2 | start $s when true() | ||
480 | 3 | end $e when $e - $s eq 2 | ||
481 | 4 | return <window>{$w}</window> | ||
482 | 5 | |||
483 | 0 | 6 | ||
484 | === added file 'test/rbkt/Queries/zorba/windowing/tumbling04.xq' | |||
485 | --- test/rbkt/Queries/zorba/windowing/tumbling04.xq 1970-01-01 00:00:00 +0000 | |||
486 | +++ test/rbkt/Queries/zorba/windowing/tumbling04.xq 2011-12-06 00:30:31 +0000 | |||
487 | @@ -0,0 +1,4 @@ | |||
488 | 1 | for tumbling window $w in (1 to 10) | ||
489 | 2 | start $s at $x when true() | ||
490 | 3 | end $e at $y when $y - $x eq 2 | ||
491 | 4 | return <window>{$w}</window> | ||
492 | 0 | 5 | ||
493 | === added file 'test/rbkt/Queries/zorba/windowing/tumbling05.xq' | |||
494 | --- test/rbkt/Queries/zorba/windowing/tumbling05.xq 1970-01-01 00:00:00 +0000 | |||
495 | +++ test/rbkt/Queries/zorba/windowing/tumbling05.xq 2011-12-06 00:30:31 +0000 | |||
496 | @@ -0,0 +1,5 @@ | |||
497 | 1 | for tumbling window $w in (1 to 10) | ||
498 | 2 | start $s at $x when true() | ||
499 | 3 | only end $e at $y when $y - $x eq 2 | ||
500 | 4 | return <window>{$w}</window> | ||
501 | 5 | |||
502 | 0 | 6 | ||
503 | === added file 'test/rbkt/Queries/zorba/windowing/tumbling06.xq' | |||
504 | --- test/rbkt/Queries/zorba/windowing/tumbling06.xq 1970-01-01 00:00:00 +0000 | |||
505 | +++ test/rbkt/Queries/zorba/windowing/tumbling06.xq 2011-12-06 00:30:31 +0000 | |||
506 | @@ -0,0 +1,4 @@ | |||
507 | 1 | for tumbling window $w in (1 to 10) | ||
508 | 2 | start $s when true() | ||
509 | 3 | only end $e when false() | ||
510 | 4 | return <window>{$w}</window> | ||
511 | 0 | 5 | ||
512 | === added file 'test/rbkt/Queries/zorba/windowing/tumbling07.xq' | |||
513 | --- test/rbkt/Queries/zorba/windowing/tumbling07.xq 1970-01-01 00:00:00 +0000 | |||
514 | +++ test/rbkt/Queries/zorba/windowing/tumbling07.xq 2011-12-06 00:30:31 +0000 | |||
515 | @@ -0,0 +1,4 @@ | |||
516 | 1 | for tumbling window $w in (1 to 10) | ||
517 | 2 | start $s when true() | ||
518 | 3 | end $e when false() | ||
519 | 4 | return <window>{$w}</window> | ||
520 | 0 | 5 | ||
521 | === added file 'test/rbkt/Queries/zorba/windowing/tumbling08.xq' | |||
522 | --- test/rbkt/Queries/zorba/windowing/tumbling08.xq 1970-01-01 00:00:00 +0000 | |||
523 | +++ test/rbkt/Queries/zorba/windowing/tumbling08.xq 2011-12-06 00:30:31 +0000 | |||
524 | @@ -0,0 +1,6 @@ | |||
525 | 1 | declare namespace window = "foo:bar"; | ||
526 | 2 | |||
527 | 3 | for tumbling window $window:w in (1 to 10) | ||
528 | 4 | start $s when true() | ||
529 | 5 | end $e when false() | ||
530 | 6 | return <window>{$window:w}</window> | ||
531 | 0 | 7 | ||
532 | === added file 'test/rbkt/Queries/zorba/windowing/tumbling09.xq' | |||
533 | --- test/rbkt/Queries/zorba/windowing/tumbling09.xq 1970-01-01 00:00:00 +0000 | |||
534 | +++ test/rbkt/Queries/zorba/windowing/tumbling09.xq 2011-12-06 00:30:31 +0000 | |||
535 | @@ -0,0 +1,6 @@ | |||
536 | 1 | declare namespace window = "foo:bar"; | ||
537 | 2 | |||
538 | 3 | for tumbling window $"foo:bar":w in (1 to 10) | ||
539 | 4 | start $s when true() | ||
540 | 5 | end $e when false() | ||
541 | 6 | return <window>{$window:w}</window> | ||
542 | 0 | 7 | ||
543 | === added file 'test/rbkt/Queries/zorba/windowing/tumbling10.xq' | |||
544 | --- test/rbkt/Queries/zorba/windowing/tumbling10.xq 1970-01-01 00:00:00 +0000 | |||
545 | +++ test/rbkt/Queries/zorba/windowing/tumbling10.xq 2011-12-06 00:30:31 +0000 | |||
546 | @@ -0,0 +1,10 @@ | |||
547 | 1 | declare namespace w = "foo:bar"; | ||
548 | 2 | |||
549 | 3 | for tumbling window $"foo:bar":w in (1 to 10) | ||
550 | 4 | start $"foo:bar":s at $"foo:bar":x previous $"foo:bar":sp next $"foo:bar":sn when true() | ||
551 | 5 | end $"foo:bar":e at $"foo:bar":y previous $"foo:bar":ep next $"foo:bar":en when false() | ||
552 | 6 | return <window>{ | ||
553 | 7 | string-join ( | ||
554 | 8 | for $w:w in ($w:w, $w:s, $w:x, $w:sp, $w:sn, $w:e, $w:y, $w:ep, $w:en) | ||
555 | 9 | return string($w:w), " " | ||
556 | 10 | )}</window> | ||
557 | 0 | 11 | ||
558 | === added file 'test/rbkt/Queries/zorba/windowing/tumbling11.spec' | |||
559 | --- test/rbkt/Queries/zorba/windowing/tumbling11.spec 1970-01-01 00:00:00 +0000 | |||
560 | +++ test/rbkt/Queries/zorba/windowing/tumbling11.spec 2011-12-06 00:30:31 +0000 | |||
561 | @@ -0,0 +1,1 @@ | |||
562 | 1 | Error: http://www.w3.org/2005/xqt-errors:XPST0008 | ||
563 | 0 | 2 | ||
564 | === added file 'test/rbkt/Queries/zorba/windowing/tumbling11.xq' | |||
565 | --- test/rbkt/Queries/zorba/windowing/tumbling11.xq 1970-01-01 00:00:00 +0000 | |||
566 | +++ test/rbkt/Queries/zorba/windowing/tumbling11.xq 2011-12-06 00:30:31 +0000 | |||
567 | @@ -0,0 +1,4 @@ | |||
568 | 1 | for tumbling window $w in (1 to 10) | ||
569 | 2 | start $s when true() | ||
570 | 3 | end $e when $e - $w eq 2 | ||
571 | 4 | return <window>{$w}</window> | ||
572 | 0 | 5 | ||
573 | === added file 'test/rbkt/Queries/zorba/windowing/tumbling14.spec' | |||
574 | --- test/rbkt/Queries/zorba/windowing/tumbling14.spec 1970-01-01 00:00:00 +0000 | |||
575 | +++ test/rbkt/Queries/zorba/windowing/tumbling14.spec 2011-12-06 00:30:31 +0000 | |||
576 | @@ -0,0 +1,1 @@ | |||
577 | 1 | Error: http://www.w3.org/2005/xqt-errors:XQST0103 | ||
578 | 0 | 2 | ||
579 | === added file 'test/rbkt/Queries/zorba/windowing/tumbling14.xq' | |||
580 | --- test/rbkt/Queries/zorba/windowing/tumbling14.xq 1970-01-01 00:00:00 +0000 | |||
581 | +++ test/rbkt/Queries/zorba/windowing/tumbling14.xq 2011-12-06 00:30:31 +0000 | |||
582 | @@ -0,0 +1,4 @@ | |||
583 | 1 | for tumbling window $w in (1 to 10) | ||
584 | 2 | start $w when true() | ||
585 | 3 | end $e when false() | ||
586 | 4 | return <window>{$w}</window> | ||
587 | 0 | 5 | ||
588 | === added file 'test/rbkt/Queries/zorba/windowing/tumbling15.spec' | |||
589 | --- test/rbkt/Queries/zorba/windowing/tumbling15.spec 1970-01-01 00:00:00 +0000 | |||
590 | +++ test/rbkt/Queries/zorba/windowing/tumbling15.spec 2011-12-06 00:30:31 +0000 | |||
591 | @@ -0,0 +1,2 @@ | |||
592 | 1 | Error: http://www.w3.org/2005/xqt-errors:XQST0103 | ||
593 | 2 | |||
594 | 0 | 3 | ||
595 | === added file 'test/rbkt/Queries/zorba/windowing/tumbling15.xq' | |||
596 | --- test/rbkt/Queries/zorba/windowing/tumbling15.xq 1970-01-01 00:00:00 +0000 | |||
597 | +++ test/rbkt/Queries/zorba/windowing/tumbling15.xq 2011-12-06 00:30:31 +0000 | |||
598 | @@ -0,0 +1,4 @@ | |||
599 | 1 | for tumbling window $w in (1 to 10) | ||
600 | 2 | start $s when true() | ||
601 | 3 | end $w when false() | ||
602 | 4 | return <window>{$w}</window> | ||
603 | 0 | 5 | ||
604 | === added file 'test/rbkt/Queries/zorba/windowing/tumbling16.spec' | |||
605 | --- test/rbkt/Queries/zorba/windowing/tumbling16.spec 1970-01-01 00:00:00 +0000 | |||
606 | +++ test/rbkt/Queries/zorba/windowing/tumbling16.spec 2011-12-06 00:30:31 +0000 | |||
607 | @@ -0,0 +1,1 @@ | |||
608 | 1 | Error: http://www.w3.org/2005/xqt-errors:XQST0103 | ||
609 | 0 | 2 | ||
610 | === added file 'test/rbkt/Queries/zorba/windowing/tumbling16.xq' | |||
611 | --- test/rbkt/Queries/zorba/windowing/tumbling16.xq 1970-01-01 00:00:00 +0000 | |||
612 | +++ test/rbkt/Queries/zorba/windowing/tumbling16.xq 2011-12-06 00:30:31 +0000 | |||
613 | @@ -0,0 +1,4 @@ | |||
614 | 1 | for tumbling window $w in (1 to 10) | ||
615 | 2 | start $s at $w when true() | ||
616 | 3 | end $e when false() | ||
617 | 4 | return <window>{$w}</window> | ||
618 | 0 | 5 | ||
619 | === added file 'test/rbkt/Queries/zorba/windowing/tumbling17.spec' | |||
620 | --- test/rbkt/Queries/zorba/windowing/tumbling17.spec 1970-01-01 00:00:00 +0000 | |||
621 | +++ test/rbkt/Queries/zorba/windowing/tumbling17.spec 2011-12-06 00:30:31 +0000 | |||
622 | @@ -0,0 +1,1 @@ | |||
623 | 1 | Error: http://www.w3.org/2005/xqt-errors:XQST0103 | ||
624 | 0 | 2 | ||
625 | === added file 'test/rbkt/Queries/zorba/windowing/tumbling17.xq' | |||
626 | --- test/rbkt/Queries/zorba/windowing/tumbling17.xq 1970-01-01 00:00:00 +0000 | |||
627 | +++ test/rbkt/Queries/zorba/windowing/tumbling17.xq 2011-12-06 00:30:31 +0000 | |||
628 | @@ -0,0 +1,4 @@ | |||
629 | 1 | for tumbling window $w in (1 to 10) | ||
630 | 2 | start $s when true() | ||
631 | 3 | end $e at $w when false() | ||
632 | 4 | return <window>{$w}</window> | ||
633 | 0 | 5 | ||
634 | === added file 'test/rbkt/Queries/zorba/windowing/tumbling18.spec' | |||
635 | --- test/rbkt/Queries/zorba/windowing/tumbling18.spec 1970-01-01 00:00:00 +0000 | |||
636 | +++ test/rbkt/Queries/zorba/windowing/tumbling18.spec 2011-12-06 00:30:31 +0000 | |||
637 | @@ -0,0 +1,1 @@ | |||
638 | 1 | Error: http://www.w3.org/2005/xqt-errors:XQST0103 | ||
639 | 0 | 2 | ||
640 | === added file 'test/rbkt/Queries/zorba/windowing/tumbling18.xq' | |||
641 | --- test/rbkt/Queries/zorba/windowing/tumbling18.xq 1970-01-01 00:00:00 +0000 | |||
642 | +++ test/rbkt/Queries/zorba/windowing/tumbling18.xq 2011-12-06 00:30:31 +0000 | |||
643 | @@ -0,0 +1,4 @@ | |||
644 | 1 | for tumbling window $w in (1 to 10) | ||
645 | 2 | start $s previous $w when true() | ||
646 | 3 | end $e when false() | ||
647 | 4 | return <window>{$w}</window> | ||
648 | 0 | 5 | ||
649 | === added file 'test/rbkt/Queries/zorba/windowing/tumbling19.spec' | |||
650 | --- test/rbkt/Queries/zorba/windowing/tumbling19.spec 1970-01-01 00:00:00 +0000 | |||
651 | +++ test/rbkt/Queries/zorba/windowing/tumbling19.spec 2011-12-06 00:30:31 +0000 | |||
652 | @@ -0,0 +1,1 @@ | |||
653 | 1 | Error: http://www.w3.org/2005/xqt-errors:XQST0103 | ||
654 | 0 | 2 | ||
655 | === added file 'test/rbkt/Queries/zorba/windowing/tumbling19.xq' | |||
656 | --- test/rbkt/Queries/zorba/windowing/tumbling19.xq 1970-01-01 00:00:00 +0000 | |||
657 | +++ test/rbkt/Queries/zorba/windowing/tumbling19.xq 2011-12-06 00:30:31 +0000 | |||
658 | @@ -0,0 +1,4 @@ | |||
659 | 1 | for tumbling window $w in (1 to 10) | ||
660 | 2 | start $s next $w when true() | ||
661 | 3 | end $e when false() | ||
662 | 4 | return <window>{$w}</window> | ||
663 | 0 | 5 | ||
664 | === added file 'test/rbkt/Queries/zorba/windowing/tumbling20.spec' | |||
665 | --- test/rbkt/Queries/zorba/windowing/tumbling20.spec 1970-01-01 00:00:00 +0000 | |||
666 | +++ test/rbkt/Queries/zorba/windowing/tumbling20.spec 2011-12-06 00:30:31 +0000 | |||
667 | @@ -0,0 +1,1 @@ | |||
668 | 1 | Error: http://www.w3.org/2005/xqt-errors:XQST0103 | ||
669 | 0 | 2 | ||
670 | === added file 'test/rbkt/Queries/zorba/windowing/tumbling20.xq' | |||
671 | --- test/rbkt/Queries/zorba/windowing/tumbling20.xq 1970-01-01 00:00:00 +0000 | |||
672 | +++ test/rbkt/Queries/zorba/windowing/tumbling20.xq 2011-12-06 00:30:31 +0000 | |||
673 | @@ -0,0 +1,4 @@ | |||
674 | 1 | for tumbling window $w in (1 to 10) | ||
675 | 2 | start $s when true() | ||
676 | 3 | end $e previous $w when false() | ||
677 | 4 | return <window>{$w}</window> | ||
678 | 0 | 5 | ||
679 | === added file 'test/rbkt/Queries/zorba/windowing/tumbling21.spec' | |||
680 | --- test/rbkt/Queries/zorba/windowing/tumbling21.spec 1970-01-01 00:00:00 +0000 | |||
681 | +++ test/rbkt/Queries/zorba/windowing/tumbling21.spec 2011-12-06 00:30:31 +0000 | |||
682 | @@ -0,0 +1,1 @@ | |||
683 | 1 | Error: http://www.w3.org/2005/xqt-errors:XQST0103 | ||
684 | 0 | 2 | ||
685 | === added file 'test/rbkt/Queries/zorba/windowing/tumbling21.xq' | |||
686 | --- test/rbkt/Queries/zorba/windowing/tumbling21.xq 1970-01-01 00:00:00 +0000 | |||
687 | +++ test/rbkt/Queries/zorba/windowing/tumbling21.xq 2011-12-06 00:30:31 +0000 | |||
688 | @@ -0,0 +1,4 @@ | |||
689 | 1 | for tumbling window $w in (1 to 10) | ||
690 | 2 | start $s when true() | ||
691 | 3 | end $e next $w when false() | ||
692 | 4 | return <window>{$w}</window> | ||
693 | 0 | 5 | ||
694 | === added file 'test/rbkt/Queries/zorba/windowing/tumbling22.spec' | |||
695 | --- test/rbkt/Queries/zorba/windowing/tumbling22.spec 1970-01-01 00:00:00 +0000 | |||
696 | +++ test/rbkt/Queries/zorba/windowing/tumbling22.spec 2011-12-06 00:30:31 +0000 | |||
697 | @@ -0,0 +1,1 @@ | |||
698 | 1 | Error: http://www.w3.org/2005/xqt-errors:XQST0103 | ||
699 | 0 | 2 | ||
700 | === added file 'test/rbkt/Queries/zorba/windowing/tumbling22.xq' | |||
701 | --- test/rbkt/Queries/zorba/windowing/tumbling22.xq 1970-01-01 00:00:00 +0000 | |||
702 | +++ test/rbkt/Queries/zorba/windowing/tumbling22.xq 2011-12-06 00:30:31 +0000 | |||
703 | @@ -0,0 +1,4 @@ | |||
704 | 1 | for tumbling window $w in (1 to 10) | ||
705 | 2 | start $s when true() | ||
706 | 3 | end $s when false() | ||
707 | 4 | return <window>{$w}</window> | ||
708 | 0 | 5 | ||
709 | === added file 'test/rbkt/Queries/zorba/windowing/tumbling24.xq' | |||
710 | --- test/rbkt/Queries/zorba/windowing/tumbling24.xq 1970-01-01 00:00:00 +0000 | |||
711 | +++ test/rbkt/Queries/zorba/windowing/tumbling24.xq 2011-12-06 00:30:31 +0000 | |||
712 | @@ -0,0 +1,6 @@ | |||
713 | 1 | (: check all variables are in scope in the following clause :) | ||
714 | 2 | for tumbling window $w in (1 to 10) | ||
715 | 3 | start $s at $x previous $sp next $sn when true() | ||
716 | 4 | end $e at $y previous $ep next $en when false() | ||
717 | 5 | 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) | ||
718 | 6 | return true() | ||
719 | 0 | 7 | ||
720 | === added file 'test/rbkt/Queries/zorba/windowing/tumbling25.xq' | |||
721 | --- test/rbkt/Queries/zorba/windowing/tumbling25.xq 1970-01-01 00:00:00 +0000 | |||
722 | +++ test/rbkt/Queries/zorba/windowing/tumbling25.xq 2011-12-06 00:30:31 +0000 | |||
723 | @@ -0,0 +1,5 @@ | |||
724 | 1 | for tumbling window $w in () | ||
725 | 2 | start $s at $x previous $sp next $sn when true() | ||
726 | 3 | end $e at $y previous $ep next $en when false() | ||
727 | 4 | return ($w, $s, $x, $sp, $sn, $e, $y, $ep, $en) | ||
728 | 5 | |||
729 | 0 | 6 | ||
730 | === added file 'test/rbkt/Queries/zorba/windowing/tumbling26.xq' | |||
731 | --- test/rbkt/Queries/zorba/windowing/tumbling26.xq 1970-01-01 00:00:00 +0000 | |||
732 | +++ test/rbkt/Queries/zorba/windowing/tumbling26.xq 2011-12-06 00:30:31 +0000 | |||
733 | @@ -0,0 +1,3 @@ | |||
734 | 1 | for tumbling window $w in (2, 4, 6, 8, 10, 12, 14) | ||
735 | 2 | start $first when $first mod 3 = 0 | ||
736 | 3 | return <window>{ $w }</window> | ||
737 | 0 | 4 | ||
738 | === added file 'test/rbkt/Queries/zorba/windowing/tumbling27.xq' | |||
739 | --- test/rbkt/Queries/zorba/windowing/tumbling27.xq 1970-01-01 00:00:00 +0000 | |||
740 | +++ test/rbkt/Queries/zorba/windowing/tumbling27.xq 2011-12-06 00:30:31 +0000 | |||
741 | @@ -0,0 +1,4 @@ | |||
742 | 1 | for $w in (1 to 2) | ||
743 | 2 | for tumbling window $w in (2, 4, 6, 8, 10, 12, 14) | ||
744 | 3 | start $first when $first mod 3 = 0 | ||
745 | 4 | return <window>{ $w }</window> | ||
746 | 0 | 5 | ||
747 | === added file 'test/rbkt/Queries/zorba/windowing/tumbling28.xq' | |||
748 | --- test/rbkt/Queries/zorba/windowing/tumbling28.xq 1970-01-01 00:00:00 +0000 | |||
749 | +++ test/rbkt/Queries/zorba/windowing/tumbling28.xq 2011-12-06 00:30:31 +0000 | |||
750 | @@ -0,0 +1,4 @@ | |||
751 | 1 | for $w at $y in (1 to 2) | ||
752 | 2 | for tumbling window $w in (2, 4, 6, 8, 10, 12, 14) | ||
753 | 3 | start $first when $first mod 3 = 0 | ||
754 | 4 | return <window>{ $y }</window> | ||
755 | 0 | 5 | ||
756 | === added file 'test/rbkt/Queries/zorba/windowing/tumbling29.xq' | |||
757 | --- test/rbkt/Queries/zorba/windowing/tumbling29.xq 1970-01-01 00:00:00 +0000 | |||
758 | +++ test/rbkt/Queries/zorba/windowing/tumbling29.xq 2011-12-06 00:30:31 +0000 | |||
759 | @@ -0,0 +1,17 @@ | |||
760 | 1 | for $x1 in 11 | ||
761 | 2 | for $x2 in 12 | ||
762 | 3 | for $x3 in 13 | ||
763 | 4 | for $x4 in 14 | ||
764 | 5 | for $x5 in 15 | ||
765 | 6 | for $x6 in 16 | ||
766 | 7 | for $x7 in 17 | ||
767 | 8 | for $x8 in 18 | ||
768 | 9 | for $x9 in 19 | ||
769 | 10 | for tumbling window $x1 in (1 to 10) | ||
770 | 11 | start $x2 at $x3 previous $x4 next $x5 when true() | ||
771 | 12 | end $x6 at $x7 previous $x8 next $x9 when false() | ||
772 | 13 | return | ||
773 | 14 | string-join( | ||
774 | 15 | for $i in ($x1, $x2, $x3, $x4, $x5, $x6, $x7, $x8, $x9) | ||
775 | 16 | return string($i), " " | ||
776 | 17 | ) | ||
777 | 0 | 18 | ||
778 | === added file 'test/rbkt/Queries/zorba/windowing/tumbling31.spec' | |||
779 | --- test/rbkt/Queries/zorba/windowing/tumbling31.spec 1970-01-01 00:00:00 +0000 | |||
780 | +++ test/rbkt/Queries/zorba/windowing/tumbling31.spec 2011-12-06 00:30:31 +0000 | |||
781 | @@ -0,0 +1,1 @@ | |||
782 | 1 | Error: http://www.w3.org/2005/xqt-errors:XPST0003 | ||
783 | 0 | 2 | ||
784 | === added file 'test/rbkt/Queries/zorba/windowing/tumbling31.xq' | |||
785 | --- test/rbkt/Queries/zorba/windowing/tumbling31.xq 1970-01-01 00:00:00 +0000 | |||
786 | +++ test/rbkt/Queries/zorba/windowing/tumbling31.xq 2011-12-06 00:30:31 +0000 | |||
787 | @@ -0,0 +1,3 @@ | |||
788 | 1 | for tumbling window $w in (1 to 10) | ||
789 | 2 | start $s next $sn previous $pn when true() | ||
790 | 3 | return <window>{$w}</window> | ||
791 | 0 | 4 | ||
792 | === added file 'test/rbkt/Queries/zorba/windowing/tumbling32.xq' | |||
793 | --- test/rbkt/Queries/zorba/windowing/tumbling32.xq 1970-01-01 00:00:00 +0000 | |||
794 | +++ test/rbkt/Queries/zorba/windowing/tumbling32.xq 2011-12-06 00:30:31 +0000 | |||
795 | @@ -0,0 +1,19 @@ | |||
796 | 1 | let $stock := | ||
797 | 2 | <stock> | ||
798 | 3 | <closing> <date>2008-01-01</date> <price>105</price> </closing> | ||
799 | 4 | <closing> <date>2008-01-02</date> <price>101</price> </closing> | ||
800 | 5 | <closing> <date>2008-01-03</date> <price>102</price> </closing> | ||
801 | 6 | <closing> <date>2008-01-04</date> <price>103</price> </closing> | ||
802 | 7 | <closing> <date>2008-01-05</date> <price>102</price> </closing> | ||
803 | 8 | <closing> <date>2008-01-06</date> <price>104</price> </closing> | ||
804 | 9 | </stock> | ||
805 | 10 | for tumbling window $w in $stock//closing | ||
806 | 11 | start $first next $second when $first/price < $second/price | ||
807 | 12 | end $last next $beyond when $last/price > $beyond/price | ||
808 | 13 | return | ||
809 | 14 | <run-up> | ||
810 | 15 | <start-date>{fn:data($first/date)}</start-date> | ||
811 | 16 | <start-price>{fn:data($first/price)}</start-price> | ||
812 | 17 | <end-date>{fn:data($last/date)}</end-date> | ||
813 | 18 | <end-price>{fn:data($last/price)}</end-price> | ||
814 | 19 | </run-up> | ||
815 | 0 | 20 | ||
816 | === added file 'test/rbkt/Queries/zorba/windowing/tumbling33.xq' | |||
817 | --- test/rbkt/Queries/zorba/windowing/tumbling33.xq 1970-01-01 00:00:00 +0000 | |||
818 | +++ test/rbkt/Queries/zorba/windowing/tumbling33.xq 2011-12-06 00:30:31 +0000 | |||
819 | @@ -0,0 +1,5 @@ | |||
820 | 1 | for tumbling window $w in (1 to 10) | ||
821 | 2 | start $s when true() | ||
822 | 3 | end $e when $e - $s eq 2 | ||
823 | 4 | count $r | ||
824 | 5 | return <window num="{$r}">{$w}</window> | ||
825 | 0 | 6 | ||
826 | === added file 'test/rbkt/Queries/zorba/windowing/tumbling34.xq' | |||
827 | --- test/rbkt/Queries/zorba/windowing/tumbling34.xq 1970-01-01 00:00:00 +0000 | |||
828 | +++ test/rbkt/Queries/zorba/windowing/tumbling34.xq 2011-12-06 00:30:31 +0000 | |||
829 | @@ -0,0 +1,6 @@ | |||
830 | 1 | for tumbling window $w in (1 to 10) | ||
831 | 2 | start $s when true() | ||
832 | 3 | end $e when $e - $s eq 2 | ||
833 | 4 | count $r | ||
834 | 5 | where $r le 2 | ||
835 | 6 | return <window num="{$r}">{$w}</window> | ||
836 | 0 | 7 | ||
837 | === added file 'test/rbkt/Queries/zorba/windowing/tumbling35.xq' | |||
838 | --- test/rbkt/Queries/zorba/windowing/tumbling35.xq 1970-01-01 00:00:00 +0000 | |||
839 | +++ test/rbkt/Queries/zorba/windowing/tumbling35.xq 2011-12-06 00:30:31 +0000 | |||
840 | @@ -0,0 +1,8 @@ | |||
841 | 1 | for $i in 1 to 3 | ||
842 | 2 | count $r | ||
843 | 3 | for tumbling window $w in (1 to 10) | ||
844 | 4 | start $s when true() | ||
845 | 5 | end $e when $e - $s eq 2 | ||
846 | 6 | where $w = $r + 1 | ||
847 | 7 | return <window num="{$r}">{$w}</window> | ||
848 | 8 | |||
849 | 0 | 9 | ||
850 | === added file 'test/rbkt/Queries/zorba/windowing/tumbling36.xq' | |||
851 | --- test/rbkt/Queries/zorba/windowing/tumbling36.xq 1970-01-01 00:00:00 +0000 | |||
852 | +++ test/rbkt/Queries/zorba/windowing/tumbling36.xq 2011-12-06 00:30:31 +0000 | |||
853 | @@ -0,0 +1,5 @@ | |||
854 | 1 | for tumbling window $w in (1 to 10) | ||
855 | 2 | start $s when true() | ||
856 | 3 | only end $e when $e - $s eq 2 | ||
857 | 4 | order by $w[2] descending | ||
858 | 5 | return <window>{$w}</window> | ||
859 | 0 | 6 | ||
860 | === added file 'test/rbkt/Queries/zorba/windowing/tumbling37.spec' | |||
861 | --- test/rbkt/Queries/zorba/windowing/tumbling37.spec 1970-01-01 00:00:00 +0000 | |||
862 | +++ test/rbkt/Queries/zorba/windowing/tumbling37.spec 2011-12-06 00:30:31 +0000 | |||
863 | @@ -0,0 +1,1 @@ | |||
864 | 1 | Error: http://www.w3.org/2005/xqt-errors:XPST0008 | ||
865 | 0 | 2 | ||
866 | === added file 'test/rbkt/Queries/zorba/windowing/tumbling37.xq' | |||
867 | --- test/rbkt/Queries/zorba/windowing/tumbling37.xq 1970-01-01 00:00:00 +0000 | |||
868 | +++ test/rbkt/Queries/zorba/windowing/tumbling37.xq 2011-12-06 00:30:31 +0000 | |||
869 | @@ -0,0 +1,8 @@ | |||
870 | 1 | for tumbling window $w1 in | ||
871 | 2 | for tumbling window $w2 in (1 to 10) | ||
872 | 3 | start $s when true() | ||
873 | 4 | only end $e when $e - $s eq 2 | ||
874 | 5 | return $w2 | ||
875 | 6 | start $s when true() | ||
876 | 7 | end $e when $e - $s eq 2 | ||
877 | 8 | return <window>{$w2}</window> | ||
878 | 0 | 9 | ||
879 | === added file 'test/rbkt/Queries/zorba/windowing/tumbling38.xq' | |||
880 | --- test/rbkt/Queries/zorba/windowing/tumbling38.xq 1970-01-01 00:00:00 +0000 | |||
881 | +++ test/rbkt/Queries/zorba/windowing/tumbling38.xq 2011-12-06 00:30:31 +0000 | |||
882 | @@ -0,0 +1,8 @@ | |||
883 | 1 | for tumbling window $w1 in | ||
884 | 2 | for tumbling window $w2 in (1 to 10) | ||
885 | 3 | start $s when true() | ||
886 | 4 | only end $e when $e - $s eq 2 | ||
887 | 5 | return $w2 | ||
888 | 6 | start $s when true() | ||
889 | 7 | end $e when $e - $s eq 2 | ||
890 | 8 | return <window>{$w1}</window> | ||
891 | 0 | 9 | ||
892 | === added file 'test/rbkt/Queries/zorba/windowing/tumbling39.xq' | |||
893 | --- test/rbkt/Queries/zorba/windowing/tumbling39.xq 1970-01-01 00:00:00 +0000 | |||
894 | +++ test/rbkt/Queries/zorba/windowing/tumbling39.xq 2011-12-06 00:30:31 +0000 | |||
895 | @@ -0,0 +1,12 @@ | |||
896 | 1 | for tumbling window $w in (1 to 10) | ||
897 | 2 | start $s when true() | ||
898 | 3 | only end $e when $e - $s eq 2 | ||
899 | 4 | count $r | ||
900 | 5 | return | ||
901 | 6 | <window num="{$r}"> | ||
902 | 7 | { | ||
903 | 8 | for $i in $w | ||
904 | 9 | order by $i descending | ||
905 | 10 | return $i | ||
906 | 11 | } | ||
907 | 12 | </window> | ||
908 | 0 | 13 | ||
909 | === added file 'test/rbkt/Queries/zorba/windowing/tumbling40.xq' | |||
910 | --- test/rbkt/Queries/zorba/windowing/tumbling40.xq 1970-01-01 00:00:00 +0000 | |||
911 | +++ test/rbkt/Queries/zorba/windowing/tumbling40.xq 2011-12-06 00:30:31 +0000 | |||
912 | @@ -0,0 +1,27 @@ | |||
913 | 1 | let $s := <stocks> | ||
914 | 2 | <closing> <symbol>ABC</symbol> <date>2008-01-01</date> <price>105</price> </closing> | ||
915 | 3 | <closing> <symbol>DEF</symbol> <date>2008-01-01</date> <price>057</price> </closing> | ||
916 | 4 | <closing> <symbol>ABC</symbol> <date>2008-01-02</date> <price>101</price> </closing> | ||
917 | 5 | <closing> <symbol>DEF</symbol> <date>2008-01-02</date> <price>054</price> </closing> | ||
918 | 6 | <closing> <symbol>ABC</symbol> <date>2008-01-03</date> <price>102</price> </closing> | ||
919 | 7 | <closing> <symbol>DEF</symbol> <date>2008-01-03</date> <price>056</price> </closing> | ||
920 | 8 | <closing> <symbol>ABC</symbol> <date>2008-01-04</date> <price>103</price> </closing> | ||
921 | 9 | <closing> <symbol>DEF</symbol> <date>2008-01-04</date> <price>052</price> </closing> | ||
922 | 10 | <closing> <symbol>ABC</symbol> <date>2008-01-05</date> <price>101</price> </closing> | ||
923 | 11 | <closing> <symbol>DEF</symbol> <date>2008-01-05</date> <price>055</price> </closing> | ||
924 | 12 | <closing> <symbol>ABC</symbol> <date>2008-01-06</date> <price>104</price> </closing> | ||
925 | 13 | <closing> <symbol>DEF</symbol> <date>2008-01-06</date> <price>059</price> </closing> | ||
926 | 14 | </stocks> | ||
927 | 15 | for $closings in $s//closing | ||
928 | 16 | let $symbol := $closings/symbol | ||
929 | 17 | group by $symbol | ||
930 | 18 | for tumbling window $w in $closings | ||
931 | 19 | start $first next $second when $first/price < $second/price | ||
932 | 20 | end $last next $beyond when $last/price > $beyond/price | ||
933 | 21 | return | ||
934 | 22 | <run-up symbol="{$symbol}"> | ||
935 | 23 | <start-date>{fn:data($first/date)}</start-date> | ||
936 | 24 | <start-price>{fn:data($first/price)}</start-price> | ||
937 | 25 | <end-date>{fn:data($last/date)}</end-date> | ||
938 | 26 | <end-price>{fn:data($last/price)}</end-price> | ||
939 | 27 | </run-up> | ||
940 | 0 | 28 | ||
941 | === added file 'test/rbkt/Queries/zorba/windowing/tumbling41.xq' | |||
942 | --- test/rbkt/Queries/zorba/windowing/tumbling41.xq 1970-01-01 00:00:00 +0000 | |||
943 | +++ test/rbkt/Queries/zorba/windowing/tumbling41.xq 2011-12-06 00:30:31 +0000 | |||
944 | @@ -0,0 +1,9 @@ | |||
945 | 1 | declare function local:window() | ||
946 | 2 | { | ||
947 | 3 | for tumbling window $w in (1 to 10) | ||
948 | 4 | start $s when true() | ||
949 | 5 | end $e when $e - $s eq 3 | ||
950 | 6 | return <window>{$w}</window> | ||
951 | 7 | }; | ||
952 | 8 | |||
953 | 9 | local:window() | ||
954 | 0 | 10 | ||
955 | === added file 'test/rbkt/Queries/zorba/windowing/tumbling42.spec' | |||
956 | --- test/rbkt/Queries/zorba/windowing/tumbling42.spec 1970-01-01 00:00:00 +0000 | |||
957 | +++ test/rbkt/Queries/zorba/windowing/tumbling42.spec 2011-12-06 00:30:31 +0000 | |||
958 | @@ -0,0 +1,1 @@ | |||
959 | 1 | Error: http://www.w3.org/2005/xqt-errors:XPST0003 | ||
960 | 0 | 2 | ||
961 | === added file 'test/rbkt/Queries/zorba/windowing/tumbling42.xq' | |||
962 | --- test/rbkt/Queries/zorba/windowing/tumbling42.xq 1970-01-01 00:00:00 +0000 | |||
963 | +++ test/rbkt/Queries/zorba/windowing/tumbling42.xq 2011-12-06 00:30:31 +0000 | |||
964 | @@ -0,0 +1,4 @@ | |||
965 | 1 | for tumbling window $w in (1 to 10) | ||
966 | 2 | start $s at $x as xs:integer when true() | ||
967 | 3 | end $e when $e - $s eq 3 | ||
968 | 4 | return <window>{$w}</window> | ||
969 | 0 | 5 | ||
970 | === added file 'test/rbkt/Queries/zorba/windowing/tumbling43.spec' | |||
971 | --- test/rbkt/Queries/zorba/windowing/tumbling43.spec 1970-01-01 00:00:00 +0000 | |||
972 | +++ test/rbkt/Queries/zorba/windowing/tumbling43.spec 2011-12-06 00:30:31 +0000 | |||
973 | @@ -0,0 +1,1 @@ | |||
974 | 1 | Error: http://www.w3.org/2005/xqt-errors:XPST0003 | ||
975 | 0 | 2 | ||
976 | === added file 'test/rbkt/Queries/zorba/windowing/tumbling43.xq' | |||
977 | --- test/rbkt/Queries/zorba/windowing/tumbling43.xq 1970-01-01 00:00:00 +0000 | |||
978 | +++ test/rbkt/Queries/zorba/windowing/tumbling43.xq 2011-12-06 00:30:31 +0000 | |||
979 | @@ -0,0 +1,4 @@ | |||
980 | 1 | for tumbling window $w in (1 to 10) | ||
981 | 2 | start $s next $sn as xs:integer when true() | ||
982 | 3 | end $e when $e - $s eq 3 | ||
983 | 4 | return <window>{$w}</window> | ||
984 | 0 | 5 | ||
985 | === added file 'test/rbkt/Queries/zorba/windowing/tumbling44.spec' | |||
986 | --- test/rbkt/Queries/zorba/windowing/tumbling44.spec 1970-01-01 00:00:00 +0000 | |||
987 | +++ test/rbkt/Queries/zorba/windowing/tumbling44.spec 2011-12-06 00:30:31 +0000 | |||
988 | @@ -0,0 +1,1 @@ | |||
989 | 1 | Error: http://www.w3.org/2005/xqt-errors:XPTY0004 | ||
990 | 0 | 2 | ||
991 | === added file 'test/rbkt/Queries/zorba/windowing/tumbling44.xq' | |||
992 | --- test/rbkt/Queries/zorba/windowing/tumbling44.xq 1970-01-01 00:00:00 +0000 | |||
993 | +++ test/rbkt/Queries/zorba/windowing/tumbling44.xq 2011-12-06 00:30:31 +0000 | |||
994 | @@ -0,0 +1,4 @@ | |||
995 | 1 | for tumbling window $w as xs:string in (1 to 10) | ||
996 | 2 | start $s when true() | ||
997 | 3 | end $e when $e - $s eq 3 | ||
998 | 4 | return <window>{$w}</window> | ||
999 | 0 | 5 | ||
1000 | === added file 'test/rbkt/Queries/zorba/windowing/tumbling45.xq' | |||
1001 | --- test/rbkt/Queries/zorba/windowing/tumbling45.xq 1970-01-01 00:00:00 +0000 | |||
1002 | +++ test/rbkt/Queries/zorba/windowing/tumbling45.xq 2011-12-06 00:30:31 +0000 | |||
1003 | @@ -0,0 +1,4 @@ | |||
1004 | 1 | for tumbling window $w in (1 to 10) | ||
1005 | 2 | start $s when true() | ||
1006 | 3 | end $e when $e - $s | ||
1007 | 4 | return $w instance of xs:integer | ||
1008 | 0 | 5 | ||
1009 | === added file 'test/rbkt/Queries/zorba/windowing/tumbling46.xq' | |||
1010 | --- test/rbkt/Queries/zorba/windowing/tumbling46.xq 1970-01-01 00:00:00 +0000 | |||
1011 | +++ test/rbkt/Queries/zorba/windowing/tumbling46.xq 2011-12-06 00:30:31 +0000 | |||
1012 | @@ -0,0 +1,17 @@ | |||
1013 | 1 | declare function local:window($seq) | ||
1014 | 2 | { | ||
1015 | 3 | for tumbling window $w in $seq | ||
1016 | 4 | start $s when true() | ||
1017 | 5 | end $e when $e - $s eq 3 | ||
1018 | 6 | return | ||
1019 | 7 | <window>{ | ||
1020 | 8 | if ($w instance of xs:integer) | ||
1021 | 9 | then | ||
1022 | 10 | $w | ||
1023 | 11 | else | ||
1024 | 12 | $s | ||
1025 | 13 | }</window> | ||
1026 | 14 | }; | ||
1027 | 15 | |||
1028 | 16 | local:window(1 to 10) | ||
1029 | 17 | |||
1030 | 0 | 18 | ||
1031 | === added file 'test/rbkt/Queries/zorba/windowing/tumbling47.xq' | |||
1032 | --- test/rbkt/Queries/zorba/windowing/tumbling47.xq 1970-01-01 00:00:00 +0000 | |||
1033 | +++ test/rbkt/Queries/zorba/windowing/tumbling47.xq 2011-12-06 00:30:31 +0000 | |||
1034 | @@ -0,0 +1,20 @@ | |||
1035 | 1 | declare variable $local:foo as xs:integer* := 1 to 10; | ||
1036 | 2 | |||
1037 | 3 | |||
1038 | 4 | declare function local:window() | ||
1039 | 5 | { | ||
1040 | 6 | for tumbling window $w in $local:foo | ||
1041 | 7 | start $s when true() | ||
1042 | 8 | end $e when $e - $s eq 3 | ||
1043 | 9 | return | ||
1044 | 10 | <window>{ | ||
1045 | 11 | if ($w instance of xs:integer) | ||
1046 | 12 | then | ||
1047 | 13 | $w | ||
1048 | 14 | else | ||
1049 | 15 | $s | ||
1050 | 16 | }</window> | ||
1051 | 17 | }; | ||
1052 | 18 | |||
1053 | 19 | local:window() | ||
1054 | 20 | |||
1055 | 0 | 21 | ||
1056 | === added file 'test/rbkt/Queries/zorba/windowing/tumbling48.xq' | |||
1057 | --- test/rbkt/Queries/zorba/windowing/tumbling48.xq 1970-01-01 00:00:00 +0000 | |||
1058 | +++ test/rbkt/Queries/zorba/windowing/tumbling48.xq 2011-12-06 00:30:31 +0000 | |||
1059 | @@ -0,0 +1,18 @@ | |||
1060 | 1 | declare variable $local:foo as xs:integer* := 1 to 5; | ||
1061 | 2 | |||
1062 | 3 | declare function local:window() | ||
1063 | 4 | { | ||
1064 | 5 | for tumbling window $w1 in $local:foo | ||
1065 | 6 | start $s when true() | ||
1066 | 7 | end $e when $e - $s eq 3 | ||
1067 | 8 | for tumbling window $w2 in $w1 | ||
1068 | 9 | start $s when true() | ||
1069 | 10 | end $e when true() | ||
1070 | 11 | return | ||
1071 | 12 | <window>{ | ||
1072 | 13 | fn:distinct-values($w1[.=$w2]) | ||
1073 | 14 | }</window> | ||
1074 | 15 | }; | ||
1075 | 16 | |||
1076 | 17 | local:window() | ||
1077 | 18 | |||
1078 | 0 | 19 | ||
1079 | === added file 'test/rbkt/Queries/zorba/windowing/tumbling49.xq' | |||
1080 | --- test/rbkt/Queries/zorba/windowing/tumbling49.xq 1970-01-01 00:00:00 +0000 | |||
1081 | +++ test/rbkt/Queries/zorba/windowing/tumbling49.xq 2011-12-06 00:30:31 +0000 | |||
1082 | @@ -0,0 +1,12 @@ | |||
1083 | 1 | declare variable $local:foo as xs:integer* := 1 to 10; | ||
1084 | 2 | |||
1085 | 3 | declare function local:window() | ||
1086 | 4 | { | ||
1087 | 5 | for tumbling window $w in $local:foo | ||
1088 | 6 | start $s when false() | ||
1089 | 7 | end $e when false() | ||
1090 | 8 | return | ||
1091 | 9 | <window>{$w}</window> | ||
1092 | 10 | }; | ||
1093 | 11 | |||
1094 | 12 | local:window() | ||
1095 | 0 | 13 | ||
1096 | === added file 'test/rbkt/Queries/zorba/windowing/windowing13.spec' | |||
1097 | --- test/rbkt/Queries/zorba/windowing/windowing13.spec 1970-01-01 00:00:00 +0000 | |||
1098 | +++ test/rbkt/Queries/zorba/windowing/windowing13.spec 2011-12-06 00:30:31 +0000 | |||
1099 | @@ -0,0 +1,1 @@ | |||
1100 | 1 | Error: http://www.w3.org/2005/xqt-errors:XPST0003 | ||
1101 | 0 | 2 | ||
1102 | === added file 'test/rbkt/Queries/zorba/windowing/windowing13.xq' | |||
1103 | --- test/rbkt/Queries/zorba/windowing/windowing13.xq 1970-01-01 00:00:00 +0000 | |||
1104 | +++ test/rbkt/Queries/zorba/windowing/windowing13.xq 2011-12-06 00:30:31 +0000 | |||
1105 | @@ -0,0 +1,4 @@ | |||
1106 | 1 | for window $w in (1 to 10) | ||
1107 | 2 | start $s when true() | ||
1108 | 3 | end $e when false() | ||
1109 | 4 | return <window>{$w}</window> |
Validation queue starting for merge proposal. zorbatest. lambda. nu:8080/ remotequeue/ windowing- tests-2011- 12-02T20- 19-08.783Z/ log.html
Log at: http://