eclipse-esmf / esmf-semantic-aspect-meta-model

Formal and textual specification of the Semantic Aspect Meta Model (SAMM)
https://eclipse-esmf.github.io/samm-specification/snapshot/index.html
Mozilla Public License 2.0
47 stars 9 forks source link

[Task] Add additional context to validation results. #184

Closed RaMisess closed 1 year ago

RaMisess commented 1 year ago

There are tools which are able to provide nicely formatted validation messages to the user, including line/column information of the exact position of the error and its original textual representation. This position is often different from the context node ($this) the SHACL shapes already provide to the consumers of the errors. Where appropriate, add additional hint (for example as an additional bind variable) to the validation shapes, which points to the node that can be highlighted to the user as node responsible for the validation failure.