Bug: cardinality set to multiple values
emgeier opened this issue · comments
Erin Geier commented
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.