From 6d38121f0eb13135251e38c5f842891a64f84789 Mon Sep 17 00:00:00 2001 From: wpotter20 Date: Thu, 16 Dec 2021 10:14:51 -0500 Subject: [PATCH] Fixed #41 --- modules/csv2srophe.xqm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/csv2srophe.xqm b/modules/csv2srophe.xqm index 5eabcdc3..34041e80 100644 --- a/modules/csv2srophe.xqm +++ b/modules/csv2srophe.xqm @@ -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"}