weso/rdfshape-client

Improve visualizations of errors

labra opened this issue · 0 comments

labra commented

The RDFShape server provides better support now for errors which could help the visualizations of errors in rdfshape-client.

In particular, the JSON representation of errors in ShEx now returns the the location (line/col) of the RDFNode and the Shape label. It would be great for a user to be able to get a link from the RDFNode/label to the corresponding position in Turtle or in ShEx.

I suppose that this feature will require modifications in YaSHE or YATE, @mistermboy is the functionality in YaSHE/YATE to go to some specific line/col in the editor or maybe highlight it with a different color?

Maybe, the lint extension from codemirror could be useful?