Skip to content

Commit 7847ab9

Browse files
joewizduncdrum
authored andcommitted
Fix map constructor syntax
See eXist-db/exist#2887.
1 parent 6945164 commit 7847ab9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/main/xar-resources/modules/docbook.xql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ function docbook:load($node as node(), $model as map(*), $q as xs:string?, $doc
3232
else
3333
$context
3434
return
35-
map { "doc" := util:expand($data/*, "add-exist-id=all") }
35+
map { "doc": util:expand($data/*, "add-exist-id=all") }
3636
else
3737
<p>Document not found: {$path}!</p>
3838
};

src/main/xar-resources/modules/view.xql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ import module namespace diag="http://exist-db.org/xquery/diagnostics" at "diagno
1313
declare option exist:serialize "method=html5 media-type=text/html";
1414

1515
let $config := map {
16-
$templates:CONFIG_APP_ROOT := $config:app-root,
17-
$templates:CONFIG_STOP_ON_ERROR := true()
16+
$templates:CONFIG_APP_ROOT : $config:app-root,
17+
$templates:CONFIG_STOP_ON_ERROR : true()
1818
}
1919
let $lookup := function($functionName as xs:string, $arity as xs:int) {
2020
try {

0 commit comments

Comments
 (0)