Skip to content

Commit

Permalink
fixes a problem with title
Browse files Browse the repository at this point in the history
  • Loading branch information
philippepons committed Apr 9, 2024
1 parent b83ad6e commit 9724849
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/utils.xqm
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ declare function utils:getMandatory($resource as element(), $nav as xs:string) {
let $resourceId := normalize-space($resource/@dtsResourceId)
let $type := utils:getResourceType($resource)
let $title :=
let $t := $resource/*:title
let $t := $resource/*:title[1]
where in-scope-prefixes($t)[1] = "dc"
return
normalize-space($t)
Expand Down

0 comments on commit 9724849

Please sign in to comment.