bug when searching in documents without tei:pb and config view:page
when searching for "hawwe" only in fabryk01.xml this succeeds and I can see #78 (closed) is fixed.
But when searching in multiple documents I encounter an error:
2017-06-17 08:05:23,639 [qtp1014278669-97] ERROR (DeferredFunctionCall.java [hasMany]:170) - Exception in deferred function: 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 102, column 33, source: /db/apps/tdb/modules/lib/pages.xql] In function: tpu:parse-pi(document-node(), xs:string?) [102:20:/db/apps/tdb/modules/lib/util.xql] pages:load-xml(xs:string?, xs:string?, xs:string) [70:9:/db/apps/tdb/modules/lib/pages.xql] pages:load(node(), map, xs:string, xs:string?, xs:string?, xs:string?) [225:18:/db/apps/tdb/modules/lib/pages.xql]
Two extra documents to search in: