~zorba-coders/zorba/xqxq-memory-smash

« back to all changes in this revision

Viewing changes to test/Queries/xqxq/is-bound-variable2.xq

  • Committer: Juan Zacarias
  • Date: 2011-11-30 23:41:59 UTC
  • Revision ID: juan457@gmail.com-20111130234159-zcq1cyvcmrjci54j
added a test for is-bound-variable

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
import module namespace xqxq = 'http://www.zorba-xquery.com/modules/xqxq';
 
2
variable $query-key := xqxq:prepare-main-module('
 
3
  declare variable $a external;
 
4
  declare variable $b external := 2;
 
5
  declare variable $c external;
 
6
  $a');
 
7
xqxq:is-bound-variable($query-key, xs:QName('x'))
 
 
b'\\ No newline at end of file'