~zorba-coders/zorba/bug1151967

« back to all changes in this revision

Viewing changes to test/rbkt/Queries/zorba/zorba-query/uri-mapper2.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
 
declare namespace resolver = 'http://www.zorba-xquery.com/modules/xqxq/url-resolver';
4
 
declare namespace mapper = 'http://www.zorba-xquery.com/modules/xqxq/uri-mapper';
 
3
declare namespace resolver = 'http://zorba.io/modules/zorba-query/url-resolver';
 
4
declare namespace mapper = 'http://zorba.io/modules/zorba-query/uri-mapper';
5
5
declare namespace op = "http://zorba.io/options/features";
6
6
declare namespace f = "http://zorba.io/features";
7
7
 
12
12
  else ()
13
13
};
14
14
 
15
 
variable $queryID := xqxq:prepare-main-module
 
15
variable $queryID := zq:prepare-main-module
16
16
(
17
17
  "import schema namespace test = 'http://test'; validate{<test:test><test:subtest>a</test:subtest><test:subtest2>a</test:subtest2></test:test>}", 
18
18
  (),
19
19
  mapper:uri-mapper#2
20
20
);
21
 
xqxq:evaluate($queryID)
 
21
zq:evaluate($queryID)