TTL codec does not recognize \\ inside a literal string #9

Closed
opened 2026-01-31 15:08:52 +00:00 by scossu · 0 comments
Owner

Some literals in the LC names vocabulary are not recognized by the TTL parser. For example: "영문구노동조합 (Korea). 교선부.\\"@zxx-Hang ;

The escaped backslash at the end is being flagged as invalid, albeit being valid in Turtle: https://www.w3.org/TR/2014/REC-turtle-20140225/#sec-grammar-grammar (ECHAR terminal).

The TTL syntax parsing has started from the officical Turtle EBNF, but at some point it diverged, for good reasons or not I cannot recall... it may need a thorough review before using it as a base for triG parsing as well.

Some literals in the LC names vocabulary are not recognized by the TTL parser. For example: `"영문구노동조합 (Korea). 교선부.\\"@zxx-Hang ;` The escaped backslash at the end is being flagged as invalid, albeit being valid in Turtle: https://www.w3.org/TR/2014/REC-turtle-20140225/#sec-grammar-grammar (`ECHAR` terminal). The TTL syntax parsing has started from the officical Turtle EBNF, but at some point it diverged, for good reasons or not I cannot recall... it may need a thorough review before using it as a base for triG parsing as well.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
scossu/volksdata#9
No description provided.