From: Kal A. <ka...@te...> - 2004-07-15 11:14:41
|
That is strange - looking through the code, the name-based merging code in the in-memory backend does check for this property when a scoped name changes. I wonder if the parsing is somehow bypassing this (it shouldn't be...) I'll have to take a closer look and maybe try and write a test case that fails for this.=20 Cheers, Kal On Wed, 2004-07-14 at 18:18, Christoph Froehlich wrote: > HI=20 >=20 >=20 > Am Mi, den 14.07.2004 schrieb Stefan Lischke um 18:11: > > Hi Andrea, > >=20 > > I'm also using TM4J without baseName merging. You can turn it off by=20 > > simply changing the System.property : > >=20 > > tm4j.name.based.merge=3Dfalse > >=20 > > If you use the merging skript, just add it to the java call with > > -Dtm4j.name.based.merge=3Dfalse > >=20 > > But as i stated in an earlier mail, you cannot use this when working > > with TMNav, so you can't visualize TopicMaps which contain Topics with > > same BaseNames. > >=20 > same result here. It seems impossible to disable name based merging with > tmnav. Unfortunately I do not understand why. >=20 >=20 > You can certainly pass the system property when calling tmnav and it > gets set as expected.It seems that tm4j does not care about it. >=20 >=20 > Maybe it's the way panckoucke implements merging.=20 > It calls > TopicMapProvider.mergeTopicMap(TopicMap baseTopicMap,=20 > Locator externalTopicMap, > Topic[] addedThemes). >=20 > Printing=20 > System.getProperty("tm4j.name.based.merge");=20 > just before the call to mergeTopicMap(...) shows the value as excpected > (as passed as an argument to the VM at TMNav startup). >=20 > So, should panckoucke call another method? >=20 >=20 >=20 > My second thought is that maybe not every provider implements the > switch. I checked it with the in-memory-provider. Is it perhaps a > feature of the hibernate backend? >=20 >=20 > By the way. I did browse the 0.9.5 docs and did not find anything about > this switch. Is it documentated anywhere? >=20 > bye > c >=20 >=20 >=20 >=20 >=20 > > Stefan > >=20 > >=20 > > Andrea Carradori wrote: > >=20 > > > Hi, > > > > > > I am looking for a way to deactivate the automatic merging of topics > > > basing on basenames. I want two topics to merge only if they have > > the=20 > > > same Subject Indicator: it could be that, even if two topics have > > the=20 > > > same basename, they mean different things=E2=80=A6 > > > > > > I=E2=80=99m using a Hibernate back end. > > > > > > Thanks for your help! > > > > > > Andrea > > > > >=20 > >=20 > >=20 > > ------------------------------------------------------- > > This SF.Net email sponsored by Black Hat Briefings & Training. > > Attend Black Hat Briefings & Training, Las Vegas July 24-29 -=20 > > digital self defense, top technical experts, no vendor pitches,=20 > > unmatched networking opportunities. Visit www.blackhat.com > > _______________________________________________ > > Tm4j-users mailing list > > Tm4...@li... > > https://lists.sourceforge.net/lists/listinfo/tm4j-users --=20 Kal Ahmed <ka...@te...> techquila |