[
https://issues.apache.org/jira/browse/JENA-1797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16996805#comment-16996805
]
ASF subversion and git services commented on JENA-1797:
-------------------------------------------------------
Commit 4b8b8904a6b7bc1c3b8e2adb85c2524230da1ef9 in jena's branch
refs/heads/master from Andy Seaborne
[ https://gitbox.apache.org/repos/asf?p=jena.git;h=4b8b890 ]
Merge pull request #653 from afs/shacl-target-test
JENA-1797: Test for instance of subclass of implicit target
> Shapes with class-based targets (sh:targetClass) are not applied to subclass
> instances
> --------------------------------------------------------------------------------------
>
> Key: JENA-1797
> URL: https://issues.apache.org/jira/browse/JENA-1797
> Project: Apache Jena
> Issue Type: Bug
> Components: SHACL
> Reporter: Pavel Mikhailovskii
> Priority: Major
> Attachments: TargetsTest.java
>
> Time Spent: 1.5h
> Remaining Estimate: 0h
>
> Shapes with class-based targets (sh:targetClass) should target subclass
> instances. See [https://www.w3.org/TR/shacl/#targetClass]. Currently it is
> not the case.
> The bug is caused by wrong checks in
> ValidationProc.getFocusNodes/isFocusNode.
> The attached test illustrates the issue.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)