From 85aeb8ebb04c40965ba9acf6630fb6d2865b2ae4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jose=20Garc=C3=ADa?= Date: Wed, 2 Feb 2022 18:17:31 +0100 Subject: [PATCH] Include the resource url in the resource validation error messages (#258) --- .../schematron-rules-multilingual.sch | 24 +++++++++++++++---- .../schematron-rules-non-multilingual.sch | 22 +++++++++++++---- 2 files changed, 38 insertions(+), 8 deletions(-) diff --git a/src/main/plugin/iso19139.ca.HNAP/schematron/schematron-rules-multilingual.sch b/src/main/plugin/iso19139.ca.HNAP/schematron/schematron-rules-multilingual.sch index 486abf70..bd1c105f 100644 --- a/src/main/plugin/iso19139.ca.HNAP/schematron/schematron-rules-multilingual.sch +++ b/src/main/plugin/iso19139.ca.HNAP/schematron/schematron-rules-multilingual.sch @@ -138,6 +138,18 @@ + + + + + + + + + + + + @@ -770,6 +782,8 @@ + + $loc/strings/ResourceDescriptionContentType + $contentTypeTranslated='Supporting Document' or $contentTypeTranslated = 'Document de soutien')">$locMsgCt - + $locMsg - $loc/strings/ResourceDescriptionLanguage + + + $locMsgLang - $loc/strings/ResourceDescriptionLanguage + $locMsgLang diff --git a/src/main/plugin/iso19139.ca.HNAP/schematron/schematron-rules-non-multilingual.sch b/src/main/plugin/iso19139.ca.HNAP/schematron/schematron-rules-non-multilingual.sch index ab938537..7491d94a 100644 --- a/src/main/plugin/iso19139.ca.HNAP/schematron/schematron-rules-non-multilingual.sch +++ b/src/main/plugin/iso19139.ca.HNAP/schematron/schematron-rules-non-multilingual.sch @@ -134,6 +134,17 @@ + + + + + + + + + + + @@ -476,21 +487,24 @@ + $loc/strings/ResourceDescriptionContentType + $contentType='Supporting Document' or $contentType = 'Document de soutien')">$locMsgCt - + $locMsg - $loc/strings/ResourceDescriptionLanguage + + + $locMsgLang - $loc/strings/ResourceDescriptionLanguage + $locMsgLang