[
https://issues.apache.org/jira/browse/JENA-1907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17127299#comment-17127299
]
ASF subversion and git services commented on JENA-1907:
-------------------------------------------------------
Commit c7dcee7f31718550f76c6524d76189ee7ac301e5 in jena's branch
refs/heads/master from Andy Seaborne
[ https://gitbox.apache.org/repos/asf?p=jena.git;h=c7dcee7 ]
JENA-1907: Test
> 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
> Priority: Major
> 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)