|
From: Dicheva, D. <dic...@ws...> - 2008-06-11 14:41:33
|
Hi Lars,
It seems that I solved my problem by using two TopicMapSystems - one
with merge by topicname set to false (which I normaly use, i.e. when
updating topics) and another one with that feature set to true (which I
only use to merge two files).
Thanks for your idea - it seems good; what do you mean by item
identifiers/source locators - subjectIdentifier? subjectLocator? In
other orders, how the merge algorithm works in case merge by topicName
is false?
Thanks a lot for your help!
Cheers,
Darina
> -----Original Message-----
> From: Lars Heuer [mailto:he...@se...]
> Sent: Wednesday, June 11, 2008 8:31 AM
> To: Dicheva, Darina
> Cc: tm4...@li...; Lars Johnsen;
> tm4...@li...
> Subject: Re: Problem to create a new topic using the name of
> a deleted topic
>
> 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>
>
>
>
|