Opened 7 years ago

Closed 7 years ago

#989 closed Bug Report (fixed)

Cannot parse triples without space between blank node and dot

Reported by: Ruben Verborgh Owned by: David Robillard
Priority: major Component: Serd
Keywords: Cc:

Description

Given a file blank.ttl with the following contents:

<a> <b> _:c.

the command serdi test.ttl fails with

error: blank.ttl:1:11: name ends with `.'

even though the above is valid Turtle.

The file blank2.ttl with a space between the blank node object and the dot works:

<a> <b> _:c .

Attachments (2)

blank.ttl (13 bytes) - added by Ruben Verborgh 7 years ago.
blank2.ttl (14 bytes) - added by Ruben Verborgh 7 years ago.

Download all attachments as: .zip

Change History (5)

Changed 7 years ago by Ruben Verborgh

Attachment: blank.ttl added

Changed 7 years ago by Ruben Verborgh

Attachment: blank2.ttl added

comment:1 Changed 7 years ago by David Robillard

Sigh, what a horrific ambiguous mess the new Turtle grammar is :/

comment:2 Changed 7 years ago by Ruben Verborgh

Don't tell me :-) My parser also became more complex after dots were allowed inside of qnames (and blank nodes): https://github.com/RubenVerborgh/N3.js/commit/2935d2bf01c51d812039e6ca98ef3c2f4d3d7b86

comment:3 Changed 7 years ago by David Robillard

Resolution: fixed
Status: newclosed

Fixed in r481/serd.

Note: See TracTickets for help on using tickets.