Commit b3e77af9 authored by Jerome Chauveau's avatar Jerome Chauveau
Browse files

fix signature

parent 79efc880
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -41,7 +41,7 @@ function errors:not-found($message, $lang as xs:string){
declare
%output:method("html")
%output:html-version('5')
function errors:error($code as xs:QName, $desc as xs:string, $line as xs:integer, $lang as xs:string) as element(){
function errors:error($code as xs:QName, $desc as xs:string, $line as xs:integer, $lang as xs:string){
  let $tmpl := templating:template-file('error.html')
  let $detail := if(conf:is-dev-mode()) then string-join(($code,  $desc, 'line ' || $line),', ') else ''
  let $render := if($tmpl) then templating:render(