Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dmj opened this issue Dec 1, 2018 · 1 comment

Comments

@dmj
Copy link
Member

dmj commented Dec 1, 2018

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?
     }
@dmj dmj changed the title svrl:failed-assert & svrl:successful-report require text content but sch:assert & sch:report can be empty svrl:failed-assert & svrl:successful-report require text but sch:assert & sch:report can be empty Dec 1, 2018
@dmj
Copy link
Member Author

dmj commented Dec 1, 2018

Sorry, now I see. I can create an empty svrl:text.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant