From 418a485c0045c8e96c3668cabf8f7ffefe6871d2 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 21 Feb 2012 04:32:49 +0000 Subject: Add test case and update ChangeLog. git-svn-id: http://svn.drobilla.net/serd/trunk@321 490d8e77-9747-427b-9fa3-0b8f29cee8a0 --- ChangeLog | 2 ++ tests/bad-id-clash.ttl | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 tests/bad-id-clash.ttl 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 (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 -- cgit v1.2.1