Closed beaudet closed 2 years ago
The spec writes about "this constraint" which is only about sh:minCount 0. It does not say that other constraints that happen to be at the same property shape should also be ignored.
So you can safely use sh:minCount 0 if you want to, and the implementation is correct and will continue to check the sh:class constraint.
awesome, thanks.
Greetings,
The following property constraint is conveniently executing, but I'm wondering if that might change in the future as the SHACL validator might not be following the SHACL spec:
which says:
Do you think the spec is suggesting that the validator should ignore the constraint altogether rather than validating the sh:class and reporting that as a validation failure despite the minCount == 0?