rio icon indicating copy to clipboard operation
rio copied to clipboard

Adds error recovery to the Turtle/TriG parser

Open Tpt opened this issue 4 years ago • 4 comments

The Turtle/TriG parser should be able to continue parsing the next triples after raising an error.

Tpt avatar Mar 19 '20 03:03 Tpt

i think it's also good idea to get content of a faulty triples when it's possible, this allow to guess what was the intention. As, concrete example, i encountered some ttl file using some undeclared prefix. Due to a specific context of use and very common usage in this context, those prefix could easily be guessed.

YruamaLairba avatar Mar 20 '20 00:03 YruamaLairba

The Turtle/TriG parser should be able to continue parsing the next triples after raising an error.

@Tpt Is this happening in the near future, or not something being tackled right now?

andrefs avatar Nov 04 '22 17:11 andrefs

@Tpt Is this happening in the near future, or not something being tackled right now?

I am currently rewriting the Turtle parser to fix that, improve performances and make it compatible with async so it should be done in a few months (it's a "background" project with a fairly low priority)

Tpt avatar Nov 05 '22 09:11 Tpt

Ah ok, I will look forward to that, thanks!

andrefs avatar Nov 13 '22 22:11 andrefs