Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-1907

Nested targets can lead to different numbers of constraint executions.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Jena 3.15.0
    • Jena 3.16.0
    • SHACL
    • None

    Description

      If one target "A" refers to another target "B" then the encounter order affects the validation because the code track all shapes processed.

      If B is processed first as a target then A, B is executed twice - once as a top level target and once as part of A.

      If A is processed first as a target then the parser shapes now includes B so processing B is skipped.

      Note - the effect is only in the number of times constriants are executed , once or twice, not whether they are omitted.

      Attachments

        Activity

          People

            andy Andy Seaborne
            andy Andy Seaborne
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: