zazuko / rdf-validate-shacl

Validate RDF data purely in JavaScript. An implementation of the W3C SHACL specification on top of the RDFJS stack.
MIT License
95 stars 12 forks source link

Improve validation of sh:in #109

Closed tpluscode closed 2 months ago

tpluscode commented 1 year ago

When a value is outside of sh:in list, the message is a misleading

Value is not in Blank node g1.

It should instead say something like

Value is not one of the allowed values

Example: https://s.zazuko.com/2dutD9s

re https://github.com/zazuko/cube-creator/issues/1434

giacomociti commented 2 months ago

done in #129