~zorba-coders/zorba/archive-module

« back to all changes in this revision

Viewing changes to test/Queries/entries_04.xq

  • Committer: Zorba Jenkins
  • Author(s): Luis Rodriguez Gonzalez, chillery+launchpad at lambda
  • Date: 2013-07-30 02:47:21 UTC
  • mfrom: (50.2.7 archive-module)
  • Revision ID: jenkins@lambda.nu-20130730024721-uqtxg1afijff83sg
JSONiqfication for Archive Module Done.
Approved: Luis Rodriguez Gonzalez, Chris Hillery

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
import module namespace a = "http://www.zorba-xquery.com/modules/archive";
2
 
import schema namespace as = "http://www.zorba-xquery.com/modules/archive";
 
1
import module namespace a = "http://zorba.io/modules/archive";
 
2
(: import schema namespace as = "http://zorba.io/modules/archive"; :)
3
3
import module namespace f = "http://expath.org/ns/file";
4
4
 
5
5
for $a in a:entries(f:read-binary(resolve-uri("invalid.zip")))
6
 
return validate { $a }
 
6
(: return validate { $a } :)
 
7
return $a
7
8