[topicmapmail] Merging associations
Joril Andersen
jorilandersen at hotmail.com
Tue Sep 19 12:30:39 EDT 2006
Hi,
yes, thank you for a long and good answer :) Everything was clear!
In tinyTIM, you have a boolean argument ; modify. I assumed this was to
indentify if the merging was with 2 topic maps or just withnin the same
topic map. However, you only set the rolesPlayed in the merging topic A, if
modify is true.Shouldn't this happen anyhow?
>
>Item identifiers are always absolute. They are resolved against a
>locator. [...]"tuesday" becomes
>"http://www.example.org/tm/my-tm#tuesday".
Yes, so then, two topics in different topic maps will never have the same
item identifier(locator)? Assuming that one should provide unique ids/base
locator to the topic map... would it be a vaste to check for identical
source locators in mergeIn(TopicMap)? Have I understood this correct?And
when merging 2 topics from different topic maps, the merged topic will
contain a source locator, indicating it is merged...?
The getReference() method in Locator, returns the "tuesday", and the
getNotation() returns the absolute path?
I see that in the TMAPI, they write in the mergIn(Topic) method that:
"to replace the other Topic wherever it is used as a typing or scoping
topic"...
Do you have any clue how to 'get' the topics that have 'other' topic as type
or scope?
-Joril
Joril Andersen
Helgesens gate 3
0553 Oslo
Mobil: 95256088
More information about the topicmapmail
mailing list