What is the reason behind REQ009, "Each sch:pattern element SHALL be contained within one sch:schema element"?
start = schema
# Element declarations
schema =
element schema {
attribute id { xsd:ID }?,
rich,
attribute schemaVersion { non-empty-string }?,
attribute defaultPhase { xsd:IDREF }?,
attribute queryBinding { non-empty-string }?,
(foreign
& inclusion*
& (title?, ns*, p*, let*, phase*, pattern+, p*, diagnostics?, properties?))
}
What is the reason behind REQ009, "Each sch:pattern element SHALL be contained within one sch:schema element"?
Isn't this requirement present already in the Schematron RelaxNG schema (see e.g. https://github.com/xatapult/schematron-book-code/blob/master/schemas/schematron.rnc)?