From 109ed0d386713d25bb32d745e8398b378f307c43 Mon Sep 17 00:00:00 2001 From: Francois Prunayre Date: Fri, 6 Sep 2024 12:20:16 +0200 Subject: [PATCH] Metawal / CSW / Migrate namespace to 2.0 https://github.com/SPW-DIG/metawal-core-geonetwork/issues/900. --- .../iso19115-3.2018/present/csw/mw-brief.xsl | 23 ------------------- .../present/csw/mw-summary.xsl | 23 ------------------- .../present/csw/{mw-full.xsl => mw.xsl} | 6 ++--- 3 files changed, 3 insertions(+), 49 deletions(-) delete mode 100644 schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/present/csw/mw-brief.xsl delete mode 100644 schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/present/csw/mw-summary.xsl rename schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/present/csw/{mw-full.xsl => mw.xsl} (99%) diff --git a/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/present/csw/mw-brief.xsl b/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/present/csw/mw-brief.xsl deleted file mode 100644 index f64db528f16..00000000000 --- a/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/present/csw/mw-brief.xsl +++ /dev/null @@ -1,23 +0,0 @@ - - - - - diff --git a/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/present/csw/mw-summary.xsl b/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/present/csw/mw-summary.xsl deleted file mode 100644 index 89d10c2b597..00000000000 --- a/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/present/csw/mw-summary.xsl +++ /dev/null @@ -1,23 +0,0 @@ - - - - - diff --git a/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/present/csw/mw-full.xsl b/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/present/csw/mw.xsl similarity index 99% rename from schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/present/csw/mw-full.xsl rename to schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/present/csw/mw.xsl index a758cd80d88..c614a618545 100644 --- a/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/present/csw/mw-full.xsl +++ b/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/present/csw/mw.xsl @@ -10,11 +10,10 @@ xmlns:gcx="http://standards.iso.org/iso/19115/-3/gcx/1.0" xmlns:mdb="http://standards.iso.org/iso/19115/-3/mdb/2.0" xmlns:mri="http://standards.iso.org/iso/19115/-3/mri/1.0" - xmlns:srv115-3="http://standards.iso.org/iso/19115/-3/srv/2.1" xmlns:mco="http://standards.iso.org/iso/19115/-3/mco/1.0" xmlns:cit="http://standards.iso.org/iso/19115/-3/cit/2.0" xmlns:lan="http://standards.iso.org/iso/19115/-3/lan/1.0" - xmlns:srv2="http://standards.iso.org/iso/19115/-3/srv/2.1" + xmlns:srv2="http://standards.iso.org/iso/19115/-3/srv/2.0" xmlns:mrs="http://standards.iso.org/iso/19115/-3/mrs/1.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:util="java:org.fao.geonet.util.XslUtil" @@ -37,7 +36,7 @@ select="count(//mco:otherConstraints/*[@xlink:href]) > 0"/> + select="count(//srv2:SV_ServiceIdentification) > 0"/> @@ -218,6 +217,7 @@ select="document($apiUrlRelated)"/> +