From 9bff057ad907627c7a448d4c017239348e8e5b64 Mon Sep 17 00:00:00 2001 From: Andrew Sales Date: Sun, 21 Jul 2024 15:50:14 +0100 Subject: [PATCH] [MOD] mandatory svrl:error and human-text, for errors occurring before validation begins --- svrl.rnc | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/svrl.rnc b/svrl.rnc index 39f7800..f6e0770 100644 --- a/svrl.rnc +++ b/svrl.rnc @@ -33,11 +33,15 @@ schematron-output = attribute phase { xsd:NMTOKEN }?, attribute schemaVersion { text }?, attribute schematronEdition { text }?, - error*, - human-text*, - ns-prefix-in-attribute-values*, - (active-pattern-rule-set, - (fired-rule, (failed-assert | successful-report)*)*)+ + ( + (error+, human-text*) + | + (error*, + human-text*, + ns-prefix-in-attribute-values*, + (active-pattern-rule-set, + (fired-rule, (failed-assert | successful-report)*)*)+) + ) } # only namespaces from sch:ns need to be reported ns-prefix-in-attribute-values =