Skip to content

svrl:failed-assert & svrl:successful-report require text but sch:assert & sch:report can be empty #6

Description

@dmj

This means that I can create a valid Schematron that results in an invalid SVRL report.

It should be

# only failed assertions are reported
failed-assert =
     element failed-assert {
         attlist.assert-and-report, diagnostic-reference*, property-reference*, human-text?
     }
# only successful asserts are reported
successful-report =
     element successful-report {
         attlist.assert-and-report, diagnostic-reference*, property-reference*, human-text?
     }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions