Skip to content

Commit

Permalink
Dublin Core / dct:references and dc:relation should be handle in a si…
Browse files Browse the repository at this point in the history
…milar ways. Related to geonetwork#459.
  • Loading branch information
fxprunayre committed Feb 8, 2016
1 parent dacbbc3 commit 66dcc6b
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,11 @@

<!-- Hide from the editor the dct:references pointing to uploaded files -->
<xsl:template mode="mode-dublin-core" priority="101"
match="dct:references[
starts-with(., 'http') or
match="*[(name(.) = 'dct:references' or
name(.) = 'dc:relation') and
(starts-with(., 'http') or
contains(. , 'resources.get') or
contains(., 'file.disclaimer')]" />
contains(., 'file.disclaimer'))]" />


<!-- the other elements in DC. -->
Expand Down

0 comments on commit 66dcc6b

Please sign in to comment.