We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a24937 commit 884b264Copy full SHA for 884b264
modules/cmif.xql
@@ -180,7 +180,7 @@ declare function ct:cmif2-note($doc as document-node()) as element(tei:note)? {
180
let $places := ct:mentioned-entity-by-wega-facet($doc, 'places', 'cmif:mentionsPlace')
181
let $fullTextURL := config:permalink($doc/*/@xml:id) || '.xml?format=tei_all'
182
let $languages :=
183
- $doc//tei:language[parent::tei:langUsage] ! ct:cmif2-ref('https://lod.academy/cmif/vocab/terms#hasLanguage', ./@ident, .)
+ $doc//tei:language[parent::tei:langUsage] ! ct:cmif2-ref('https://lod.academy/cmif/vocab/terms#hasLanguage', ./@ident, normalize-space(.))
184
return
185
element {QName('http://www.tei-c.org/ns/1.0', 'note')} {
186
$persons,
0 commit comments