Skip to content

Commit

Permalink
Standards / ISO / Formatters / DCAT / Update SEMICeu conversion - mor…
Browse files Browse the repository at this point in the history
…e robust on CRS.
  • Loading branch information
fxprunayre committed May 16, 2024
1 parent 6a3b7dc commit fe54f4a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
xmlns:xlink = "http://www.w3.org/1999/xlink"
xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsl = "http://www.w3.org/1999/XSL/Transform"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
exclude-result-prefixes="earl gco gmd gml gmx i i-gp srv xlink xsi xsl wdrs"
version="2.0">

Expand Down Expand Up @@ -4004,7 +4005,7 @@
</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)))">
<geodcatap:referenceSystem>
<rdf:Description rdf:about="{$EpsgSrsBaseUri}/{$code}">
<rdf:type rdf:resource="{$dct}Standard"/>
Expand Down

0 comments on commit fe54f4a

Please sign in to comment.