You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Pavel Mikhailovskii (Jira)" <ji...@apache.org> on 2019/12/12 16:40:00 UTC

[jira] [Created] (JENA-1797) Shapes with class-based targets (sh:targetClass) are not applied to subclass instances

Pavel Mikhailovskii created JENA-1797:
-----------------------------------------

             Summary: 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
         Attachments: TargetsTest.java

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)