Skip to content

Escaped quote at end of string results in broken token #10

@janvlug

Description

@janvlug

Take this file with escaped double quotes (\"") at the end of a string:
quote_issue_org.txt
run:

owl-x86_64-linux-1.2.3 write quote_issue_org.txt  quote_issue_orgi_2.txt

All goes well, compare the files quote_issue_org.txt and quote_issue_org_2.txt and note the differences.

Next run:

owl-x86_64-linux-1.2.3 write quote_issue_org_2.txt quote_issue_org_3.txt

The result is:

2023-07-10 19:20:11,930 ERROR o.a.j.riot: [line: 10, col: 1 ] Broken token (newline): @nl .
Error: [line: 10, col: 1 ] Broken token (newline): @nl .

Note that changing the """" in quote_issue_org_2.txt into " """ makes owl-cli work again

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