Skip to content

Commit

Permalink
CSW / DCAT-AP / Add SEMICeu conversion / Rename file.
Browse files Browse the repository at this point in the history
  • Loading branch information
fxprunayre committed Sep 7, 2023
1 parent dc9ed41 commit ef3b89d
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public class ISO19115_3_2018SchemaPlugin
.put("csw:Record", Namespace.getNamespace("csw", "http://www.opengis.net/cat/csw/2.0.2"))
.put("mdb:MD_Metadata", Namespace.getNamespace("mdb", "http://standards.iso.org/iso/19115/-3/mdb/2.0"))
.put("gmd:MD_Metadata", Namespace.getNamespace("gmd", "http://www.isotc211.org/2005/gmd"))
.put("dcat-ap", Namespace.getNamespace("dcatap", "http://data.europa.eu/930/"))
.put("dcat-ap", Namespace.getNamespace("geodcatap", "http://data.europa.eu/930/"))
.build();

allExportFormats = ImmutableMap.<String, String>builder()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@
-->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="2.0">
<xsl:import href="dcatap-full.xsl"/>
<xsl:import href="geodcatap-full.xsl"/>
</xsl:stylesheet>
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:gmd="http://www.isotc211.org/2005/gmd"
version="2.0">
<xsl:import href="../../../iso19139/present/csw/dcatap-full.xsl"/>
<xsl:import href="../../../iso19139/present/csw/geodcatap-full.xsl"/>
<xsl:import href="../../convert/ISO19139/toISO19139.xsl"/>

<xsl:output method="xml"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@
-->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="2.0">
<xsl:import href="dcatap-full.xsl"/>
<xsl:import href="geodcatap-full.xsl"/>
</xsl:stylesheet>
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public class ISO19139SchemaPlugin
.put("csw:Record", Namespace.getNamespace("csw", "http://www.opengis.net/cat/csw/2.0.2"))
.put("gmd:MD_Metadata", GMD)
.put("dcat", Namespace.getNamespace("dcat", "http://www.w3.org/ns/dcat#"))
.put("dcat-ap", Namespace.getNamespace("dcatap", "http://data.europa.eu/930/"))
.put("dcat-ap", Namespace.getNamespace("geodcatap", "http://data.europa.eu/930/"))
.build();

allExportFormats = ImmutableMap.<String, String>builder()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@
-->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="2.0">
<xsl:import href="dcatap-full.xsl"/>
<xsl:import href="geodcatap-full.xsl"/>
</xsl:stylesheet>
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@
xmlns:vcard = "http://www.w3.org/2006/vcard/ns#"
xmlns:wdrs = "http://www.w3.org/2007/05/powder-s#"
xmlns:xlink = "http://www.w3.org/1999/xlink"
xmlns:xs = "http://www.w3.org/2001/XMLSchema"
xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsl = "http://www.w3.org/1999/XSL/Transform"
exclude-result-prefixes="#all"
Expand Down Expand Up @@ -4026,7 +4027,8 @@
</xsl:when>
<xsl:otherwise>
<xsl:choose>
<xsl:when test="$code = number($code) and (translate($codespace,$uppercase,$lowercase) = 'epsg' or starts-with(translate($codespace,$uppercase,$lowercase),translate($EpsgSrsBaseUrn,$uppercase,$lowercase)))">
<xsl:when test="$code castable as xs:double and $code = number($code) and (translate($codespace,$uppercase,$lowercase) = 'epsg'
or starts-with(translate($codespace,$uppercase,$lowercase),translate($EpsgSrsBaseUrn,$uppercase,$lowercase)))">
<dct:conformsTo>
<rdf:Description rdf:about="{$EpsgSrsBaseUri}/{$code}">
<rdf:type rdf:resource="{$dct}Standard"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@
-->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="2.0">
<xsl:import href="dcatap-full.xsl"/>
<xsl:import href="geodcatap-full.xsl"/>
</xsl:stylesheet>

0 comments on commit ef3b89d

Please sign in to comment.