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 * {