An error has occurred
An error has been generated by the application.
exerr:ERROR XPTY0004: The actual cardinality for parameter 1 does not match the cardinality declared in the function's signature: global:build-sort-string($titlestring as xs:string?, $lang as xs:string?) xs:string*. Expected cardinality: zero or one, got 3. [at line 228, column 47, source: /db/apps/usaybia/modules/lib/data.xqm] In function: global:build-sort-string(xs:string?, xs:string?) [228:17:/db/apps/usaybia/modules/lib/global.xqm] data:search(xs:string*, xs:string?, xs:string?) [63:26:/db/apps/usaybia/modules/lib/data.xqm] search:search-data(node(), map(*), xs:string?, xs:string?) [-1:-1:/db/apps/usaybia/modules/search/search.xqm] templates:process-output(element(), map(*), item()*, element()) [211:9:/exist/etc/webapp/WEB-INF/data/expathrepo/shared-0.8.5/content/templates.xql] templates:call-by-introspection(element(), map(*), map(*), function(*)) [189:28:/exist/etc/webapp/WEB-INF/data/expathrepo/shared-0.8.5/content/templates.xql] templates:call(item(), element(), map(*)) [137:36:/exist/etc/webapp/WEB-INF/data/expathrepo/shared-0.8.5/content/templates.xql] templates:process(node()*, map(*)) [148:81:/exist/etc/webapp/WEB-INF/data/expathrepo/shared-0.8.5/content/templates.xql] templates:process(node()*, map(*)) [148:81:/exist/etc/webapp/WEB-INF/data/expathrepo/shared-0.8.5/content/templates.xql] templates:process(node()*, map(*)) [148:81:/exist/etc/webapp/WEB-INF/data/expathrepo/shared-0.8.5/content/templates.xql] templates:process(node()*, map(*)) [148:81:/exist/etc/webapp/WEB-INF/data/expathrepo/shared-0.8.5/content/templates.xql] templates:process(node()*, map(*)) [237:13:/exist/etc/webapp/WEB-INF/data/expathrepo/shared-0.8.5/content/templates.xql] templates:process(node()*, map(*)) [428:17:/exist/etc/webapp/WEB-INF/data/expathrepo/shared-0.8.5/content/templates.xql] templates:process-output(element(), map(*), item()*) [230:9:/exist/etc/webapp/WEB-INF/data/expathrepo/shared-0.8.5/content/templates.xql] templates:process-output(element(), map(*), item()*, element()) [211:9:/exist/etc/webapp/WEB-INF/data/expathrepo/shared-0.8.5/content/templates.xql] templates:call-by-introspection(element(), map(*), map(*), function(*)) [189:28:/exist/etc/webapp/WEB-INF/data/expathrepo/shared-0.8.5/content/templates.xql] templates:call(item(), element(), map(*)) [137:36:/exist/etc/webapp/WEB-INF/data/expathrepo/shared-0.8.5/content/templates.xql] templates:process(node()*, map(*)) [133:51:/exist/etc/webapp/WEB-INF/data/expathrepo/shared-0.8.5/content/templates.xql] templates:process(node()*, map(*)) [90:9:/exist/etc/webapp/WEB-INF/data/expathrepo/shared-0.8.5/content/templates.xql] templates:apply(node()+, function(*), map(*)?, map(*)?) [53:5:/exist/etc/webapp/WEB-INF/data/expathrepo/shared-0.8.5/content/templates.xql]
View source: this page.