dajobe / raptor

Redland Raptor RDF syntax library
https://librdf.org/raptor/
Other
157 stars 62 forks source link

This changeset fixes an issue with the turtle chunk parser #37

Closed hroptatyr closed 4 years ago

hroptatyr commented 6 years ago

which defers statements internally to pick up the work with the next chunk. Should the chunk parser not be called anymore any statements recorded as deferred would be lost.

An example to reproduce the bug (TriG mode):

{ [ a ] .} With this fix applied the above correctly produces the following 2 quads: _:genid1 . _:genid1 .
dajobe commented 4 years ago

I added a test for this that fails in tests/trig/issue-37.trig so I can land this PR to fix it.

dajobe commented 4 years ago

Thanks for the test and fix. Sorry for the delay, haven't been working on this project