From 5456295c2464d9deeccbc5ac8e921637f09face2 Mon Sep 17 00:00:00 2001 From: Andrew Sales Date: Sun, 21 Jul 2024 15:54:06 +0100 Subject: [PATCH] [MOD] attribute visit-each, re https://github.com/Schematron/schematron-enhancement-proposals/issues/75 --- schematron.rnc | 3 ++- svrl.rnc | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/schematron.rnc b/schematron.rnc index 622a8ef..fe3a956 100644 --- a/schematron.rnc +++ b/schematron.rnc @@ -124,7 +124,7 @@ pattern = phase = element phase { attribute id { xsd:ID }, - attribute from { text }?, + attribute from { pathValue }?, rich, (foreign & inclusion* & (p*, let*, active*)) } @@ -156,6 +156,7 @@ rule = (foreign & inclusion* & ((attribute context { pathValue }, + attribute visit-each { pathValue }?, attribute id { xsd:ID }?, attribute abstract { "false" }?, title?, diff --git a/svrl.rnc b/svrl.rnc index f6e0770..e182e78 100644 --- a/svrl.rnc +++ b/svrl.rnc @@ -65,6 +65,7 @@ fired-rule = attribute id { xsd:NCName }?, attribute name { text }?, attribute context { text }, + attribute visit-each { text }?, attribute role { string }?, attribute flag { list{ token+ } }?, attribute document { xsd:anyURI }?,