srophe / syriaca

Public respository for Syriaca.org: The Syriac Reference Portal

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug: cardinality set to multiple values

emgeier opened this issue · comments

This error is thrown frequently as well: ERROR (DeferredFunctionCall.java [hasMany]:172) - Exception in deferred function: err:XPTY0004 cardinality error: sequence with more than one item is not allowed here [at line 132, column 71, source: /db/apps/syriaca/modules/search/search.xqm]

You can set the cardinality to the first value in the sequence or do some type checking to fix this.