page fragmentation: commons:get-end-node(element(tei:pb)) cardinality: exactly one, got 0
latest import shows some errors:
2024-07-03T23:08:21.988335014Z Caused by: org.exist.xquery.XPathException: exerr:ERROR The actual return type does not match the sequence type declared in the function's signature: commons:get-end-node(element(tei:pb)) element(). Expected cardinality: exactly one, got 0. [at line 291, column 38, source: /db/apps/ahiqar/modules/commons.xqm]
2024-07-03T23:08:21.988342044Z In function:
2024-07-03T23:08:21.988347044Z commons:get-end-node(element(tei:pb)) [232:26:/db/apps/ahiqar/modules/commons.xqm]
2024-07-03T23:08:21.988352264Z commons:get-page-fragment(xs:string, xs:string, xs:string) [30:63:/db/apps/ahiqar/modules/commons.xqm]
2024-07-03T23:08:21.988357554Z dbt:process-triggers(xs:anyURI) [13:5:/db/apps/ahiqar/triggers/trigger.xqm]
2024-07-03T23:08:21.988362694Z trigger:after-create-document(xs:anyURI) [-1:-1:/db/apps/ahiqar/triggers/trigger.xqm]
Edited by Mathias Goebel