Skip to content

Commit

Permalink
[MOD] mandatory svrl:error and human-text, for errors occurring befor…
Browse files Browse the repository at this point in the history
…e validation begins
  • Loading branch information
AndrewSales committed Jul 21, 2024
1 parent 574aba6 commit 9bff057
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions svrl.rnc
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down

0 comments on commit 9bff057

Please sign in to comment.