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: tpu:parse-pi($doc as document-node(), $view as xs:string?) item()*. Expected cardinality: exactly one, got 0. [at line 74, column 33, source: /db/apps/mishnah/modules/lib/pages.xql] In function: tpu:parse-pi(document-node(), xs:string?) [74:20:/db/apps/mishnah/modules/lib/util.xql] pages:pb-document(node(), map(*), xs:string, xs:string?, xs:string?, xs:string?) [-1:-1:/db/apps/mishnah/modules/lib/pages.xql] templates:process-output(element(), map(*), item()*, element()) [205:9:/home/lgpn/exist/./webapp/WEB-INF/data/expathrepo/shared-0.7.0/content/templates.xql] templates:call-by-introspection(element(), map(*), map(*), function(*)) [187:28:/home/lgpn/exist/./webapp/WEB-INF/data/expathrepo/shared-0.7.0/content/templates.xql] templates:call(item(), element(), map(*)) [135:36:/home/lgpn/exist/./webapp/WEB-INF/data/expathrepo/shared-0.7.0/content/templates.xql] templates:process(node()*, map(*)) [57:13:/home/lgpn/exist/./webapp/WEB-INF/data/expathrepo/shared-0.7.0/content/templates.xql] intl:translate(node(), map(*), xs:string?, xs:string?) [-1:-1:/db/apps/mishnah/modules/lib/i18n-templates.xql] templates:process-output(element(), map(*), item()*, element()) [205:9:/home/lgpn/exist/./webapp/WEB-INF/data/expathrepo/shared-0.7.0/content/templates.xql] templates:call-by-introspection(element(), map(*), map(*), function(*)) [187:28:/home/lgpn/exist/./webapp/WEB-INF/data/expathrepo/shared-0.7.0/content/templates.xql] templates:call(item(), element(), map(*)) [135:36:/home/lgpn/exist/./webapp/WEB-INF/data/expathrepo/shared-0.7.0/content/templates.xql] templates:process(node()*, map(*)) [501:13:/home/lgpn/exist/./webapp/WEB-INF/data/expathrepo/shared-0.7.0/content/templates.xql] pages:app-root(node(), map(*)) [-1:-1:/db/apps/mishnah/modules/lib/pages.xql] templates:process-output(element(), map(*), item()*, element()) [205:9:/home/lgpn/exist/./webapp/WEB-INF/data/expathrepo/shared-0.7.0/content/templates.xql] templates:call-by-introspection(element(), map(*), map(*), function(*)) [187:28:/home/lgpn/exist/./webapp/WEB-INF/data/expathrepo/shared-0.7.0/content/templates.xql] templates:call(item(), element(), map(*)) [135:36:/home/lgpn/exist/./webapp/WEB-INF/data/expathrepo/shared-0.7.0/content/templates.xql] templates:process(node()*, map(*)) [131:51:/home/lgpn/exist/./webapp/WEB-INF/data/expathrepo/shared-0.7.0/content/templates.xql] templates:process(node()*, map(*)) [88:9:/home/lgpn/exist/./webapp/WEB-INF/data/expathrepo/shared-0.7.0/content/templates.xql] templates:apply(node()+, function(*), map(*)?, map(*)?) [51:5:/home/lgpn/exist/./webapp/WEB-INF/data/expathrepo/shared-0.7.0/content/templates.xql]
View source: this page.