[ 
https://issues.apache.org/jira/browse/JENA-1947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17186656#comment-17186656
 ] 

Andy Seaborne commented on JENA-1947:
-------------------------------------

Not fine - a mysterious stack overflow isn't a good experience.

There isn't a meaning, especially when cycle does not "move" the validation to 
a different place in the graph with a property shape.

So warning or error, 

(My working solution is to combine cycle detection with putting in a special 
internal shape for "no validation due to cycle" in the evaluation tree).



> SHACL validator: Stack overflow on recursive shapes even if deactivated
> -----------------------------------------------------------------------
>
>                 Key: JENA-1947
>                 URL: https://issues.apache.org/jira/browse/JENA-1947
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: SHACL
>            Reporter: Jan Rosecky
>            Priority: Major
>
> I'm trying to validate using a set of shapes including: 
> [http://purl.allotrope.org/shapes/adm/core/REC/2020/06/common.shapes] . 
> af-s:AFS_0000001 has a recursive sh:and(af-s:AFS_0000001) clause, which 
> causes a stack overflow exception - even though the shape is sh:deactivated.



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

Reply via email to