Skip to content

Perhaps change handling of failures in sh:or, sh:and etc #553

@HolgerKnublauch

Description

@HolgerKnublauch

@HolgerKnublauch the informative part matches sh:or, but there is a mismatch in the textual definition. That should be aligned. Your definition for sh:someValue matches the informative parts, and probably also the reality of current implementations. I can confirm that shacl-engine skips any validations for sh:or after the first successful validation, unless debug mode is enabled.

Originally posted by @bergos in #524 (comment)

The same question may apply to sh:and and maybe even general validation order of constraints within the same shape: what happens if one of them "passes" - does the engine still need to evaluate all others and maybe run into a failure.

Care needs to be taken as this may be a breaking change compared to 1.0 yet it may also be a poorly defined corner case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    CoreFor SHACL 1.2 Core spec

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions