Merge lp:~zorba-coders/zorba/bug-1189789 into lp:zorba

Proposed by Luis Rodriguez Gonzalez
Status: Merged
Merged at revision: 11665
Proposed branch: lp:~zorba-coders/zorba/bug-1189789
Merge into: lp:zorba
Diff against target: 602 lines (+56/-56)
39 files modified
doc/zorba/xqdoc/images/modules.svg (+2/-2)
doc/zorba/xqdoc/images/modules_new.svg (+3/-3)
doc/zorba/xqdoc/src/xqdoc-html.xq (+1/-1)
doc/zorba/xqdoc/src/zorba_module_dependencies.xqy (+1/-1)
modules/com/zorba-xquery/www/modules/CMakeLists.txt (+0/-3)
modules/jsound/jsound.jq (+1/-1)
modules/uri/CMakeLists.txt (+2/-0)
modules/uri/fetch.xq (+8/-8)
modules/xqdoc/xqdoc.xq (+1/-1)
src/context/static_context.cpp (+1/-1)
src/diagnostics/diagnostic_en.xml (+1/-1)
src/diagnostics/pregenerated/dict_en.cpp (+1/-1)
src/functions/pregenerated/func_fetch.cpp (+3/-3)
src/runtime/fetch/fetch_impl.cpp (+4/-3)
src/runtime/spec/mappings.xml (+1/-1)
test/api/userdefined_uri_resolution.cpp (+2/-2)
test/rbkt/Queries/zorba/fetch/fetch_bogus1.xq (+1/-1)
test/rbkt/Queries/zorba/fetch/fetch_bogus2.spec (+1/-1)
test/rbkt/Queries/zorba/fetch/fetch_bogus2.xq (+1/-1)
test/rbkt/Queries/zorba/fetch/fetch_module1.xq (+1/-1)
test/rbkt/Queries/zorba/fetch/fetch_module2.xq (+1/-1)
test/rbkt/Queries/zorba/fetch/fetch_random_file.xq (+1/-1)
test/rbkt/Queries/zorba/fetch/fetch_schema1.xq (+1/-1)
test/rbkt/Queries/zorba/fetch/fetch_seekable.xq (+1/-1)
test/rbkt/Queries/zorba/fetch/fetch_seekable_binary.xq (+1/-1)
test/rbkt/Queries/zorba/fetch/fetch_some_transcode.xq (+1/-1)
test/rbkt/Queries/zorba/flwor/flwor24.xq (+1/-1)
test/rbkt/Queries/zorba/flwor/flwor25.xq (+1/-1)
test/rbkt/Queries/zorba/flwor/flwor26.xq (+1/-1)
test/rbkt/Queries/zorba/flwor/flwor27.xq (+1/-1)
test/rbkt/Queries/zorba/flwor/flwor28.xq (+1/-1)
test/rbkt/Queries/zorba/jsoniq/json_doc_1.xq (+1/-1)
test/rbkt/Queries/zorba/jsound/jsound-missing-schema.spec (+1/-1)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-57.xq (+1/-1)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-xml-fragment-31.xq (+1/-1)
test/rbkt/Queries/zorba/parsing_and_serializing/parse-xml-fragment-33.xq (+1/-1)
test/rbkt/Queries/zorba/string/AnalyzeString/http-client-doc.htm (+1/-1)
test/rbkt/Queries/zorba/xqdoc/moduleDocumentation.xq (+1/-1)
test/unit/test_static_context.cpp (+2/-2)
To merge this branch: bzr merge lp:~zorba-coders/zorba/bug-1189789
Reviewer Review Type Date Requested Status
Chris Hillery Approve
Luis Rodriguez Gonzalez Approve
Review via email: mp+191513@code.launchpad.net

Commit message

Changes for Zorba 3.0 for Fetch module

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

Validation queue starting for the following merge proposals:
https://code.launchpad.net/~zorba-coders/zorba/bug-1189789/+merge/191513

Progress dashboard at http://jenkins.lambda.nu/view/ValidationQueue

Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

Validation queue result for https://code.launchpad.net/~zorba-coders/zorba/bug-1189789/+merge/191513

Stage "BuildZorbaUbuntu" failed.

Check compiler output at http://jenkins.lambda.nu/job/BuildZorbaUbuntu/437/parsed_console to view the results.

lp:~zorba-coders/zorba/bug-1189789 updated
11664. By Chris Hillery

Move fetch.xq into uri/ directory.

Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

Validation queue starting for the following merge proposals:
https://code.launchpad.net/~zorba-coders/zorba/bug-1189789/+merge/191513

Progress dashboard at http://jenkins.lambda.nu/view/ValidationQueue

Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

Validation queue result for https://code.launchpad.net/~zorba-coders/zorba/bug-1189789/+merge/191513

Stage "BuildZorbaUbuntu" failed.

Check compiler output at http://jenkins.lambda.nu/job/BuildZorbaUbuntu/438/parsed_console to view the results.

lp:~zorba-coders/zorba/bug-1189789 updated
11665. By Chris Hillery

Remove fetch subdir.

Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

Validation queue starting for the following merge proposals:
https://code.launchpad.net/~zorba-coders/zorba/bug-1189789/+merge/191513

Progress dashboard at http://jenkins.lambda.nu/view/ValidationQueue

Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

Validation queue result for https://code.launchpad.net/~zorba-coders/zorba/bug-1189789/+merge/191513

Stage "TestZorbaUbuntu" failed.
2 tests failed (8576 total tests run).

Check test results at http://jenkins.lambda.nu/job/TestZorbaUbuntu/387/testReport/ to view the results.

lp:~zorba-coders/zorba/bug-1189789 updated
11666. By Chris Hillery

Fix test failures.

Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

Validation queue starting for the following merge proposals:
https://code.launchpad.net/~zorba-coders/zorba/bug-1189789/+merge/191513

Progress dashboard at http://jenkins.lambda.nu/view/ValidationQueue

Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

Validation queue succeeded - proposal merged!

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'doc/zorba/xqdoc/images/modules.svg'
--- doc/zorba/xqdoc/images/modules.svg 2013-10-16 18:45:10 +0000
+++ doc/zorba/xqdoc/images/modules.svg 2013-10-16 22:17:59 +0000
@@ -1776,7 +1776,7 @@
1776</g>1776</g>
1777<!-- 7 -->1777<!-- 7 -->
1778<g id="node159" class="node"><title>7</title>1778<g id="node159" class="node"><title>7</title>
1779<a xlink:href="../www.zorba-xquery.com_modules_fetch.html" xlink:title="(Zorba-core) module uri=http://www.zorba-xquery.com/modules/fetch">1779<a xlink:href="../www.zorba-xquery.com_modules_fetch.html" xlink:title="(Zorba-core) module uri=http://zorba.io/modules/fetch">
1780<ellipse fill="white" stroke="white" cx="5860" cy="-385" rx="28.3955" ry="18"/>1780<ellipse fill="white" stroke="white" cx="5860" cy="-385" rx="28.3955" ry="18"/>
1781<text text-anchor="middle" x="5860" y="-381.3" font-family="Times,serif" font-size="14.00" fill="red">fetch</text>1781<text text-anchor="middle" x="5860" y="-381.3" font-family="Times,serif" font-size="14.00" fill="red">fetch</text>
1782</a>1782</a>
@@ -2139,7 +2139,7 @@
2139</g>2139</g>
2140<!-- 11&#45;&gt;7 -->2140<!-- 11&#45;&gt;7 -->
2141<g id="edge172" class="edge"><title>11-&gt;7</title>2141<g id="edge172" class="edge"><title>11-&gt;7</title>
2142<a xlink:title="FROM: http://www.zorba-xquery.com/modules/xqdoc, TO: http://www.zorba-xquery.com/modules/fetch">2142<a xlink:title="FROM: http://www.zorba-xquery.com/modules/xqdoc, TO: http://zorba.io/modules/fetch">
2143<path fill="none" stroke="black" d="M1218.5,-534.086C1294.83,-527.184 1495.8,-509.973 1664,-504 1678.42,-503.488 5807.16,-504.241 5819,-496 5845.61,-477.48 5854.98,-439.5 5858.26,-413.397"/>2143<path fill="none" stroke="black" d="M1218.5,-534.086C1294.83,-527.184 1495.8,-509.973 1664,-504 1678.42,-503.488 5807.16,-504.241 5819,-496 5845.61,-477.48 5854.98,-439.5 5858.26,-413.397"/>
2144<polygon fill="black" stroke="black" points="5861.75,-413.674 5859.3,-403.366 5854.79,-412.953 5861.75,-413.674"/>2144<polygon fill="black" stroke="black" points="5861.75,-413.674 5859.3,-403.366 5854.79,-412.953 5861.75,-413.674"/>
2145</a>2145</a>
21462146
=== modified file 'doc/zorba/xqdoc/images/modules_new.svg'
--- doc/zorba/xqdoc/images/modules_new.svg 2013-10-16 19:15:37 +0000
+++ doc/zorba/xqdoc/images/modules_new.svg 2013-10-16 22:17:59 +0000
@@ -1782,7 +1782,7 @@
1782</g>1782</g>
1783<!-- 5 -->1783<!-- 5 -->
1784<g id="node159" class="node"><title>5</title>1784<g id="node159" class="node"><title>5</title>
1785<a xlink:href="../www.zorba-xquery.com_modules_fetch.html" xlink:title="(Zorba-core) module uri=http://www.zorba-xquery.com/modules/fetch">1785<a xlink:href="../www.zorba-xquery.com_modules_fetch.html" xlink:title="(Zorba-core) module uri=http://zorba.io/modules/fetch">
1786<ellipse fill="white" stroke="white" cx="8579" cy="-407" rx="36.0624" ry="18.3848"/>1786<ellipse fill="white" stroke="white" cx="8579" cy="-407" rx="36.0624" ry="18.3848"/>
1787<text text-anchor="middle" x="8579" y="-403.4" font-family="Times Roman,serif" font-size="14.00" fill="red">fetch</text>1787<text text-anchor="middle" x="8579" y="-403.4" font-family="Times Roman,serif" font-size="14.00" fill="red">fetch</text>
1788</a>1788</a>
@@ -2152,7 +2152,7 @@
2152</g>2152</g>
2153<!-- 47&#45;&gt;5 -->2153<!-- 47&#45;&gt;5 -->
2154<g id="edge217" class="edge"><title>47-&gt;5</title>2154<g id="edge217" class="edge"><title>47-&gt;5</title>
2155<a xlink:title="FROM: http://zorba.io/modules/xqdoc, TO: http://www.zorba-xquery.com/modules/fetch">2155<a xlink:title="FROM: http://zorba.io/modules/xqdoc, TO: http://zorba.io/modules/fetch">
2156<path fill="none" stroke="black" d="M1528.09,-569.535C1682.61,-563.822 2265.76,-543.017 2746,-536 2756.04,-535.853 8522.7,-533.648 8531,-528 8561.16,-507.489 8572.37,-464.752 8576.53,-435.963"/>2156<path fill="none" stroke="black" d="M1528.09,-569.535C1682.61,-563.822 2265.76,-543.017 2746,-536 2756.04,-535.853 8522.7,-533.648 8531,-528 8561.16,-507.489 8572.37,-464.752 8576.53,-435.963"/>
2157<polygon fill="black" stroke="black" points="8580.05,-436.043 8577.81,-425.688 8573.11,-435.18 8580.05,-436.043"/>2157<polygon fill="black" stroke="black" points="8580.05,-436.043 8577.81,-425.688 8573.11,-435.18 8580.05,-436.043"/>
2158</a>2158</a>
@@ -2192,7 +2192,7 @@
2192</g>2192</g>
2193<!-- 30&#45;&gt;5 -->2193<!-- 30&#45;&gt;5 -->
2194<g id="edge209" class="edge"><title>30-&gt;5</title>2194<g id="edge209" class="edge"><title>30-&gt;5</title>
2195<a xlink:title="FROM: http://jsound.io/modules/validate, TO: http://www.zorba-xquery.com/modules/fetch">2195<a xlink:title="FROM: http://jsound.io/modules/validate, TO: http://zorba.io/modules/fetch">
2196<path fill="none" stroke="black" d="M9400.37,-567.144C9346.58,-559.55 9221.07,-542.803 9115,-536 9101.47,-535.132 8638.15,-535.708 8627,-528 8597,-507.263 8585.75,-464.585 8581.53,-435.871"/>2196<path fill="none" stroke="black" d="M9400.37,-567.144C9346.58,-559.55 9221.07,-542.803 9115,-536 9101.47,-535.132 8638.15,-535.708 8627,-528 8597,-507.263 8585.75,-464.585 8581.53,-435.871"/>
2197<polygon fill="black" stroke="black" points="8584.96,-435.105 8580.23,-425.624 8578.02,-435.984 8584.96,-435.105"/>2197<polygon fill="black" stroke="black" points="8584.96,-435.105 8580.23,-425.624 8578.02,-435.984 8584.96,-435.105"/>
2198</a>2198</a>
21992199
=== modified file 'doc/zorba/xqdoc/src/xqdoc-html.xq'
--- doc/zorba/xqdoc/src/xqdoc-html.xq 2013-10-07 23:26:13 +0000
+++ doc/zorba/xqdoc/src/xqdoc-html.xq 2013-10-16 22:17:59 +0000
@@ -17,7 +17,7 @@
1717
18import module namespace xqdoc = "http://zorba.io/modules/xqdoc";18import module namespace xqdoc = "http://zorba.io/modules/xqdoc";
19import module namespace batch = "http://www.zorba-xquery.com/modules/xqdoc/batch";19import module namespace batch = "http://www.zorba-xquery.com/modules/xqdoc/batch";
20import module namespace fetch = "http://www.zorba-xquery.com/modules/fetch";20import module namespace fetch = "http://zorba.io/modules/fetch";
21import module namespace xqdoc-html = "http://www.zorba-xquery.com/xqdoc-html" at "xqdoc-html.xqy";21import module namespace xqdoc-html = "http://www.zorba-xquery.com/xqdoc-html" at "xqdoc-html.xqy";
2222
23declare namespace xqd = "http://www.xqdoc.org/1.0";23declare namespace xqd = "http://www.xqdoc.org/1.0";
2424
=== modified file 'doc/zorba/xqdoc/src/zorba_module_dependencies.xqy'
--- doc/zorba/xqdoc/src/zorba_module_dependencies.xqy 2013-10-07 23:26:13 +0000
+++ doc/zorba/xqdoc/src/zorba_module_dependencies.xqy 2013-10-16 22:17:59 +0000
@@ -28,7 +28,7 @@
2828
29import module namespace dot = "http://www.zorba-xquery.com/modules/image/graphviz";29import module namespace dot = "http://www.zorba-xquery.com/modules/image/graphviz";
30import module namespace xqd = "http://zorba.io/modules/xqdoc";30import module namespace xqd = "http://zorba.io/modules/xqdoc";
31import module namespace fetch = "http://www.zorba-xquery.com/modules/fetch";31import module namespace fetch = "http://zorba.io/modules/fetch";
32import module namespace dml = "http://www.zorba-xquery.com/modules/store/static/collections/dml";32import module namespace dml = "http://www.zorba-xquery.com/modules/store/static/collections/dml";
33import module namespace ddl = "http://www.zorba-xquery.com/modules/store/static/collections/ddl";33import module namespace ddl = "http://www.zorba-xquery.com/modules/store/static/collections/ddl";
34import module namespace menu = "http://www.zorba-xquery.com/modules/xqdoc/menu";34import module namespace menu = "http://www.zorba-xquery.com/modules/xqdoc/menu";
3535
=== modified file 'modules/com/zorba-xquery/www/modules/CMakeLists.txt'
--- modules/com/zorba-xquery/www/modules/CMakeLists.txt 2013-10-16 18:45:10 +0000
+++ modules/com/zorba-xquery/www/modules/CMakeLists.txt 2013-10-16 22:17:59 +0000
@@ -12,9 +12,6 @@
12# See the License for the specific language governing permissions and12# See the License for the specific language governing permissions and
13# limitations under the License.13# limitations under the License.
1414
15DECLARE_ZORBA_MODULE(FILE fetch.xq VERSION 2.0
16 URI "http://www.zorba-xquery.com/modules/fetch")
17
18# Subdirectories15# Subdirectories
1916
20DECLARE_ZORBA_MODULE(FILE store/documents/dynamic.xq VERSION 2.017DECLARE_ZORBA_MODULE(FILE store/documents/dynamic.xq VERSION 2.0
2118
=== modified file 'modules/jsound/jsound.jq'
--- modules/jsound/jsound.jq 2013-10-05 00:14:23 +0000
+++ modules/jsound/jsound.jq 2013-10-16 22:17:59 +0000
@@ -28,7 +28,7 @@
2828
29import module namespace jn = "http://jsoniq.org/functions";29import module namespace jn = "http://jsoniq.org/functions";
30import module namespace map = "http://jsound.io/modules/validate/map";30import module namespace map = "http://jsound.io/modules/validate/map";
31import module namespace fetch = "http://www.zorba-xquery.com/modules/fetch";31import module namespace fetch = "http://zorba.io/modules/fetch";
3232
33declare namespace an = "http://zorba.io/annotations";33declare namespace an = "http://zorba.io/annotations";
34declare namespace ver = "http://zorba.io/options/versioning";34declare namespace ver = "http://zorba.io/options/versioning";
3535
=== modified file 'modules/uri/CMakeLists.txt'
--- modules/uri/CMakeLists.txt 2013-10-15 23:27:57 +0000
+++ modules/uri/CMakeLists.txt 2013-10-16 22:17:59 +0000
@@ -14,3 +14,5 @@
1414
15DECLARE_ZORBA_MODULE(FILE uri.xq VERSION 1.015DECLARE_ZORBA_MODULE(FILE uri.xq VERSION 1.0
16 URI "http://zorba.io/modules/uri")16 URI "http://zorba.io/modules/uri")
17DECLARE_ZORBA_MODULE(FILE fetch.xq VERSION 1.0
18 URI "http://zorba.io/modules/fetch")
1719
=== renamed file 'modules/com/zorba-xquery/www/modules/fetch.xq' => 'modules/uri/fetch.xq'
--- modules/com/zorba-xquery/www/modules/fetch.xq 2013-09-26 23:15:11 +0000
+++ modules/uri/fetch.xq 2013-10-16 22:17:59 +0000
@@ -29,14 +29,14 @@
29 :29 :
30 : @project Zorba/Input Output/Fetch30 : @project Zorba/Input Output/Fetch
31 :)31 :)
32module namespace fetch = "http://www.zorba-xquery.com/modules/fetch";32module namespace fetch = "http://zorba.io/modules/fetch";
3333
34declare namespace an = "http://zorba.io/annotations";34declare namespace an = "http://zorba.io/annotations";
3535
36declare namespace zerr = "http://zorba.io/errors";36declare namespace zerr = "http://zorba.io/errors";
3737
38declare namespace ver = "http://zorba.io/options/versioning";38declare namespace ver = "http://zorba.io/options/versioning";
39declare option ver:module-version "2.1";39declare option ver:module-version "1.0";
4040
41(:~41(:~
42 : <p>Tries to fetch the resource referred to by the given URI.</p>42 : <p>Tries to fetch the resource referred to by the given URI.</p>
@@ -49,7 +49,7 @@
49 : @param $uri the resource to fetch.49 : @param $uri the resource to fetch.
50 : @return the resource referred to by the given URI as streamble string.50 : @return the resource referred to by the given URI as streamble string.
51 :51 :
52 : @error zerr:ZXQP0025 if the URI could not be resolved52 : @error uri:URI_UNRESOLVED_OR_NOSTREAM if the URI could not be resolved
53 : or did not resolve to a <tt>StreamResource</tt>.53 : or did not resolve to a <tt>StreamResource</tt>.
54 :54 :
55 : @see <a href="../zorba/uriresolvers.html">URI Resolvers</a>.55 : @see <a href="../zorba/uriresolvers.html">URI Resolvers</a>.
@@ -72,7 +72,7 @@
72 : @param $entity-kind the kind of resource to fetch.72 : @param $entity-kind the kind of resource to fetch.
73 : @return the resource referred to by the given URI as streamble string.73 : @return the resource referred to by the given URI as streamble string.
74 :74 :
75 : @error zerr:ZXQP0025 if the URI could not be resolved75 : @error uri:URI_NOT_RESOLVED_OR_NOSTREAM if the URI could not be resolved
76 : or did not resolve to a <tt>StreamResource</tt>.76 : or did not resolve to a <tt>StreamResource</tt>.
77 :77 :
78 : @see <a href="../zorba/uriresolvers.html">URI Resolvers</a>.78 : @see <a href="../zorba/uriresolvers.html">URI Resolvers</a>.
@@ -95,9 +95,9 @@
95 : @param $encoding the encoding of the content95 : @param $encoding the encoding of the content
96 : @return the resource referred to by the given URI as streamble string.96 : @return the resource referred to by the given URI as streamble string.
97 :97 :
98 : @error zerr:ZXQP0025 if the URI could not be resolved98 : @error uri:URI_UNRESOLVED_OR_NOSTREAM if the URI could not be resolved
99 : or did not resolve to a <tt>StreamResource</tt>.99 : or did not resolve to a <tt>StreamResource</tt>.
100 : @error zerr:ZXQP0006 if the given encoding is invalid or not supported.100 : @error uri:CHARSET_UNKNOWN if the given encoding is invalid or not supported.
101 :101 :
102 : @see <a href="../zorba/uriresolvers.html">URI Resolvers</a>.102 : @see <a href="../zorba/uriresolvers.html">URI Resolvers</a>.
103 : @see <a href="../zorba/options_and_annotations.html">Documentation of Zorba's annotations</a>.103 : @see <a href="../zorba/options_and_annotations.html">Documentation of Zorba's annotations</a>.
@@ -118,7 +118,7 @@
118 : @param $uri the resource to fetch.118 : @param $uri the resource to fetch.
119 : @return the resource referred to by the given URI as streamble base64Binary.119 : @return the resource referred to by the given URI as streamble base64Binary.
120 :120 :
121 : @error zerr:ZXQP0025 if the URI could not be resolved121 : @error uri:URI_UNRESOLVED_OR_NOSTREAM if the URI could not be resolved
122 : or did not resolve to a <tt>StreamResource</tt>.122 : or did not resolve to a <tt>StreamResource</tt>.
123 :)123 :)
124declare %an:streamable function fetch:content-binary($uri as xs:string)124declare %an:streamable function fetch:content-binary($uri as xs:string)
@@ -138,7 +138,7 @@
138 : @param $entity-kind the kind of resource to fetch.138 : @param $entity-kind the kind of resource to fetch.
139 : @return the resource referred to by the given URI as streamble base64Binary.139 : @return the resource referred to by the given URI as streamble base64Binary.
140 :140 :
141 : @error zerr:ZXQP0025 if the URI could not be resolved141 : @error uri:URI_UNRESOLVED_OR_NOSTREAM if the URI could not be resolved
142 : or did not resolve to a <tt>StreamResource</tt>.142 : or did not resolve to a <tt>StreamResource</tt>.
143 :)143 :)
144declare %an:streamable function fetch:content-binary(144declare %an:streamable function fetch:content-binary(
145145
=== modified file 'modules/xqdoc/xqdoc.xq'
--- modules/xqdoc/xqdoc.xq 2013-10-07 23:26:13 +0000
+++ modules/xqdoc/xqdoc.xq 2013-10-16 22:17:59 +0000
@@ -61,7 +61,7 @@
61 :)61 :)
62module namespace xqd = "http://zorba.io/modules/xqdoc";62module namespace xqd = "http://zorba.io/modules/xqdoc";
6363
64import module namespace fetch = "http://www.zorba-xquery.com/modules/fetch";64import module namespace fetch = "http://zorba.io/modules/fetch";
65import module namespace schema = "http://zorba.io/modules/schema";65import module namespace schema = "http://zorba.io/modules/schema";
6666
67import schema namespace opt =67import schema namespace opt =
6868
=== modified file 'src/context/static_context.cpp'
--- src/context/static_context.cpp 2013-10-16 18:45:10 +0000
+++ src/context/static_context.cpp 2013-10-16 22:17:59 +0000
@@ -464,7 +464,7 @@
464464
465const char*465const char*
466static_context::ZORBA_FETCH_FN_NS =466static_context::ZORBA_FETCH_FN_NS =
467"http://www.zorba-xquery.com/modules/fetch";467"http://zorba.io/modules/fetch";
468468
469const char*469const char*
470static_context::ZORBA_NODE_FN_NS =470static_context::ZORBA_NODE_FN_NS =
471471
=== modified file 'src/diagnostics/diagnostic_en.xml'
--- src/diagnostics/diagnostic_en.xml 2013-10-15 23:27:57 +0000
+++ src/diagnostics/diagnostic_en.xml 2013-10-16 22:17:59 +0000
@@ -3697,7 +3697,7 @@
3697 3697
3698 <diagnostic code="URI_UNRESOLVED_OR_NOSTREAM">3698 <diagnostic code="URI_UNRESOLVED_OR_NOSTREAM">
3699 <comment>If the stream is unresolved or is not an stream.</comment>3699 <comment>If the stream is unresolved or is not an stream.</comment>
3700 <value>the stream is unresolved or it is not a stream</value>3700 <value>"$1": stream is unresolved or it is not a stream - "$2"</value>
3701 </diagnostic>3701 </diagnostic>
3702 3702
3703 </namespace>3703 </namespace>
37043704
=== modified file 'src/diagnostics/pregenerated/dict_en.cpp'
--- src/diagnostics/pregenerated/dict_en.cpp 2013-10-15 23:27:57 +0000
+++ src/diagnostics/pregenerated/dict_en.cpp 2013-10-16 22:17:59 +0000
@@ -152,7 +152,7 @@
152 { "SESU0013", "\"$1\": unsupported $2 version; supported versions are: $3" },152 { "SESU0013", "\"$1\": unsupported $2 version; supported versions are: $3" },
153 { "UNKNOWN_LOCALE", "\"$1\": unknown locale" },153 { "UNKNOWN_LOCALE", "\"$1\": unknown locale" },
154 { "UNSUPPORTED_LOCALE", "\"$1\": unsupported locale" },154 { "UNSUPPORTED_LOCALE", "\"$1\": unsupported locale" },
155 { "URI_UNRESOLVED_OR_NOSTREAM", "the stream is unresolved or it is not a stream" },155 { "URI_UNRESOLVED_OR_NOSTREAM", "\"$1\": stream is unresolved or it is not a stream - \"$2\"" },
156 { "XPDY0002", "$1" },156 { "XPDY0002", "$1" },
157 { "XPDY0050", "\"$1\" cannot be treated as type $2" },157 { "XPDY0050", "\"$1\" cannot be treated as type $2" },
158 { "XPST0001", "${\"1\": }undefined value${: 2}" },158 { "XPST0001", "${\"1\": }undefined value${: 2}" },
159159
=== modified file 'src/functions/pregenerated/func_fetch.cpp'
--- src/functions/pregenerated/func_fetch.cpp 2013-03-05 23:11:50 +0000
+++ src/functions/pregenerated/func_fetch.cpp 2013-10-16 22:17:59 +0000
@@ -67,7 +67,7 @@
6767
68 {68 {
69 DECL_WITH_KIND(sctx, fn_zorba_fetch_content,69 DECL_WITH_KIND(sctx, fn_zorba_fetch_content,
70 (createQName("http://www.zorba-xquery.com/modules/fetch","","content"), 70 (createQName("http://zorba.io/modules/fetch","","content"),
71 GENV_TYPESYSTEM.STRING_TYPE_ONE, 71 GENV_TYPESYSTEM.STRING_TYPE_ONE,
72 GENV_TYPESYSTEM.STRING_TYPE_ONE, 72 GENV_TYPESYSTEM.STRING_TYPE_ONE,
73 GENV_TYPESYSTEM.STRING_TYPE_ONE, 73 GENV_TYPESYSTEM.STRING_TYPE_ONE,
@@ -81,7 +81,7 @@
8181
82 {82 {
83 DECL_WITH_KIND(sctx, fn_zorba_fetch_content_binary,83 DECL_WITH_KIND(sctx, fn_zorba_fetch_content_binary,
84 (createQName("http://www.zorba-xquery.com/modules/fetch","","content-binary"), 84 (createQName("http://zorba.io/modules/fetch","","content-binary"),
85 GENV_TYPESYSTEM.STRING_TYPE_ONE, 85 GENV_TYPESYSTEM.STRING_TYPE_ONE,
86 GENV_TYPESYSTEM.STRING_TYPE_ONE, 86 GENV_TYPESYSTEM.STRING_TYPE_ONE,
87 GENV_TYPESYSTEM.BASE64BINARY_TYPE_ONE),87 GENV_TYPESYSTEM.BASE64BINARY_TYPE_ONE),
@@ -94,7 +94,7 @@
9494
95 {95 {
96 DECL_WITH_KIND(sctx, fn_zorba_fetch_content_type,96 DECL_WITH_KIND(sctx, fn_zorba_fetch_content_type,
97 (createQName("http://www.zorba-xquery.com/modules/fetch","","content-type"), 97 (createQName("http://zorba.io/modules/fetch","","content-type"),
98 GENV_TYPESYSTEM.STRING_TYPE_ONE, 98 GENV_TYPESYSTEM.STRING_TYPE_ONE,
99 GENV_TYPESYSTEM.STRING_TYPE_ONE),99 GENV_TYPESYSTEM.STRING_TYPE_ONE),
100 FunctionConsts::FN_ZORBA_FETCH_CONTENT_TYPE_1);100 FunctionConsts::FN_ZORBA_FETCH_CONTENT_TYPE_1);
101101
=== modified file 'src/runtime/fetch/fetch_impl.cpp'
--- src/runtime/fetch/fetch_impl.cpp 2013-09-17 21:12:49 +0000
+++ src/runtime/fetch/fetch_impl.cpp 2013-10-16 22:17:59 +0000
@@ -17,6 +17,7 @@
1717
18#include <zorba/util/transcode_stream.h>18#include <zorba/util/transcode_stream.h>
19#include <zorba/internal/unique_ptr.h>19#include <zorba/internal/unique_ptr.h>
20#include <zorba/diagnostic_list.h>
2021
21#include "diagnostics/assert.h"22#include "diagnostics/assert.h"
22#include "diagnostics/xquery_diagnostics.h"23#include "diagnostics/xquery_diagnostics.h"
@@ -84,7 +85,7 @@
84 if ( !lStreamRes.get() )85 if ( !lStreamRes.get() )
85 {86 {
86 throw XQUERY_EXCEPTION(87 throw XQUERY_EXCEPTION(
87 zerr::ZXQP0025_COULD_NOT_FETCH_RESOURCE,88 zuri::URI_UNRESOLVED_OR_NOSTREAM,
88 ERROR_PARAMS(89 ERROR_PARAMS(
89 aUri->getStringValue(),90 aUri->getStringValue(),
90 ZED(ZXQP0025_RESOURCE_NOT_FOUND)91 ZED(ZXQP0025_RESOURCE_NOT_FOUND)
@@ -99,7 +100,7 @@
99100
100 } catch (ZorbaException const& e) {101 } catch (ZorbaException const& e) {
101 throw XQUERY_EXCEPTION(102 throw XQUERY_EXCEPTION(
102 zerr::ZXQP0025_COULD_NOT_FETCH_RESOURCE,103 zuri::URI_UNRESOLVED_OR_NOSTREAM,
103 ERROR_PARAMS( aUri->getStringValue(), e.what() ),104 ERROR_PARAMS( aUri->getStringValue(), e.what() ),
104 ERROR_LOC( aLoc )105 ERROR_LOC( aLoc )
105 );106 );
@@ -141,7 +142,7 @@
141 if (!transcode::is_supported(lEncodingStr.c_str()))142 if (!transcode::is_supported(lEncodingStr.c_str()))
142 {143 {
143 throw XQUERY_EXCEPTION(144 throw XQUERY_EXCEPTION(
144 zerr::ZXQP0006_UNKNOWN_ENCODING,145 zuri::CHARSET_UNKNOWN,
145 ERROR_PARAMS( lEncodingStr.c_str() ),146 ERROR_PARAMS( lEncodingStr.c_str() ),
146 ERROR_LOC( loc )147 ERROR_LOC( loc )
147 );148 );
148149
=== modified file 'src/runtime/spec/mappings.xml'
--- src/runtime/spec/mappings.xml 2013-10-16 18:45:10 +0000
+++ src/runtime/spec/mappings.xml 2013-10-16 22:17:59 +0000
@@ -122,7 +122,7 @@
122 define="ZORBA_JSON_XML_FN_NS"122 define="ZORBA_JSON_XML_FN_NS"
123 prefix="fn-zorba-json"/>123 prefix="fn-zorba-json"/>
124124
125 <zorba:namespace uri="http://www.zorba-xquery.com/modules/fetch"125 <zorba:namespace uri="http://zorba.io/modules/fetch"
126 define="ZORBA_FETCH_FN_NS"126 define="ZORBA_FETCH_FN_NS"
127 prefix="fn-zorba-fetch"/>127 prefix="fn-zorba-fetch"/>
128128
129129
=== modified file 'test/api/userdefined_uri_resolution.cpp'
--- test/api/userdefined_uri_resolution.cpp 2013-08-14 08:46:44 +0000
+++ test/api/userdefined_uri_resolution.cpp 2013-10-16 22:17:59 +0000
@@ -84,7 +84,7 @@
84 {84 {
85 // Deny access to an URI that would otherwise work85 // Deny access to an URI that would otherwise work
86 if(aUri == "http://zorbatest.lambda.nu:8080/tutorial/helloworld.xsd" ||86 if(aUri == "http://zorbatest.lambda.nu:8080/tutorial/helloworld.xsd" ||
87 aUri == "http://www.zorba-xquery.com/modules/fetch" ||87 aUri == "http://zorba.io/modules/fetch" ||
88 aUri == "http://expath.org/ns/file") {88 aUri == "http://expath.org/ns/file") {
89 oUris.push_back(URIMapper::DENY_ACCESS);89 oUris.push_back(URIMapper::DENY_ACCESS);
90 }90 }
@@ -272,7 +272,7 @@
272 try {272 try {
273 XQuery_t lQuery = aZorba->compileQuery273 XQuery_t lQuery = aZorba->compileQuery
274 ("import module namespace fetch = "274 ("import module namespace fetch = "
275 "'http://www.zorba-xquery.com/modules/fetch'; "275 "'http://zorba.io/modules/fetch'; "
276 "1 + 1", lContext);276 "1 + 1", lContext);
277 std::cout << lQuery << std::endl;277 std::cout << lQuery << std::endl;
278 } catch (ZorbaException& e) {278 } catch (ZorbaException& e) {
279279
=== modified file 'test/rbkt/Queries/zorba/fetch/fetch_bogus1.xq'
--- test/rbkt/Queries/zorba/fetch/fetch_bogus1.xq 2013-02-07 17:24:36 +0000
+++ test/rbkt/Queries/zorba/fetch/fetch_bogus1.xq 2013-10-16 22:17:59 +0000
@@ -1,4 +1,4 @@
1(: Fetch with unknown entity kind :)1(: Fetch with unknown entity kind :)
2import module namespace fetch = "http://www.zorba-xquery.com/modules/fetch";2import module namespace fetch = "http://zorba.io/modules/fetch";
33
4fetch:content("http://zorba-tests.28msec.us/modules/ext", "NOTHING")4fetch:content("http://zorba-tests.28msec.us/modules/ext", "NOTHING")
55
=== modified file 'test/rbkt/Queries/zorba/fetch/fetch_bogus2.spec'
--- test/rbkt/Queries/zorba/fetch/fetch_bogus2.spec 2013-08-07 05:28:39 +0000
+++ test/rbkt/Queries/zorba/fetch/fetch_bogus2.spec 2013-10-16 22:17:59 +0000
@@ -1,1 +1,1 @@
1Error: http://zorba.io/errors:ZXQP00251Error: http://zorba.io/modules/uri:URI_UNRESOLVED_OR_NOSTREAM
22
=== modified file 'test/rbkt/Queries/zorba/fetch/fetch_bogus2.xq'
--- test/rbkt/Queries/zorba/fetch/fetch_bogus2.xq 2013-02-07 17:24:36 +0000
+++ test/rbkt/Queries/zorba/fetch/fetch_bogus2.xq 2013-10-16 22:17:59 +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";2import module namespace fetch = "http://zorba.io/modules/fetch";
33
4fetch:content("http://zorba-tests.28msec.us/modules/ext", "SOME_CONTENT")4fetch:content("http://zorba-tests.28msec.us/modules/ext", "SOME_CONTENT")
55
=== modified file 'test/rbkt/Queries/zorba/fetch/fetch_module1.xq'
--- test/rbkt/Queries/zorba/fetch/fetch_module1.xq 2013-02-07 17:24:36 +0000
+++ test/rbkt/Queries/zorba/fetch/fetch_module1.xq 2013-10-16 22:17:59 +0000
@@ -1,4 +1,4 @@
1(: Fetch a module's content :)1(: Fetch a module's content :)
2import module namespace fetch = "http://www.zorba-xquery.com/modules/fetch";2import module namespace fetch = "http://zorba.io/modules/fetch";
33
4fetch:content("http://zorba-tests.28msec.us/modules/ext", "MODULE")4fetch:content("http://zorba-tests.28msec.us/modules/ext", "MODULE")
55
=== modified file 'test/rbkt/Queries/zorba/fetch/fetch_module2.xq'
--- test/rbkt/Queries/zorba/fetch/fetch_module2.xq 2013-02-07 17:24:36 +0000
+++ test/rbkt/Queries/zorba/fetch/fetch_module2.xq 2013-10-16 22:17:59 +0000
@@ -1,4 +1,4 @@
1(: Fetch a module's content with versioning :)1(: Fetch a module's content with versioning :)
2import module namespace fetch = "http://www.zorba-xquery.com/modules/fetch";2import module namespace fetch = "http://zorba.io/modules/fetch";
33
4fetch:content("http://zorba-tests.28msec.us/modules/ext#1.0", "MODULE")4fetch:content("http://zorba-tests.28msec.us/modules/ext#1.0", "MODULE")
55
=== modified file 'test/rbkt/Queries/zorba/fetch/fetch_random_file.xq'
--- test/rbkt/Queries/zorba/fetch/fetch_random_file.xq 2013-02-07 17:24:36 +0000
+++ test/rbkt/Queries/zorba/fetch/fetch_random_file.xq 2013-10-16 22:17:59 +0000
@@ -1,4 +1,4 @@
1(: Fetch a random file from the filesystem :)1(: Fetch a random file from the filesystem :)
2import module namespace fetch = "http://www.zorba-xquery.com/modules/fetch";2import module namespace fetch = "http://zorba.io/modules/fetch";
33
4fetch:content("http://zorba-tests.28msec.us/random-file", "SOME_CONTENT")4fetch:content("http://zorba-tests.28msec.us/random-file", "SOME_CONTENT")
55
=== modified file 'test/rbkt/Queries/zorba/fetch/fetch_schema1.xq'
--- test/rbkt/Queries/zorba/fetch/fetch_schema1.xq 2013-02-07 17:24:36 +0000
+++ test/rbkt/Queries/zorba/fetch/fetch_schema1.xq 2013-10-16 22:17:59 +0000
@@ -1,5 +1,5 @@
1(: Fetch a schemas's content :)1(: Fetch a schemas's content :)
2import module namespace fetch = "http://www.zorba-xquery.com/modules/fetch";2import module namespace fetch = "http://zorba.io/modules/fetch";
33
4fn:parse-xml(4fn:parse-xml(
5 fetch:content("http://zorba-tests.28msec.us/modules/theschema", "SCHEMA")5 fetch:content("http://zorba-tests.28msec.us/modules/theschema", "SCHEMA")
66
=== modified file 'test/rbkt/Queries/zorba/fetch/fetch_seekable.xq'
--- test/rbkt/Queries/zorba/fetch/fetch_seekable.xq 2013-06-25 04:43:41 +0000
+++ test/rbkt/Queries/zorba/fetch/fetch_seekable.xq 2013-10-16 22:17:59 +0000
@@ -1,4 +1,4 @@
1import module namespace fetch = "http://www.zorba-xquery.com/modules/fetch";1import module namespace fetch = "http://zorba.io/modules/fetch";
22
3import module namespace s = "http://zorba.io/modules/string";3import module namespace s = "http://zorba.io/modules/string";
44
55
=== modified file 'test/rbkt/Queries/zorba/fetch/fetch_seekable_binary.xq'
--- test/rbkt/Queries/zorba/fetch/fetch_seekable_binary.xq 2013-07-17 07:20:31 +0000
+++ test/rbkt/Queries/zorba/fetch/fetch_seekable_binary.xq 2013-10-16 22:17:59 +0000
@@ -1,4 +1,4 @@
1import module namespace fetch = "http://www.zorba-xquery.com/modules/fetch";1import module namespace fetch = "http://zorba.io/modules/fetch";
22
3import module namespace b = "http://zorba.io/modules/base64";3import module namespace b = "http://zorba.io/modules/base64";
44
55
=== modified file 'test/rbkt/Queries/zorba/fetch/fetch_some_transcode.xq'
--- test/rbkt/Queries/zorba/fetch/fetch_some_transcode.xq 2012-05-09 21:48:57 +0000
+++ test/rbkt/Queries/zorba/fetch/fetch_some_transcode.xq 2013-10-16 22:17:59 +0000
@@ -1,3 +1,3 @@
1import module namespace fetch = "http://www.zorba-xquery.com/modules/fetch";1import module namespace fetch = "http://zorba.io/modules/fetch";
22
3fetch:content(resolve-uri("iso-8859-1.txt"), "SOME_CONTENT", "ISO-8859-1")3fetch:content(resolve-uri("iso-8859-1.txt"), "SOME_CONTENT", "ISO-8859-1")
44
=== modified file 'test/rbkt/Queries/zorba/flwor/flwor24.xq'
--- test/rbkt/Queries/zorba/flwor/flwor24.xq 2013-08-14 12:56:35 +0000
+++ test/rbkt/Queries/zorba/flwor/flwor24.xq 2013-10-16 22:17:59 +0000
@@ -1,6 +1,6 @@
1import module namespace parse-xml = "http://zorba.io/modules/xml";1import module namespace parse-xml = "http://zorba.io/modules/xml";
2import schema namespace opt = "http://zorba.io/modules/xml-options";2import schema namespace opt = "http://zorba.io/modules/xml-options";
3import module namespace fetch = "http://www.zorba-xquery.com/modules/fetch";3import module namespace fetch = "http://zorba.io/modules/fetch";
44
5declare namespace an = "http://zorba.io/annotations";5declare namespace an = "http://zorba.io/annotations";
66
77
=== modified file 'test/rbkt/Queries/zorba/flwor/flwor25.xq'
--- test/rbkt/Queries/zorba/flwor/flwor25.xq 2013-08-14 12:56:35 +0000
+++ test/rbkt/Queries/zorba/flwor/flwor25.xq 2013-10-16 22:17:59 +0000
@@ -1,6 +1,6 @@
1import module namespace parse-xml = "http://zorba.io/modules/xml";1import module namespace parse-xml = "http://zorba.io/modules/xml";
2import schema namespace opt = "http://zorba.io/modules/xml-options";2import schema namespace opt = "http://zorba.io/modules/xml-options";
3import module namespace fetch = "http://www.zorba-xquery.com/modules/fetch";3import module namespace fetch = "http://zorba.io/modules/fetch";
44
5declare namespace an = "http://zorba.io/annotations";5declare namespace an = "http://zorba.io/annotations";
6declare namespace ext = "http://zorba.io/extensions";6declare namespace ext = "http://zorba.io/extensions";
77
=== modified file 'test/rbkt/Queries/zorba/flwor/flwor26.xq'
--- test/rbkt/Queries/zorba/flwor/flwor26.xq 2013-08-14 12:56:35 +0000
+++ test/rbkt/Queries/zorba/flwor/flwor26.xq 2013-10-16 22:17:59 +0000
@@ -1,6 +1,6 @@
1import module namespace parse-xml = "http://zorba.io/modules/xml";1import module namespace parse-xml = "http://zorba.io/modules/xml";
2import schema namespace opt = "http://zorba.io/modules/xml-options";2import schema namespace opt = "http://zorba.io/modules/xml-options";
3import module namespace fetch = "http://www.zorba-xquery.com/modules/fetch";3import module namespace fetch = "http://zorba.io/modules/fetch";
4import module namespace ddl = "http://www.zorba-xquery.com/modules/store/dynamic/collections/ddl";4import module namespace ddl = "http://www.zorba-xquery.com/modules/store/dynamic/collections/ddl";
5import module namespace dml = "http://www.zorba-xquery.com/modules/store/dynamic/collections/dml";5import module namespace dml = "http://www.zorba-xquery.com/modules/store/dynamic/collections/dml";
66
77
=== modified file 'test/rbkt/Queries/zorba/flwor/flwor27.xq'
--- test/rbkt/Queries/zorba/flwor/flwor27.xq 2013-08-14 12:56:35 +0000
+++ test/rbkt/Queries/zorba/flwor/flwor27.xq 2013-10-16 22:17:59 +0000
@@ -1,6 +1,6 @@
1import module namespace parse-xml = "http://zorba.io/modules/xml";1import module namespace parse-xml = "http://zorba.io/modules/xml";
2import schema namespace opt = "http://zorba.io/modules/xml-options";2import schema namespace opt = "http://zorba.io/modules/xml-options";
3import module namespace fetch = "http://www.zorba-xquery.com/modules/fetch";3import module namespace fetch = "http://zorba.io/modules/fetch";
44
5declare namespace an = "http://zorba.io/annotations";5declare namespace an = "http://zorba.io/annotations";
6declare namespace ext = "http://zorba.io/extensions";6declare namespace ext = "http://zorba.io/extensions";
77
=== modified file 'test/rbkt/Queries/zorba/flwor/flwor28.xq'
--- test/rbkt/Queries/zorba/flwor/flwor28.xq 2013-08-14 20:37:19 +0000
+++ test/rbkt/Queries/zorba/flwor/flwor28.xq 2013-10-16 22:17:59 +0000
@@ -1,6 +1,6 @@
1import module namespace parse-xml = "http://zorba.io/modules/xml";1import module namespace parse-xml = "http://zorba.io/modules/xml";
2import schema namespace opt = "http://zorba.io/modules/xml-options";2import schema namespace opt = "http://zorba.io/modules/xml-options";
3import module namespace fetch = "http://www.zorba-xquery.com/modules/fetch";3import module namespace fetch = "http://zorba.io/modules/fetch";
4import module namespace ddl = "http://www.zorba-xquery.com/modules/store/dynamic/collections/ddl";4import module namespace ddl = "http://www.zorba-xquery.com/modules/store/dynamic/collections/ddl";
5import module namespace dml = "http://www.zorba-xquery.com/modules/store/dynamic/collections/dml";5import module namespace dml = "http://www.zorba-xquery.com/modules/store/dynamic/collections/dml";
66
77
=== modified file 'test/rbkt/Queries/zorba/jsoniq/json_doc_1.xq'
--- test/rbkt/Queries/zorba/jsoniq/json_doc_1.xq 2013-08-14 15:16:42 +0000
+++ test/rbkt/Queries/zorba/jsoniq/json_doc_1.xq 2013-10-16 22:17:59 +0000
@@ -1,5 +1,5 @@
11
2import module namespace fetch="http://www.zorba-xquery.com/modules/fetch";2import module namespace fetch="http://zorba.io/modules/fetch";
33
4import module namespace file="http://expath.org/ns/file";4import module namespace file="http://expath.org/ns/file";
55
66
=== modified file 'test/rbkt/Queries/zorba/jsound/jsound-missing-schema.spec'
--- test/rbkt/Queries/zorba/jsound/jsound-missing-schema.spec 2013-10-02 22:40:32 +0000
+++ test/rbkt/Queries/zorba/jsound/jsound-missing-schema.spec 2013-10-16 22:17:59 +0000
@@ -1,1 +1,1 @@
1Error: http://zorba.io/errors:ZXQP00251Error: http://zorba.io/modules/uri:URI_UNRESOLVED_OR_NOSTREAM
2\ No newline at end of file2\ No newline at end of file
33
=== modified file 'test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-57.xq'
--- test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-57.xq 2013-07-24 09:06:02 +0000
+++ test/rbkt/Queries/zorba/parsing_and_serializing/parse-fragment-skip-root-57.xq 2013-10-16 22:17:59 +0000
@@ -1,6 +1,6 @@
1import module namespace parse-xml = "http://zorba.io/modules/xml";1import module namespace parse-xml = "http://zorba.io/modules/xml";
2import schema namespace opt = "http://zorba.io/modules/xml-options";2import schema namespace opt = "http://zorba.io/modules/xml-options";
3import module namespace fetch = "http://www.zorba-xquery.com/modules/fetch";3import module namespace fetch = "http://zorba.io/modules/fetch";
44
5variable $xmlcontents := fetch:content(resolve-uri("bad.xml"));5variable $xmlcontents := fetch:content(resolve-uri("bad.xml"));
66
77
=== modified file 'test/rbkt/Queries/zorba/parsing_and_serializing/parse-xml-fragment-31.xq'
--- test/rbkt/Queries/zorba/parsing_and_serializing/parse-xml-fragment-31.xq 2013-07-24 09:06:02 +0000
+++ test/rbkt/Queries/zorba/parsing_and_serializing/parse-xml-fragment-31.xq 2013-10-16 22:17:59 +0000
@@ -2,7 +2,7 @@
2 Test x:parse() with streamable input2 Test x:parse() with streamable input
3:)3:)
44
5import module namespace fetch = "http://www.zorba-xquery.com/modules/fetch";5import module namespace fetch = "http://zorba.io/modules/fetch";
6import module namespace x = "http://zorba.io/modules/xml";6import module namespace x = "http://zorba.io/modules/xml";
7import schema namespace opt = "http://zorba.io/modules/xml-options";7import schema namespace opt = "http://zorba.io/modules/xml-options";
88
99
=== modified file 'test/rbkt/Queries/zorba/parsing_and_serializing/parse-xml-fragment-33.xq'
--- test/rbkt/Queries/zorba/parsing_and_serializing/parse-xml-fragment-33.xq 2013-07-24 09:06:02 +0000
+++ test/rbkt/Queries/zorba/parsing_and_serializing/parse-xml-fragment-33.xq 2013-10-16 22:17:59 +0000
@@ -1,6 +1,6 @@
1import module namespace x = "http://zorba.io/modules/xml";1import module namespace x = "http://zorba.io/modules/xml";
2import schema namespace opt = "http://zorba.io/modules/xml-options";2import schema namespace opt = "http://zorba.io/modules/xml-options";
3import module namespace fetch = "http://www.zorba-xquery.com/modules/fetch";3import module namespace fetch = "http://zorba.io/modules/fetch";
44
5variable $xmlcontents := fetch:content(resolve-uri("wiki.xml"));5variable $xmlcontents := fetch:content(resolve-uri("wiki.xml"));
66
77
=== modified file 'test/rbkt/Queries/zorba/string/AnalyzeString/http-client-doc.htm'
--- test/rbkt/Queries/zorba/string/AnalyzeString/http-client-doc.htm 2013-10-16 18:45:10 +0000
+++ test/rbkt/Queries/zorba/string/AnalyzeString/http-client-doc.htm 2013-10-16 22:17:59 +0000
@@ -391,7 +391,7 @@
391 </sup>391 </sup>
392 </li>392 </li>
393 <li>393 <li>
394 <a href="www.zorba-xquery.com_modules_fetch.html" title="http://www.zorba-xquery.com/modules/fetch">fetch</a>394 <a href="www.zorba-xquery.com_modules_fetch.html" title="http://zorba.io/modules/fetch">fetch</a>
395 <sup>395 <sup>
396 <a href="http://www.w3.org/TR/xquery-30/#dt-external-function" target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>396 <a href="http://www.w3.org/TR/xquery-30/#dt-external-function" target="_blank" title="There are external functions (either private or public) declared in this module.">(E)</a>
397 </sup>397 </sup>
398398
=== modified file 'test/rbkt/Queries/zorba/xqdoc/moduleDocumentation.xq'
--- test/rbkt/Queries/zorba/xqdoc/moduleDocumentation.xq 2013-10-07 23:26:13 +0000
+++ test/rbkt/Queries/zorba/xqdoc/moduleDocumentation.xq 2013-10-16 22:17:59 +0000
@@ -2,7 +2,7 @@
22
3import module namespace file = "http://expath.org/ns/file";3import module namespace file = "http://expath.org/ns/file";
4import module namespace xqd = "http://zorba.io/modules/xqdoc";4import module namespace xqd = "http://zorba.io/modules/xqdoc";
5import module namespace fetch = "http://www.zorba-xquery.com/modules/fetch";5import module namespace fetch = "http://zorba.io/modules/fetch";
66
7import schema namespace xqdoc = "http://www.xqdoc.org/1.0";7import schema namespace xqdoc = "http://www.xqdoc.org/1.0";
88
99
=== modified file 'test/unit/test_static_context.cpp'
--- test/unit/test_static_context.cpp 2013-06-15 02:57:08 +0000
+++ test/unit/test_static_context.cpp 2013-10-16 22:17:59 +0000
@@ -73,7 +73,7 @@
7373
74 try74 try
75 {75 {
76 Item lFetched = lSctx->fetch("http://www.zorba-xquery.com/modules/fetch", "MODULE");76 Item lFetched = lSctx->fetch("http://zorba.io/modules/fetch", "MODULE");
7777
78 return !lFetched.isNull();78 return !lFetched.isNull();
79 }79 }
@@ -128,7 +128,7 @@
128128
129 try129 try
130 {130 {
131 Item lFetched = lSctx->fetchBinary("http://www.zorba-xquery.com/modules/fetch", "MODULE");131 Item lFetched = lSctx->fetchBinary("http://zorba.io/modules/fetch", "MODULE");
132132
133 size_t s;133 size_t s;
134 return !lFetched.isNull() && lFetched.getBase64BinaryValue(s);134 return !lFetched.isNull() && lFetched.getBase64BinaryValue(s);

Subscribers

People subscribed via source and target branches