~zorba-coders/zorba/bug1151967

« back to all changes in this revision

Viewing changes to test/rbkt/Queries/zorba/zorba-query/error-in-query.xq

  • Committer: Paul J. Lucas
  • Date: 2013-08-15 00:14:17 UTC
  • mfrom: (11597 lp_zorba)
  • mto: This revision was merged to the branch mainline in revision 11598.
  • Revision ID: paul@lucasmail.org-20130815001417-g22x9plxc8fv73zd
MergeĀ fromĀ trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
import module namespace xqxq = 'http://www.zorba-xquery.com/modules/xqxq';
 
1
import module namespace zq = 'http://zorba.io/modules/zorba-query';
2
2
 
3
3
declare namespace op = 'http://zorba.io/options/features';
4
4
declare namespace f = 'http://zorba.io/features';
12
12
default return ()
13
13
};
14
14
 
15
 
variable $queryID := xqxq:prepare-main-module(
 
15
variable $queryID := zq:prepare-main-module(
16
16
  "declare namespace foo='http://test';
17
17
   declare namespace foo='http://test';
18
18
   1",
19
19
   local:url-resolver#2, ());
20
 
xqxq:evaluate($queryID)
 
20
zq:evaluate($queryID)