running examples in xqwindows use cases paper

ron c king
  • ron c king

    ron c king - 2010-11-11

    Are the queries and data from the paper available as files? Is there a sample java program that can run the examples?
    I've tried to make a java program to run them, but I get errors when compiling some of the queries.



  • Peter M. Fischer

    Dear Ron,

    from your mail I could figure out that are looking for the FORSEQ examples - there are now some other papers that also use MXQuery.

    First, let me point out that the window functionality has been incorporated into XQuery 1.1, albeit with some syntax changes and minor changes in semantics (window order). The relevant information can be found in the working draft ( and the use cases (

    MXQuery supports both variants (FORSEQ and for tumbling|sliding window), other implementations (e.g. Zorba) only support the XQuery 1.1 version.  Since it is a XQuery 1.1 functionality, you need to enable the XQuery 1.1 mode, either on the command line (-11m) or in the CompilerOptions that you pass on. Using the command line client or SimpleExample should give you some guidance how to do this

    We have a set of unit tests for the window features which currently live in our own repository. The goal is to make them public at some point, but I have not found the time to do so. If you wish, I can send them to you. Otherwise, can you let me know which queries are causing problems?



Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks