Skip to content

minor fixes #190

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 4, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@


### Please provide the following
* exist-db version: 3.6.0
* documentation version: 0.6.1
* exist-db version: `4.0.0`
* documentation version: `4.0.0`
2 changes: 1 addition & 1 deletion src/main/xar-resources/data/extensions/extensions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<note>
<para>eXist-db will require a restart to load any new modules added. </para>
</note>
<para>Once a Module is configured and loaded eXist-db will display the module and its function definitions as part of the <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="{fundocs}">function library</link> page or through
<para>Once a Module is configured and loaded eXist-db will display the module and its function definitions as part of the <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="{${fundocs.pkg.abbrev}}">function library</link> page or through
<literal>util:decribe-function()</literal>.</para>
</sect1>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
<listitem>
<para>The XQuery engine has been updated to support the changed syntax for <emphasis>maps in XQuery 3.1</emphasis>. The query parser will
still accept the old syntax for map constructors though (<code>map { x:= "y"}</code> instead of <code>map { x: "y" }</code> in XQuery 3.1),
so old code should run without modifications. All map module functions from XQuery 3.1 are <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="{fundocs}/view.html?uri=http://www.w3.org/2005/xpath-functions/map&amp;location=java:org.exist.xquery.functions.map.MapModule">available</link>.</para>
so old code should run without modifications. All map module functions from XQuery 3.1 are <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="{${fundocs.pkg.abbrev}}/view.html?uri=http://www.w3.org/2005/xpath-functions/map&amp;location=java:org.exist.xquery.functions.map.MapModule">available</link>.</para>
</listitem>
<listitem>
<para>The signatures for some <emphasis>higher-order utility functions</emphasis> like <code>fn:filter</code>, <code>fn:fold-left</code> and
Expand Down
6 changes: 3 additions & 3 deletions src/main/xar-resources/data/templating/listings/listing-8.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
declare
declare
%templates:wrap
function demo:search($node as node(), $model as map(*), $query as xs:string) as map(*) {
let $result :=
for $hit in collection($config:app-root)//SCENE[ft:query(., $query)]
order by ft:score($hit) descending
return $hit
return
map { "result" := $result }
};
map { "result": $result }
};