Skip to content

Commit

Permalink
fix spelling of EDTF
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeffery Antoniuk committed Jul 15, 2022
1 parent f42eba1 commit 9a8a9e9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion transform_to_workbench/islandora7_to_workbench_utils.xquery
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ declare namespace islandora="http://islandora.ca/ontology/relsext#";
https://mjordan.github.io/islandora_workbench_docs/configuration/#input-csv-file-settings :)
declare variable $th:WORKBENCH_SEPARATOR as xs:string := "^|.|^";

(: https://www.loc.gov/standards/datetime/ :)
declare variable $th:EDTF_RANGE_SEPARATOR as xs:string := "^|.|^";

(::)
declare function th:extract_member_of($node as node()) as xs:string
{
Expand Down Expand Up @@ -535,7 +538,7 @@ declare function th:get_subject_temporal($node as node()) as xs:string
)
else if ($list[@point] and not($list[not(exists(@point))])) then (
(: todo: verify assumtion order of point="begin" and point="end" in docs :)
string-join($list/text(), $th:ETDF_RANGE_SEPARATOR)
string-join($list/text(), $th:EDTF_RANGE_SEPARATOR)
)
else if (not(exists($list))) then (
""
Expand Down

0 comments on commit 9a8a9e9

Please sign in to comment.