From 603781d0855e90cebd59641d5e5865c93c3729eb Mon Sep 17 00:00:00 2001 From: cmangeat Date: Tue, 14 May 2019 10:11:11 +0200 Subject: [PATCH] Schematron / Avoid matching of elements part of the schematron report (#3624) Don't let iso schematron provide processable entries to form builder by avoiding searching elements children of the schematron report in getOriginalNode. A better fix would be in schematron files, select text or attribute and not node. ``` gmd:CI_ResponsibleParty/gmd:organisationName ``` replace by ``` gmd:CI_ResponsibleParty/gmd:organisationName/*/text() ``` Something to apply to new schematron rules and to existing but that requires quite some work in all schematrons. --- web/src/main/webapp/xslt/common/functions-metadata.xsl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/web/src/main/webapp/xslt/common/functions-metadata.xsl b/web/src/main/webapp/xslt/common/functions-metadata.xsl index 346ecea8079..75976e63ccd 100644 --- a/web/src/main/webapp/xslt/common/functions-metadata.xsl +++ b/web/src/main/webapp/xslt/common/functions-metadata.xsl @@ -23,7 +23,9 @@ --> @@ -42,7 +44,7 @@ - +