Skip to content

Commit

Permalink
Fixed #41
Browse files Browse the repository at this point in the history
  • Loading branch information
wlpotter committed Dec 16, 2021
1 parent 449a383 commit 6d38121
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/csv2srophe.xqm
Original file line number Diff line number Diff line change
Expand Up @@ -837,7 +837,7 @@ as element()
let $otherUris := functx:trim($relationData/textNode/text())
let $otherUris := tokenize($otherUris, $separator)
(: if the other uris are of the same entity type (e.g., persons in a person row), they will not have the URI-base :)
let $otherUris := for $uri in $otherUris return if(starts-with($uri, "http")) then $uri else $config:uri-base || $uri
let $otherUris := for $uri in $otherUris return if(starts-with($uri, "http") or starts-with($uri, "ISO") or starts-with($uri, "snap:")) then $uri else $config:uri-base || $uri
let $otherUris := string-join($otherUris, " ")

let $sourceAttr := if($source != "") then attribute {"source"} {$source} else attribute {"resp"} {"http://syriaca.org"}
Expand Down

0 comments on commit 6d38121

Please sign in to comment.