/db/apps/avhr/themen/index.xqlerr:XPTY0004 checking function parameter 1 in call transform:transform((
$input, edweb:getLabels()
), doc($edweb:html), element {"parameters"} {
text {
}
element {"param"} {
attribute {name} {
pageTitle
}
attribute {value} {
edweb:pageTitle($pageTitle, "alone")
}
}
text {
}
element {"param"} {
attribute {name} {
currentSection
}
attribute {value} {
$currentSection
}
}
text {
}
{
$edweb:transformParams
}
text {
}
} ): The actual return type does not match the sequence type declared in the function's signature: edweb:getLabels() node(). Expected cardinality: exactly one, got 0. [at line 157, column 33, source: /db/apps/avhr/resources/functions.xql]
In function:
edweb:getLabels() [327:18:/db/apps/avhr/resources/functions.xql]
edweb:transformHTML(item()*, item()*, item()?) [76:16:/db/apps/avhr/resources/functions.xql]