Skip to content

Commit

Permalink
[MOD] schema-level params, re Schematron/schematron-enhancement-propo…
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewSales committed Mar 16, 2024
1 parent 61be2c9 commit f2ea42c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions schematron.rnc
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ schema =
attribute queryBinding { non-empty-string }?,
(foreign
& (inclusion | extends)*
& (title?, ns*, p*, let*, phase*, abstract-rules*, (rule-set|pattern)+, p*, diagnostics?, properties?))
& (title?, ns*, p*, param*, let*, phase*, abstract-rules*, (rule-set|pattern)+, p*, diagnostics?, properties?))
}
active =
element active {
Expand Down Expand Up @@ -114,7 +114,7 @@ p =
param =
element param {
attribute name { nameValue },
attribute value { non-empty-string }
attribute value { non-empty-string }?
}

pattern =
Expand Down Expand Up @@ -232,7 +232,7 @@ rule-set-or-pattern =
& ((attribute abstract { "true" },
attribute id { xsd:ID },
title?,
(p*, let*, rule*))
(p*, param*, let*, rule*))
| (attribute abstract { "false" }?,
attribute id { xsd:ID }?,
title?,
Expand Down

0 comments on commit f2ea42c

Please sign in to comment.