/db/projects/hirt/web/register/personen/detail.xqlerr:XPTY0004 checking function parameter 1 in call format-date(untyped-value-check[xs:date, $date/attribute::{}notAfter], "[D01].[M01].[Y0001]"): Type mismatch: the actual type of parameter 1 does not match the type declared in the signature of function: format-date($value as xs:date?, $picture as xs:string) xs:string?. Required type: xs:date, got attribute(). [at line 288, column 117, source: /db/projects/hirt/web/register/functions.xql]
In function:
local:viewDate(item()*) [431:39:/db/projects/hirt/web/register/functions.xql]
edwebRegister:viewLetterTable(item()*, item()*, item()*, xs:boolean) [185:17:/db/projects/hirt/web/register/functions.xql]
edwebRegister:getRelatedLetters(element()) [83:18:/db/projects/hirt/web/register/functions.xql]
edwebRegister:viewBox(item()*) [82:14:/db/projects/hirt/web/register/functions.xql]