~zorba-coders/zorba/bug1151967

« back to all changes in this revision

Viewing changes to test/rbkt/Queries/zorba/zorba-query/uri-mapper.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
 
18
18
   else ()
19
19
};
20
20
 
21
 
variable $queryID := xqxq:prepare-main-module
 
21
variable $queryID := zq:prepare-main-module
22
22
(
23
23
  "import module namespace test = 'http://test'; test:foo()", 
24
24
  resolver:url-resolver#2, mapper:uri-mapper#2
25
25
);
26
 
xqxq:evaluate($queryID)
 
26
zq:evaluate($queryID)