From 27bc902277aa7dae5ca8cf4c765f2812652a97bd Mon Sep 17 00:00:00 2001 From: WANGF Date: Thu, 7 Mar 2024 21:45:57 -0500 Subject: [PATCH 1/2] online resource language and its validation --- .../process/onlinesrc-add.xsl | 10 ++++++++-- .../schematron/schematron-rules-common.sch | 19 +++++++++++-------- 2 files changed, 19 insertions(+), 10 deletions(-) diff --git a/src/main/plugin/iso19139.ca.HNAP/process/onlinesrc-add.xsl b/src/main/plugin/iso19139.ca.HNAP/process/onlinesrc-add.xsl index f4914eea..284674e1 100644 --- a/src/main/plugin/iso19139.ca.HNAP/process/onlinesrc-add.xsl +++ b/src/main/plugin/iso19139.ca.HNAP/process/onlinesrc-add.xsl @@ -178,9 +178,12 @@ Insert is made in first transferOptions found. + + + - + @@ -371,9 +374,12 @@ Insert is made in first transferOptions found. + + + - + diff --git a/src/main/plugin/iso19139.ca.HNAP/schematron/schematron-rules-common.sch b/src/main/plugin/iso19139.ca.HNAP/schematron/schematron-rules-common.sch index 0708a93c..0b3e9f61 100644 --- a/src/main/plugin/iso19139.ca.HNAP/schematron/schematron-rules-common.sch +++ b/src/main/plugin/iso19139.ca.HNAP/schematron/schematron-rules-common.sch @@ -517,17 +517,20 @@ - + + + - $loc/strings/MapResourcesRESTNumber - $loc/strings/MapResourcesREST + $loc/strings/MapResourcesREST + $loc/strings/MapResourcesRESTNumber - - $loc/strings/MapResourcesWMSNumber - $loc/strings/MapResourcesWMS + + + + + $loc/strings/MapResourcesWMS + $loc/strings/MapResourcesWMSNumber From 8e0bf7ff4ef4bb26f1e2720da161ca0494dac268 Mon Sep 17 00:00:00 2001 From: WANGF Date: Mon, 25 Mar 2024 12:50:27 -0400 Subject: [PATCH 2/2] parsing main language description --- .../plugin/iso19139.ca.HNAP/process/onlinesrc-add.xsl | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/main/plugin/iso19139.ca.HNAP/process/onlinesrc-add.xsl b/src/main/plugin/iso19139.ca.HNAP/process/onlinesrc-add.xsl index 284674e1..619b17fd 100644 --- a/src/main/plugin/iso19139.ca.HNAP/process/onlinesrc-add.xsl +++ b/src/main/plugin/iso19139.ca.HNAP/process/onlinesrc-add.xsl @@ -178,12 +178,11 @@ Insert is made in first transferOptions found. - - + - + @@ -374,12 +373,11 @@ Insert is made in first transferOptions found. - - + - +