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: SourceForge.net <no...@so...> - 2005-09-16 17:06:45
|
Support Requests item #1293078, was opened at 2005-09-16 10:06 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=391880&aid=1293078&group_id=27895 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Troubles building TM4J Initial Comment: Hi, I tried to build tm4j from the source version tm4j-0.9.7. I tried using both the build file in the tm4j-0.9.7 directory, and bin\ant all. In both cases I got the following error: [javac] error: error reading C:\Prgram Files\tm4j-0.9.7\lib\LICENSE.jargs: error in opening zip file I did set CLASSPATH to include all jar files in my jdk1.5.0_04 directory. My PATH variable also include both the jdk and tm4j directories. Did I miss some variables or some important steps? Many thanks for your help. -- Chung -- ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=391880&aid=1293078&group_id=27895 |
From: Conal T. <Con...@vu...> - 2005-09-01 11:29:38
|
Kal Ahmed wrote: > I think that maybe the "right" thing to do here would be to change the > definition of getBaseTopic() so that it must always return a Topic = object > and must return this when it has no base topic. Firstly that actually = seems > more natural and would let getBaseTopic() be used in a chain of method = calls > more safely; and secondly I think that there are other utilities (not = just > TopicMapWalker) that make this assumption. Yes for sure ... so the "bug" is just in the javadoc for = Topic.getBaseTopic(), and I'll stick with the code I've written. Con |
From: Kal A. <ka...@te...> - 2005-09-01 08:08:47
|
Hi Conal, I think that maybe the "right" thing to do here would be to change the definition of getBaseTopic() so that it must always return a Topic object and must return this when it has no base topic. Firstly that actually seems more natural and would let getBaseTopic() be used in a chain of method calls more safely; and secondly I think that there are other utilities (not just TopicMapWalker) that make this assumption. Cheers, Kal -----Original Message----- From: tm4...@li... [mailto:tm4...@li...] On Behalf Of Conal Tuohy Sent: 31 August 2005 23:26 To: tm4...@li... Subject: [Tm4j-developers] bug in TopicMapWalker We're writing a new back end which supports only "static merging" and this caused us to discover a bug in TM4J. On line 85 of org.tm4j.topicmap.util.TopicMapWalker it assumes that a Topic must have a non-null "base topic", though the javadoc for Topic.getBaseTopic() says that it may return null if a topic has no "base topic". Because our back end uses static (eager) merging, we don't have "base topics" at all, so we had an Topic implementation like this: public Topic getBaseTopic() { // doesn't support dynamic merging so this doesn't apply return null; } BTW to keep TopicMapWalker happy I've since changed it to: public Topic getBaseTopic() { // doesn't support dynamic merging so this doesn't apply return this; } Cheers Con ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Tm4j-developers mailing list Tm4...@li... https://lists.sourceforge.net/lists/listinfo/tm4j-developers |
From: Conal T. <Con...@vu...> - 2005-08-31 22:27:38
|
We're writing a new back end which supports only "static merging" and this caused us to discover a bug in TM4J. On line 85 of org.tm4j.topicmap.util.TopicMapWalker it assumes that a Topic must have a non-null "base topic", though the javadoc for Topic.getBaseTopic() says that it may return null if a topic has no "base topic". Because our back end uses static (eager) merging, we don't have "base topics" at all, so we had an Topic implementation like this: public Topic getBaseTopic() { // doesn't support dynamic merging so this doesn't apply return null; } BTW to keep TopicMapWalker happy I've since changed it to: public Topic getBaseTopic() { // doesn't support dynamic merging so this doesn't apply return this; } Cheers Con |
From: Kal A. <ka...@te...> - 2005-07-14 07:32:28
|
Hi Suseela, The format of the predicate is correct (i.e. a variable or object reference as the first parameter and a search string as the second parameter). The text searching for value-like is done using the TM4J Lucene integration so the search string should use Lucene's query syntax which is documented at http://jakarta.apache.org/lucene/docs/queryparsersyntax.html Also you should note that the tolog engine does not instantiate the full-text index automatically so you need to do that in your code before running any tolog queries which use value-like. See the example code in examples/fulltext/FullTextSearch.java. If you have a full stack trace for the error (or if you can change your code to produce one) that would be helpful in tracing the cause of this problem. Cheers, Kal suseela sarasamma wrote: > Hi > > I like to find objects in a topic map which matches > a pattern. For example all base names that contains > "refer". I am not sure I understood the usage. > > Tried the following for the simple query (leaving out ? etc) > value-like($A, "refer") > value-like($A, "\\.*refer.*\\") > value-like($A, "*refer*") > > All three gave the parsing error "Error instantiating predicate class". > Can some body please tell me the correct usage. > > thanks > suseela > > ------------------------------------------------------------------------ > Start your day with Yahoo! - make it your home page > <http://us.rd.yahoo.com/evt=34442/*http://www.yahoo.com/r/hs> |
From: suseela s. <sus...@ya...> - 2005-07-14 03:02:59
|
Hi I like to find objects in a topic map which matches a pattern. For example all base names that contains "refer". I am not sure I understood the usage. Tried the following for the simple query (leaving out ? etc) value-like($A, "refer") value-like($A, "\\.*refer.*\\") value-like($A, "*refer*") All three gave the parsing error "Error instantiating predicate class". Can some body please tell me the correct usage. thanks suseela --------------------------------- Start your day with Yahoo! - make it your home page |
From: SourceForge.net <no...@so...> - 2005-06-08 15:55:09
|
Support Requests item #1216209, was opened at 2005-06-07 08:22 Message generated for change (Comment added) made by kal_ahmed You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=391880&aid=1216209&group_id=27895 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: tm4j for applets Initial Comment: Hello all, I use tm4j for a project to parse xtm files. But I want to make an applet. And when I try to create an TopicMapProvider object I have problems with reading system properties : java.security.AccessControlException: access denied (java.util.PropertyPermission xml.catalog.ignoreMissing read) i changed the tm4j code a little to deal with that, but the same exceptions comes also in org.apache.xml.resolver.CatalogManager.<init> from resolver.jar Maybe, System.getProperty(...) is called there and I cannot use that in applets. Is there a way to avoid such calls? Or where can I find the source code for resolver.jar? And maybe I should try to change its code.... So, can I create an TopicMapProvider object without having such problems? I would appreciate any help, Best regards, Valentin Mihaylov val...@ya... ---------------------------------------------------------------------- >Comment By: Kal Ahmed (kal_ahmed) Date: 2005-06-08 16:55 Message: Logged In: YES user_id=176992 Resolver.jar is from the Apache XML Commons and you can find links to the source code at: http://xml.apache.org/commons/ TM4J hasn't really been designed (or tested) for applet use - so you might find a few more issues like this. If you are just looking for basic topic map processing for an applet, you might want to also consider using tinytim (https://sourceforge.net/projects/tinytim/) which has a much smaller footprint than TM4J. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=391880&aid=1216209&group_id=27895 |
From: SourceForge.net <no...@so...> - 2005-06-07 07:22:42
|
Support Requests item #1216209, was opened at 2005-06-07 00:22 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=391880&aid=1216209&group_id=27895 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: tm4j for applets Initial Comment: Hello all, I use tm4j for a project to parse xtm files. But I want to make an applet. And when I try to create an TopicMapProvider object I have problems with reading system properties : java.security.AccessControlException: access denied (java.util.PropertyPermission xml.catalog.ignoreMissing read) i changed the tm4j code a little to deal with that, but the same exceptions comes also in org.apache.xml.resolver.CatalogManager.<init> from resolver.jar Maybe, System.getProperty(...) is called there and I cannot use that in applets. Is there a way to avoid such calls? Or where can I find the source code for resolver.jar? And maybe I should try to change its code.... So, can I create an TopicMapProvider object without having such problems? I would appreciate any help, Best regards, Valentin Mihaylov val...@ya... ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=391880&aid=1216209&group_id=27895 |
From: SourceForge.net <no...@so...> - 2005-05-31 20:19:15
|
Bugs item #1212251, was opened at 2005-05-31 15:19 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=1212251&group_id=27895 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: In-Memory Impl Group: TM4J 0.9.7 Status: Open Resolution: None Priority: 5 Submitted By: Pablo Olmos (jaguar080) Assigned to: Nobody/Anonymous (nobody) Summary: getDisplayName skips a search option Initial Comment: Hi, The method getDisplayName in class TopicMapUtilsImpl skips the option to find a base name in the specified scope even if no 'display' variant is present in the topic. This occurs because getDisplayName always invokes getScopedVariantName with XTMPSI.DISPLAY as Locator parameter. Therefore, a base name without a variant but with a scope will never be returned. the problem can be solved by adding the line outside of the second while (while2): return basename.getData(); //between lines 645 and 646 Hope you can include this in your next release. Cheers, Pablo ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=391879&aid=1212251&group_id=27895 |
From: SourceForge.net <no...@so...> - 2005-05-31 17:12:17
|
Bugs item #1212139, was opened at 2005-05-31 12:12 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=1212139&group_id=27895 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: In-Memory Impl Group: TM4J 0.9.7 Status: Open Resolution: None Priority: 5 Submitted By: Pablo Olmos (jaguar080) Assigned to: Nobody/Anonymous (nobody) Summary: getDisplayName skips a search option Initial Comment: Hi, The method getDisplayName in class TopicMapUtilsImpl skips the option to find a base name in the specified scope even if no 'display' variant is present in the topic. This occurs because getDisplayName always invokes getScopedVariantName with XTMPSI.DISPLAY as Locator parameter. Therefore, a base name without a variant but with a scope will never be returned. the problem can be solved by adding the line outside of the second while (while2): return basename.getData(); //between lines 645 and 646 Hope you can include this in your next release. Cheers, Pablo ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=391879&aid=1212139&group_id=27895 |
From: Oliver L. <ol...@le...> - 2005-05-30 07:48:01
|
hi Kal, > 1) Why is the preparsing step required ? Is there something too complex for antlr to handle in there ? yepp, some ambigious parts of the AsTMa= grammar have been too complex, plus with regex it's easier to adopt changes of the AsTMa= syntax and it's even a bit faster ;-) > 2) If the preparsing step is really needed, could we use jakarta-regexp as the >regular expression library instead of jakarta-oro. It is just that jakarta-regexp is >already present in the TM4J distribution and I would prefer not to have two regular expression libraries in there! i tried to use jakarta-regex but AFAIK it isn't capable to substitute matched patterns, but jakarta-oro is. oliver |
From: Kal A. <ka...@te...> - 2005-05-30 06:34:10
|
Hi Oliver, Thanks for the contribution! I've taken a look over the code and I have a couple of questions: 1) Why is the preparsing step required ? Is there something too complex for antlr to handle in there ? 2) If the preparsing step is really needed, could we use jakarta-regexp as the regular expression library instead of jakarta-oro. It is just that jakarta-regexp is already present in the TM4J distribution and I would prefer not to have two regular expression libraries in there! Great work BTW :-) Cheers, Kal Oliver Leimig wrote: >Hi there, > >I'm contributing the AsTMa= importer 4 TM4J, see attachment. > >-Imports AsTMa= topic maps (.atm) to TM4J >-the included jakarta-oro jar is required, J2SE1.3 compliant >-creates Topic Maps in TMAPI and also returns Topic Maps in TM4J-API >-resides in org/tm4j/topicmap/utils (ATM*) >-test cases are provided in org/tm4j/topicmaps/utils/test >-further AsTMa= topic maps can be obtained from > http://astma.it.bond.edu.au/authoring.xsp e.g. the sumo topic map >-Usage: org.tm4j.topicmap.TopicMap t = provider.addTopicMap(new >SerializedTopicMapSource(filename.atm)); >-ATMPreLexer.java (temporarily?) has a main()-method for easy usage test >-Call sequence: YourClass, ATMBuilder, ATMPreLexer, ATMLexer and ATMParser >-ASTMAImporter.java is the integration of the AsTMa= importer in >tmapi-utils(.sf.net), > tmapi-utils usage: org.tmapi.core.TopicMap tMap = >astmaImporter.parse(filename.atm); >-ATMParser.java, ATMLexer.java and ATMParserTokenTypes.java can be generated >from > the antlr grammar file ATM.g by executing "java antlr.Tool ATM.g" >-tested with tm4j 0.9.6 and 0.9.7 >-should work (tm) > > >Oliver Leimig > > |
From: Oliver L. <ol...@le...> - 2005-05-30 01:33:37
|
Hi there, I'm contributing the AsTMa= importer 4 TM4J, see attachment. -Imports AsTMa= topic maps (.atm) to TM4J -the included jakarta-oro jar is required, J2SE1.3 compliant -creates Topic Maps in TMAPI and also returns Topic Maps in TM4J-API -resides in org/tm4j/topicmap/utils (ATM*) -test cases are provided in org/tm4j/topicmaps/utils/test -further AsTMa= topic maps can be obtained from http://astma.it.bond.edu.au/authoring.xsp e.g. the sumo topic map -Usage: org.tm4j.topicmap.TopicMap t = provider.addTopicMap(new SerializedTopicMapSource(filename.atm)); -ATMPreLexer.java (temporarily?) has a main()-method for easy usage test -Call sequence: YourClass, ATMBuilder, ATMPreLexer, ATMLexer and ATMParser -ASTMAImporter.java is the integration of the AsTMa= importer in tmapi-utils(.sf.net), tmapi-utils usage: org.tmapi.core.TopicMap tMap = astmaImporter.parse(filename.atm); -ATMParser.java, ATMLexer.java and ATMParserTokenTypes.java can be generated from the antlr grammar file ATM.g by executing "java antlr.Tool ATM.g" -tested with tm4j 0.9.6 and 0.9.7 -should work (tm) Oliver Leimig |
From: SourceForge.net <no...@so...> - 2005-05-26 14:01:35
|
Bugs item #1209167, was opened at 2005-05-26 07:01 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=1209167&group_id=27895 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Import/Export Group: TM4J 0.9.7 Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Serializing a UnifiedTopicMap Initial Comment: Trying to serialize a UnifiedTopicMap with a TopicMapWalker causes this exception: java.lang.UnsupportedOperationException: _Unified Backend has no Provider at org.tm4j.topicmap.unified.UnifiedTopicMap.getProvider(UnifiedTopicMap.java:89) at org.tm4j.topicmap.utils.TopicMapWalker.walk(TopicMapWalker.java:78) Is there anyway to serialize a UnifiedTopicMap to XTM or merging all Maps of the UnifiedTopicMap into one and return this Map? Johannes Bergmann bergmann at rbg.informatik.tu-darmstadt.de ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=391879&aid=1209167&group_id=27895 |
From: SourceForge.net <no...@so...> - 2005-03-03 13:23:12
|
Bugs item #1155797, was opened at 2005-03-03 13:51 Message generated for change (Comment added) made by oliverleimig You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=391879&aid=1155797&group_id=27895 Category: In-Memory Impl Group: CVS Status: Open Resolution: None Priority: 5 Submitted By: Oliver Leimig (oliverleimig) Assigned to: Nobody/Anonymous (nobody) Summary: addSubjectIdentifier throws RuntimeException: getScopedName Initial Comment: CVS-checkout: 2005-02-17 there is a "java.lang.RuntimeException: getScopedNames called on non-base topic." when using the command "org.tm4j.tmapi.Topic.addSubjectIdentifier( org.tmapi.core.Locator )" the Exception is at org.tm4j.topicmap.memory.TopicImpl.getScopedNames(TopicImpl.java:1413) (although no merging should be happening in addSubjectIdentifier...?) ---------------------------------------------------------------------- >Comment By: Oliver Leimig (oliverleimig) Date: 2005-03-03 14:23 Message: Logged In: YES user_id=674396 switching to static merging fixes the behaviour: Use System.setProperty("tm4j.static.merge", "true"); before setting up the TopicMapProvider (but is this a good solution?) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=391879&aid=1155797&group_id=27895 |
From: SourceForge.net <no...@so...> - 2005-03-03 13:08:36
|
Feature Requests item #671063, was opened at 2003-01-20 10:17 Message generated for change (Comment added) made by oliverleimig You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=391882&aid=671063&group_id=27895 Category: Interface Improvements (example) Group: Next Release (example) Status: Closed Priority: 5 Submitted By: Kal Ahmed (kal_ahmed) Assigned to: Nobody/Anonymous (nobody) Summary: Allow name-based merging to be turned off Initial Comment: Should allow configuration-time control over the name-based merging mechanism. Could be implemented as a boolean valued property (tm4j.nameBasedMerging) which defaults to true and if false, turns off the name-based merging mechanisms of the underlying implementation. ---------------------------------------------------------------------- Comment By: Oliver Leimig (oliverleimig) Date: 2005-03-03 14:08 Message: Logged In: YES user_id=674396 The property is called tm4j.name.based.merge (TopicMapProvider.OPT_NAME_MERGE) and may be passed to the JVM by using -Dtm4j.name.based.merge=false ---------------------------------------------------------------------- Comment By: Kal Ahmed (kal_ahmed) Date: 2003-12-11 16:51 Message: Logged In: YES user_id=176992 Now implemented for all backends. Will be in 0.9.0a2 release ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=391882&aid=671063&group_id=27895 |
From: SourceForge.net <no...@so...> - 2005-03-03 12:51:45
|
Bugs item #1155797, was opened at 2005-03-03 13:51 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=1155797&group_id=27895 Category: In-Memory Impl Group: CVS Status: Open Resolution: None Priority: 5 Submitted By: Oliver Leimig (oliverleimig) Assigned to: Nobody/Anonymous (nobody) Summary: addSubjectIdentifier throws RuntimeException: getScopedName Initial Comment: CVS-checkout: 2005-02-17 there is a "java.lang.RuntimeException: getScopedNames called on non-base topic." when using the command "org.tm4j.tmapi.Topic.addSubjectIdentifier( org.tmapi.core.Locator )" the Exception is at org.tm4j.topicmap.memory.TopicImpl.getScopedNames(TopicImpl.java:1413) (although no merging should be happening in addSubjectIdentifier...?) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=391879&aid=1155797&group_id=27895 |
From: SourceForge.net <no...@so...> - 2005-02-02 13:24:17
|
Bugs item #1114721, was opened at 2005-02-02 15:22 Message generated for change (Settings changed) made by gtryfon You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=391879&aid=1114721&group_id=27895 Category: In-Memory Impl Group: TM4J 0.9.7 Status: Open Resolution: None Priority: 5 Submitted By: George Tryfon (gtryfon) >Assigned to: Kal Ahmed (kal_ahmed) Summary: query with Association type Initial Comment: Hello, I am using XTM and TMAPI, but I call Tolog queries with TM4J When I call a tolog query, let's say: aType($T:$TType)? and there is no "aType" topic, I receive the following Exception: org.tm4j.tologx.TologParserException: Unable to create a new dynamic association predicate from class org.tm4j.tologx.predicates.DynamicAssociationPredicate. at org.tm4j.tologx.parser.TologParser.predclause(TologParser.java:1034) at org.tm4j.tologx.parser.TologParser.clause(TologParser.java:800) at org.tm4j.tologx.parser.TologParser.clauselist(TologParser.java:451) at org.tm4j.tologx.parser.TologParser.query(TologParser.java:512) at org.tm4j.tologx.memory.QueryEvaluatorImpl.prepareQuery(QueryEvaluatorImpl.java:152) at org.tm4j.tologx.memory.QueryEvaluatorImpl.execute(QueryEvaluatorImpl.java:166) at org.atop.ui.tolog.AtopQueryAndResults.getTologResultsSet(AtopQueryAndResults.java:145) at org.atop.ui.tolog.AtopQueryAndResults.execute(AtopQueryAndResults.java:115) at org.atop.ui.tolog.PanQueryEdit.actionPerformed(PanQueryEdit.java:83) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:234) at java.awt.Component.processMouseEvent(Component.java:5488) at javax.swing.JComponent.processMouseEvent(JComponent.java:3093) at java.awt.Component.processEvent(Component.java:5253) at java.awt.Container.processEvent(Container.java:1966) at java.awt.Component.dispatchEventImpl(Component.java:3955) at java.awt.Container.dispatchEventImpl(Container.java:2024) at java.awt.Component.dispatchEvent(Component.java:3803) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822) at java.awt.Container.dispatchEventImpl(Container.java:2010) at java.awt.Window.dispatchEventImpl(Window.java:1766) at java.awt.Component.dispatchEvent(Component.java:3803) at java.awt.EventQueue.dispatchEvent(EventQueue.java:463) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110) Caused by: org.tm4j.tologx.TologParserException: No object in topic map with source locator /c:/documents%20and%20settings/administrator/τα%20έγγραφά%20μου/topicmaps/occur.xtm#aType4 at org.tm4j.tologx.parser.TologParser.getObjectByIdent(TologParser.java:125) at org.tm4j.tologx.parser.TologParser.predclause(TologParser.java:1032) ... 32 more When I open a Topic Map that contains an "aType" topic but not as an "Association Type", the query gives me an empty result. (I like this more) When I open a Topic Map that contains an "aType" topic that is also an "Association Type", I get the correct result. Now, when I have a topic map without an "aType" topic If I create the "aType" and then call the query, the query gives me the first Exception!. Even if I create an "Association" with "Association Type" the "aType", the query continues to give me the first Exception!. The query "topic($T)?" shows to me that the "aType" topic is there. I need to save and re-load the topic map (I use XTM) in order for the query to work. I created the "aType" with both the two ways String id = txtID.getText().trim (); if (id.length() > 0) { org.tm4j.topicmap.TopicMap _tm = Wrapper.unwrap (tm); org.tm4j.topicmap.Topic _t = _tm.createTopic (id); t = Wrapper.wrap (_t, (TMAPITopicMapImpl)tm); } else t = tm.createTopic (); Thank you George Tryfon (TA-KT research group) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=391879&aid=1114721&group_id=27895 |
From: SourceForge.net <no...@so...> - 2005-02-02 13:22:34
|
Bugs item #1114721, was opened at 2005-02-02 15:22 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=1114721&group_id=27895 Category: In-Memory Impl Group: TM4J 0.9.7 Status: Open Resolution: None Priority: 5 Submitted By: George Tryfon (gtryfon) Assigned to: Nobody/Anonymous (nobody) Summary: query with Association type Initial Comment: Hello, I am using XTM and TMAPI, but I call Tolog queries with TM4J When I call a tolog query, let's say: aType($T:$TType)? and there is no "aType" topic, I receive the following Exception: org.tm4j.tologx.TologParserException: Unable to create a new dynamic association predicate from class org.tm4j.tologx.predicates.DynamicAssociationPredicate. at org.tm4j.tologx.parser.TologParser.predclause(TologParser.java:1034) at org.tm4j.tologx.parser.TologParser.clause(TologParser.java:800) at org.tm4j.tologx.parser.TologParser.clauselist(TologParser.java:451) at org.tm4j.tologx.parser.TologParser.query(TologParser.java:512) at org.tm4j.tologx.memory.QueryEvaluatorImpl.prepareQuery(QueryEvaluatorImpl.java:152) at org.tm4j.tologx.memory.QueryEvaluatorImpl.execute(QueryEvaluatorImpl.java:166) at org.atop.ui.tolog.AtopQueryAndResults.getTologResultsSet(AtopQueryAndResults.java:145) at org.atop.ui.tolog.AtopQueryAndResults.execute(AtopQueryAndResults.java:115) at org.atop.ui.tolog.PanQueryEdit.actionPerformed(PanQueryEdit.java:83) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:234) at java.awt.Component.processMouseEvent(Component.java:5488) at javax.swing.JComponent.processMouseEvent(JComponent.java:3093) at java.awt.Component.processEvent(Component.java:5253) at java.awt.Container.processEvent(Container.java:1966) at java.awt.Component.dispatchEventImpl(Component.java:3955) at java.awt.Container.dispatchEventImpl(Container.java:2024) at java.awt.Component.dispatchEvent(Component.java:3803) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822) at java.awt.Container.dispatchEventImpl(Container.java:2010) at java.awt.Window.dispatchEventImpl(Window.java:1766) at java.awt.Component.dispatchEvent(Component.java:3803) at java.awt.EventQueue.dispatchEvent(EventQueue.java:463) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110) Caused by: org.tm4j.tologx.TologParserException: No object in topic map with source locator /c:/documents%20and%20settings/administrator/τα%20έγγραφά%20μου/topicmaps/occur.xtm#aType4 at org.tm4j.tologx.parser.TologParser.getObjectByIdent(TologParser.java:125) at org.tm4j.tologx.parser.TologParser.predclause(TologParser.java:1032) ... 32 more When I open a Topic Map that contains an "aType" topic but not as an "Association Type", the query gives me an empty result. (I like this more) When I open a Topic Map that contains an "aType" topic that is also an "Association Type", I get the correct result. Now, when I have a topic map without an "aType" topic If I create the "aType" and then call the query, the query gives me the first Exception!. Even if I create an "Association" with "Association Type" the "aType", the query continues to give me the first Exception!. The query "topic($T)?" shows to me that the "aType" topic is there. I need to save and re-load the topic map (I use XTM) in order for the query to work. I created the "aType" with both the two ways String id = txtID.getText().trim (); if (id.length() > 0) { org.tm4j.topicmap.TopicMap _tm = Wrapper.unwrap (tm); org.tm4j.topicmap.Topic _t = _tm.createTopic (id); t = Wrapper.wrap (_t, (TMAPITopicMapImpl)tm); } else t = tm.createTopic (); Thank you George Tryfon (TA-KT research group) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=391879&aid=1114721&group_id=27895 |
From: SourceForge.net <no...@so...> - 2005-01-28 14:37:45
|
Bugs item #1111469, was opened at 2005-01-28 16:37 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=1111469&group_id=27895 Category: Tolog engine Group: TM4J 0.9.7 Status: Open Resolution: None Priority: 5 Submitted By: George Tryfon (gtryfon) Assigned to: Kal Ahmed (kal_ahmed) Summary: query with occurrence type Initial Comment: Hello, I have the following xtm: <?xml version="1.0" encoding="iso-8859-7"?> <topicMap id="occurTM" xml:base="occur.xtm" xmlns="http://www.topicmaps.org/xtm/1.0/" xmlns:xlink="http://www.w3.org/1999/xlink"> <topic id="occurType"/> <topic id="myTopic"> <occurrence id="x1kic9slkf-b2"> <instanceOf> <topicRef xlink:href="#occurType"/> </instanceOf> <resourceData>123</resourceData> </occurrence> </topic> </topicMap> eventhough the call : occurrence(myTopic,$o), type($o,occurType), value($o, $value)? returns "123" in $value when I call: occurType (myTopic, $value)? I get no error, but the TologResultsSet returned contains 0 rows I was expecting to have the same results for the two calls. Thank you again George Tryfon (TA-KT research group) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=391879&aid=1111469&group_id=27895 |
From: Conal T. <Con...@vu...> - 2005-01-27 05:28:35
|
While browsing the javadoc at tm4j I noticed a typo in the name of a = class: org.tm4j.topicmap.utils.extractors.RefiedObjectExtractor http://tm4j.org/tm4j/docs/apiDocs/org/tm4j/topicmap/utils/extractors/Refi= edObjectExtractor.html Cheers Con PS surely it should be "refried", not "refied" :-) ---- "I believe we were all glad to leave New Zealand. It is not a pleasant place. Amongst the natives there is absent that=20 charming simplicity which is found in Tahiti; and the greater part of the English are the very refuse of society. Neither=20 is the country itself attractive. I look back but to one=20 bright spot, and that is Waimate, with its Christian=20 inhabitants." - Charles Darwin |
From: SourceForge.net <no...@so...> - 2004-12-28 11:40:25
|
Bugs item #1092125, was opened at 2004-12-28 13:40 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=1092125&group_id=27895 Category: In-Memory Impl Group: None Status: Open Resolution: None Priority: 5 Submitted By: George Tryfon (gtryfon) Assigned to: Nobody/Anonymous (nobody) Summary: TMAPI "features" Initial Comment: Hello, I am using TM4J 0.9.8 (I didn't find this in the Group and I selected "None") I am having problem on working with http://tmapi.org/features/automerge http://tmapi.org/features/merge/byTopicName http://tmapi.org/features/readOnly http://tmapi.org/features/model/xtm1.0 http://tmapi.org/features/model/xtm1.1 http://tmapi.org/features/notation/URI this is what I do: propsprops.setProperty ("http://tmapi.org/features/readOnly", "true"); mapFeatures.put ("http://tmapi.org/features/readOnly", Boolean.TRUE); TMAPITopicMapSystemImpl tmApiSystImpl = new TMAPITopicMapSystemImpl (providerFactory.getClass().getName(), props, mapFeatures); URI uri = ... InputStream is = uri.toURL().openStream (); TopicMap tm = OpenXtmSupport.readXtm (is, uri.toString(), provider, tmApiSystImpl); is.close (); static public TMAPITopicMapImpl readXtm (InputStream is, String baseURI, TopicMapProvider provider, TMAPITopicMapSystemImpl tmApiSystImpl) throws Exception { try { Locator baseLoc = provider.getLocatorFactory().createLocator("URI", baseURI); TopicMapSource source = new SerializedTopicMapSource (is, baseLoc); TopicMap tm = provider.addTopicMap (source); TMAPITopicMapImpl tmImpl = (TMAPITopicMapImpl)Wrapper.wrap (tm, tmApiSystImpl); return tmImpl; } catch(LocatorFactoryException ex) { throw new RuntimeException("Could not convert file name: " + baseURI + " to a TM4J Locator."); } catch(TopicMapProviderException ex) { throw new RuntimeException("Could not parse topic map file: ", ex); } } also: tmApiSystImpl.getProperty ("http://tmapi.org/features/readOnly") gives "true" tmApiSystImpl.getFeature ("http://tmapi.org/features/readOnly") gives Boolean.TRUE but still I don't get Exception when I change the TopicMap. also I can't merge without TopicName (they merge TopicNames) (I haven't tested the rest) Cheers George Tryfon (TA-KT research group) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=391879&aid=1092125&group_id=27895 |
From: SourceForge.net <no...@so...> - 2004-12-13 18:28:23
|
Bugs item #1081359, was opened at 2004-12-08 13:42 Message generated for change (Comment added) made by kal_ahmed You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=391879&aid=1081359&group_id=27895 Category: In-Memory Impl Group: TM4J 0.9.7 >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: George Tryfon (gtryfon) Assigned to: Nobody/Anonymous (nobody) Summary: http://tmapi.org/features/readOnly Initial Comment: the "http://tmapi.org/features/readOnly" property does not set the TM "readOnly" Properties props = new Properties (); props.setProperty ("http://tmapi.org/features/readOnly" "true"); TMAPITopicMapSystemImpl tmApiSystImpl = new TMAPITopicMapSystemImpl (providerFactory.getClass ().getName(), props, mapFeatures); the TM does not throw exceptions when changed ---------------------------------------------------------------------- >Comment By: Kal Ahmed (kal_ahmed) Date: 2004-12-13 18:28 Message: Logged In: YES user_id=176992 Added read-only support to TMAPI implementation. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=391879&aid=1081359&group_id=27895 |
From: SourceForge.net <no...@so...> - 2004-12-08 13:42:53
|
Bugs item #1081359, was opened at 2004-12-08 15:42 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=1081359&group_id=27895 Category: In-Memory Impl Group: TM4J 0.9.7 Status: Open Resolution: None Priority: 5 Submitted By: George Tryfon (gtryfon) Assigned to: Nobody/Anonymous (nobody) Summary: http://tmapi.org/features/readOnly Initial Comment: the "http://tmapi.org/features/readOnly" property does not set the TM "readOnly" Properties props = new Properties (); props.setProperty ("http://tmapi.org/features/readOnly" "true"); TMAPITopicMapSystemImpl tmApiSystImpl = new TMAPITopicMapSystemImpl (providerFactory.getClass ().getName(), props, mapFeatures); the TM does not throw exceptions when changed ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=391879&aid=1081359&group_id=27895 |
From: SourceForge.net <no...@so...> - 2004-12-08 10:51:05
|
Bugs item #1062461, was opened at 2004-11-08 15:11 Message generated for change (Settings changed) made by kal_ahmed You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=391879&aid=1062461&group_id=27895 Category: In-Memory Impl Group: TM4J 0.9.7 >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: George Tryfon (gtryfon) Assigned to: Nobody/Anonymous (nobody) Summary: Topic.setSubjectIndicators() problem Initial Comment: the Topic.setSubjectIndicators() does not seems to work when the Topic does not "already contain" anySubject Indicators if Topic already contains Subject Indicators, the Topic.setSubjectIndicators() works ok. (the Topic.addSubjectIndicator() works OK) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=391879&aid=1062461&group_id=27895 |