/db/apps/bibacme/index.xqexerr:ERROR XPTY0004: The actual cardinality for parameter 1 does not match the cardinality declared in the function's signature: data:get-author-name($author-key as xs:string+, $order as xs:string) xs:string+. Expected cardinality: one or more, got 0. [at line 155, column 47, source: /db/apps/bibacme/modules/app.xqm]
In function:
data:get-author-name(xs:string+, xs:string) [155:25:/db/apps/bibacme/modules/data.xqm]
app:author(xs:string) [144:41:/db/apps/bibacme/modules/app.xqm]