diff options
author | David Robillard <d@drobilla.net> | 2018-10-03 16:13:48 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-10-03 16:13:48 +0200 |
commit | a71575babfe238bb8e750f26d2eae38580321ee6 (patch) | |
tree | 0ac82ce2db4b283bbe856b3a02724fc2d6715f1b | |
parent | c58565866d52a7549c2abebe1f78ca547769f469 (diff) | |
download | serd-a71575babfe238bb8e750f26d2eae38580321ee6.tar.gz serd-a71575babfe238bb8e750f26d2eae38580321ee6.tar.bz2 serd-a71575babfe238bb8e750f26d2eae38580321ee6.zip |
Fix colliding blank nodes when parsing TriG
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | src/n3.c | 2 |
2 files changed, 3 insertions, 2 deletions
@@ -2,8 +2,9 @@ serd (0.30.1) unstable; * Fix GCC 4 build * Fix resolving some URIs against base URIs with no trailing slash + * Fix colliding blank nodes when parsing TriG - -- David Robillard <d@drobilla.net> Mon, 30 Jul 2018 19:28:32 +0200 + -- David Robillard <d@drobilla.net> Wed, 03 Oct 2018 15:50:38 +0200 serd (0.30.0) stable; @@ -878,7 +878,7 @@ read_BLANK_NODE_LABEL(SerdReader* reader, bool* ate_dot) *ate_dot = true; } - if (reader->syntax == SERD_TURTLE) { + if (fancy_syntax(reader)) { if (is_digit(n->buf[reader->bprefix_len + 1])) { if ((n->buf[reader->bprefix_len]) == 'b') { ((char*)n->buf)[reader->bprefix_len] = 'B'; // Prevent clash |