/db/projects/hirt/web/register/personen/detail.xqlexerr:ERROR XPTY0004: The actual cardinality for parameter 1 does not match the cardinality declared in the function's signature: edwebRegister:getRelatedLetters($entry as element()) item()*. Expected cardinality: exactly one, got 0. [at line 83, column 51, source: /db/projects/hirt/web/register/personen/detail.xql]
In function:
edwebRegister:getRelatedLetters(element()) [83:18:/db/projects/hirt/web/register/functions.xql]
edwebRegister:viewBox(item()*) [82:14:/db/projects/hirt/web/register/functions.xql]