From 46a103d563b3a72383bc2a708baced824469f460 Mon Sep 17 00:00:00 2001 From: Duncan Paterson Date: Mon, 20 Mar 2023 11:12:34 +0100 Subject: [PATCH] fix(view): v7 syntax --- generators/app/templates/xq/view.xq | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generators/app/templates/xq/view.xq b/generators/app/templates/xq/view.xq index e397409f..da870afa 100755 --- a/generators/app/templates/xq/view.xq +++ b/generators/app/templates/xq/view.xq @@ -34,7 +34,7 @@ let $config := map { : module cannot see the application modules, but the inline function : below does see them. :) -let $lookup := function ($functionName as xs:string, $arity as xs:int) { +let $lookup := function ($functionName as xs:string, $arity as xs:integer) { try { function-lookup(xs:QName($functionName), $arity) } catch * {