From: Lars H. <he...@se...> - 2010-08-30 16:29:35
|
Hi Benjamin, [...] > This is mostly* correct for in-Memory engines but this won't work e.g. > with Ontopia RDMBS. See the implementation here: [...] > Ontopia RDBMS would need an implementation like the SQL one above (if > it was based directly on an RDBMS...) Yes, although the current implementation wouldn't be wrong (and I'd assume that wrapped.getStore().delete(true); operates upon the RDBMS and does not iterate through the children, but I don't know it for sure). > * mostly: If an application holds references to the old TM-object > which is cleared (but in the example removed and reinstantiated) the > old object-references would no longer work. Yes, but that is clearly stated in the TMAPI JavaDocs. Best regards, Lars -- Semagia <http://www.semagia.com> <http://www.topicmaps.de/mailinglist/> German Topic Maps mailing list <http://tinytim.sourceforge.net/> Open Source Topic Maps engine |
From: Lars M. G. <la...@ga...> - 2010-08-31 13:35:41
|
* Sven Krosse > > Some Topic Maps Engines does not allow to create a topic map with the same locator after removing it, in this case the topic map system fails, This sounds like a bug to me. Perhaps we should add a test for this issue to the test suite? > In my opinion the reification may not removed by using the clear method, except the reifier is a topic of the cleared topic map . The reifier of a topic map *must* be a topic in the same topic map. Sounds like perhaps we need another test in the test suite here. :-) --Lars M. http://www.garshol.priv.no/tmphoto/ http://www.garshol.priv.no/blog/ |
From: Lars H. <he...@se...> - 2010-08-31 13:51:31
|
Hi Lars, >> Some Topic Maps Engines does not allow to create a topic map with >> the same locator after removing it, in this case the topic map >> system fails, > This sounds like a bug to me. Perhaps we should add a test for this > issue to the test suite? [...] We have a test for it "TestSameTopicMap" checks it. Sounds more like a bug in Majortom. Best regards, Lars -- Semagia <http://www.semagia.com> <http://www.topicmaps.de/mailinglist/> German Topic Maps mailing list <http://tinytim.sourceforge.net/> Open Source Topic Maps engine |
From: Lars M. G. <la...@ga...> - 2010-08-31 14:01:13
|
* Lars Heuer > > We have a test for it "TestSameTopicMap" checks it. Sounds more like a > bug in Majortom. Agreed, and if there is a test for it then I guess that's all we need. But what about the other one, with an external reifying topic? --Lars M. http://www.garshol.priv.no/tmphoto/ http://www.garshol.priv.no/blog/ |
From: Lars H. <he...@se...> - 2010-08-31 14:06:16
|
Hi Lars, [...] >> We have a test for it "TestSameTopicMap" checks it. Sounds more like a >> bug in Majortom. > Agreed, and if there is a test for it then I guess that's all we need. > But what about the other one, with an external reifying topic? Sorry, I should read e-mails more carefully. :( We have a test for external reifiers, but not for the removal and recreation of topic maps under the same storage address, I believe. I'll check that and add it if we don't have it. Best regards, Lars -- Semagia <http://www.semagia.com> <http://www.topicmaps.de/mailinglist/> German Topic Maps mailing list <http://tinytim.sourceforge.net/> Open Source Topic Maps engine |
From: Lars M. G. <la...@ga...> - 2010-08-31 14:27:30
|
* Lars Heuer > > Sorry, I should read e-mails more carefully. :( Np. :) > We have a test for external reifiers, but not for the removal and > recreation of topic maps under the same storage address, I believe. Ah, so you replied to the wrong question earlier. :-) --Lars M. http://www.garshol.priv.no/tmphoto/ http://www.garshol.priv.no/blog/ |
From: Lars H. <he...@se...> - 2010-08-31 14:27:51
|
[...] > We have a test for external reifiers, but not for the removal and > recreation of topic maps under the same storage address, I believe. > I'll check that and add it if we don't have it. Fixed in rev. 184. Best regards, Lars -- Semagia <http://www.semagia.com> <http://www.topicmaps.de/mailinglist/> German Topic Maps mailing list <http://tinytim.sourceforge.net/> Open Source Topic Maps engine |
From: Lars H. <he...@se...> - 2010-08-31 14:53:51
|
[...] >> We have a test for external reifiers, but not for the removal and >> recreation of topic maps under the same storage address, I believe. >> I'll check that and add it if we don't have it. > Fixed in rev. 184. The tmapi-test 2.0.3 snapshot was updated as well: <http://www.tmapi.org/maven-repository/snapshots/org/tmapi/tmapi-tests/2.0.3-SNAPSHOT/> Best regards, Lars -- Semagia <http://www.semagia.com> <http://www.topicmaps.de/mailinglist/> German Topic Maps mailing list <http://tinytim.sourceforge.net/> Open Source Topic Maps engine |
From: Johannes S. <top...@fr...> - 2010-08-31 20:55:25
|
Hi all, Am 31.08.2010 12:57, schrieb Lars Heuer: > Done > <https://sourceforge.net/tracker/?group_id=39237&atid=424686> > > HTH, > Lars > IMO having this proposal in the bug tracker and adding this feature in the next TMAPI version is a good compromise. Best regards, Johannes |
From: Hannes N. <h.n...@go...> - 2010-09-01 11:01:35
|
I added the method ti the TopicMap interface and added a test. It's in revision 187. regards Hannes On Tue, Aug 31, 2010 at 10:55 PM, Johannes Schmidt <top...@fr...> wrote: > Hi all, > > Am 31.08.2010 12:57, schrieb Lars Heuer: >> Done >> <https://sourceforge.net/tracker/?group_id=39237&atid=424686> >> >> HTH, >> Lars >> > IMO having this proposal in the bug tracker and adding this feature in > the next TMAPI version is a good compromise. > > Best regards, > Johannes > > > ------------------------------------------------------------------------------ > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > _______________________________________________ > Tmapi-discuss mailing list > Tma...@li... > https://lists.sourceforge.net/lists/listinfo/tmapi-discuss > -- Onotoa - Simply create your Topic Maps schemas. Web: http://onotoa.topicmapslab.de User Group: http://groups.google.com/group/onotoa Code: http://code.google.com/p/onotoa/ http://www.topicmapslab.de/people/Hannes_Niederhausen ====================================== Topic Maps Lab http://www.topicmapslab.de ====================================== ====================================== TMRA - International Conferences on Topic Maps Research and Applications TMRA 2010 "Information wants to be a topic map" 29.Sep - 01.Oct 2010, Leipzig, Germany http://www.tmra.de/2010/ ====================================== |
From: Lars H. <he...@se...> - 2010-09-01 11:10:22
|
Hi Hannes, > I added the method ti the TopicMap interface and added a test. It's in > revision 187. Thanks, I already made some minor changes. Please modify the test source as follows: * Replace the tabs with white spaces (4 ws) * The test should check that the topic map is still in the TopicMapSystem (after invoking "clear()"). Something like: assertNotNull(tmSys.getTopicMap(loc)); Thanks in advance and best regards, Lars -- Semagia <http://www.semagia.com> <http://www.topicmaps.de/mailinglist/> German Topic Maps mailing list <http://tinytim.sourceforge.net/> Open Source Topic Maps engine |
From: Hannes N. <h.n...@go...> - 2010-09-01 11:19:26
|
done On Wed, Sep 1, 2010 at 1:11 PM, Lars Heuer <he...@se...> wrote: > Hi Hannes, > >> I added the method ti the TopicMap interface and added a test. It's in >> revision 187. > > Thanks, I already made some minor changes. Please modify the test > source as follows: > > * Replace the tabs with white spaces (4 ws) > * The test should check that the topic map is still in the > TopicMapSystem (after invoking "clear()"). > Something like: assertNotNull(tmSys.getTopicMap(loc)); > > Thanks in advance and best regards, > Lars > -- > Semagia > <http://www.semagia.com> > > <http://www.topicmaps.de/mailinglist/> German Topic Maps mailing list > <http://tinytim.sourceforge.net/> Open Source Topic Maps engine > > > ------------------------------------------------------------------------------ > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > _______________________________________________ > Tmapi-discuss mailing list > Tma...@li... > https://lists.sourceforge.net/lists/listinfo/tmapi-discuss > -- Onotoa - Simply create your Topic Maps schemas. Web: http://onotoa.topicmapslab.de User Group: http://groups.google.com/group/onotoa Code: http://code.google.com/p/onotoa/ http://www.topicmapslab.de/people/Hannes_Niederhausen ====================================== Topic Maps Lab http://www.topicmapslab.de ====================================== ====================================== TMRA - International Conferences on Topic Maps Research and Applications TMRA 2010 "Information wants to be a topic map" 29.Sep - 01.Oct 2010, Leipzig, Germany http://www.tmra.de/2010/ ====================================== |
From: Lars H. <he...@se...> - 2010-09-01 12:47:58
|
Hi Hannes, > done Merci. I'll upload a new snapshot this evening. Best regards, Lars -- Semagia <http://www.semagia.com> <http://www.topicmaps.de/mailinglist/> German Topic Maps mailing list <http://tinytim.sourceforge.net/> Open Source Topic Maps engine |
From: Lars H. <he...@se...> - 2010-09-01 18:17:17
|
[...] > Merci. I'll upload a new snapshot this evening. Done. TMAPI 2.0.3 SNAPSHOT and TMAPI-Tests 2.0.3 SNAPSHOT are in our snapshot repository: <http://www.tmapi.org/maven-repository/snapshots/> FWIW, tinyTiM 2.0.1 SNAPSHOT supports now TMAPI 2.0.2 and TMAPI 2.0.3 SNAPSHOT. Best regards, Lars -- Semagia <http://www.semagia.com/> |