Skip to content
Snippets Groups Projects
Commit e5b8a83c authored by Peter Stadler's avatar Peter Stadler Committed by Daniel Jettka
Browse files

adjust function signature

to allow the empty sequence as return value
parent 7d9dbe58
No related branches found
No related tags found
No related merge requests found
......@@ -318,8 +318,8 @@ declare function local:getZone($elem as element()) as element()? {
(:~
: Returns type of a zone
:)
declare function local:getType($zones as element()*) as xs:string {
$zones[1]/@type (: TODO: besser machen :)
declare function local:getType($zones as element()*) as xs:string? {
$zones[1]/data(@type) (: TODO: besser machen (sagt Daniel) :)
};
declare function local:getBoundingZone($zones as element()*) as element() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment