Skip to content

Fails to parse statement where prefixed name with no local name immediately followed by dot #1664

@pduchesne

Description

@pduchesne

The following turtle sample fails to be parsed, because of the lack of whitespace between object: and the terminal dot:

@prefix test: <http://example.org/>.
@prefix object: <http://example.org/object>.
test:subject test:predicate object:.

In (my understanding of) the Turtle grammar, this is valid.
Turtle validator such as http://ttl.summerofcode.be concurs.

To the question : "why such a construct", the turtle serializer of linkeddata/rdflib.js f.i. does produce this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingparsingRelated to a parsing.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions