Failing imports at commons:get-languages(xs:string)
textgrid:40v2q.0
2024-03-28T09:56:12.475779206Z 28 Mar 2024 09:56:12,474 [qtp520043771-37] ERROR (DocumentTriggers.java [afterCreateDocument]:240) - Error during trigger prepare
2024-03-28T09:56:12.475814245Z org.exist.collections.triggers.TriggerException: Error during trigger prepare
[…]
2024-03-28T09:56:12.476305471Z 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-languages(xs:string) xs:string+. Expected cardinality: one or more, got 0. [at line 125, column 39, source: /db/apps/ahiqar/modules/commons.xqm]
2024-03-28T09:56:12.476308001Z In function:
2024-03-28T09:56:12.476310278Z commons:get-languages(xs:string) [117:19:/db/apps/ahiqar/modules/commons.xqm]
2024-03-28T09:56:12.476312463Z commons:get-text-types(xs:string) [24:32:/db/apps/ahiqar/modules/commons.xqm]
affected documents:
textgrid:41n22.0
-
textgrid:40v2q.0
, -
textgrid:40xns.0
and
Edited by Michelle Weidling