From edba6f7109960716799db2e547b058f27db3a44f Mon Sep 17 00:00:00 2001 From: duncdrum Date: Fri, 2 Mar 2018 09:49:48 +0100 Subject: [PATCH] minor fixes increase issue templage default version fix dangling reference expanders close #180, #182 switch to new map syntax in listings (not yet in app code) close #189 --- ISSUE_TEMPLATE.md | 4 ++-- src/main/xar-resources/data/extensions/extensions.xml | 2 +- .../data/incompatibilities/incompatibilities.xml | 2 +- .../xar-resources/data/templating/listings/listing-8.txt | 6 +++--- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ISSUE_TEMPLATE.md b/ISSUE_TEMPLATE.md index 5a64a466..1745fe81 100644 --- a/ISSUE_TEMPLATE.md +++ b/ISSUE_TEMPLATE.md @@ -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` diff --git a/src/main/xar-resources/data/extensions/extensions.xml b/src/main/xar-resources/data/extensions/extensions.xml index a0b2a828..fb0b8034 100644 --- a/src/main/xar-resources/data/extensions/extensions.xml +++ b/src/main/xar-resources/data/extensions/extensions.xml @@ -32,7 +32,7 @@ eXist-db will require a restart to load any new modules added. - Once a Module is configured and loaded eXist-db will display the module and its function definitions as part of the function library page or through + Once a Module is configured and loaded eXist-db will display the module and its function definitions as part of the function library page or through util:decribe-function(). diff --git a/src/main/xar-resources/data/incompatibilities/incompatibilities.xml b/src/main/xar-resources/data/incompatibilities/incompatibilities.xml index 87d4e2b3..7952045e 100644 --- a/src/main/xar-resources/data/incompatibilities/incompatibilities.xml +++ b/src/main/xar-resources/data/incompatibilities/incompatibilities.xml @@ -76,7 +76,7 @@ The XQuery engine has been updated to support the changed syntax for maps in XQuery 3.1. The query parser will still accept the old syntax for map constructors though (map { x:= "y"} instead of map { x: "y" } in XQuery 3.1), - so old code should run without modifications. All map module functions from XQuery 3.1 are available. + so old code should run without modifications. All map module functions from XQuery 3.1 are available. The signatures for some higher-order utility functions like fn:filter, fn:fold-left and diff --git a/src/main/xar-resources/data/templating/listings/listing-8.txt b/src/main/xar-resources/data/templating/listings/listing-8.txt index 01dc9f08..d641dd7b 100644 --- a/src/main/xar-resources/data/templating/listings/listing-8.txt +++ b/src/main/xar-resources/data/templating/listings/listing-8.txt @@ -1,4 +1,4 @@ -declare +declare %templates:wrap function demo:search($node as node(), $model as map(*), $query as xs:string) as map(*) { let $result := @@ -6,5 +6,5 @@ function demo:search($node as node(), $model as map(*), $query as xs:string) as order by ft:score($hit) descending return $hit return - map { "result" := $result } -}; \ No newline at end of file + map { "result": $result } +};