herminiogg / ShExML

A heterogeneous data mapping language based on Shape Expressions
http://shexml.herminiogarcia.com
MIT License
15 stars 2 forks source link

Feature request: Print the field name which doesn't in the error message "java.lang.Exception: Field not present" does not list which #147

Open andrawaag opened 12 months ago

andrawaag commented 12 months ago

When writing ShExML files for many fields, sometimes I add many fields at the same time. When parsing it is not immediate visible which Field name is incorrect, often caused by an unseen space in the field name. Is it possible to print which field is causing the error name?

herminiogg commented 11 months ago

As commented in the other issue (#145) this is something concerning a semantic analysis of the input. I will treat them together when I undertake the semantic analysis development. Then, you can indeed expect more user friendly errors.