Skip to content

Commit

Permalink
change default behaviour for adding rdf:about attribute to dataset
Browse files Browse the repository at this point in the history
  • Loading branch information
jvanzadelhoff committed Apr 29, 2021
1 parent 0c8929a commit e9fa64d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
.settings
target
*.swp
build.properties
build.properties
.idea/
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@
<oai-pmh.db.item.ckan.TYPE>ckan</oai-pmh.db.item.ckan.TYPE>
<oai-pmh.db.item.ckan.URL>https://localhost:9090</oai-pmh.db.item.ckan.URL>
<oai-pmh.dcatde.contributorID>http:https://dcat-ap.de/def/contributors/gdiDE</oai-pmh.dcatde.contributorID>
<oai-pmh.csw.serviceShowMetadata.URL>https://localhost:8080/inspire/srv/eng/xml_iso19139?uuid=%uid%</oai-pmh.csw.serviceShowMetadata.URL>
<oai-pmh.csw.serviceShowMetadata.URL></oai-pmh.csw.serviceShowMetadata.URL>
<oai-pmh.log.file>/var/log/inspire-bridge/inspire-bridge.log</oai-pmh.log.file>
</properties>
<profiles>
Expand Down
5 changes: 1 addition & 4 deletions src/main/resources/iso2dcat.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -172,10 +172,7 @@
<!-- Concat with identifier -->
<xsl:attribute name="rdf:about"><xsl:value-of select="concat($metadataUri, '#', $identifier)"/></xsl:attribute>
</xsl:when>
<!-- Fallback with service url -->
<xsl:otherwise>
<xsl:attribute name="rdf:about"><xsl:value-of select="concat($CamelHttpUri, '#', $identifier)"/></xsl:attribute>
</xsl:otherwise>
<!-- If no metadataUri is set the attribute rdf:about is not added -->
</xsl:choose>
</xsl:if>
</xsl:template>
Expand Down

0 comments on commit e9fa64d

Please sign in to comment.