Merge lp:~zorba-coders/zorba/fix-website-failures into lp:zorba

Proposed by Chris Hillery
Status: Merged
Approved by: Matthias Brantner
Approved revision: 10644
Merged at revision: 10644
Proposed branch: lp:~zorba-coders/zorba/fix-website-failures
Merge into: lp:zorba
Diff against target: 354 lines (+46/-31)
24 files modified
CMakeLists.txt (+3/-2)
include/zorba/config.h.cmake (+3/-0)
modules/com/zorba-xquery/www/modules/CMakeLists.txt (+3/-0)
src/context/static_context.cpp (+4/-3)
src/util/http_util.cpp (+7/-2)
src/util/http_util.h (+0/-2)
test/http-test-data/docroot/http-test-data/http2.xml (+4/-0)
test/rbkt/Queries/zorba/fetch/fetch_bogus2.xq (+1/-1)
test/rbkt/Queries/zorba/store/example_3.xq (+4/-4)
test/rbkt/Queries/zorba/versioning/import-chain1.xq (+1/-1)
test/rbkt/Queries/zorba/versioning/import-chain2.xq (+1/-1)
test/rbkt/Queries/zorba/versioning/import1.xq (+1/-1)
test/rbkt/Queries/zorba/versioning/import2.xq (+1/-1)
test/rbkt/Queries/zorba/versioning/import3.xq (+1/-1)
test/rbkt/Queries/zorba/versioning/import4.xq (+1/-1)
test/rbkt/Queries/zorba/versioning/import5.xq (+1/-1)
test/rbkt/Queries/zorba/versioning/import6.xq (+1/-1)
test/rbkt/Queries/zorba/versioning/import7.xq (+1/-1)
test/rbkt/modules/CMakeLists.txt (+3/-3)
test/rbkt/modules/bad-ver.xq (+1/-1)
test/rbkt/modules/module-A.xq (+1/-1)
test/rbkt/modules/module-B.xq (+1/-1)
test/rbkt/modules/ver.xq (+1/-1)
test/rbkt/modules/ver2.xq (+1/-1)
To merge this branch: bzr merge lp:~zorba-coders/zorba/fix-website-failures
Reviewer Review Type Date Requested Status
Matthias Brantner Approve
Chris Hillery Approve
Review via email: mp+91574@code.launchpad.net

Commit message

Several fixes related to test breakages caused by zorba-xquery.com changes:
1. Don't attempt HTTP resolution w/ HttpStream if Zorba compiled without CURL.
2. store/example_3 test: load content from zorbatest site like other tests.
3. fetch_bogus2 and impot5 test: change "ver" test module to be identified with a flworfound.org URI, so we'll get a 404 when loading it wrong. (Both example.com and zorba-xquery.com don't return 404 for unknown URLs.)

Description of the change

This fixes several problems either caused by the recent zorba-xquery.com changes, or discovered while implementing those fixes.

To post a comment you must log in.
Revision history for this message
Chris Hillery (ceejatec) :
review: Approve
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

The attempt to merge lp:~zorba-coders/zorba/fix-website-failures into lp:zorba failed. Below is the output from the failed tests.

CMake Error at /home/ceej/zo/testing/zorbatest/tester/TarmacLander.cmake:274 (message):
  Validation queue job fix-website-failures-2012-02-05T12-42-57.03Z is
  finished. The final status was:

  1 tests did not succeed - changes not commited.

Error in read script: /home/ceej/zo/testing/zorbatest/tester/TarmacLander.cmake

Revision history for this message
Matthias Brantner (matthias-brantner) :
review: Approve
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

Validation queue job fix-website-failures-2012-02-05T16-56-51.266Z is finished. The final status was:

All tests succeeded!

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'CMakeLists.txt'
--- CMakeLists.txt 2012-01-20 13:37:12 +0000
+++ CMakeLists.txt 2012-02-05 12:38:21 +0000
@@ -498,14 +498,15 @@
498# Subdirectory ordering: We need to include "test" before "config" so498# Subdirectory ordering: We need to include "test" before "config" so
499# ZorbaConfig knows about testdriver. We need to include "config"499# ZorbaConfig knows about testdriver. We need to include "config"
500# before "modules" so external modules will be able to find500# before "modules" so external modules will be able to find
501# ZorbaConfig.cmake.501# ZorbaConfig.cmake. We need to include "modules" before "include" so
502# config.h can know eg. whether we found CURL.
502503
503ADD_SUBDIRECTORY(test)504ADD_SUBDIRECTORY(test)
504ADD_SUBDIRECTORY(config)505ADD_SUBDIRECTORY(config)
505ADD_SUBDIRECTORY(include)
506ADD_SUBDIRECTORY(doc)506ADD_SUBDIRECTORY(doc)
507ADD_SUBDIRECTORY(schemas)507ADD_SUBDIRECTORY(schemas)
508ADD_SUBDIRECTORY(modules)508ADD_SUBDIRECTORY(modules)
509ADD_SUBDIRECTORY(include)
509510
510ADD_DEFINITIONS(-Dzorba_EXPORTS)511ADD_DEFINITIONS(-Dzorba_EXPORTS)
511ADD_SUBDIRECTORY(src)512ADD_SUBDIRECTORY(src)
512513
=== modified file 'include/zorba/config.h.cmake'
--- include/zorba/config.h.cmake 2012-01-11 17:30:25 +0000
+++ include/zorba/config.h.cmake 2012-02-05 12:38:21 +0000
@@ -69,6 +69,9 @@
69#cmakedefine ZORBA_HAVE_MS_UINT3269#cmakedefine ZORBA_HAVE_MS_UINT32
70#cmakedefine ZORBA_HAVE_UINT32_T70#cmakedefine ZORBA_HAVE_UINT32_T
7171
72// Platform libraries
73#cmakedefine ZORBA_HAVE_CURL
74
72#ifdef ZORBA_HAVE_STDINT_H75#ifdef ZORBA_HAVE_STDINT_H
73# include <stdint.h>76# include <stdint.h>
74#endif77#endif
7578
=== modified file 'modules/com/zorba-xquery/www/modules/CMakeLists.txt'
--- modules/com/zorba-xquery/www/modules/CMakeLists.txt 2012-01-11 17:30:25 +0000
+++ modules/com/zorba-xquery/www/modules/CMakeLists.txt 2012-02-05 12:38:21 +0000
@@ -16,6 +16,7 @@
16#16#
17# cURL17# cURL
18#18#
19SET (CURL_FOUND)
19IF(ZORBA_SUPPRESS_CURL)20IF(ZORBA_SUPPRESS_CURL)
20 MESSAGE(STATUS "ZORBA_SUPPRESS_CURL is true - not searching for cURL library")21 MESSAGE(STATUS "ZORBA_SUPPRESS_CURL is true - not searching for cURL library")
21ELSE(ZORBA_SUPPRESS_CURL)22ELSE(ZORBA_SUPPRESS_CURL)
@@ -36,6 +37,8 @@
36 MESSAGE(STATUS "The cURL library was not found - http-client will not be built")37 MESSAGE(STATUS "The cURL library was not found - http-client will not be built")
37 ENDIF(CURL_FOUND)38 ENDIF(CURL_FOUND)
38ENDIF(ZORBA_SUPPRESS_CURL)39ENDIF(ZORBA_SUPPRESS_CURL)
40SET(ZORBA_HAVE_CURL ${CURL_FOUND} CACHE BOOL "Whether Zorba found cURL" FORCE)
41MARK_AS_ADVANCED(ZORBA_HAVE_CURL)
3942
40DECLARE_ZORBA_SCHEMA(FILE xqdoc.xsd URI "http://www.xqdoc.org/1.0")43DECLARE_ZORBA_SCHEMA(FILE xqdoc.xsd URI "http://www.xqdoc.org/1.0")
41DECLARE_ZORBA_MODULE(FILE datetime.xq VERSION 2.044DECLARE_ZORBA_MODULE(FILE datetime.xq VERSION 2.0
4245
=== modified file 'src/context/static_context.cpp'
--- src/context/static_context.cpp 2012-02-02 09:56:52 +0000
+++ src/context/static_context.cpp 2012-02-05 12:38:21 +0000
@@ -1569,9 +1569,10 @@
1569 for (std::vector<zstring>::iterator url = aUrls.begin();1569 for (std::vector<zstring>::iterator url = aUrls.begin();
1570 url != aUrls.end(); url++) 1570 url != aUrls.end(); url++)
1571 {1571 {
1572 // if the http-client module is not available, we must not search1572 // We should never try to load the http-client module using its original URI,
1573 // for it by calling the http-client...1573 // because that URI starts with http:, so we'll try to load the http-client
1574 if (*url == "http://www.zorba-xquery.com/modules/http-client")1574 // module, leading to a stack overflow.
1575 if (ascii::begins_with(*url, "http://www.zorba-xquery.com/modules/http-client"))
1575 {1576 {
1576 continue;1577 continue;
1577 }1578 }
15781579
=== modified file 'src/util/http_util.cpp'
--- src/util/http_util.cpp 2012-01-11 17:30:25 +0000
+++ src/util/http_util.cpp 2012-02-05 12:38:21 +0000
@@ -28,7 +28,7 @@
28namespace zorba {28namespace zorba {
29 29
30 HttpStream::HttpStream(const zstring& aUri)30 HttpStream::HttpStream(const zstring& aUri)
31 : theDidInit(false), theUri(aUri)31 : theUri(aUri)
32 {32 {
33 }33 }
34 34
@@ -42,6 +42,9 @@
42 42
43 void HttpStream::init()43 void HttpStream::init()
44 {44 {
45 bool succeed = false;
46
47#ifdef ZORBA_HAVE_CURL
45 Zorba* lInstance = Zorba::getInstance(0);48 Zorba* lInstance = Zorba::getInstance(0);
46 theStaticContext = lInstance->createStaticContext();49 theStaticContext = lInstance->createStaticContext();
47 ItemFactory* lFactory = lInstance->getItemFactory();50 ItemFactory* lFactory = lInstance->getItemFactory();
@@ -75,7 +78,7 @@
75 Iterator_t lIter = lItem.getAttributes();78 Iterator_t lIter = lItem.getAttributes();
76 lIter->open();79 lIter->open();
77 Item lAttr;80 Item lAttr;
78 bool succeed = true;81 succeed = true;
79 while (lIter->next(lAttr)) {82 while (lIter->next(lAttr)) {
80 Item lName;83 Item lName;
81 lAttr.getNodeName(lName);84 lAttr.getNodeName(lName);
@@ -89,6 +92,8 @@
89 }92 }
90 }93 }
91 lIter->close();94 lIter->close();
95#endif /* ZORBA_HAVE_CURL */
96
92 if (!succeed)97 if (!succeed)
93 throw os_error::exception("", theUri.c_str(), "Could not create stream resource");98 throw os_error::exception("", theUri.c_str(), "Could not create stream resource");
94 theIterator->next(theStreamableString);99 theIterator->next(theStreamableString);
95100
=== modified file 'src/util/http_util.h'
--- src/util/http_util.h 2011-08-20 01:30:48 +0000
+++ src/util/http_util.h 2012-02-05 12:38:21 +0000
@@ -27,7 +27,6 @@
27 public:27 public:
28 std::istream& getStream();28 std::istream& getStream();
29 void init();29 void init();
30 bool didInit() { return theDidInit; }
31 StreamReleaser getStreamReleaser();30 StreamReleaser getStreamReleaser();
32 void setStreamReleaser(StreamReleaser aReleaser);31 void setStreamReleaser(StreamReleaser aReleaser);
33 private:32 private:
@@ -35,7 +34,6 @@
35 StaticContext_t theStaticContext;34 StaticContext_t theStaticContext;
36 Item theStreamableString;35 Item theStreamableString;
37 Iterator_t theIterator;36 Iterator_t theIterator;
38 bool theDidInit;
39 const zstring& theUri;37 const zstring& theUri;
40 };38 };
41}39}
4240
=== added file 'test/http-test-data/docroot/http-test-data/http2.xml'
--- test/http-test-data/docroot/http-test-data/http2.xml 1970-01-01 00:00:00 +0000
+++ test/http-test-data/docroot/http-test-data/http2.xml 2012-02-05 12:38:21 +0000
@@ -0,0 +1,4 @@
1<x:doc xmlns:x="http://www.zorba-xquery.com/http-test-data">
2 <x:title>Document Title</x:title>
3 <x:body>Document Body</x:body>
4</x:doc>
05
=== modified file 'test/rbkt/Queries/zorba/fetch/fetch_bogus2.xq'
--- test/rbkt/Queries/zorba/fetch/fetch_bogus2.xq 2011-08-05 09:31:11 +0000
+++ test/rbkt/Queries/zorba/fetch/fetch_bogus2.xq 2012-02-05 12:38:21 +0000
@@ -1,4 +1,4 @@
1(: Fetch a valid module URI but as SOME_CONTENT :)1(: Fetch a valid module URI but as SOME_CONTENT :)
2import module namespace fetch = "http://www.zorba-xquery.com/modules/fetch#2.0";2import module namespace fetch = "http://www.zorba-xquery.com/modules/fetch#2.0";
33
4fetch:content("http://www.zorba-xquery.com/modules/ext", "SOME_CONTENT")4fetch:content("http://www.flworfound.org/modules/ext", "SOME_CONTENT")
55
=== modified file 'test/rbkt/Queries/zorba/store/example_3.xq'
--- test/rbkt/Queries/zorba/store/example_3.xq 2011-08-04 02:14:56 +0000
+++ test/rbkt/Queries/zorba/store/example_3.xq 2012-02-05 12:38:21 +0000
@@ -2,17 +2,17 @@
22
3import module namespace doc = "http://www.zorba-xquery.com/modules/store/dynamic/documents";3import module namespace doc = "http://www.zorba-xquery.com/modules/store/dynamic/documents";
44
5declare namespace xhtml = "http://www.w3.org/1999/xhtml";5declare namespace x = "http://www.zorba-xquery.com/http-test-data";
66
7let $mydoc := http:get-node("http://zorba-xquery.com/rest-tests/doc.html")[2]7let $mydoc := http:get-node("http://zorbatest.lambda.nu:8080/http-test-data/http2.xml")[2]
8return8return
9 {9 {
10 doc:put("mydoc.xml", $mydoc); (: add the document with name mydoc.xml :)10 doc:put("mydoc.xml", $mydoc); (: add the document with name mydoc.xml :)
1111
12 replace value of node12 replace value of node
13 doc:document("mydoc.xml")//xhtml:title13 doc:document("mydoc.xml")//x:title
14 with14 with
15 "Excel Functions";15 "Excel Functions";
1616
17 doc:document("mydoc.xml")//xhtml:title/text()17 doc:document("mydoc.xml")//x:title/text()
18 }18 }
1919
=== modified file 'test/rbkt/Queries/zorba/versioning/import-chain1.xq'
--- test/rbkt/Queries/zorba/versioning/import-chain1.xq 2011-06-06 09:11:29 +0000
+++ test/rbkt/Queries/zorba/versioning/import-chain1.xq 2012-02-05 12:38:21 +0000
@@ -1,6 +1,6 @@
1(: Test that importing a version in the main module and a library module :)1(: Test that importing a version in the main module and a library module :)
2(: is OK, so long as the versions don't conflict. :)2(: is OK, so long as the versions don't conflict. :)
3import module namespace vm = "http://www.zorba-xquery.com/modules/ver#2.3";3import module namespace vm = "http://www.flworfound.org/modules/ver#2.3";
4import module namespace modB = "http://www.zorba-xquery.com/modules/B";4import module namespace modB = "http://www.zorba-xquery.com/modules/B";
55
6modB:hello()6modB:hello()
77
=== modified file 'test/rbkt/Queries/zorba/versioning/import-chain2.xq'
--- test/rbkt/Queries/zorba/versioning/import-chain2.xq 2011-06-06 09:11:29 +0000
+++ test/rbkt/Queries/zorba/versioning/import-chain2.xq 2012-02-05 12:38:21 +0000
@@ -1,6 +1,6 @@
1(: Test that importing a version in the main module and a library module :)1(: Test that importing a version in the main module and a library module :)
2(: raises an error when the versions conflict. :)2(: raises an error when the versions conflict. :)
3import module namespace modA = "http://www.zorba-xquery.com/modules/A";3import module namespace modA = "http://www.zorba-xquery.com/modules/A";
4import module namespace vm = "http://www.zorba-xquery.com/modules/ver#2.3";4import module namespace vm = "http://www.flworfound.org/modules/ver#2.3";
55
6modA:hello()6modA:hello()
77
=== modified file 'test/rbkt/Queries/zorba/versioning/import1.xq'
--- test/rbkt/Queries/zorba/versioning/import1.xq 2011-06-06 09:11:29 +0000
+++ test/rbkt/Queries/zorba/versioning/import1.xq 2012-02-05 12:38:21 +0000
@@ -1,4 +1,4 @@
1(: Test that we can import a versioned module. :)1(: Test that we can import a versioned module. :)
2import module namespace vm = "http://www.zorba-xquery.com/modules/ver#2.1";2import module namespace vm = "http://www.flworfound.org/modules/ver#2.1";
33
4vm:hello()4vm:hello()
55
=== modified file 'test/rbkt/Queries/zorba/versioning/import2.xq'
--- test/rbkt/Queries/zorba/versioning/import2.xq 2011-06-06 09:11:29 +0000
+++ test/rbkt/Queries/zorba/versioning/import2.xq 2012-02-05 12:38:21 +0000
@@ -1,4 +1,4 @@
1(: Test that importing a versioned module gets the right version. :)1(: Test that importing a versioned module gets the right version. :)
2import module namespace vm = "http://www.zorba-xquery.com/modules/ver#1.3";2import module namespace vm = "http://www.flworfound.org/modules/ver#1.3";
33
4vm:version()4vm:version()
55
=== modified file 'test/rbkt/Queries/zorba/versioning/import3.xq'
--- test/rbkt/Queries/zorba/versioning/import3.xq 2011-06-06 09:11:29 +0000
+++ test/rbkt/Queries/zorba/versioning/import3.xq 2012-02-05 12:38:21 +0000
@@ -1,4 +1,4 @@
1(: Test that importing a range of versions gets the highest available. :)1(: Test that importing a range of versions gets the highest available. :)
2import module namespace vm = "http://www.zorba-xquery.com/modules/ver#1.3-2.0";2import module namespace vm = "http://www.flworfound.org/modules/ver#1.3-2.0";
33
4vm:version()4vm:version()
55
=== modified file 'test/rbkt/Queries/zorba/versioning/import4.xq'
--- test/rbkt/Queries/zorba/versioning/import4.xq 2011-06-06 09:11:29 +0000
+++ test/rbkt/Queries/zorba/versioning/import4.xq 2012-02-05 12:38:21 +0000
@@ -1,4 +1,4 @@
1(: Test that importing an explicit version gets the right version. :)1(: Test that importing an explicit version gets the right version. :)
2import module namespace vm = "http://www.zorba-xquery.com/modules/ver#2.3!";2import module namespace vm = "http://www.flworfound.org/modules/ver#2.3!";
33
4vm:version()4vm:version()
55
=== modified file 'test/rbkt/Queries/zorba/versioning/import5.xq'
--- test/rbkt/Queries/zorba/versioning/import5.xq 2011-06-06 09:11:29 +0000
+++ test/rbkt/Queries/zorba/versioning/import5.xq 2012-02-05 12:38:21 +0000
@@ -1,4 +1,4 @@
1(: Test that importing a non-existent explicit version gets an error. :)1(: Test that importing a non-existent explicit version gets an error. :)
2import module namespace vm = "http://www.zorba-xquery.com/modules/ver#2.2!";2import module namespace vm = "http://www.flworfound.org/modules/ver#2.2!";
33
4vm:version()4vm:version()
55
=== modified file 'test/rbkt/Queries/zorba/versioning/import6.xq'
--- test/rbkt/Queries/zorba/versioning/import6.xq 2011-06-21 07:39:45 +0000
+++ test/rbkt/Queries/zorba/versioning/import6.xq 2012-02-05 12:38:21 +0000
@@ -1,6 +1,6 @@
1(: Test that an exact import with non-0 patch level does not match :)1(: Test that an exact import with non-0 patch level does not match :)
2(: module with no patch level specified. :)2(: module with no patch level specified. :)
3import module namespace vm = "http://www.zorba-xquery.com/modules/ver#2.3.5!";3import module namespace vm = "http://www.flworfound.org/modules/ver#2.3.5!";
44
5vm:version()5vm:version()
66
77
=== modified file 'test/rbkt/Queries/zorba/versioning/import7.xq'
--- test/rbkt/Queries/zorba/versioning/import7.xq 2011-06-21 07:39:45 +0000
+++ test/rbkt/Queries/zorba/versioning/import7.xq 2012-02-05 12:38:21 +0000
@@ -1,5 +1,5 @@
1(: Test importing a module with an invalid version specification :)1(: Test importing a module with an invalid version specification :)
22
3import module namespace bad = "http://www.zorba-xquery.com/modules/bad-ver#1.0";3import module namespace bad = "http://www.flworfound.org/modules/bad-ver#1.0";
44
5bad:version()5bad:version()
66
=== modified file 'test/rbkt/modules/CMakeLists.txt'
--- test/rbkt/modules/CMakeLists.txt 2012-02-02 09:56:52 +0000
+++ test/rbkt/modules/CMakeLists.txt 2012-02-05 12:38:21 +0000
@@ -15,11 +15,11 @@
15# Build and install any test modules. (Parameters are scrambled about15# Build and install any test modules. (Parameters are scrambled about
16# as a test for DECLARE_ZORBA_MODULE parsing them.)16# as a test for DECLARE_ZORBA_MODULE parsing them.)
17DECLARE_ZORBA_MODULE(FILE "ver2.xq"17DECLARE_ZORBA_MODULE(FILE "ver2.xq"
18 URI "http://www.zorba-xquery.com/modules/ver" VERSION 2.3 TEST_ONLY)18 URI "http://www.flworfound.org/modules/ver" VERSION 2.3 TEST_ONLY)
19DECLARE_ZORBA_MODULE(URI "http://www.zorba-xquery.com/modules/ver" VERSION 1.419DECLARE_ZORBA_MODULE(URI "http://www.flworfound.org/modules/ver" VERSION 1.4
20 FILE "${CMAKE_CURRENT_SOURCE_DIR}/ver.xq" TEST_ONLY)20 FILE "${CMAKE_CURRENT_SOURCE_DIR}/ver.xq" TEST_ONLY)
2121
22DECLARE_ZORBA_MODULE(URI "http://www.zorba-xquery.com/modules/bad-ver"22DECLARE_ZORBA_MODULE(URI "http://www.flworfound.org/modules/bad-ver"
23 FILE "bad-ver.xq" VERSION 1.4 TEST_ONLY)23 FILE "bad-ver.xq" VERSION 1.4 TEST_ONLY)
2424
25DECLARE_ZORBA_MODULE(URI "http://www.zorba-xquery.com/modules/A" VERSION 1.025DECLARE_ZORBA_MODULE(URI "http://www.zorba-xquery.com/modules/A" VERSION 1.0
2626
=== modified file 'test/rbkt/modules/bad-ver.xq'
--- test/rbkt/modules/bad-ver.xq 2011-06-21 07:39:45 +0000
+++ test/rbkt/modules/bad-ver.xq 2012-02-05 12:38:21 +0000
@@ -1,6 +1,6 @@
1(: This module has an illegal version specification :)1(: This module has an illegal version specification :)
22
3module namespace vm = "http://www.zorba-xquery.com/modules/bad-ver";3module namespace vm = "http://www.flworfound.org/modules/bad-ver";
44
5declare namespace ver = "http://www.zorba-xquery.com/options/versioning";5declare namespace ver = "http://www.zorba-xquery.com/options/versioning";
6declare option ver:module-version "1.4.";6declare option ver:module-version "1.4.";
77
=== modified file 'test/rbkt/modules/module-A.xq'
--- test/rbkt/modules/module-A.xq 2011-06-21 07:39:45 +0000
+++ test/rbkt/modules/module-A.xq 2012-02-05 12:38:21 +0000
@@ -2,7 +2,7 @@
22
3(: This module exists only to import a specific version of the "ver" module. :)3(: This module exists only to import a specific version of the "ver" module. :)
44
5import module namespace vm = "http://www.zorba-xquery.com/modules/ver#1.0";5import module namespace vm = "http://www.flworfound.org/modules/ver#1.0";
66
7declare namespace ver = "http://www.zorba-xquery.com/options/versioning";7declare namespace ver = "http://www.zorba-xquery.com/options/versioning";
8declare option ver:module-version "1.0";8declare option ver:module-version "1.0";
99
=== modified file 'test/rbkt/modules/module-B.xq'
--- test/rbkt/modules/module-B.xq 2011-06-21 07:39:45 +0000
+++ test/rbkt/modules/module-B.xq 2012-02-05 12:38:21 +0000
@@ -2,7 +2,7 @@
22
3(: This module exists only to import a specific version of the "ver" module. :)3(: This module exists only to import a specific version of the "ver" module. :)
44
5import module namespace vm = "http://www.zorba-xquery.com/modules/ver#2.0";5import module namespace vm = "http://www.flworfound.org/modules/ver#2.0";
66
7declare namespace ver = "http://www.zorba-xquery.com/options/versioning";7declare namespace ver = "http://www.zorba-xquery.com/options/versioning";
8declare option ver:module-version "1.0";8declare option ver:module-version "1.0";
99
=== modified file 'test/rbkt/modules/ver.xq'
--- test/rbkt/modules/ver.xq 2011-06-21 07:39:45 +0000
+++ test/rbkt/modules/ver.xq 2012-02-05 12:38:21 +0000
@@ -1,4 +1,4 @@
1module namespace vm = "http://www.zorba-xquery.com/modules/ver";1module namespace vm = "http://www.flworfound.org/modules/ver";
22
3declare namespace ver = "http://www.zorba-xquery.com/options/versioning";3declare namespace ver = "http://www.zorba-xquery.com/options/versioning";
4declare option ver:module-version "1.4.5";4declare option ver:module-version "1.4.5";
55
=== modified file 'test/rbkt/modules/ver2.xq'
--- test/rbkt/modules/ver2.xq 2011-06-21 07:39:45 +0000
+++ test/rbkt/modules/ver2.xq 2012-02-05 12:38:21 +0000
@@ -1,4 +1,4 @@
1module namespace vm = "http://www.zorba-xquery.com/modules/ver";1module namespace vm = "http://www.flworfound.org/modules/ver";
22
3declare namespace ver = "http://www.zorba-xquery.com/options/versioning";3declare namespace ver = "http://www.zorba-xquery.com/options/versioning";
4declare option ver:module-version "2.3";4declare option ver:module-version "2.3";

Subscribers

People subscribed via source and target branches