[
https://issues.apache.org/jira/browse/JENA-2144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17402278#comment-17402278
]
ASF subversion and git services commented on JENA-2144:
-------------------------------------------------------
Commit d32eb625ee4da2d9a133533b6489564c11ed84f8 in jena's branch
refs/heads/main from Andy Seaborne
[ https://gitbox.apache.org/repos/asf?p=jena.git;h=d32eb62 ]
Merge pull request #1047 from afs/jena2144-shaclc
JENA-2144: Print nodeKind in long form
> shaclc serializer should output "nodeKind"
> -------------------------------------------
>
> Key: JENA-2144
> URL: https://issues.apache.org/jira/browse/JENA-2144
> Project: Apache Jena
> Issue Type: Bug
> Reporter: Vladimir Alexiev
> Priority: Major
>
> Trying the SHACLC parser and serializer on
> https://github.com/euBusinessGraph/eubg-data/blob/master/model/ebg-shapes.shaclc
> :
> {noformat}
> shacl p --out=c ebg-shapes.shaclc > a.shaclc
> shacl p --out=c a.shaclc
> Encountered " "IRI" "IRI "" at line 38, column 5.
> Was expecting one of:
> "targetNode" ...
> "targetObjectsOf" ...
> "targetSubjectsOf" ...
> "targetClass" ...
> "deactivated" ...
> "severity" ...
> "message" ...
> "class" ...
> "datatype" ...
> "nodeKind" ...
> {noformat}
> The reason is that it outputs eg
> {noformat}
> shape ebgsh:Company -> rov:RegisteredOrganization {
> IRI .
> {noformat}
> but should output:
> {noformat}
> shape ebgsh:Company -> rov:RegisteredOrganization {
> nodeKind=sh:IRI .
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)