aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-02-21 04:32:49 +0000
committerDavid Robillard <d@drobilla.net>2012-02-21 04:32:49 +0000
commit418a485c0045c8e96c3668cabf8f7ffefe6871d2 (patch)
tree4d032f81961e5a2394ff43866e6b710f401f062b
parent30aa350f3ed2a494640db31a44d6ceb24911dce5 (diff)
downloadserd-418a485c0045c8e96c3668cabf8f7ffefe6871d2.tar.gz
serd-418a485c0045c8e96c3668cabf8f7ffefe6871d2.tar.bz2
serd-418a485c0045c8e96c3668cabf8f7ffefe6871d2.zip
Add test case and update ChangeLog.
git-svn-id: http://svn.drobilla.net/serd/trunk@321 490d8e77-9747-427b-9fa3-0b8f29cee8a0
-rw-r--r--ChangeLog2
-rw-r--r--tests/bad-id-clash.ttl2
2 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 404d43c6..4bc5a77c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -26,6 +26,8 @@ serd (UNRELEASED) unstable; urgency=low
* Support compilation as C++ under MSVC++.
* Implement pretty-printing for collections.
* Parse collections iteratively in O(1) space.
+ * Report read error if both "genid" and "docid" IDs are found in the same
+ document, to prevent silent merging of distinct blank nodes.
-- David Robillard <d@drobilla.net> (UNRELEASED)
diff --git a/tests/bad-id-clash.ttl b/tests/bad-id-clash.ttl
new file mode 100644
index 00000000..55ab23e3
--- /dev/null
+++ b/tests/bad-id-clash.ttl
@@ -0,0 +1,2 @@
+_:genid1 a _:genid2 .
+_:genid2 a _:docid1 . \ No newline at end of file