You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I stumbled across this by accident as well yesterday and think it has something to do with #284
We now have sh:or statements in our shacl graph for testing the presence of dct:title, skos:prefLabel and dc:title. The same for the description attributes.
The library we are using for doing the shacl validation can handle the validation, but does not give good errors if something goes wrong in these sh:or statements therefore the null statement which you and @thomschke encountered.
This is unfortunate since you also don't get meaningful error messages if one of these attributes is missing. The lib is not returning the correct path to identify the node where an error occured.
The fix provided by @thomschke will help to run vocabs through the pipeline if just a warning occured, but we are getting unhelpful error messages for violations, e.g.
-----------Violation--------------
Message: []
Path: undefined
Node, where the error occured: https://hof-halle-wittenberg.github.io/type/
Severity of error: http://www.w3.org/ns/shacl#Violation
(a description is missing in this vocab, but you don't get a good hint from the shacl validation)
@acka47
I stumbled across this by accident as well yesterday and think it has something to do with #284
We now have
sh:or
statements in our shacl graph for testing the presence ofdct:title
,skos:prefLabel
anddc:title
. The same for the description attributes.The library we are using for doing the shacl validation can handle the validation, but does not give good errors if something goes wrong in these
sh:or
statements therefore the null statement which you and @thomschke encountered.This is unfortunate since you also don't get meaningful error messages if one of these attributes is missing. The lib is not returning the correct path to identify the node where an error occured.
The fix provided by @thomschke will help to run vocabs through the pipeline if just a warning occured, but we are getting unhelpful error messages for violations, e.g.
(a description is missing in this vocab, but you don't get a good hint from the shacl validation)
Originally posted by @sroertgen in #305 (comment)
The text was updated successfully, but these errors were encountered: