From: Lars H. <he...@se...> - 2008-06-09 14:57:28
|
Hi Darina, [...] >> tmfac.setFeature("http://tmapi.org/features/merge/byTopicName",true); >> >> This is a very bad feature, I'd call it a bug. ;) >> >> You should, if possible, set that to "false". > > Unfortunately, I need to merge topic maps ... Well, just to ensure that we're talking about the same thing here: That feature is not needed if you want to merge topic maps. This feature is needed if you want that topic A with the name "Darina" is merged with topic B which has also the name "Darina". But that feature may cause trouble if you have Paris Hilton and the city Paris in one map. Both topics may have a name "Paris" and so Paris Hilton will be merged with the city. (Generally, it would not be a big problem if Paris Hilton goes away, though. ;)) >> If that does not help or if that feature is needed: Do you >> have enabled the "static merging" feature for TM4J? > > How can I do that? I looked in the TMAPITopicMapSystemFactoryImpl class > and didn't see such a feature and I don't know how to directly access > TM4J features. TopicMapSystemFactory tmSysFac; // Assumed to be there tmSysFac.setProperty("tm4j.static.merge", "true"); Best regards, Lars -- Semagia <http://www.semagia.com/> |