Andy Seaborne created JENA-1907:
-----------------------------------

             Summary: Nested targets can lead to different numbers of 
constraint executions.
                 Key: JENA-1907
                 URL: https://issues.apache.org/jira/browse/JENA-1907
             Project: Apache Jena
          Issue Type: Bug
          Components: SHACL
    Affects Versions: Jena 3.15.0
            Reporter: Andy Seaborne
            Assignee: Andy Seaborne
             Fix For: Jena 3.16.0


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.




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to