|
From: Lars H. <he...@se...> - 2008-06-11 12:28:25
|
Hi Darina,
> So, if in a topic map the merge byTopicName feature is set
> (tmfac.setFeature("http://tmapi.org/features/merge/byTopicName",true);),
> one cannot delete topics and create them back... It is strange, isn't
> it? Do you have an idea what is the logic behind?
I've no idea, sorry. I can look into the code but that may take some
time. Further, I don't think that this "feature" should stay.
> Obviously, I have to give up on using the merge by topic name feature.
I'd use simple item identifiers (source locators). It should be very
easy to use item identifiers instead of names to merge topics. In
addition to the default name, which was previously used to merge
topics, you create an item identifier
"http://example.org/<default-name-here>".
If you do that for every topic, your topics will be merged because
they have the same item identifier. I think it's a better solution
than relying on the "merge by name" (Topic Name Constraint) 'feature'
which was deprecated during the development of the TMDM.
Best regards,
Lars
--
Semagia
<http://www.semagia.com>
|