From e49ef40281c060cf190a6dbf7aec3a0b597bdf30 Mon Sep 17 00:00:00 2001 From: Francois Prunayre Date: Wed, 13 Nov 2024 11:27:45 +0100 Subject: [PATCH] DCAT / Align with GeoNetwork. Add support for multiple useConstraints. --- .../formatter/dcat/dcat-core-access-and-use.xsl | 15 ++++----------- .../iso19115-3.2018/formatter/dcat/dcat-core.xsl | 8 +++++++- .../formatter/dcat/dcat-variables.xsl | 14 ++++++++++++++ 3 files changed, 25 insertions(+), 12 deletions(-) diff --git a/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/formatter/dcat/dcat-core-access-and-use.xsl b/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/formatter/dcat/dcat-core-access-and-use.xsl index a04bf058096..d86da928861 100644 --- a/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/formatter/dcat/dcat-core-access-and-use.xsl +++ b/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/formatter/dcat/dcat-core-access-and-use.xsl @@ -56,8 +56,8 @@ Usage note: Information about licenses and rights MAY be provided for the Resource. See also guidance at 9. License and rights statements. --> - + match="mdb:identificationInfo/*/mri:resourceConstraints/*"> + @@ -76,18 +76,11 @@ - - - - - - - + + diff --git a/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/formatter/dcat/dcat-core.xsl b/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/formatter/dcat/dcat-core.xsl index daca1b8fa18..ed6a811ecf9 100644 --- a/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/formatter/dcat/dcat-core.xsl +++ b/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/formatter/dcat/dcat-core.xsl @@ -275,9 +275,15 @@ |mri:otherLocale |mdb:defaultLocale |mdb:otherLocale"> + + - + diff --git a/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/formatter/dcat/dcat-variables.xsl b/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/formatter/dcat/dcat-variables.xsl index ae584706bab..037b7f530e8 100644 --- a/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/formatter/dcat/dcat-variables.xsl +++ b/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/formatter/dcat/dcat-variables.xsl @@ -203,4 +203,18 @@ wps zip + + + + nld + ces + deu + ell + fra + ron + slk + isl +