~zorba-coders/zorba/no-copy

« back to all changes in this revision

Viewing changes to test/rbkt/Queries/zorba/xqddf/error_02.xqlib

  • Committer: Markos Zaharioudakis
  • Date: 2012-10-09 16:41:44 UTC
  • mfrom: (11069.1.25 zorba)
  • Revision ID: markos_za@yahoo.com-20121009164144-y1umjr06phn9210q
mergeĀ fromĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
module namespace error = "http://www.example.com/error";
 
2
 
 
3
declare namespace an = "http://www.zorba-xquery.com/annotations";
 
4
 
 
5
 
 
6
import module namespace dml = "http://www.zorba-xquery.com/modules/store/static/collections/dml";
 
7
 
 
8
 
 
9
declare collection error:collection as node()*;
 
10
 
 
11
declare variable $error:coll := xs:QName("error:collection");
 
12
 
 
13
 
 
14
declare %an:automatic %an:value-range index error:index
 
15
on nodes dml:collection(xs:QName("error:collection"))
 
16
by xs:hexBinary(@id) as xs:hexBinary;