/db/apps/mop/adjutantenjournale/detail.xqlexerr:ERROR XPTY0004: The actual cardinality for parameter 1 does not match the cardinality declared in the function's signature: aj:getMonarch($id as xs:string) item()*. Expected cardinality: exactly one, got 0. [at line 148, column 14, source: /db/apps/mop/adjutantenjournale/detail.xql]
In function:
aj:getMonarch(xs:string) [148:14:/db/apps/mop/adjutantenjournale/functions-aj.xqm]