from_n3 erroneously unescapes \xhh
#549
Labels
bug
Something isn't working
discussion
enhancement
New feature or request
parsing
Related to a parsing.
testing
Milestone
Exploring #546 made me realize that
from_n3
is more liberal than the following method based on the full n3 parser (should just be used for testing!), which is obviously much slower (one full graph with store etc. for parsing) and ignores cases such as quoted graphs or lists thatfrom_n3
can actually parse:This is based on #548 already, so the trailing slashes work in both versions:
from_n3
is at least incorrectly unescaping\\x6f
to au'\xf6'
akau'ö'
. The n3 spec explicitly mentions that the\xhh
escapes are unused: http://www.w3.org/TeamSubmission/n3/#escaping :further inconsistencies between
from_n3
and the fulln3
parser should be investigated ... Also i'd like to introduce some tests for this as well...The text was updated successfully, but these errors were encountered: