Skip to content

Disallow surrogates pairs #589

@rubensworks

Description

@rubensworks

The 1.2 specs disallow surrogate pairs in literals: https://w3c.github.io/rdf-turtle/spec/#sec-grammar
New spec tests have been added that explicitly test for parser errors: w3c/rdf-tests#330

We should make sure that we properly detect these surrogate pairs, and throw an error on them.

I would however recommend that we add a flag (disabled by default), to ignore these illegal surrogate pair errors, which allows users to restore the old (current) behaviour.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions