diff --git a/src/main/xar-resources/modules/view.xql b/src/main/xar-resources/modules/view.xql index 4f8e94f..b36c811 100644 --- a/src/main/xar-resources/modules/view.xql +++ b/src/main/xar-resources/modules/view.xql @@ -17,8 +17,8 @@ import module namespace app="http://exist-db.org/showcase/jfreechart/templates" declare option exist:serialize "method=html5 media-type=text/html enforce-xhtml=yes"; let $config := map { - $templates:CONFIG_APP_ROOT := $config:app-root, - $templates:CONFIG_STOP_ON_ERROR := true() + $templates:CONFIG_APP_ROOT : $config:app-root, + $templates:CONFIG_STOP_ON_ERROR : true() } (: : We have to provide a lookup function to templates:apply to help it