You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(9) |
Jun
(26) |
Jul
(22) |
Aug
(31) |
Sep
(25) |
Oct
(9) |
Nov
(7) |
Dec
(4) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(50) |
Feb
(51) |
Mar
(6) |
Apr
(10) |
May
(4) |
Jun
(9) |
Jul
(9) |
Aug
(1) |
Sep
(2) |
Oct
(1) |
Nov
(2) |
Dec
(11) |
2003 |
Jan
(8) |
Feb
(21) |
Mar
(2) |
Apr
(29) |
May
(9) |
Jun
(1) |
Jul
(4) |
Aug
(8) |
Sep
(3) |
Oct
(21) |
Nov
(40) |
Dec
(14) |
2004 |
Jan
(32) |
Feb
(30) |
Mar
(24) |
Apr
(13) |
May
(25) |
Jun
(14) |
Jul
(9) |
Aug
(21) |
Sep
(52) |
Oct
(9) |
Nov
(12) |
Dec
(6) |
2005 |
Jan
(2) |
Feb
(2) |
Mar
(3) |
Apr
|
May
(6) |
Jun
(2) |
Jul
(2) |
Aug
(1) |
Sep
(14) |
Oct
(1) |
Nov
|
Dec
(4) |
2006 |
Jan
|
Feb
(16) |
Mar
(7) |
Apr
(7) |
May
|
Jun
(2) |
Jul
|
Aug
|
Sep
(1) |
Oct
(2) |
Nov
(9) |
Dec
(2) |
2007 |
Jan
(2) |
Feb
(9) |
Mar
(1) |
Apr
(38) |
May
(7) |
Jun
(7) |
Jul
(12) |
Aug
(10) |
Sep
(10) |
Oct
(3) |
Nov
(7) |
Dec
(7) |
2008 |
Jan
(13) |
Feb
(12) |
Mar
(53) |
Apr
(14) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
From: Stefan L. <li...@no...> - 2004-05-18 14:20:42
|
Hi, I just want to know why TM4J replaces any resourceRef@xlink:href element which has style "/something/in/here.html" with "file:/something/in/here.html". I know i should provide a wellformed URI with "http://someserver.com/something/in/here.html" but someserver is not static, so im using it like in HTML where i can make <a href="/something/in/here.html>this</a> Does someone has any idea how to work with those "server relative" URI's ? btw. we should define the behavior within TMAPI. stefan |
From: SourceForge.net <no...@so...> - 2004-05-18 13:38:11
|
Bugs item #955921, was opened at 2004-05-18 15:38 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=391879&aid=955921&group_id=27895 Category: Hibernate Impl Group: None Status: Open Resolution: None Priority: 5 Submitted By: Stefan Lischke (lischke2) Assigned to: Nobody/Anonymous (nobody) Summary: Tables aren't fully emptied after TopicMap removal Initial Comment: Hi, when calling TMAPI TopicMap.remove() not all tables are emptied in the relational Backend. The tables "srclocs", "locators" and "SubjectIdentityPoint" are not cleaned. Maybe that can cause a data growth when often deleting topicmaps. i dunno if it is only TMAPI related. Stefan ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=391879&aid=955921&group_id=27895 |
From: Kal A. <ka...@te...> - 2004-05-18 08:30:26
|
Hi, You can use an org.tm4j.topicmap.utils.testers.InScopeTester to do this: InScopeTester t = new InScopeTester(new Topic[] {type}); if (t.test(scopedObject)) { return TopicMapManager.BASETYPE_STRING; } If "type" is a constant, then you can create the tester as a constant in your class - so you would not have to be recreating it on each call. Cheers, Kal On Tue, 2004-05-18 at 05:19, nengsih wahyu wrote: > hi all, > > I use TM4J 0.8.3, i had class > HassOccurrenceValueLessThanExtension that use to > compare some topic that hasocurrencevaluelessthan, in > this class i compare type of topic so i use : > > Set scopeSet = scopedObject.getScope(); > //if string > if (scopeSet.contains(type)){ > return TopicMapManager.BASETYPE_STRING; > } > > in TM4J 0.9.1 scope change to be set, so how can i > change my procedure that i declare above.because i > want to change my TM4J tobe 0.9.1 because i want to > use hibernate that in TM4J 0.8.3 didn't support it. > please help me. > > regards, > > > wahyu > > > > > > __________________________________ > Do you Yahoo!? > SBC Yahoo! - Internet access at a great low price. > http://promo.yahoo.com/sbc/ > > > ------------------------------------------------------- > This SF.Net email is sponsored by: SourceForge.net Broadband > Sign-up now for SourceForge Broadband and get the fastest > 6.0/768 connection for only $19.95/mo for the first 3 months! > http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click > _______________________________________________ > Tm4j-developers mailing list > Tm4...@li... > https://lists.sourceforge.net/lists/listinfo/tm4j-developers -- Kal Ahmed <ka...@te...> techquila |
From: nengsih w. <jo...@ya...> - 2004-05-18 04:19:51
|
hi all, I use TM4J 0.8.3, i had class HassOccurrenceValueLessThanExtension that use to compare some topic that hasocurrencevaluelessthan, in this class i compare type of topic so i use : Set scopeSet = scopedObject.getScope(); //if string if (scopeSet.contains(type)){ return TopicMapManager.BASETYPE_STRING; } in TM4J 0.9.1 scope change to be set, so how can i change my procedure that i declare above.because i want to change my TM4J tobe 0.9.1 because i want to use hibernate that in TM4J 0.8.3 didn't support it. please help me. regards, wahyu __________________________________ Do you Yahoo!? SBC Yahoo! - Internet access at a great low price. http://promo.yahoo.com/sbc/ |
From: SourceForge.net <no...@so...> - 2004-05-17 17:44:15
|
Bugs item #954151, was opened at 2004-05-14 12:17 Message generated for change (Comment added) made by nobody You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=391879&aid=954151&group_id=27895 Category: Utilities Group: CVS Status: Pending Resolution: Fixed Priority: 5 Submitted By: Stefan Lischke (lischke2) Assigned to: Nobody/Anonymous (nobody) Summary: consistent merge possibly bug Initial Comment: when merging two TopicMaps, it is not possible to use the -c constistent argument with the merge tool. It is possible if you first merge both maps and then make it consistent with another call to the merge tool with just the merged Map I got Following Exception lischke@bruecke:~/xtmcms_tm4j/ivsxtmcms> ${TM4J_HOME}/bin/merge -c -o data/ivs.xtm -e ISO-8859-1 data/modules.xtm data/ivsData.xtm 1 [main] ERROR org.tm4j.topicmap.utils.XTMUtils - INTERNAL ERROR: IntegrityViolationException thrown when trying to delete previously merged topics. There may be a bug with the flattenTopicRefs() method. 7 [main] FATAL org.tm4j.topicmap.cmd.Merge - Unexpected exception. org.tm4j.topicmap.TopicMapRuntimeException: INTERNAL ERROR: IntegrityViolationException thrown when trying to delete previously merged topics. There may be a bug with the flattenTopicRefs() method. Cause: org.tm4j.topicmap.IntegrityViolationException: Topic is a theme in the scope of one or more scoped objects in the topic map. at org.tm4j.topicmap.utils.XTMUtils.flattenTopicRefs(XTMUtils.java:520) at org.tm4j.topicmap.utils.XTMUtils.makeConsistent(XTMUtils.java:134) at org.tm4j.topicmap.utils.TopicMapMerger.makeResultConsistent(TopicMapMerger.java:558) at org.tm4j.topicmap.utils.TopicMapMerger.merge(TopicMapMerger.java:598) at org.tm4j.topicmap.cmd.AppBase.loadTopicMapList(AppBase.java:147) at org.tm4j.topicmap.cmd.AppBase.loadTopicMap(AppBase.java:99) at org.tm4j.topicmap.cmd.Merge.run(Merge.java:91) at org.tm4j.topicmap.cmd.AppBase.initialise(AppBase.java:169) at org.tm4j.topicmap.cmd.Merge.<init>(Merge.java:60) at org.tm4j.topicmap.cmd.Merge.main(Merge.java:115) ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2004-05-17 10:44 Message: Logged In: NO This bug is still there, even after a freschly CVS update -C -d ---------------------------------------------------------------------- Comment By: Kal Ahmed (kal_ahmed) Date: 2004-05-14 13:00 Message: Logged In: YES user_id=176992 There was a problem with updating the themes index that is used to detect topics still being used in a scope. This has been fixed recently in CVS. Can you update your CVS checkout and try again ? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=391879&aid=954151&group_id=27895 |
From: Kal A. <ka...@te...> - 2004-05-17 16:46:26
|
On Mon, 2004-05-17 at 17:27, Andy Peel wrote: > > There is a way to make more coarse-grained transactions with the > > Hibernate backend. The relevant methods are: > > TopicMapProvider.isTransactional() which returns true if the backend > > supports transactions (currently only the Hibernate backend does). > > TopicMapProvider.openTransaction() which starts a new transaction and > > returns a org.tm4j.topicmap.ProviderTransaction instance. > > TopicMapProvider.getOpenTransaction() which returns a handle to the > > current transaction. > > and then the methods of org.tm4j.topicmap.ProviderTransaction which you > > can use to commit or rollback the transaction. > > Excellent. Sorry, I'd misread the code, and just assumed that the commit > always happened, whereas it actually only commits if the method created the > new transaction itself. Cool. > > > Currently nested transactions are not supported at all, but the > > hibernate implementation only starts a new transaction for an API call > > if one is not already started, so you should be able to do something > > like: > > > > txn = tm.getProvider().openTransaction(); > > // Do some stuff here > > txn.commit(); // or txn.rollback() > > I'd actually like to tell the TopicMapProvider to use a transaction that > already exists, so that my existing Hibernate transaction manager can create > a transaction for use in a service method that does some other stuff in my > app and then does the topic map stuff and then maybe does some other stuff > specific to my app. I can't see a way to do that at the moment, but I think > it'd be easy to add. > I think you would need to hack the code a bit to do that. But it should all be localised in the HibernateProviderTransaction class I think. > The other thing was concurrent modification preventation. I had a quick look > through the hbf.xml files and couldn't see a version column so I guess it > doesn't do optimistic locking. > I didn't enable that, no. Without having a specific application in mind its always a bit difficult to tell what should be turned on and what should not. I guess that it should be possible for you to just hack the configuration files and go with that - I don't think that any of the code should need to change... Cheers, Kal -- Kal Ahmed <ka...@te...> techquila |
From: Andy P. <an...@il...> - 2004-05-17 16:29:56
|
> There is a way to make more coarse-grained transactions with the > Hibernate backend. The relevant methods are: > TopicMapProvider.isTransactional() which returns true if the backend > supports transactions (currently only the Hibernate backend does). > TopicMapProvider.openTransaction() which starts a new transaction and > returns a org.tm4j.topicmap.ProviderTransaction instance. > TopicMapProvider.getOpenTransaction() which returns a handle to the > current transaction. > and then the methods of org.tm4j.topicmap.ProviderTransaction which you > can use to commit or rollback the transaction. Excellent. Sorry, I'd misread the code, and just assumed that the commit always happened, whereas it actually only commits if the method created the new transaction itself. Cool. > Currently nested transactions are not supported at all, but the > hibernate implementation only starts a new transaction for an API call > if one is not already started, so you should be able to do something > like: > > txn = tm.getProvider().openTransaction(); > // Do some stuff here > txn.commit(); // or txn.rollback() I'd actually like to tell the TopicMapProvider to use a transaction that already exists, so that my existing Hibernate transaction manager can create a transaction for use in a service method that does some other stuff in my app and then does the topic map stuff and then maybe does some other stuff specific to my app. I can't see a way to do that at the moment, but I think it'd be easy to add. The other thing was concurrent modification preventation. I had a quick look through the hbf.xml files and couldn't see a version column so I guess it doesn't do optimistic locking. Thanks Kal, Andy. |
From: Kal A. <ka...@te...> - 2004-05-17 15:13:47
|
Hi Andy, There is a way to make more coarse-grained transactions with the Hibernate backend. The relevant methods are: TopicMapProvider.isTransactional() which returns true if the backend supports transactions (currently only the Hibernate backend does). TopicMapProvider.openTransaction() which starts a new transaction and returns a org.tm4j.topicmap.ProviderTransaction instance. TopicMapProvider.getOpenTransaction() which returns a handle to the current transaction. and then the methods of org.tm4j.topicmap.ProviderTransaction which you can use to commit or rollback the transaction. Currently nested transactions are not supported at all, but the hibernate implementation only starts a new transaction for an API call if one is not already started, so you should be able to do something like: txn = tm.getProvider().openTransaction(); // Do some stuff here txn.commit(); // or txn.rollback() This is all in the 0.9.x API BTW. Hope this helps! Cheers, Kal On Mon, 2004-05-17 at 15:14, Andy Peel wrote: > Hello, > > I'm working on integrating use of TM4J and TMAPI into our application. > There's a couple of possible showstoppers though. > > Firstly, the Hibernate implementations classes do a commit whenever a > suitable operation has completed, such as when a new topic is created, or an > occurence is added to a topic. What we'd like to do is control the commit > overselves and do it at a higher level. Thus a single transaction may > include multiple topics, associatons, occurences, etc. being created, > updated or deleted. > > The other issue is that there doesn't seem to be a way of preventing > modification by more than 1 user at the same time. Using Hibernate's > optimistic lock mechanism would be one option here. > > So I guess there's a couple of questions. Firstly, has anybody has to build > workarounds for these before, and secondly, is there any plan to put these > into TM4J? > > > Andy. > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: SourceForge.net Broadband > Sign-up now for SourceForge Broadband and get the fastest > 6.0/768 connection for only $19.95/mo for the first 3 months! > http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click > _______________________________________________ > Tm4j-developers mailing list > Tm4...@li... > https://lists.sourceforge.net/lists/listinfo/tm4j-developers -- Kal Ahmed <ka...@te...> techquila |
From: Andy P. <an...@il...> - 2004-05-17 14:16:15
|
Hello, I'm working on integrating use of TM4J and TMAPI into our application. There's a couple of possible showstoppers though. Firstly, the Hibernate implementations classes do a commit whenever a suitable operation has completed, such as when a new topic is created, or an occurence is added to a topic. What we'd like to do is control the commit overselves and do it at a higher level. Thus a single transaction may include multiple topics, associatons, occurences, etc. being created, updated or deleted. The other issue is that there doesn't seem to be a way of preventing modification by more than 1 user at the same time. Using Hibernate's optimistic lock mechanism would be one option here. So I guess there's a couple of questions. Firstly, has anybody has to build workarounds for these before, and secondly, is there any plan to put these into TM4J? Andy. |
From: SourceForge.net <no...@so...> - 2004-05-14 20:00:49
|
Bugs item #954151, was opened at 2004-05-14 20:17 Message generated for change (Comment added) made by kal_ahmed You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=391879&aid=954151&group_id=27895 Category: Utilities Group: CVS >Status: Pending >Resolution: Fixed Priority: 5 Submitted By: Stefan Lischke (lischke2) Assigned to: Nobody/Anonymous (nobody) Summary: consistent merge possibly bug Initial Comment: when merging two TopicMaps, it is not possible to use the -c constistent argument with the merge tool. It is possible if you first merge both maps and then make it consistent with another call to the merge tool with just the merged Map I got Following Exception lischke@bruecke:~/xtmcms_tm4j/ivsxtmcms> ${TM4J_HOME}/bin/merge -c -o data/ivs.xtm -e ISO-8859-1 data/modules.xtm data/ivsData.xtm 1 [main] ERROR org.tm4j.topicmap.utils.XTMUtils - INTERNAL ERROR: IntegrityViolationException thrown when trying to delete previously merged topics. There may be a bug with the flattenTopicRefs() method. 7 [main] FATAL org.tm4j.topicmap.cmd.Merge - Unexpected exception. org.tm4j.topicmap.TopicMapRuntimeException: INTERNAL ERROR: IntegrityViolationException thrown when trying to delete previously merged topics. There may be a bug with the flattenTopicRefs() method. Cause: org.tm4j.topicmap.IntegrityViolationException: Topic is a theme in the scope of one or more scoped objects in the topic map. at org.tm4j.topicmap.utils.XTMUtils.flattenTopicRefs(XTMUtils.java:520) at org.tm4j.topicmap.utils.XTMUtils.makeConsistent(XTMUtils.java:134) at org.tm4j.topicmap.utils.TopicMapMerger.makeResultConsistent(TopicMapMerger.java:558) at org.tm4j.topicmap.utils.TopicMapMerger.merge(TopicMapMerger.java:598) at org.tm4j.topicmap.cmd.AppBase.loadTopicMapList(AppBase.java:147) at org.tm4j.topicmap.cmd.AppBase.loadTopicMap(AppBase.java:99) at org.tm4j.topicmap.cmd.Merge.run(Merge.java:91) at org.tm4j.topicmap.cmd.AppBase.initialise(AppBase.java:169) at org.tm4j.topicmap.cmd.Merge.<init>(Merge.java:60) at org.tm4j.topicmap.cmd.Merge.main(Merge.java:115) ---------------------------------------------------------------------- >Comment By: Kal Ahmed (kal_ahmed) Date: 2004-05-14 21:00 Message: Logged In: YES user_id=176992 There was a problem with updating the themes index that is used to detect topics still being used in a scope. This has been fixed recently in CVS. Can you update your CVS checkout and try again ? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=391879&aid=954151&group_id=27895 |
From: SourceForge.net <no...@so...> - 2004-05-14 19:54:43
|
Bugs item #954076, was opened at 2004-05-14 17:34 Message generated for change (Settings changed) made by kal_ahmed You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=391879&aid=954076&group_id=27895 Category: Tolog engine >Group: TM4J 0.9.4 >Status: Pending >Resolution: Fixed Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Kal Ahmed (kal_ahmed) Summary: Unconstraint predicate query causes NullPointerException Initial Comment: Following statement causes tolog to crash: select * from instance-of($A,$B) ? Exception: java.lang.NullPointerException at org.tm4j.tolog.InstanceOfExtension.getInstanceMatches(InstanceOfExtension.java:114) .... The same applies to the DirectInstanceOfExtension class as well. P.S.: The TM4J version which I tested is 0.9.4 Stefan (st...@fr...) ---------------------------------------------------------------------- >Comment By: Kal Ahmed (kal_ahmed) Date: 2004-05-14 20:54 Message: Logged In: YES user_id=176992 Fixed in CVS. There are now also a couple of unit tests to cover this case. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=391879&aid=954076&group_id=27895 |
From: SourceForge.net <no...@so...> - 2004-05-14 19:17:47
|
Bugs item #954151, was opened at 2004-05-14 21:17 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=391879&aid=954151&group_id=27895 Category: Utilities Group: CVS Status: Open Resolution: None Priority: 5 Submitted By: Stefan Lischke (lischke2) Assigned to: Nobody/Anonymous (nobody) Summary: consistent merge possibly bug Initial Comment: when merging two TopicMaps, it is not possible to use the -c constistent argument with the merge tool. It is possible if you first merge both maps and then make it consistent with another call to the merge tool with just the merged Map I got Following Exception lischke@bruecke:~/xtmcms_tm4j/ivsxtmcms> ${TM4J_HOME}/bin/merge -c -o data/ivs.xtm -e ISO-8859-1 data/modules.xtm data/ivsData.xtm 1 [main] ERROR org.tm4j.topicmap.utils.XTMUtils - INTERNAL ERROR: IntegrityViolationException thrown when trying to delete previously merged topics. There may be a bug with the flattenTopicRefs() method. 7 [main] FATAL org.tm4j.topicmap.cmd.Merge - Unexpected exception. org.tm4j.topicmap.TopicMapRuntimeException: INTERNAL ERROR: IntegrityViolationException thrown when trying to delete previously merged topics. There may be a bug with the flattenTopicRefs() method. Cause: org.tm4j.topicmap.IntegrityViolationException: Topic is a theme in the scope of one or more scoped objects in the topic map. at org.tm4j.topicmap.utils.XTMUtils.flattenTopicRefs(XTMUtils.java:520) at org.tm4j.topicmap.utils.XTMUtils.makeConsistent(XTMUtils.java:134) at org.tm4j.topicmap.utils.TopicMapMerger.makeResultConsistent(TopicMapMerger.java:558) at org.tm4j.topicmap.utils.TopicMapMerger.merge(TopicMapMerger.java:598) at org.tm4j.topicmap.cmd.AppBase.loadTopicMapList(AppBase.java:147) at org.tm4j.topicmap.cmd.AppBase.loadTopicMap(AppBase.java:99) at org.tm4j.topicmap.cmd.Merge.run(Merge.java:91) at org.tm4j.topicmap.cmd.AppBase.initialise(AppBase.java:169) at org.tm4j.topicmap.cmd.Merge.<init>(Merge.java:60) at org.tm4j.topicmap.cmd.Merge.main(Merge.java:115) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=391879&aid=954151&group_id=27895 |
From: SourceForge.net <no...@so...> - 2004-05-14 16:34:29
|
Bugs item #954076, was opened at 2004-05-14 09:34 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=391879&aid=954076&group_id=27895 Category: Tolog engine Group: TM4J 0.9.2 Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Kal Ahmed (kal_ahmed) Summary: Unconstraint predicate query causes NullPointerException Initial Comment: Following statement causes tolog to crash: select * from instance-of($A,$B) ? Exception: java.lang.NullPointerException at org.tm4j.tolog.InstanceOfExtension.getInstanceMatches(InstanceOfExtension.java:114) .... The same applies to the DirectInstanceOfExtension class as well. P.S.: The TM4J version which I tested is 0.9.4 Stefan (st...@fr...) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=391879&aid=954076&group_id=27895 |
From: Kal A. <ka...@te...> - 2004-05-12 18:49:51
|
Hi Wahyu, I'm not sure that I understand what your query is trying to do. You have a topic Son. Is "Andre" also a topic. If so, is it a topic of type "Son" or is it a topic that plays a role type "Son" in an association ? If you can show me the XTM for Andre, Son and the thing that you are trying to query that would help! Cheers, Kal On Wed, 2004-05-12 at 11:28, nengsih wahyu wrote: > I have a problem and i need some help. > 1. I try to make extension for searching topic that > have some value. > example : > There's topic : Son > i want to find all of topic that topic=son and the > value is "Andre". > 2. if i want to find extension using 3 parameters, how > can i using that. > example : > select $A from ($A,Son,Andre) > in parameter Andre should i change to be topic or just > value of string ? > can help me plz...!! > > > Regards, > > wahyu > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Movies - Buy advance tickets for 'Shrek 2' > http://movies.yahoo.com/showtimes/movie?mid=1808405861 > > > ------------------------------------------------------- > This SF.Net email is sponsored by Sleepycat Software > Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver > higher performing products faster, at low TCO. > http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 > _______________________________________________ > Tm4j-developers mailing list > Tm4...@li... > https://lists.sourceforge.net/lists/listinfo/tm4j-developers -- Kal Ahmed <ka...@te...> techquila |
From: nengsih w. <jo...@ya...> - 2004-05-12 10:29:00
|
I have a problem and i need some help. 1. I try to make extension for searching topic that have some value. example : There's topic : Son i want to find all of topic that topic=son and the value is "Andre". 2. if i want to find extension using 3 parameters, how can i using that. example : select $A from ($A,Son,Andre) in parameter Andre should i change to be topic or just value of string ? can help me plz...!! Regards, wahyu __________________________________ Do you Yahoo!? Yahoo! Movies - Buy advance tickets for 'Shrek 2' http://movies.yahoo.com/showtimes/movie?mid=1808405861 |
From: Kal A. <ka...@te...> - 2004-05-11 08:39:53
|
Hi, TM4J does not currently support tolog version 1.0 - so the predicates you mention like association, topic, association-role and so on are not implemented and will not work. TM4J support tolog version 0.1 which allows only instance-of, direct-instance-of and predicates using association types (e.g. works-for($A:employee, $B:employer) where works-for, employee and employer are all topics in the topic map). TM4J also supports the not() predicate and the /= operator. Cheers, Kal nengsih wahyu wrote: >i want to ask to every body thats knows about tolog. >in my project i use TM4J 0.9.1, i had some problems, i >try to use predicate like association,topic, >association-role was error n the message error is >uknown predicate.just predicate instance-of work. >pls help me...!!! > > > > >__________________________________ >Do you Yahoo!? >Win a $20,000 Career Makeover at Yahoo! HotJobs >http://hotjobs.sweepstakes.yahoo.com/careermakeover > > >------------------------------------------------------- >This SF.Net email is sponsored by Sleepycat Software >Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver >higher performing products faster, at low TCO. >http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 >_______________________________________________ >Tm4j-developers mailing list >Tm4...@li... >https://lists.sourceforge.net/lists/listinfo/tm4j-developers > > > > |
From: nengsih w. <jo...@ya...> - 2004-05-11 04:23:16
|
i want to ask to every body thats knows about tolog. in my project i use TM4J 0.9.1, i had some problems, i try to use predicate like association,topic, association-role was error n the message error is uknown predicate.just predicate instance-of work. pls help me...!!! __________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover |
From: Kal A. <ka...@te...> - 2004-05-10 19:44:30
|
Hi all, For a while now the class org.tm4j.topicmap.PSI (which contains the old XTM PSI constants) has been deprecated in favour of org.tm4j.topicmap.XTMPSI. I propose to remove org.tm4j.topicmap.PSI from the source tree (and therefore from the next release of TM4J). If anyone has strong opposition to this, please yell now! Cheers, Kal -- Kal Ahmed <ka...@te...> techquila |
From: Stefan L. <li...@no...> - 2004-05-05 14:32:30
|
Hi Kal and all others, since TMAPI changed order of role, player to player, role in Association.createAssociationRole() we should change it in TM4J too, i also had this bug too when i changed tinyTIM, cause both arguments are Topics. Sorry for net sending in a patch, i'm working at home with windows environment and i'm not able to generate patches with winCVS. stefan |
From: Kal A. <ka...@te...> - 2004-04-15 08:52:05
|
Hi Stefan, I've just committed an initial implementation of TopicMapSystemFactory. It compiles, but I haven't had chance to test it, but if you get chance to try it out and let me know if it works today I can have a go at finishing it off on the train on the way home ;-) The implementation uses the TopicMapSystemFactory.setProperty() method to setup the TM4J provider configuration, so the code for using it would be something like: TopicMapSystemFactory factory = TopicMapSystemFactory.newInstance(); factory.setProperty("org.tm4j.topicmap.TopicMapProviderFactory", "org.tm4j.topicmap.hibernate.TopicMapProviderFactoryImpl") factory.setProperty("hibernate.dialect", ...); // Set other TM4J provider properties here factory.newTopicMapSystem(); Sorry to make you do my testing for me, but I'm not going to get chance now until the end of the day...if you can let me know if it works, that would be great! Cheers, Kal Kal Ahmed wrote: > Hi Stefan, > > I'll include an implementation in TM4J 0.9.3 - I'm also just finished > with adding the other TMAPI index implementations, so I'll make a new > version as soon as I have the TopicMapSystemFactory implementation done. > > Cheers, > > Kal > > > Stefan Lischke wrote: > >> Hi, >> >> i just wanted to use TMAPI wrappers but i did not found a >> TopicMapSystemFactory. >> >> i dont want to include any TM4J specific code, so my plan is to do >> the follwoing: >> ------------ >> //provider factory >> System.setProperty("ProviderFactory",org.tm4j.topicmap.hibernate.TopicMapProviderFactoryImpl"); >> >> >> //provide properties >> System.setProperty("hibernate.connection.url", >> "jdbc:mysql://localhost/tm4j"); >> System.setProperty("hibernate.connection.username","tm4j"); >> System.setProperty("hibernate.connection.password","tm4j"); >> System.setProperty("hibernate.connection.driver_class","com.mysql.jdbc.Driver"); >> >> System.setProperty("hibernate.dialect","net.sf.hibernate.dialect.MySQLDialect"); >> >> >> //The TM4J TopicMapSystemFactory >> !!! >> System.setProperty("org.tmapi.core.TopicMapSystemFactory",org.tm4j.tmapi.core.TopicMapSystemFactoryImpl"); >> >> >> TopicMapSystemFactory tmsystemfac = >> TopicMapSystemFactory.newInstance(); >> this.tmsystem = tmsystemfac.newTopicMapSystem(); >> ------------ >> >> Im the meantime i'll implement such a TopicMapFactory by myself >> containing the following Line: >> newInstance(){ >> m_tmSystem = new >> org.tm4j.tmapi.core.TMAPITopicMapSystemImpl("org.tm4j.topicmap.hibernate.TopicMapProviderFactoryImpl",System.getProperties()); >> >> } >> >> stefan >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: IBM Linux Tutorials >> Free Linux tutorial presented by Daniel Robbins, President and CEO of >> GenToo technologies. Learn everything from fundamentals to system >> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click >> _______________________________________________ >> Tm4j-developers mailing list >> Tm4...@li... >> https://lists.sourceforge.net/lists/listinfo/tm4j-developers >> >> > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Tm4j-developers mailing list > Tm4...@li... > https://lists.sourceforge.net/lists/listinfo/tm4j-developers > > |
From: Kal A. <ka...@te...> - 2004-04-15 08:17:53
|
Hi Stefan, I'll include an implementation in TM4J 0.9.3 - I'm also just finished with adding the other TMAPI index implementations, so I'll make a new version as soon as I have the TopicMapSystemFactory implementation done. Cheers, Kal Stefan Lischke wrote: > Hi, > > i just wanted to use TMAPI wrappers but i did not found a > TopicMapSystemFactory. > > i dont want to include any TM4J specific code, so my plan is to do the > follwoing: > ------------ > //provider factory > System.setProperty("ProviderFactory",org.tm4j.topicmap.hibernate.TopicMapProviderFactoryImpl"); > > > //provide properties > System.setProperty("hibernate.connection.url", > "jdbc:mysql://localhost/tm4j"); > System.setProperty("hibernate.connection.username","tm4j"); > System.setProperty("hibernate.connection.password","tm4j"); > System.setProperty("hibernate.connection.driver_class","com.mysql.jdbc.Driver"); > > System.setProperty("hibernate.dialect","net.sf.hibernate.dialect.MySQLDialect"); > > > //The TM4J TopicMapSystemFactory > !!! > System.setProperty("org.tmapi.core.TopicMapSystemFactory",org.tm4j.tmapi.core.TopicMapSystemFactoryImpl"); > > > TopicMapSystemFactory tmsystemfac = > TopicMapSystemFactory.newInstance(); > this.tmsystem = tmsystemfac.newTopicMapSystem(); > ------------ > > Im the meantime i'll implement such a TopicMapFactory by myself > containing the following Line: > newInstance(){ > m_tmSystem = new > org.tm4j.tmapi.core.TMAPITopicMapSystemImpl("org.tm4j.topicmap.hibernate.TopicMapProviderFactoryImpl",System.getProperties()); > > } > > stefan > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Tm4j-developers mailing list > Tm4...@li... > https://lists.sourceforge.net/lists/listinfo/tm4j-developers > > |
From: Stefan L. <li...@no...> - 2004-04-14 12:58:59
|
Hi, i just wanted to use TMAPI wrappers but i did not found a TopicMapSystemFactory. i dont want to include any TM4J specific code, so my plan is to do the follwoing: ------------ //provider factory System.setProperty("ProviderFactory",org.tm4j.topicmap.hibernate.TopicMapProviderFactoryImpl"); //provide properties System.setProperty("hibernate.connection.url", "jdbc:mysql://localhost/tm4j"); System.setProperty("hibernate.connection.username","tm4j"); System.setProperty("hibernate.connection.password","tm4j"); System.setProperty("hibernate.connection.driver_class","com.mysql.jdbc.Driver"); System.setProperty("hibernate.dialect","net.sf.hibernate.dialect.MySQLDialect"); //The TM4J TopicMapSystemFactory !!! System.setProperty("org.tmapi.core.TopicMapSystemFactory",org.tm4j.tmapi.core.TopicMapSystemFactoryImpl"); TopicMapSystemFactory tmsystemfac = TopicMapSystemFactory.newInstance(); this.tmsystem = tmsystemfac.newTopicMapSystem(); ------------ Im the meantime i'll implement such a TopicMapFactory by myself containing the following Line: newInstance(){ m_tmSystem = new org.tm4j.tmapi.core.TMAPITopicMapSystemImpl("org.tm4j.topicmap.hibernate.TopicMapProviderFactoryImpl",System.getProperties()); } stefan |
From: SourceForge.net <no...@so...> - 2004-04-12 16:41:45
|
Bugs item #925251, was opened at 2004-03-29 12:18 Message generated for change (Comment added) made by kal_ahmed You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=391879&aid=925251&group_id=27895 Category: Documentation Group: TM4J 0.9.1 >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Kal Ahmed (kal_ahmed) Assigned to: Kal Ahmed (kal_ahmed) Summary: Persistent backend appendixes need tidying up Initial Comment: The documentation about installing and using the persistent backends (Ozone and Hibernate) needs review and tidying up now that some of the documentation has been moved into the main body of the developer's guide. Perhaps it would be better to move the installation instructions into the main part of the guide too. ---------------------------------------------------------------------- >Comment By: Kal Ahmed (kal_ahmed) Date: 2004-04-12 17:41 Message: Logged In: YES user_id=176992 Reviewed and updated Hibernate documentation. Ozone installation docs stay the same. For now, will keep all of this as appendices. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=391879&aid=925251&group_id=27895 |
From: SourceForge.net <no...@so...> - 2004-04-12 16:40:38
|
Bugs item #925249, was opened at 2004-03-29 12:16 Message generated for change (Comment added) made by kal_ahmed You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=391879&aid=925249&group_id=27895 Category: Documentation Group: TM4J 0.9.1 >Status: Closed >Resolution: Fixed Priority: 9 Submitted By: Kal Ahmed (kal_ahmed) Assigned to: Kal Ahmed (kal_ahmed) Summary: Graphics missing for admintool Initial Comment: Graphics files referenced by the admintool docs are not copied into the distro. ---------------------------------------------------------------------- >Comment By: Kal Ahmed (kal_ahmed) Date: 2004-04-12 17:40 Message: Logged In: YES user_id=176992 Graphics are now properly included by the build.xml file. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=391879&aid=925249&group_id=27895 |
From: SourceForge.net <no...@so...> - 2004-04-12 15:56:53
|
Bugs item #929821, was opened at 2004-04-05 16:47 Message generated for change (Settings changed) made by kal_ahmed You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=391879&aid=929821&group_id=27895 Category: Utilities Group: TM4J 0.9.0 final >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Stefan Lischke (lischke2) Assigned to: Nobody/Anonymous (nobody) Summary: Admintool Config written without Namespace Initial Comment: The Admintool doesn't opens the provider for which the admintool did save the configuration. It worked fine just after creation, but after saving configuration and starting again with the just saved file the Admintool doesn't show the provider..... after walking through TM4JConfigurationReader i found out that configuration isn't parsed when namespace is missing: if ((nsuri != null && nsuri.equals(CFG_NS_URI))) But in TM4JConfigurationWriter a namepace is written with Document ret = org.new DocumentImpl(); Element n = ret.createElementNS(CFG_NS_URI, "tm4j"); So its not a problem in TM4J code its something with Xerces, maybe the jar included in TM4J is an old one. I also foudn some posts in newsgroups adressing the same problem. I propose just to remove namespace in configuration ---------------------------------------------------------------------- >Comment By: Kal Ahmed (kal_ahmed) Date: 2004-04-12 16:56 Message: Logged In: YES user_id=176992 Fixed a bug in the code using the XMLSerializer to serialize the DOM tree ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=391879&aid=929821&group_id=27895 |