source: mauRepo/NewmoonJSP/src/main/webapp/WEB-INF/rules/conformance-test/ISO19136-V3.2-AnxE_XMI-V1.1/post/post-001.xq @ 7841

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/mauRepo/NewmoonJSP/src/main/webapp/WEB-INF/rules/conformance-test/ISO19136-V3.2-AnxE_XMI-V1.1/post/post-001.xq@7841
Revision 7841, 1.3 KB checked in by mnagni, 10 years ago (diff)
Line 
1xquery version "1.0";
2(:~~~~~~~~~~~~~~~~~~~~~~~~~~ Post-processing script ~~~~~~~~~~~~~~~~~~~~~~~~~~
3Script Number:  001
4Description:    Create collection for mapping tables and load type-mapping
5                                documents.
6Reference:             
7~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~:)
8
9import module namespace mod-fr = "urn:local-module:ISO19136-V3.2-AnxE_XMI-V1.1:framework"
10at "xmldb:exist:///db/modules/conformance-test/ISO19136-V3.2-AnxE_XMI-V1.1/module-framework-functions.xq";
11
12declare namespace UML   = "omg.org/UML1.3";
13declare namespace cr    = "http://ndg.service.newmoon.conftest-result/1.0";
14
15(: Declare local variables, particular to this test :)
16declare variable $title as xs:string := "POST-1";
17declare variable $description as xs:string := "Completed execution of conformance tests.";
18
19declare variable $xmldb-user as xs:string external;
20declare variable $xmldb-password as xs:string external;
21declare variable $root-collection-uri as xs:string external;
22declare variable $query-path as xs:string external;
23
24(: Declare the local assert function which defines a postive condition for pass :)
25declare function local:main($doc-root as node()?) as node()?
26{
27        ()
28};
29
30(: Create a new result element :)
31mod-fr:new-result($title, $description, local:main(/))
Note: See TracBrowser for help on using the repository browser.