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

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

     [ https://issues.apache.org/jira/browse/JENA-1797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andy Seaborne resolved JENA-1797.
---------------------------------
    Fix Version/s: Jena 3.14.0
         Assignee: Andy Seaborne
       Resolution: Fixed

> 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
>            Assignee: Andy Seaborne
>            Priority: Major
>             Fix For: Jena 3.14.0
>
>         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)