Skip to content

Commit

Permalink
Merge pull request #2640 from paulo-graca/patch-4
Browse files Browse the repository at this point in the history
Fix for DS-4420 OpenAIREv4 XSLT Warning in Spring Boot
  • Loading branch information
tdonohue committed Jan 21, 2020
2 parents 903ff57 + 81a5204 commit 60d9f15
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions dspace/config/crosswalks/oai/metadataFormats/oai_openaire.xsl
Expand Up @@ -608,7 +608,9 @@
<!-- only consider elements with valid date types -->
<xsl:if test="$dateType != ''">
<datacite:date>
<xsl:attribute name="dateType" select="$dateType"/>
<xsl:attribute name="dateType">
<xsl:value-of select="$dateType"/>
</xsl:attribute>
<xsl:value-of select="./doc:element/doc:field[@name='value']/text()"/>
</datacite:date>
</xsl:if>
Expand Down Expand Up @@ -1534,4 +1536,4 @@
<xsl:template match="text()|@*" mode="entity_author"/>
<xsl:template match="text()|@*" mode="entity_funding"/>

</xsl:stylesheet>
</xsl:stylesheet>

0 comments on commit 60d9f15

Please sign in to comment.