Skip to content

Any way to recover from unescaped double quotes? #350

@excursus

Description

@excursus

The  2022-03 snapshot of dbpedia contains iris with unescaped double quotes such as this one:

<http://dbpedia.org/resource/"populate_or_perish"> <http://www.w3.org/2002/07/owl#sameAs> <http://rdf.freebase.com/ns/m.01182wk6> .

see here. This causes the lexer to throw this error:

    const err = new Error(`Unexpected "${issue}" on line ${this._line}.`);
                ^
Error: Unexpected "<http://dbpedia.org/resource/"populate_or_perish">" on line 820.

Is there any way to gracefully recover from errors such as these?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions