Closed wouterbeek closed 6 years ago
With the following data in test.nt:
test.nt
<x:x> <y:y> "z\'z"@en .
Do the following to reproduce the issue:
?- [library(semweb/rdf_db)]. ?- [library(semweb/rdf_ntriples)]. ?- rdf_load('test.nt', [format(ntriples)]). Warning: /home/wbeek/tmp/test.nt:1:15: Syntax error: illegal escape
Expected: the backslash escape sequence should be parsed as a legal N-Triples character, according to the following EBNF rule:
[11] STRING_LITERAL_QUOTE ::= '"' ([^#x22#x5C#xA#xD] | ECHAR | UCHAR)* '"' [153s] ECHAR ::= '\' [tbnrf"'\]
With the following data in
test.nt
:Do the following to reproduce the issue:
Expected: the backslash escape sequence should be parsed as a legal N-Triples character, according to the following EBNF rule: