From 9157545afd03cd4882c9cd8e9c83f7a2025d3ff3 Mon Sep 17 00:00:00 2001 From: ByronCinNZ Date: Wed, 16 Aug 2023 09:28:11 +1200 Subject: [PATCH] Create a copy of iso19115-3.2018 to provide a base for GNSS profile. Modify template names to avoid conflicts --- .../ISO19115-3-2014-to-ISO19115-3-2018.xsl | 4 +- .../ISO19139-to-ISO19115-3-2018.xsl | 2 +- schemas/iso19115-3.2018GNSS/README.md | 4 +- schemas/iso19115-3.2018GNSS/pom.xml | 2 +- .../iso19115-3.2018GNSS/extract-relations.xsl | 6 +- .../formatter/citation/base.xsl | 20 ++-- .../formatter/citation/common.xsl | 2 +- .../formatter/citation/view.xsl | 4 +- .../formatter/datacite/view.xsl | 2 +- .../formatter/jsonld/view.xsl | 2 +- .../formatter/xsl-view/view.xsl | 26 ++--- .../index-fields/link-utility.xsl | 8 +- .../layout/config-editor.xml | 28 ++--- .../iso19115-3.2018GNSS/layout/dispatcher.xsl | 6 +- .../iso19115-3.2018GNSS/layout/evaluate.xsl | 4 +- .../layout/layout-custom-fields-contact.xsl | 8 +- .../layout/layout-custom-fields-date.xsl | 10 +- .../layout/layout-custom-fields-keywords.xsl | 18 ++-- .../layout/layout-custom-fields.xsl | 40 +++---- .../iso19115-3.2018GNSS/layout/layout.xsl | 42 ++++---- .../iso19115-3.2018GNSS/layout/tpl-brief.xsl | 101 +++++++++++++----- .../iso19115-3.2018GNSS/layout/tpl-csv.xsl | 4 +- .../iso19115-3.2018GNSS/layout/utility-fn.xsl | 16 +-- .../layout/utility-tpl-multilingual.xsl | 18 ++-- .../layout/utility-tpl.xsl | 8 +- .../layout/utility-vacuum.xsl | 20 ++-- .../iso19115-3.2018GNSS/loc/eng/strings.xml | 4 +- .../present/csw/csw-brief.xsl | 2 +- .../present/csw/csw-full.xsl | 26 ++--- .../present/csw/csw-summary.xsl | 2 +- .../process/add-date-for-status-common.xsl | 12 +-- .../create-featurecatalogue-from-wfs.xsl | 2 +- .../process/dataset-add.xsl | 6 +- .../process/dq-report-add.xsl | 20 ++-- .../process/fcats-file-add.xsl | 6 +- .../process/legend-add.xsl | 2 +- .../process/onlinesrc-add.xsl | 14 +-- .../process/process-utility.xsl | 2 +- .../process/service-add.xsl | 4 +- .../process/thumbnail-add.xsl | 4 +- .../iso19115-3.2018GNSS/schema-ident.xml | 24 ++--- .../update-fixed-info-subtemplate.xsl | 2 +- .../iso19115-3.2018GNSS/update-fixed-info.xsl | 12 +-- .../resources/config-spring-geonetwork.xml | 4 +- 44 files changed, 295 insertions(+), 258 deletions(-) diff --git a/schemas/iso19115-3.2018GNSS/ISO19115-3-2014-to-ISO19115-3-2018.xsl b/schemas/iso19115-3.2018GNSS/ISO19115-3-2014-to-ISO19115-3-2018.xsl index 3b6b594dde1..2bc44e44a17 100644 --- a/schemas/iso19115-3.2018GNSS/ISO19115-3-2014-to-ISO19115-3-2018.xsl +++ b/schemas/iso19115-3.2018GNSS/ISO19115-3-2014-to-ISO19115-3-2018.xsl @@ -1,5 +1,5 @@ - - \ No newline at end of file + + diff --git a/schemas/iso19115-3.2018GNSS/ISO19139-to-ISO19115-3-2018.xsl b/schemas/iso19115-3.2018GNSS/ISO19139-to-ISO19115-3-2018.xsl index 7526569c4ba..957c4652370 100644 --- a/schemas/iso19115-3.2018GNSS/ISO19139-to-ISO19115-3-2018.xsl +++ b/schemas/iso19115-3.2018GNSS/ISO19139-to-ISO19115-3-2018.xsl @@ -1,5 +1,5 @@ - + diff --git a/schemas/iso19115-3.2018GNSS/README.md b/schemas/iso19115-3.2018GNSS/README.md index 8cca89fc2ba..45fbdf25158 100644 --- a/schemas/iso19115-3.2018GNSS/README.md +++ b/schemas/iso19115-3.2018GNSS/README.md @@ -95,7 +95,7 @@ Nevertheless, the citation code is also indexed. ### Validation -Validation steps are first XSD validation made on the schema, then the schematron validation defined in folder [iso19115-3.2018/schematron](https://github.com/geonetwork/core-geonetwork/tree/master/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/schematron). 2 famillies of rules are available: +Validation steps are first XSD validation made on the schema, then the schematron validation defined in folder [iso19115-3.2018GNSS/schematron](https://github.com/geonetwork/core-geonetwork/tree/master/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/schematron). 2 famillies of rules are available: * ISO rules (defined by TC211) * INSPIRE rules @@ -103,7 +103,7 @@ Validation steps are first XSD validation made on the schema, then the schematro ## CSW requests: If requesting using output schema http://www.isotc211.org/2005/gmd an ISO19139 record is returned. -To retrieve the record in ISO19115-3.2018, use http://standards.iso.org/iso/19115/-3/mdb/2.0 output schema. +To retrieve the record in ISO19115-3.2018GNSS, use http://standards.iso.org/iso/19115/-3/mdb/2.0 output schema. ```xml src/test/resources - src/main/plugin/iso19115-3.2018 + src/main/plugin/iso19115-3.2018GNSS diff --git a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/extract-relations.xsl b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/extract-relations.xsl index 3dc412b0423..c4616231b74 100644 --- a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/extract-relations.xsl +++ b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/extract-relations.xsl @@ -9,7 +9,7 @@ xmlns:gco="http://standards.iso.org/iso/19115/-3/gco/1.0" xmlns:gmx="http://standards.iso.org/iso/19115/-3/gmx" xmlns:gn="http://www.fao.org/geonetwork" - xmlns:gn-fn-iso19115-3.2018="http://geonetwork-opensource.org/xsl/functions/profiles/iso19115-3.2018" + xmlns:gn-fn-iso19115-3.2018GNSS="http://geonetwork-opensource.org/xsl/functions/profiles/iso19115-3.2018GNSS" xmlns:mdb="http://standards.iso.org/iso/19115/-3/mdb/2.0" xmlns:lan="http://standards.iso.org/iso/19115/-3/lan/1.0" xmlns:mcc="http://standards.iso.org/iso/19115/-3/mcc/1.0" @@ -30,11 +30,11 @@ - - <xsl:apply-templates mode="get-iso19115-3.2018-localized-string" + <xsl:apply-templates mode="get-iso19115-3.2018GNSS-localized-string" select="mcc:fileDescription"/> thumbnail diff --git a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/formatter/citation/base.xsl b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/formatter/citation/base.xsl index 2408170f582..c83c7532d4c 100644 --- a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/formatter/citation/base.xsl +++ b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/formatter/citation/base.xsl @@ -9,7 +9,7 @@ xmlns:mrd="http://standards.iso.org/iso/19115/-3/mrd/1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xlink="http://www.w3.org/1999/xlink" - xmlns:gn-fn-iso19115-3.2018="http://geonetwork-opensource.org/xsl/functions/profiles/iso19115-3.2018" + xmlns:gn-fn-iso19115-3.2018GNSS="http://geonetwork-opensource.org/xsl/functions/profiles/iso19115-3.2018GNSS" xmlns:saxon="http://saxon.sf.net/" extension-element-prefixes="saxon" exclude-result-prefixes="#all"> @@ -18,12 +18,12 @@ - + + select="gn-fn-iso19115-3.2018GNSS:getLangId($metadata, $language)"/> - + ( - + @@ -59,7 +59,7 @@ - + @@ -99,13 +99,13 @@ select=".//cit:individual/*/cit:name[1]"/> - + ( - + @@ -144,7 +144,7 @@ - + @@ -153,7 +153,7 @@ - + diff --git a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/formatter/citation/common.xsl b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/formatter/citation/common.xsl index f19dcab474e..114f6bd07d9 100644 --- a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/formatter/citation/common.xsl +++ b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/formatter/citation/common.xsl @@ -6,7 +6,7 @@ xmlns:util="java:org.fao.geonet.util.XslUtil" xmlns:tr="java:org.fao.geonet.api.records.formatters.SchemaLocalizations" xmlns:gn-fn-render="http://geonetwork-opensource.org/xsl/functions/render" - xmlns:gn-fn-iso19115-3.2018="http://geonetwork-opensource.org/xsl/functions/profiles/iso19115-3.2018" + xmlns:gn-fn-iso19115-3.2018GNSS="http://geonetwork-opensource.org/xsl/functions/profiles/iso19115-3.2018GNSS" xmlns:gn-fn-metadata="http://geonetwork-opensource.org/xsl/functions/metadata" xmlns:saxon="http://saxon.sf.net/" extension-element-prefixes="saxon" diff --git a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/formatter/citation/view.xsl b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/formatter/citation/view.xsl index 58ea8f7bb40..1df7dcc3035 100644 --- a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/formatter/citation/view.xsl +++ b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/formatter/citation/view.xsl @@ -8,7 +8,7 @@ xmlns:mri="http://standards.iso.org/iso/19115/-3/mri/1.0" xmlns:mrd="http://standards.iso.org/iso/19115/-3/mrd/1.0" xmlns:xlink="http://www.w3.org/1999/xlink" - xmlns:gn-fn-iso19115-3.2018="http://geonetwork-opensource.org/xsl/functions/profiles/iso19115-3.2018" + xmlns:gn-fn-iso19115-3.2018GNSS="http://geonetwork-opensource.org/xsl/functions/profiles/iso19115-3.2018GNSS" xmlns:saxon="http://saxon.sf.net/" extension-element-prefixes="saxon" exclude-result-prefixes="#all"> @@ -25,7 +25,7 @@ - + diff --git a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/formatter/datacite/view.xsl b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/formatter/datacite/view.xsl index cb757e26d1b..33d8420e049 100644 --- a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/formatter/datacite/view.xsl +++ b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/formatter/datacite/view.xsl @@ -21,7 +21,7 @@ ~ Contact: Jeroen Ticheler - FAO - Viale delle Terme di Caracalla 2, ~ Rome - Italy. email: geonetwork@osgeo.org --> - +
diff --git a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/index-fields/link-utility.xsl b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/index-fields/link-utility.xsl index c6695bce12f..ba4f27292db 100644 --- a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/index-fields/link-utility.xsl +++ b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/index-fields/link-utility.xsl @@ -12,7 +12,7 @@ - + - <xsl:apply-templates mode="get-iso19115-3.2018-localized-string" + <xsl:apply-templates mode="get-iso19115-3.2018GNSS-localized-string" select="cit:name"/> - @@ -56,7 +56,7 @@ - diff --git a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/layout/config-editor.xml b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/layout/config-editor.xml index 6839db0d933..e5d20bb195d 100644 --- a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/layout/config-editor.xml +++ b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/layout/config-editor.xml @@ -150,7 +150,7 @@ use the following configuration: data-filter='{"root": "gmd:CI_ResponsibleParty"}' data-variables="gmd:role/gmd:CI_RoleCode/@codeListValue~{role}" - data-transformation="contact-from-iso19139-to-iso19115-3.2018"/> + data-transformation="contact-from-iso19139-to-iso19115-3.2018GNSS"/> --> - - - - + + + + @@ -1055,10 +1055,10 @@ - - - - + + + + @@ -1101,7 +1101,7 @@
+ mode="iso19115-3.2018GNSS-qm"/>
--> @@ -1160,9 +1160,9 @@ in="/mdb:MD_Metadata"/> - - - + + + diff --git a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/layout/dispatcher.xsl b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/layout/dispatcher.xsl index 8958e9fcfdc..18e540e3739 100644 --- a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/layout/dispatcher.xsl +++ b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/layout/dispatcher.xsl @@ -29,19 +29,19 @@ Load the schema configuration for the editor. Same configuration as ISO19139 here. --> - + - + - + diff --git a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/layout/evaluate.xsl b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/layout/evaluate.xsl index 97ce0b28d43..1e0b02b6266 100644 --- a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/layout/evaluate.xsl +++ b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/layout/evaluate.xsl @@ -33,7 +33,7 @@ - + - + diff --git a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/layout/layout-custom-fields-contact.xsl b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/layout/layout-custom-fields-contact.xsl index 002664ae23b..164a00c3526 100644 --- a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/layout/layout-custom-fields-contact.xsl +++ b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/layout/layout-custom-fields-contact.xsl @@ -32,21 +32,21 @@ ``` --> - + - + - + - diff --git a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/layout/layout-custom-fields-date.xsl b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/layout/layout-custom-fields-date.xsl index fe766297a92..93c627c3674 100644 --- a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/layout/layout-custom-fields-date.xsl +++ b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/layout/layout-custom-fields-date.xsl @@ -43,23 +43,23 @@ Swallow the complex element having CI_Date to simplify the editor for dates --> - + - + - + - @@ -134,7 +134,7 @@ Date with not date type. eg. cit:editionDate --> - diff --git a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/layout/layout-custom-fields-keywords.xsl b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/layout/layout-custom-fields-keywords.xsl index 739222a33a5..0e2b040df5d 100644 --- a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/layout/layout-custom-fields-keywords.xsl +++ b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/layout/layout-custom-fields-keywords.xsl @@ -24,7 +24,7 @@ the advanced editor which provides easy selection of keywords. --> - @@ -100,7 +100,7 @@ - + @@ -117,7 +117,7 @@ - + @@ -130,7 +130,7 @@ - + + else 'to-iso19115-3.2018GNSS-keyword,to-iso19115-3.2018-keyword-with-anchor,to-iso19115-3.2018-keyword-as-xlink'"/> + then 'to-iso19115-3.2018GNSS-keyword-with-anchor' + else 'to-iso19115-3.2018GNSS-keyword'"/> @@ -265,7 +265,7 @@ - +
diff --git a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/layout/layout-custom-fields.xsl b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/layout/layout-custom-fields.xsl index f4eae6b607d..ab6e0ece83e 100644 --- a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/layout/layout-custom-fields.xsl +++ b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/layout/layout-custom-fields.xsl @@ -19,7 +19,7 @@ - - @@ -105,23 +105,23 @@ - - - - - @@ -141,7 +141,7 @@ - + @@ -192,7 +192,7 @@ - - @@ -266,7 +266,7 @@ - @@ -292,7 +292,7 @@ - @@ -330,10 +330,10 @@ - - + @@ -341,17 +341,17 @@ Display contact as table when mode is flat (eg. simple view) or if using xsl mode Match first node (or added one) --> - - + - - + diff --git a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/layout/layout.xsl b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/layout/layout.xsl index 6fedcd7ccf7..1dd6d304538 100644 --- a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/layout/layout.xsl +++ b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/layout/layout.xsl @@ -26,7 +26,7 @@ xmlns:gn="http://www.fao.org/geonetwork" xmlns:gn-fn-core="http://geonetwork-opensource.org/xsl/functions/core" xmlns:gn-fn-metadata="http://geonetwork-opensource.org/xsl/functions/metadata" - xmlns:gn-fn-iso19115-3.2018="http://geonetwork-opensource.org/xsl/functions/profiles/iso19115-3.2018" + xmlns:gn-fn-iso19115-3.2018GNSS="http://geonetwork-opensource.org/xsl/functions/profiles/iso19115-3.2018GNSS" exclude-result-prefixes="#all"> @@ -37,7 +37,7 @@ - @@ -45,7 +45,7 @@ - + @@ -53,13 +53,13 @@ - + - + @@ -139,7 +139,7 @@ * and gmd:*: Match all elements having gmd child elements * and not(gco:CharacterString): Don't take into account those having gco:CharacterString (eg. multilingual elements) --> - + @@ -199,7 +199,7 @@ - + select="gn-fn-iso19115-3.2018GNSS:isNotMultilingualField(., $editorConfig)"/> @@ -418,7 +418,7 @@ - @@ -450,7 +450,7 @@ - @@ -486,10 +486,10 @@ - @@ -519,7 +519,7 @@ - + @@ -543,7 +543,7 @@ - @@ -574,15 +574,15 @@ - - - @@ -595,7 +595,7 @@ select="gn-fn-metadata:getLabel($schema, name(), $labels, name(..), '', '')"/> - + - + - + diff --git a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/layout/tpl-brief.xsl b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/layout/tpl-brief.xsl index f571354d970..071ef2b24e4 100644 --- a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/layout/tpl-brief.xsl +++ b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/layout/tpl-brief.xsl @@ -1,41 +1,90 @@ + xmlns:srv="http://standards.iso.org/iso/19115/-3/srv/2.1" + xmlns:mds="http://standards.iso.org/iso/19115/-3/mds/2.0" + xmlns:mcc="http://standards.iso.org/iso/19115/-3/mcc/1.0" + xmlns:mri="http://standards.iso.org/iso/19115/-3/mri/1.0" + xmlns:mrs="http://standards.iso.org/iso/19115/-3/mrs/1.0" + xmlns:mrd="http://standards.iso.org/iso/19115/-3/mrd/1.0" + xmlns:mco="http://standards.iso.org/iso/19115/-3/mco/1.0" + xmlns:msr="http://standards.iso.org/iso/19115/-3/msr/2.0" + xmlns:lan="http://standards.iso.org/iso/19115/-3/lan/1.0" + xmlns:gcx="http://standards.iso.org/iso/19115/-3/gcx/1.0" + xmlns:gex="http://standards.iso.org/iso/19115/-3/gex/1.0" + xmlns:dqm="http://standards.iso.org/iso/19157/-2/dqm/1.0" + xmlns:cit="http://standards.iso.org/iso/19115/-3/cit/2.0" + xmlns:mdb="http://standards.iso.org/iso/19115/-3/mdb/2.0" + xmlns:gco="http://standards.iso.org/iso/19115/-3/gco/1.0" + xmlns:gn="http://www.fao.org/geonetwork" + xmlns:gn-fn-core="http://geonetwork-opensource.org/xsl/functions/core" + xmlns:gn-fn-iso19139="http://geonetwork-opensource.org/xsl/functions/profiles/iso19139" + xmlns:xs="http://www.w3.org/2001/XMLSchema" exclude-result-prefixes="#all" version="2.0"> - - - - + + + + + + + + + + <xsl:apply-templates mode="localised" + select="mdb:identificationInfo/*/mri:citation/*/cit:title"> + <xsl:with-param name="langId" select="$langId"/> + </xsl:apply-templates> + + + + + + - - + - + + + + + + + + + + + <xsl:apply-templates mode="localised" + select="mdb:identificationInfo/*/mri:citation/*/cit:title"> + <xsl:with-param name="langId" select="$langId"/> + </xsl:apply-templates> + + + + + + + + + + + + + + + + + + + diff --git a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/layout/tpl-csv.xsl b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/layout/tpl-csv.xsl index 74df52a8a51..2ebb5c250af 100644 --- a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/layout/tpl-csv.xsl +++ b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/layout/tpl-csv.xsl @@ -18,7 +18,7 @@ xmlns:gco="http://standards.iso.org/iso/19115/-3/gco/1.0" xmlns:gn="http://www.fao.org/geonetwork" xmlns:gn-fn-core="http://geonetwork-opensource.org/xsl/functions/core" - xmlns:gn-fn-iso19115-3.2018="http://geonetwork-opensource.org/xsl/functions/profiles/iso19115-3.2018" + xmlns:gn-fn-iso19115-3.2018GNSS="http://geonetwork-opensource.org/xsl/functions/profiles/iso19115-3.2018GNSS" xmlns:xs="http://www.w3.org/2001/XMLSchema" exclude-result-prefixes="#all" version="2.0"> @@ -28,7 +28,7 @@ - + diff --git a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/layout/utility-fn.xsl b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/layout/utility-fn.xsl index ca10e621241..37a9963ece0 100644 --- a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/layout/utility-fn.xsl +++ b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/layout/utility-fn.xsl @@ -5,12 +5,12 @@ xmlns:gco="http://standards.iso.org/iso/19115/-3/gco/1.0" xmlns:cit="http://standards.iso.org/iso/19115/-3/cit/2.0" xmlns:mcc="http://standards.iso.org/iso/19115/-3/mcc/1.0" - xmlns:gn-fn-iso19115-3.2018="http://geonetwork-opensource.org/xsl/functions/profiles/iso19115-3.2018" + xmlns:gn-fn-iso19115-3.2018GNSS="http://geonetwork-opensource.org/xsl/functions/profiles/iso19115-3.2018GNSS" xmlns:gn-fn-metadata="http://geonetwork-opensource.org/xsl/functions/metadata" exclude-result-prefixes="#all"> - + @@ -37,7 +37,7 @@ parameter. If not found, return the lang parameter prefixed by #. --> - + @@ -57,7 +57,7 @@ - + @@ -68,7 +68,7 @@ - + @@ -136,15 +136,15 @@ split on 2 chars to get language code and get string from the 4 position to get the value. --> - + - + - + diff --git a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/layout/utility-tpl-multilingual.xsl b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/layout/utility-tpl-multilingual.xsl index 04a62f580c8..b35aaad6ab2 100644 --- a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/layout/utility-tpl-multilingual.xsl +++ b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/layout/utility-tpl-multilingual.xsl @@ -9,13 +9,13 @@ exclude-result-prefixes="#all"> - + - + @@ -28,7 +28,7 @@ - + - + - + @@ -80,7 +80,7 @@ are reported with an xml:lang attribute indicating the language of the text. --> - @@ -121,11 +121,11 @@ - + - + @@ -136,7 +136,7 @@ if not return the lang iso3code in uper case. --> - + diff --git a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/layout/utility-tpl.xsl b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/layout/utility-tpl.xsl index 59a5bfde479..65b071b7ab5 100644 --- a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/layout/utility-tpl.xsl +++ b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/layout/utility-tpl.xsl @@ -25,12 +25,12 @@ - + - + [ + [ + - + - - @@ -42,10 +42,10 @@ - + select="gn-fn-iso19115-3.2018GNSS:isElementOrChildEmpty(.)"/> @@ -55,7 +55,7 @@ - @@ -65,14 +65,14 @@ - diff --git a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/loc/eng/strings.xml b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/loc/eng/strings.xml index be63868fc76..59f36287fbc 100644 --- a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/loc/eng/strings.xml +++ b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/loc/eng/strings.xml @@ -41,8 +41,8 @@ Metadata !-- Added ICMS element names BC 20-07-23 --> - ICSM - General Info + GNSS + Basic Info Dates Metadata Content diff --git a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/present/csw/csw-brief.xsl b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/present/csw/csw-brief.xsl index 2feea3045d6..ae6d655ef46 100644 --- a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/present/csw/csw-brief.xsl +++ b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/present/csw/csw-brief.xsl @@ -27,7 +27,7 @@ - + diff --git a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/present/csw/csw-full.xsl b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/present/csw/csw-full.xsl index 02361c57fc6..584ea972eed 100644 --- a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/present/csw/csw-full.xsl +++ b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/present/csw/csw-full.xsl @@ -30,7 +30,7 @@ - + @@ -56,7 +56,7 @@ - + @@ -65,7 +65,7 @@ - + @@ -74,7 +74,7 @@ - + @@ -106,7 +106,7 @@ - + @@ -114,7 +114,7 @@ - + @@ -122,7 +122,7 @@ - + @@ -133,12 +133,12 @@ - + - + @@ -154,7 +154,7 @@ - + @@ -171,7 +171,7 @@ - + @@ -246,7 +246,7 @@ - + @@ -256,7 +256,7 @@ - + diff --git a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/present/csw/csw-summary.xsl b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/present/csw/csw-summary.xsl index cb9d87c77e2..e34a53df827 100644 --- a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/present/csw/csw-summary.xsl +++ b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/present/csw/csw-summary.xsl @@ -27,7 +27,7 @@ - + diff --git a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/process/add-date-for-status-common.xsl b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/process/add-date-for-status-common.xsl index 303c5252a79..89b9f27b2a0 100644 --- a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/process/add-date-for-status-common.xsl +++ b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/process/add-date-for-status-common.xsl @@ -10,11 +10,11 @@ - - - - - + + + + + @@ -84,7 +84,7 @@ true { - "dateTypeForStatus":{"type":"codelist", "codelist": "", "defaultValue":""}, + "dateTypeForStatus":{"type":"codelist", "codelist": "", "defaultValue":""}, "dateValueForStatus":{"type":"string", "defaultValue":""} } diff --git a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/process/create-featurecatalogue-from-wfs.xsl b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/process/create-featurecatalogue-from-wfs.xsl index d7d85388cf7..eb21ea96317 100644 --- a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/process/create-featurecatalogue-from-wfs.xsl +++ b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/process/create-featurecatalogue-from-wfs.xsl @@ -120,7 +120,7 @@ mdb:metadataExtensionInfo| mdb:identificationInfo"/> - + @@ -214,7 +214,7 @@ a coupledResource reference. + select="gn-fn-iso19115-3.2018GNSS:fillTextElement($url, $mainLang, $useOnlyPTFreeText)"/> @@ -235,7 +235,7 @@ a coupledResource reference. + select="gn-fn-iso19115-3.2018GNSS:fillTextElement($url, $mainLang, $useOnlyPTFreeText)"/> diff --git a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/process/dq-report-add.xsl b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/process/dq-report-add.xsl index 4fcd563907d..f081cab569a 100644 --- a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/process/dq-report-add.xsl +++ b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/process/dq-report-add.xsl @@ -35,7 +35,7 @@ xmlns:gcx="http://standards.iso.org/iso/19115/-3/gcx/1.0" xmlns:gn="http://www.fao.org/geonetwork" xmlns:xs="http://www.w3.org/2001/XMLSchema" - xmlns:gn-fn-iso19115-3.2018="http://geonetwork-opensource.org/xsl/functions/profiles/iso19115-3.2018" + xmlns:gn-fn-iso19115-3.2018GNSS="http://geonetwork-opensource.org/xsl/functions/profiles/iso19115-3.2018GNSS" exclude-result-prefixes="#all"> @@ -220,12 +220,12 @@ - + - + @@ -233,7 +233,7 @@ - + @@ -261,12 +261,12 @@ - + - + @@ -274,7 +274,7 @@ - + @@ -292,19 +292,19 @@ - + - + WWW:LINK - + diff --git a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/process/fcats-file-add.xsl b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/process/fcats-file-add.xsl index e0b8393ef72..8c5815aa05d 100644 --- a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/process/fcats-file-add.xsl +++ b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/process/fcats-file-add.xsl @@ -33,7 +33,7 @@ xmlns:gcx="http://standards.iso.org/iso/19115/-3/gcx/1.0" xmlns:gn="http://www.fao.org/geonetwork" xmlns:xs="http://www.w3.org/2001/XMLSchema" - xmlns:gn-fn-iso19115-3.2018="http://geonetwork-opensource.org/xsl/functions/profiles/iso19115-3.2018" + xmlns:gn-fn-iso19115-3.2018GNSS="http://geonetwork-opensource.org/xsl/functions/profiles/iso19115-3.2018GNSS" exclude-result-prefixes="#all"> @@ -106,12 +106,12 @@ - + - + diff --git a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/process/legend-add.xsl b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/process/legend-add.xsl index d7ca870314e..ee10a2240eb 100644 --- a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/process/legend-add.xsl +++ b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/process/legend-add.xsl @@ -34,7 +34,7 @@ xmlns:gcx="http://standards.iso.org/iso/19115/-3/gcx/1.0" xmlns:gn="http://www.fao.org/geonetwork" xmlns:xs="http://www.w3.org/2001/XMLSchema" - xmlns:gn-fn-iso19115-3.2018="http://geonetwork-opensource.org/xsl/functions/profiles/iso19115-3.2018" + xmlns:gn-fn-iso19115-3.2018="http://geonetwork-opensource.org/xsl/functions/profiles/iso19115-3.2018GNSS" exclude-result-prefixes="#all"> diff --git a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/process/onlinesrc-add.xsl b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/process/onlinesrc-add.xsl index 61ee24404dd..336984d69f8 100644 --- a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/process/onlinesrc-add.xsl +++ b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/process/onlinesrc-add.xsl @@ -10,7 +10,7 @@ xmlns:gcx="http://standards.iso.org/iso/19115/-3/gcx/1.0" xmlns:gn="http://www.fao.org/geonetwork" xmlns:xs="http://www.w3.org/2001/XMLSchema" - xmlns:gn-fn-iso19115-3.2018="http://geonetwork-opensource.org/xsl/functions/profiles/iso19115-3.2018" + xmlns:gn-fn-iso19115-3.2018GNSS="http://geonetwork-opensource.org/xsl/functions/profiles/iso19115-3.2018GNSS" exclude-result-prefixes="#all"> @@ -177,7 +177,7 @@ - + @@ -198,14 +198,14 @@ - + - + @@ -223,7 +223,7 @@ - + @@ -242,13 +242,13 @@ - + - + diff --git a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/process/process-utility.xsl b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/process/process-utility.xsl index 9eab08dad3c..b46e4728b95 100644 --- a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/process/process-utility.xsl +++ b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/process/process-utility.xsl @@ -39,7 +39,7 @@ - + diff --git a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/process/service-add.xsl b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/process/service-add.xsl index 7404e18fc3b..e29d143c10a 100644 --- a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/process/service-add.xsl +++ b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/process/service-add.xsl @@ -1,5 +1,5 @@ - @@ -13,7 +13,7 @@ by adding a reference to the distribution section. xmlns:lan="http://standards.iso.org/iso/19115/-3/lan/1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:gn-fn-iso19115-3.2018="http://geonetwork-opensource.org/xsl/functions/profiles/iso19115-3" + xmlns:gn-fn-iso19115-3.2018GNSS="http://geonetwork-opensource.org/xsl/functions/profiles/iso19115-3" xmlns:gn="http://www.fao.org/geonetwork" exclude-result-prefixes="#all"> diff --git a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/process/thumbnail-add.xsl b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/process/thumbnail-add.xsl index b27471feb37..851d8e27beb 100644 --- a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/process/thumbnail-add.xsl +++ b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/process/thumbnail-add.xsl @@ -8,7 +8,7 @@ xmlns:mdb="http://standards.iso.org/iso/19115/-3/mdb/2.0" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:gn="http://www.fao.org/geonetwork" - xmlns:gn-fn-iso19115-3.2018="http://geonetwork-opensource.org/xsl/functions/profiles/iso19115-3.2018" + xmlns:gn-fn-iso19115-3.2018GNSS="http://geonetwork-opensource.org/xsl/functions/profiles/iso19115-3.2018GNSS:" exclude-result-prefixes="#all" version="2.0"> @@ -133,7 +133,7 @@ + select="gn-fn-iso19115-3.2018GNSS::fillTextElement($thumbnail_desc, $mainLang, $useOnlyPTFreeText)"/> diff --git a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/schema-ident.xml b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/schema-ident.xml index 69d47fb7380..306de3b070e 100644 --- a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/schema-ident.xml +++ b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/schema-ident.xml @@ -38,7 +38,7 @@ More information: - `Using the latest ISO Standard for Geographic Information (ISO19115-1) for an INSPIRE Discovery Service `_ -This standard is maintained on https://github.com/metadata101/iso19115-3.2018 +This standard is maintained on https://github.com/metadata101/iso19115-3.2018GNSS and is available by default in GeoNetwork 3.8+. The TC211 is maintaining the XSD for this standard on https://github.com/ISO-TC211/XML. @@ -77,24 +77,12 @@ Ce schéma est également composé des normes : http://www.iso.org/iso/fr/home/store/catalogue_tc/catalogue_detail.htm?csnumber=32579 http://standards.iso.org/iso/19115/-3/mdb/2.0 https://schemas.isotc211.org/19115/-3/mdb/2.0/mdb.xsd - - + - + GNSSMetadataProfile_v3 diff --git a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/update-fixed-info-subtemplate.xsl b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/update-fixed-info-subtemplate.xsl index 79cc61e11bb..3b11d1d1879 100644 --- a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/update-fixed-info-subtemplate.xsl +++ b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/update-fixed-info-subtemplate.xsl @@ -39,7 +39,7 @@ xmlns:mdq="http://standards.iso.org/iso/19157/-2/mdq/1.0" xmlns:gfc="http://standards.iso.org/iso/19110/gfc/1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xmlns:gn-fn-iso19115-3.2018="http://geonetwork-opensource.org/xsl/functions/profiles/iso19115-3.2018" + xmlns:gn-fn-iso19115-3.2018GNSS="http://geonetwork-opensource.org/xsl/functions/profiles/iso19115-3.2018GNSS" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:saxon="http://saxon.sf.net/" diff --git a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/update-fixed-info.xsl b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/update-fixed-info.xsl index 249cff44005..a7dfd9f080c 100644 --- a/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/update-fixed-info.xsl +++ b/schemas/iso19115-3.2018GNSS/src/main/plugin/iso19115-3.2018GNSS/update-fixed-info.xsl @@ -17,7 +17,7 @@ xmlns:mdq="http://standards.iso.org/iso/19157/-2/mdq/1.0" xmlns:gfc="http://standards.iso.org/iso/19110/gfc/1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xmlns:gn-fn-iso19115-3.2018="http://geonetwork-opensource.org/xsl/functions/profiles/iso19115-3.2018" + xmlns:gn-fn-iso19115-3.2018GNSS="http://geonetwork-opensource.org/xsl/functions/profiles/iso19115-3.2018GNSS" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:java="java:org.fao.geonet.util.XslUtil" @@ -74,7 +74,7 @@ - + @@ -128,12 +128,12 @@ or (/root/env/createDate != '' and /root/env/newRecord = 'true')"> - + - + @@ -144,7 +144,7 @@ - + + select="gn-fn-iso19115-3.2018GNSS:isNotMultilingualField(., $editorConfig)"/> - @@ -16,7 +16,7 @@ When using a custom parent relation mechanism, the editor needs to be updated in order to create the proper link (instead of the default parentMetadata mode). See web-ui/src/main/resources/catalog/components/edit/onlinesrc/partials/onlinesrcList.html -