You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
(22) |
Jul
(4) |
Aug
(9) |
Sep
(6) |
Oct
(5) |
Nov
(15) |
Dec
(4) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(4) |
Feb
(10) |
Mar
(12) |
Apr
(16) |
May
(2) |
Jun
(7) |
Jul
(10) |
Aug
(9) |
Sep
(3) |
Oct
(17) |
Nov
(17) |
Dec
(6) |
2003 |
Jan
(12) |
Feb
(15) |
Mar
(25) |
Apr
(20) |
May
(8) |
Jun
(3) |
Jul
(21) |
Aug
(10) |
Sep
(7) |
Oct
(1) |
Nov
(3) |
Dec
(6) |
2004 |
Jan
(5) |
Feb
(16) |
Mar
(34) |
Apr
(26) |
May
(20) |
Jun
(58) |
Jul
(76) |
Aug
(51) |
Sep
(40) |
Oct
(16) |
Nov
(7) |
Dec
(6) |
2005 |
Jan
(10) |
Feb
(1) |
Mar
(17) |
Apr
(8) |
May
(11) |
Jun
(15) |
Jul
(1) |
Aug
(7) |
Sep
(6) |
Oct
(10) |
Nov
(14) |
Dec
(9) |
2006 |
Jan
(11) |
Feb
(22) |
Mar
(17) |
Apr
(1) |
May
(15) |
Jun
(9) |
Jul
(4) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2007 |
Jan
|
Feb
(10) |
Mar
|
Apr
|
May
(2) |
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
(4) |
Nov
|
Dec
|
2008 |
Jan
(2) |
Feb
(1) |
Mar
(8) |
Apr
(8) |
May
(12) |
Jun
(9) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2010 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(2) |
2012 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Andrea C. <mai...@st...> - 2004-12-14 18:49:10
|
Hi Kal, hi Stefan I'm not using TMAPI, so, unfortunately, I couldn't make use of the XTMSerializer. Anyway, I modified the XTMWriter, just as Kal proposed, and it worked! This helped me very much in my work. Thank you very much! By the way, I think it would be very useful if the possibility to use subjectIndicatorRef where possible were implemented in the next versions of TM4J, just like Kal wrote. Thanks again! Andrea -----Messaggio originale----- Da: tm4...@li... [mailto:tm4...@li...] Per conto di Stefan Lischke Inviato: Montag, 13. Dezember 2004 17:02 A: Andrea Carradori Cc: tm4...@li... Oggetto: Re: [TM4J-users] typing topics Hi Andrea, There is already an implementation of the solution Kal proposed. I dunno if you use the TMAPI Interfaces TM4J provides, but there is a project called tmapi-utils[1] out there which contains an XTMSerializer, which can be switched to do exactly that what kal proposes (using subjectIndicatorRef instead of topicRef, if the typing topic has a subject indicator). Therfore you just have to call XTMSerializer.setProperty("org.tmapi-utils.impexp.xtm.XTMSerializer.subjectI dentifiersOnly",true); feel free to contact me Stefan [1] http://tmapi-utils.sourceforge.net/ Andrea Carradori wrote: > Hi All, > > I have the following small problem, and I can't find an answer to it > in the programmer's guide: when I export a topic map to an XTM file, I > see that in the file the typing-topics of a certain topic are > indicated in it by means of their IDs. If the topic map is the result > of a merge of several topic maps, this causes problems, because many > IDs of merged topics are overwritten! > > I'd like to make use of the subject indicators of the typing topics > (instead of the IDs) in order to indicate the type of a topic. Is it > possible? How does it work? > > Thanks! > > Andrea > -- My place : http://user.cs.tu-berlin.de/~lischke ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Tm4j-users mailing list Tm4...@li... https://lists.sourceforge.net/lists/listinfo/tm4j-users |
From: Stefan L. <li...@no...> - 2004-12-13 16:05:34
|
Hi Andrea, There is already an implementation of the solution Kal proposed. I dunno=20 if you use the TMAPI Interfaces TM4J provides, but there is a project=20 called tmapi-utils[1] out there which contains an XTMSerializer, which=20 can be switched to do exactly that what kal proposes (using=20 subjectIndicatorRef instead of topicRef, if the typing topic has a=20 subject indicator). Therfore you just have to call=20 XTMSerializer.setProperty("org.tmapi-utils.impexp.xtm.XTMSerializer.subje= ctIdentifiersOnly",true); feel free to contact me Stefan [1] http://tmapi-utils.sourceforge.net/ Andrea Carradori wrote: > Hi All, > > I have the following small problem, and I can=92t find an answer to it=20 > in the programmer=92s guide: when I export a topic map to an XTM file, = I=20 > see that in the file the typing-topics of a certain topic are=20 > indicated in it by means of their IDs. If the topic map is the result=20 > of a merge of several topic maps, this causes problems, because many=20 > IDs of merged topics are overwritten! > > I=92d like to make use of the subject indicators of the typing topics=20 > (instead of the IDs) in order to indicate the type of a topic. Is it=20 > possible? How does it work? > > Thanks! > > Andrea > --=20 My place : http://user.cs.tu-berlin.de/~lischke |
From: Kal A. <ka...@te...> - 2004-12-13 15:22:51
|
Hi Andrea, When TM4J exports a topic map, all subjectIndicatorRef references to topics are converted into topicRef references - this is just the default behaviour of the XTM export code. Right now there is no option to use subjectIndicatorRef where possible, but that could be added as a new feature. To implement it for yourself, you will need to override the behaviour in XTMWriter. Take a look at the method topicRef (about line 665) - this is invoked from various places in the XTMWriter code to write a <topicRef> element. You could modify this method to check if the the Topic in the parameter t has a subject indicator and if it does, call the ref() method to write a subject indicator ref (there is an example of this on line 678. The important thing to note here is that even though TM4J's default behaviour is to "normalise" all references into topicRef references, the subject indicators in the original merged topic maps are preserved. Also, although the ID attribute values may get changed (especially when you merge topic maps), the original IDs are also preserved as full URLs in the sourceLocators property. Hope this helps! Kal Andrea Carradori wrote: >Hi All, >I have the following small problem, and I can't find an answer to it in the >programmer's guide: when I export a topic map to an XTM file, I see that in >the file the typing-topics of a certain topic are indicated in it by means >of their IDs. If the topic map is the result of a merge of several topic >maps, this causes problems, because many IDs of merged topics are >overwritten! >I'd like to make use of the subject indicators of the typing topics (instead >of the IDs) in order to indicate the type of a topic. Is it possible? How >does it work? >Thanks! >Andrea > > > > |
From: Andrea C. <mai...@st...> - 2004-12-12 21:30:35
|
Hi All, I have the following small problem, and I can't find an answer to it in the programmer's guide: when I export a topic map to an XTM file, I see that in the file the typing-topics of a certain topic are indicated in it by means of their IDs. If the topic map is the result of a merge of several topic maps, this causes problems, because many IDs of merged topics are overwritten! I'd like to make use of the subject indicators of the typing topics (instead of the IDs) in order to indicate the type of a topic. Is it possible? How does it work? Thanks! Andrea |
From: Richard G. <ric...@ya...> - 2004-12-08 14:53:51
|
Hi All, I'm getting a TopicMapRuntimeException, ultimately caused by a MergedTopicSubjectClashException, when I try to load a topic map into a particular topic map into a provide. A portion of the stack track is below. TopicMapProviderException. Caused by: . Cause: org.tm4j.topicmap.TopicMapProcessingException: Cause: org.tm4j.topicmap.TopicMapRuntimeException: Cause: org.tm4j.topicmap.MergedTopicSubjectClashException: Attempted to merge two topics with different subjects, Cause:Attempted to merge two topics with different subjects, at org.tm4j.topicmap.source.TopicMapSourceSupport.addTopicMap(TopicMapSourceSupport.java:37) at org.tm4j.topicmap.source.TopicMapSourceSupport.addTopicMap(TopicMapSourceSupport.java:69) at mips.genre.topicmaps.AddTopicMap.addToMemory(AddTopicMap.java:126) at mips.genre.topicmaps.AddTopicMap.main(AddTopicMap.java:57) I want to use the MergedTopicSubjectClashException.getTopics() method to find out the causing of the problem, so I have the following catch block: catch(Exception e) { if (e.getCause().getCause().getCause() instanceof MergedTopicSubjectClashException) { Topic clashTopics[] = new Topic[2]; ((MergedTopicSubjectClashException) e.getCause().getCause().getCause()).getTopics(clashTopics); for (int i=0; i<clashTopics.length; i++) { Topic ct = clashTopics[i]; System.out.println(ct.getID()); Iterator nameIt = ct.getNames().iterator(); while(nameIt.hasNext()) { BaseName name = (BaseName)nameIt.next(); System.out.println(name.getData()); } Iterator locIt = ct.getNames().iterator(); while(locIt.hasNext()) { URILocator loc = (URILocator)locIt.next(); System.out.println(loc.getAddress()); } } e.printStackTrace(); } else { e.printStackTrace(); } } But, it looks like the getTopics() method isn't returning anything, as I get a NullPointerException generated by the line: System.out.println(ct.getID()); This may just be something I'm doing wrong, so if anyone can point me in the right direction I'd be grateful. Cheers, Richard. ___________________________________________________________ ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com |
From: Khalil A. <ka...@te...> - 2004-11-28 14:33:37
|
Hi Minh, The stylesheets are part of the TM4Web/Cocoon integration which is not currently available as a download package - you have to grab them from CVS. The module that you need to check out is named tm4web. Cheers, Kal On 26 Nov 2004, at 12:47, <md_...@we...> wrote: > Hi everybody, > > on the TM4J website it is said that the TM4Web package contains XSLT > Stylesheets for XTM. > But unfortunately I can't find any XSL files in the available > downloadable packages. > Can somone please tell me where they are located? > > Cheers, > Minh > ________________________________________________________________ > Verschicken Sie romantische, coole und witzige Bilder per SMS! > Jetzt neu bei WEB.DE FreeMail: http://freemail.web.de/?mc=021193 > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real > users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Tm4j-users mailing list > Tm4...@li... > https://lists.sourceforge.net/lists/listinfo/tm4j-users > > |
From: <md_...@we...> - 2004-11-26 12:47:28
|
Hi everybody, on the TM4J website it is said that the TM4Web package contains XSLT Stylesheets for XTM. But unfortunately I can't find any XSL files in the available downloadable packages. Can somone please tell me where they are located? Cheers, Minh ________________________________________________________________ Verschicken Sie romantische, coole und witzige Bilder per SMS! Jetzt neu bei WEB.DE FreeMail: http://freemail.web.de/?mc=021193 |
From: George T. <geo...@fr...> - 2004-11-11 13:22:54
|
Hello everybody, I am glad to announce you that we released an early binary from our ATop editor at http://sourceforge.net/projects/atop that uses TM4J There is a single setup now. The only requirement is that you should have JRE 1.5 I would be glad to have your comments Thank you George --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.788 / Virus Database: 533 - Release Date: 1/11/2004 ____________________________________________________________________ http://www.freemail.gr - δωρεάν υπηρεσία ηλεκτρονικού ταχυδρομείου. http://www.freemail.gr - free email service for the Greek-speaking. |
From: Bret C. <bre...@ya...> - 2004-11-09 20:01:59
|
Hi Christoph, A while back we had an exchange about developing a new abstractor. I still haven't gotten to this task, but I would like to focus on the intermediate task of integrating the existing Hypergraph in TMNAV with my TM4J-based application, with its data-entry windows for entering data into a topic map. Any advice you have would be appreciated. I have attached a letter with more on what I need. I also want to let you know that I downloaded tmnav 0.2.9pre1-src, and had the same problem as with 0.2.8 of not being able to run the app until I manually copied the *.xml configuration files into the .tmnav directory. Bret Cohen __________________________________ Do you Yahoo!? Check out the new Yahoo! Front Page. www.yahoo.com |
From: Kal A. <ka...@te...> - 2004-11-02 14:50:45
|
Hi George, I just checked in fixes for the in-memory and ozone backends for this. The Hibernate backend did not have this problem. Cheers, Kal On Mon, 2004-11-01 at 18:11, George Tryfon wrote: > Hello Kal, >=20 > While I try to delete a Topic that plays a "Role" in an Association or it= is > "Occurrence Type", > the deletion does not completed and I get an Exception that descibes the > problem. >=20 > >From the other hand when the Topic is a "Topic Type" of another topic, > I get not such Exception, the deletion fulfiled, and > there are some problems with the other Topic (I thing). >=20 > Is this a bug and should I wait to be fixed? > or should I handle the case in my program differently? >=20 > Thank you > George >=20 >=20 > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.779 / Virus Database: 526 - Release Date: 19/10/2004 >=20 >=20 > ____________________________________________________________________ > http://www.freemail.gr - =CE=B4=CF=89=CF=81=CE=B5=CE=AC=CE=BD =CF=85=CF= =80=CE=B7=CF=81=CE=B5=CF=83=CE=AF=CE=B1 =CE=B7=CE=BB=CE=B5=CE=BA=CF=84=CF= =81=CE=BF=CE=BD=CE=B9=CE=BA=CE=BF=CF=8D =CF=84=CE=B1=CF=87=CF=85=CE=B4=CF= =81=CE=BF=CE=BC=CE=B5=CE=AF=CE=BF=CF=85. > http://www.freemail.gr - free email service for the Greek-speaking. >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=3D5588&alloc_id=3D12065&op=3Dclick > _______________________________________________ > Tm4j-users mailing list > Tm4...@li... > https://lists.sourceforge.net/lists/listinfo/tm4j-users --=20 Kal Ahmed <ka...@te...> techquila |
From: Mathias R. <mat...@we...> - 2004-11-01 23:57:45
|
Hello, I'm trying to use Tolog's value-like-predicate in a TM4Web-based application. I get the error below. How can I register the required full-text index? Can I do this in the velocity layer or do I have to modify the TologQueryAction source? ERROR [vtl.struts.TologQueryAction] Tolog parser error. org.tm4j.tologx.TologParserException: Error instantiating predicate class. at org.tm4j.tologx.parser.TologParser.predclause(TologParser.java:1033) at org.tm4j.tologx.parser.TologParser.clause(TologParser.java:786) at org.tm4j.tologx.parser.TologParser.clauselist(TologParser.java:443) at org.tm4j.tologx.parser.TologParser.orclause(TologParser.java:812) at org.tm4j.tologx.parser.TologParser.clause(TologParser.java:729) at org.tm4j.tologx.parser.TologParser.clauselist(TologParser.java:437) at org.tm4j.tologx.parser.TologParser.query(TologParser.java:498) at ...... Caused by: org.tm4j.tologx.TologParserException: No full-text index is registered for this topic map. 'value-like' predicates cannot be used. at org.tm4j.tologx.predicates.ValueLikePredicate.initialise(ValueLikePredicate.java:118) at org.tm4j.tologx.parser.TologParser.predclause(TologParser.java:1031) Thanks, mathias |
From: George T. <geo...@fr...> - 2004-11-01 19:37:01
|
Hello Kal, While I try to delete a Topic that plays a "Role" in an Association or it is "Occurrence Type", the deletion does not completed and I get an Exception that descibes the problem. From the other hand when the Topic is a "Topic Type" of another topic, I get not such Exception, the deletion fulfiled, and there are some problems with the other Topic (I thing). Is this a bug and should I wait to be fixed? or should I handle the case in my program differently? Thank you George --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.779 / Virus Database: 526 - Release Date: 19/10/2004 ____________________________________________________________________ http://www.freemail.gr - δωρεάν υπηρεσία ηλεκτρονικού ταχυδρομείου. http://www.freemail.gr - free email service for the Greek-speaking. |
From: Stefan L. <li...@no...> - 2004-10-26 12:03:44
|
Hi George, George Tryfon wrote: >Hello Kal > >On opening XTM files with TM4J, it seems to me that the >"Topic Map id" that is registered in the XTM is ignored. >instead the TM4J creates a new id for the "Topic Map" > ><topicMap id="abc" > xml:base="c:\xyz\123.xtm" > xmlns="http://www.topicmaps.org/xtm/1.0/" > xmlns:xlink="http://www.w3.org/1999/xlink"> ></topicMap> > >instead of "abc" it gives to me something like "x1k75974ts-0" >is this in purpose? > > >Also I would like to be able to change some id(s) from already registered >"Topics". >Are you thinking to include this "id change" in the future? > > I think there is a way around, a little trick that is commonly used in topic map engines, just add a sourcelocator of the form [xml:base]#[id] to the object. for your example you have to add "c:\xyz\123.xtm#thisid" to set "thisid" for some topic or other topicmap object. hope that helps. stefan -- My place : http://user.cs.tu-berlin.de/~lischke |
From: George T. <geo...@fr...> - 2004-10-26 11:56:38
|
Hello Kal On opening XTM files with TM4J, it seems to me that the "Topic Map id" that is registered in the XTM is ignored. instead the TM4J creates a new id for the "Topic Map" <topicMap id="abc" xml:base="c:\xyz\123.xtm" xmlns="http://www.topicmaps.org/xtm/1.0/" xmlns:xlink="http://www.w3.org/1999/xlink"> </topicMap> instead of "abc" it gives to me something like "x1k75974ts-0" is this in purpose? Also I would like to be able to change some id(s) from already registered "Topics". Are you thinking to include this "id change" in the future? Thank you George --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.779 / Virus Database: 526 - Release Date: 19/10/2004 ____________________________________________________________________ http://www.freemail.gr - δωρεάν υπηρεσία ηλεκτρονικού ταχυδρομείου. http://www.freemail.gr - free email service for the Greek-speaking. |
From: Bret C. <bre...@ya...> - 2004-10-25 18:52:46
|
Kal, Here's somthing that looks like a TM4J bug to me. (I'm using tm4j-src-0.9.6): I execute a (one-parameter) paramatized prepared query, passing it parameter A. I get the correct result set for having passed A. I re-execute the prepared query, this time passing it parameter B. I get the result set I got when I passed A, not what I should get passing B. I re-prepare the query, and then pass it the parameter B. This time, I get the correct result. I don't know if the bug is on Kal's side or mine. I can't seem to find it on my side, though of course it could still be there. (I've already embedded into my app. the call to re-prepare each prepared query before re-executing it, a temporary work-around - and good enough my purposes for now.) Bret _______________________________ Do you Yahoo!? Declare Yourself - Register online to vote today! http://vote.yahoo.com |
From: Christoph F. <cf...@fo...> - 2004-10-14 09:12:38
|
Hi Grace Am Mi, den 13.10.2004 schrieb Wang, Dandan um 23:01: > Hi christoph, > (can you send to me alone) I would prefer to communicate in the future over the list, since - who knows - all this may be of interest for any other user as well. > After adding the panckoucke-0.3.1.jar to my classpath. > i am trying to run the program---ExampleOpenTopicMap with Eclipse, can > you tell me what 's the exact output of this program? I am not sure > about the output. PLEASE give some suggestion.. > Here I added the xtm.file path in the Main method like this.. > public static void main(String[] args) { > try { > // start the example > if (args.length < 1) { > System.out.println("Please supply the path to an > xtm-file as the first paramter"); > > } > new ExampleOpenTopicMap("E:\\My > program\\tmnav-0.2.8_1-bin\\tmnav-0.2.8_1-bin\\doc\\samples\\tmnav.xtm"); > // wait until loading is done > > And it gives the output like: > > > Please supply the path to an xtm-file as the first paramter comes from main() > > [panckoucke] DEBUG: PanckouckeStore initialized on Wed Oct 13 16:35:46 > EDT 2004 Panckoucke initialized the store. This is, as indicated, debug output and mainly important in the context of panckoucke development. > > PANCKOUCKE (Panckoucke 0.3.1(alpha)): could not open properties-file > panckoucke.properties. Running with default-Configuration Panckoucke does not find a custom configuration and uses the default one. > > [panckoucke] DEBUG: NotificationDispatcher initialized. > Debug output. > Current State of topicmap: null(StoreState (pending)) > This is the state of the topicmap reference immediately after you received it from your call to StoreManager.loadTopicmap(...) Panckoucke loads topicmaps asynchroniously. StoreManager.loadTopicmap(...) puts your demand to load a topicmap into a queue from which it is fetched and processed somewhere in the future. While beeing processed (being loaded, merged, closed), the topicmap reference runs through several states. Switching from one state to the next triggers a TM_STATE_CHANGED event. A panckoucke NotificationListener can catch this event and react as appropriate. In the ExampleOpenTopicmap-Class catching a TM_STATE_CHANGE-Event leads to some system-outs. > [panckoucke] INFO : Map Loader Thread will add Topicmap from E:\My > program\tmnav-0.2.8_1-bin\tmnav-0.2.8_1-bin\doc\samples\tmnav.xtm > Your demand to open a topicmap is fetched from the queue and will be processed now. > Changed state > > from: StoreState (pending) > > to: StoreState (opening) > > for Topicmap: TopicMapRreferenceImpl: {State: StoreState (opening), > Topicmap: null, ProviderReference: > org.tm4j.panckoucke.impl.store.ProviderReferenceImpl@21b6d, > BaseLocator: null, Source: E:\My > program\tmnav-0.2.8_1-bin\tmnav-0.2.8_1-bin\doc\samples\tmnav.xtm} > The state of the topicmap reference changed from pending(waiting in the queue to be processed) to opening which means that tm4js xtm or ltm-parser are doing their work currently > Cannot find CatalogManager.properties > comes from tm4j. Can be ignored safely. > Changed state > > from: StoreState (opening) > > to: StoreState (accessible) > > for Topicmap: TopicMapRreferenceImpl: {State: StoreState (accessible), > Topicmap: org.tm4j.topicmap.memory.TopicMapImpl@90a286b0, > ProviderReference: > org.tm4j.panckoucke.impl.store.ProviderReferenceImpl@21b6d, > BaseLocator: file:/E:/My > program/tmnav-0.2.8_1-bin/tmnav-0.2.8_1-bin/doc/samples/tmnav.xtm, > Source: E:\My > program\tmnav-0.2.8_1-bin\tmnav-0.2.8_1-bin\doc\samples\tmnav.xtm} > The state changed from opening to accessible, which means that it is now legal to access the topicmap through this topicmap reference. If tm4j would have failed for any reason to load the topicmap the state would have changed to "corrupt" > T [x1k5moq5l2-0] > > T [x1k5moq5l2-7] > > T [x1k5moq5l2-9] > > T [x1k5moq5l2-12] > > T [x1k5moq5l2-b] > > T [x1k5moq5l2-e] > > TMNav > > T [x1k5moq5l2-14] > > T [x1k5moq5l2-c] > > T [x1k5moq5l2-11] > > T [x1k5moq5l2-10] > > T [x1k5moq5l2-3] > > T [x1k5moq5l2-5] > This is a listing of all topics that are part of the previously loaded topicmap. It is produced by the example Abstractor/Renderer-Code. Strictly speaking, this is not related to open topicmaps but to "how does the abstraction / renderer process works" Bye c > Grace > > > ______________________________________________________________________ > From: Christoph Froehlich [mailto:cf...@fo...] > Sent: Tue 10/12/2004 11:43 AM > To: Wang, Dandan > Cc: tm4...@li... > Subject: Re: [TM4J-users] can not find org.tm4j.panckoucke.* library > > > > Hi Grace > > you need to add panckoucke-0.3.1.jar to your classpath. > The jar is located in the base-directory of the binary distribution > > > Hope that helps > c > > > -- Christoph Froehlich <cf...@fo...> |
From: Christoph F. <cf...@fo...> - 2004-10-12 15:45:50
|
Hi Grace you need to add panckoucke-0.3.1.jar to your classpath. The jar is located in the base-directory of the binary distribution Hope that helps c Am Di, den 12.10.2004 schrieb Wang, Dandan um 17:24: > Hi, > i am doing some research work for my professor about Topicmaps > and TMnav. We are trying to run the example > program---ExampleOpenTopicMap in the Panckoucke folder :\My > program\panckoucke-0.3.1-bin\doc\userdoc\resources, which is example > how to open a TopicMap with panckouche. > we had added all libary from tm4j lib and panckouche lib when edit, > but when running this program, error message displays like this:" > import org.tm4j.... can not be resolved." > WHERE CAN WE FIND ALL THESE org.tm4j.panckoucke.library? > > Grace > > package org.tm4j.panckoucke.examples; > > import org.tm4j.panckoucke.abstraction.AbstractionContext; > > import org.tm4j.panckoucke.context.ContextFactory; > > import org.tm4j.panckoucke.context.PanckouckeContext; > > import org.tm4j.panckoucke.impl.abstraction.AbstractionContextImpl; > > import org.tm4j.panckoucke.impl.abstraction.ix.TopicIndexAbstractor; > > import org.tm4j.panckoucke.impl.context.ContextFactoryImpl; > > import org.tm4j.panckoucke.model.AMArc; > > import org.tm4j.panckoucke.model.AMMember; > > import org.tm4j.panckoucke.model.AMNode; > > import org.tm4j.panckoucke.model.AModel; > > import org.tm4j.panckoucke.model.AbstractorInstantiationException; > > import org.tm4j.panckoucke.model.ModelProvider; > > import org.tm4j.panckoucke.model.UnsupportedAMMemberClassException; > > import org.tm4j.panckoucke.notification.Notification; > > import org.tm4j.panckoucke.notification.NotificationListener; > > import org.tm4j.panckoucke.notification.NotificationRegistry; > > import org.tm4j.panckoucke.notification.NotificationType; > > import org.tm4j.panckoucke.notification.StateChangedNotification; > > import org.tm4j.panckoucke.store.ProviderReference; > > import org.tm4j.panckoucke.store.StoreManager; > > import org.tm4j.panckoucke.store.StoreState; > > import org.tm4j.panckoucke.store.TopicMapReference; -- Christoph Froehlich <cf...@fo...> |
From: Jonas G. <gr...@gm...> - 2004-10-12 15:26:02
|
Hi Kal, I tried upgrading to 0.9.7, which sort of eliminitated the issue and raised a new one at the same time - the very same issue that Christoph Fr=F6hlich describes in his Oct. 11 post. But after having replaced my batch.xml with version 1.3 and added toolbox.xml as you describe, everything works perfectly. I'm very happy wit= h that. - jonas. On Thu, 07 Oct 2004 21:19:40 +0100, Kal Ahmed <ka...@te...> wrote: > Hi Jonas, >=20 > Actually I think that the stack overflow is probably not a problem with > TM4Web but with TM4J. I found a couple of these issues with 0.9.6 which > I have fixed for the 0.9.7 release (just uploaded to sourceforge in the > last ten minutes!). TM4Web should work fine with this new version of the > core library. Can you try replacing your TM4J 0.9.6 JARs with the TM4J > 0.9.7 JARs and then rerun the process. If you still get a faliure, can > you send me the XTM file that causes the problem so that I can track > down where the stack overflow occurs ? >=20 > As for the missing factory.props file, there isn't a default > factory.props shipped with TM4Web, because all the default settings in > the code are fine. Perhaps there should be a default factory.props to > serve as a template for writing your own file. I'm going to log this as > a bug to fix for the next TM4Web release. >=20 > Cheers, >=20 > Kal >=20 >=20 >=20 > On Wed, 2004-10-06 at 20:58, Jonas Granlie wrote: > > Hi, > > > > After quite a bit of trial and error I've finally got TM4Web/Velocity s= ort > > of up and running. However, when I try to process a topic map i get the > > following error output: > > > > ant -f batch.xml -Dtopicmap=3Dtest.xtm topicmap > > Buildfile: batch.xml > > > > topicmap: > > [copy] Copying 1 file to C:\TEMP\tm4web\build\batch\temp > > [java] 0 [main] WARN org.tm4j.vtl.factory.BaseFactory - Could > > not locate properties file: factory.props > > [java] Cannot find CatalogManager.properties > > [java] Processing explicit mergeMap directives... > > [java] Merging referenced topic maps... > > [java] All external maps merged! > > [java] Making merged map consistent... > > [java] java.lang.StackOverflowError > > [java] Exception in thread "main" > > > > BUILD SUCCESSFUL > > Total time: 3 seconds > > > > Did I misunderstand something here? I've searched for a file named > > factory.props which, as anticipated, is not to be found anywhere. All > > references and paths to various jars should be in place. > > > > I should add that I'm running the binary package including the Velocity > > files (installed from file tm4web-velocity-bin-0.2rc1.zip) with version > > 0.9.6 (binary) of TM4J, that I have installed Apache Ant separately, an= d > > that I'm running Apache Tomcat as a part of the Ontopia Omnigator. > > > > I really hope I'm making some kind of obvious mistake.. > > > > - jonas. > > > >=20 > > ------------------------------------------------------- > > This SF.net email is sponsored by: IT Product Guide on ITManagersJourna= l > > Use IT products in your business? Tell us what you think of them. Give = us > > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out = more > > http://productguide.itmanagersjournal.com/guidepromo.tmpl > > _______________________________________________ > > Tm4j-users mailing list > > Tm4...@li... > > https://lists.sourceforge.net/lists/listinfo/tm4j-users > -- > Kal Ahmed <ka...@te...> > techquila >=20 > |
From: Wang, D. <dwa...@ws...> - 2004-10-12 15:25:41
|
Hi, i am doing some research work for my professor about Topicmaps and = TMnav. We are trying to run the example program---ExampleOpenTopicMap in = the Panckoucke folder :\My = program\panckoucke-0.3.1-bin\doc\userdoc\resources, which is example how = to open a TopicMap with panckouche. we had added all libary from tm4j lib and panckouche lib when edit, but = when running this program, error message displays like this:" import = org.tm4j.... can not be resolved." =20 WHERE CAN WE FIND ALL THESE org.tm4j.panckoucke.library? =20 Grace=20 package org.tm4j.panckoucke.examples; import org.tm4j.panckoucke.abstraction.AbstractionContext; import org.tm4j.panckoucke.context.ContextFactory; import org.tm4j.panckoucke.context.PanckouckeContext; import org.tm4j.panckoucke.impl.abstraction.AbstractionContextImpl; import org.tm4j.panckoucke.impl.abstraction.ix.TopicIndexAbstractor; import org.tm4j.panckoucke.impl.context.ContextFactoryImpl; import org.tm4j.panckoucke.model.AMArc; import org.tm4j.panckoucke.model.AMMember; import org.tm4j.panckoucke.model.AMNode; import org.tm4j.panckoucke.model.AModel; import org.tm4j.panckoucke.model.AbstractorInstantiationException; import org.tm4j.panckoucke.model.ModelProvider; import org.tm4j.panckoucke.model.UnsupportedAMMemberClassException; import org.tm4j.panckoucke.notification.Notification; import org.tm4j.panckoucke.notification.NotificationListener; import org.tm4j.panckoucke.notification.NotificationRegistry; import org.tm4j.panckoucke.notification.NotificationType; import org.tm4j.panckoucke.notification.StateChangedNotification; import org.tm4j.panckoucke.store.ProviderReference; import org.tm4j.panckoucke.store.StoreManager; import org.tm4j.panckoucke.store.StoreState; import org.tm4j.panckoucke.store.TopicMapReference; |
From: Christoph F. <cf...@fo...> - 2004-10-11 18:46:04
|
Am Mo, den 11.10.2004 schrieb Kal Ahmed um 20:40: > On Mon, 2004-10-11 at 18:57, Christoph Froehlich wrote: > > Hi Kal > > > > thanks for the quick fix. It works now... until I reach > > > > org.tm4j.topicmap.utils.extractors.AssociationGroupsExtractor$DefaultAssociationGroupComparator.compare(AssociationGroupsExtractor.java:149) > > > > where another NullPointer waits. I fixed this one myself and could > > either commit the fix or send you a patch, just as you prefer. > > > Feel free to commit the fix - I guess that it is probably an untyped > association or untyped role case that I didn't catch in the code. > committed. > > Beside of this last NPE, batch.xml now runs successfully and produces a > > lot of html files. > > > > Unfortunately there is one more problem with the default skin. > > The "topicref"-macro in "utils.vm" constantly produces the following > > loglines: > > Mon Oct 11 19:39:11 CEST 2004 [warn] > > org.apache.velocity.runtime.exception.ReferenceException: reference : > > template = associations.vm [line 2,column 29] : ${filename.fn($topic)} > > is not a valid reference. > > > > Therefor all links from index.html to any topic detail page refer to the > > unresolved string "$filename.fn($topic).html". > > > You need to create the filename object. You can do this by adding the > following line to topicmap.vm: > > #set ($filename = > $factory.create("org.tm4j.vtl.extractors.FileNameExtractor")) > > The factory variable should be initialised by the toolbox.xml. Actually > it probably makes sense for FileNameExtractor to implement the Velocity > ViewTool interface so that you can load it in the toolbox.xml. But for > now, add that line to topicmap.vm as a workaround. > aah, it works. > > I haven't got deep enough into tm4Web to know where I should start to > > look for the missing reference. Do you have a hint for me? > > > In general, any variables set by #set in topicmap.vm or setup.vm are > available when processing the whole topic map. Any variables set in > topic.vm or any of the templates it calls are available only for the > processing of that topic. > > The toolbox.xml allows you to choose the scope of a variable. If the > <scope> element content is "request" then the tool is initialised once > for each page generated. If the <scope> element content is application > then the tool is initialised once at the start of processing and the > same instance is available to every page. > Hope this helps! > oh yes, it does. Thank you, bye c > Cheers, > > Kal -- Christoph Froehlich <cf...@fo...> |
From: Kal A. <ka...@te...> - 2004-10-11 18:30:08
|
On Mon, 2004-10-11 at 18:57, Christoph Froehlich wrote: > Hi Kal > > thanks for the quick fix. It works now... until I reach > > org.tm4j.topicmap.utils.extractors.AssociationGroupsExtractor$DefaultAssociationGroupComparator.compare(AssociationGroupsExtractor.java:149) > > where another NullPointer waits. I fixed this one myself and could > either commit the fix or send you a patch, just as you prefer. > Feel free to commit the fix - I guess that it is probably an untyped association or untyped role case that I didn't catch in the code. > Beside of this last NPE, batch.xml now runs successfully and produces a > lot of html files. > > Unfortunately there is one more problem with the default skin. > The "topicref"-macro in "utils.vm" constantly produces the following > loglines: > Mon Oct 11 19:39:11 CEST 2004 [warn] > org.apache.velocity.runtime.exception.ReferenceException: reference : > template = associations.vm [line 2,column 29] : ${filename.fn($topic)} > is not a valid reference. > > Therefor all links from index.html to any topic detail page refer to the > unresolved string "$filename.fn($topic).html". > You need to create the filename object. You can do this by adding the following line to topicmap.vm: #set ($filename = $factory.create("org.tm4j.vtl.extractors.FileNameExtractor")) The factory variable should be initialised by the toolbox.xml. Actually it probably makes sense for FileNameExtractor to implement the Velocity ViewTool interface so that you can load it in the toolbox.xml. But for now, add that line to topicmap.vm as a workaround. > I haven't got deep enough into tm4Web to know where I should start to > look for the missing reference. Do you have a hint for me? > In general, any variables set by #set in topicmap.vm or setup.vm are available when processing the whole topic map. Any variables set in topic.vm or any of the templates it calls are available only for the processing of that topic. The toolbox.xml allows you to choose the scope of a variable. If the <scope> element content is "request" then the tool is initialised once for each page generated. If the <scope> element content is application then the tool is initialised once at the start of processing and the same instance is available to every page. Hope this helps! Cheers, Kal -- Kal Ahmed <ka...@te...> techquila |
From: Christoph F. <cf...@fo...> - 2004-10-11 18:00:24
|
Hi Kal thanks for the quick fix. It works now... until I reach org.tm4j.topicmap.utils.extractors.AssociationGroupsExtractor$DefaultAssociationGroupComparator.compare(AssociationGroupsExtractor.java:149) where another NullPointer waits. I fixed this one myself and could either commit the fix or send you a patch, just as you prefer. Beside of this last NPE, batch.xml now runs successfully and produces a lot of html files. Unfortunately there is one more problem with the default skin. The "topicref"-macro in "utils.vm" constantly produces the following loglines: Mon Oct 11 19:39:11 CEST 2004 [warn] org.apache.velocity.runtime.exception.ReferenceException: reference : template = associations.vm [line 2,column 29] : ${filename.fn($topic)} is not a valid reference. Therefor all links from index.html to any topic detail page refer to the unresolved string "$filename.fn($topic).html". I haven't got deep enough into tm4Web to know where I should start to look for the missing reference. Do you have a hint for me? Thanks c Am Mo, den 11.10.2004 schrieb Kal Ahmed um 16:08: > Hi Cristoph, > > Thanks for the bug report. > > The only problem is the missing -t option on the command line. I've > updated batch.xml and added a toolbox.xml that is safe for batch HTML > generation into CVS. > > Cheers, > > Kal > > On Mon, 2004-10-11 at 12:29, Christoph Froehlich wrote: > > Hi Kal > > > > when executing > > > > ant -f batch.xml -Dtopicmap=tmworld.xtm topicmap > > > > I'm getting the following null pointer > > > > [copy] Copying 1 file to /opt/java/tm4web/build/batch/temp > > [java] 0 [main] WARN org.tm4j.vtl.factory.BaseFactory - Could not locate properties file: factory.props > > [java] Cannot find CatalogManager.properties > > [java] Processing explicit mergeMap directives... > > [java] Merging referenced topic maps... > > [java] All external maps merged! > > [java] Making merged map consistent... > > [java] Consistency processing complete! > > [java] java.lang.NullPointerException > > [java] at org.tm4j.vtl.TM4JVelocityApp.pushContext(TM4JVelocityApp.java:429) > > [java] at org.tm4j.vtl.TM4JVelocityApp.startTopicMap(TM4JVelocityApp.java:401) > > [java] at org.tm4j.topicmap.utils.TopicMapWalker.walk(TopicMapWalker.java:73) > > [java] at org.tm4j.vtl.TM4JVelocityApp.processMap(TM4JVelocityApp.java:281) > > [java] at org.tm4j.vtl.TM4JVelocityApp.main(TM4JVelocityApp.java:223) > > > > > > This happens with both, tm4web/velocity0.2rc1 and the current cvs-checkout. > > I'm using tm4j 0.9.7 > > > > Tracing the source it seems obvious that m_toolboxManager is not initialized > > because batch.xml does not specify the toolbox option on the command line. > > > > do I miss something? > > > > Thanks > > > > c > > > > -- Christoph Froehlich <cf...@fo...> |
From: Kal A. <ka...@te...> - 2004-10-11 13:59:08
|
Hi Cristoph, Thanks for the bug report. The only problem is the missing -t option on the command line. I've updated batch.xml and added a toolbox.xml that is safe for batch HTML generation into CVS. Cheers, Kal On Mon, 2004-10-11 at 12:29, Christoph Froehlich wrote: > Hi Kal > > when executing > > ant -f batch.xml -Dtopicmap=tmworld.xtm topicmap > > I'm getting the following null pointer > > [copy] Copying 1 file to /opt/java/tm4web/build/batch/temp > [java] 0 [main] WARN org.tm4j.vtl.factory.BaseFactory - Could not locate properties file: factory.props > [java] Cannot find CatalogManager.properties > [java] Processing explicit mergeMap directives... > [java] Merging referenced topic maps... > [java] All external maps merged! > [java] Making merged map consistent... > [java] Consistency processing complete! > [java] java.lang.NullPointerException > [java] at org.tm4j.vtl.TM4JVelocityApp.pushContext(TM4JVelocityApp.java:429) > [java] at org.tm4j.vtl.TM4JVelocityApp.startTopicMap(TM4JVelocityApp.java:401) > [java] at org.tm4j.topicmap.utils.TopicMapWalker.walk(TopicMapWalker.java:73) > [java] at org.tm4j.vtl.TM4JVelocityApp.processMap(TM4JVelocityApp.java:281) > [java] at org.tm4j.vtl.TM4JVelocityApp.main(TM4JVelocityApp.java:223) > > > This happens with both, tm4web/velocity0.2rc1 and the current cvs-checkout. > I'm using tm4j 0.9.7 > > Tracing the source it seems obvious that m_toolboxManager is not initialized > because batch.xml does not specify the toolbox option on the command line. > > do I miss something? > > Thanks > > c > > -- Kal Ahmed <ka...@te...> techquila |
From: Christoph F. <cf...@fo...> - 2004-10-11 11:31:51
|
Hi Kal when executing ant -f batch.xml -Dtopicmap=tmworld.xtm topicmap I'm getting the following null pointer [copy] Copying 1 file to /opt/java/tm4web/build/batch/temp [java] 0 [main] WARN org.tm4j.vtl.factory.BaseFactory - Could not locate properties file: factory.props [java] Cannot find CatalogManager.properties [java] Processing explicit mergeMap directives... [java] Merging referenced topic maps... [java] All external maps merged! [java] Making merged map consistent... [java] Consistency processing complete! [java] java.lang.NullPointerException [java] at org.tm4j.vtl.TM4JVelocityApp.pushContext(TM4JVelocityApp.java:429) [java] at org.tm4j.vtl.TM4JVelocityApp.startTopicMap(TM4JVelocityApp.java:401) [java] at org.tm4j.topicmap.utils.TopicMapWalker.walk(TopicMapWalker.java:73) [java] at org.tm4j.vtl.TM4JVelocityApp.processMap(TM4JVelocityApp.java:281) [java] at org.tm4j.vtl.TM4JVelocityApp.main(TM4JVelocityApp.java:223) This happens with both, tm4web/velocity0.2rc1 and the current cvs-checkout. I'm using tm4j 0.9.7 Tracing the source it seems obvious that m_toolboxManager is not initialized because batch.xml does not specify the toolbox option on the command line. do I miss something? Thanks c -- Christoph Froehlich <cf...@fo...> |
From: Kal A. <ka...@te...> - 2004-10-07 20:10:45
|
Hi Jonas, Actually I think that the stack overflow is probably not a problem with TM4Web but with TM4J. I found a couple of these issues with 0.9.6 which I have fixed for the 0.9.7 release (just uploaded to sourceforge in the last ten minutes!). TM4Web should work fine with this new version of the core library. Can you try replacing your TM4J 0.9.6 JARs with the TM4J 0.9.7 JARs and then rerun the process. If you still get a faliure, can you send me the XTM file that causes the problem so that I can track down where the stack overflow occurs ? As for the missing factory.props file, there isn't a default factory.props shipped with TM4Web, because all the default settings in the code are fine. Perhaps there should be a default factory.props to serve as a template for writing your own file. I'm going to log this as a bug to fix for the next TM4Web release. Cheers, Kal On Wed, 2004-10-06 at 20:58, Jonas Granlie wrote: > Hi, > > After quite a bit of trial and error I've finally got TM4Web/Velocity sort > of up and running. However, when I try to process a topic map i get the > following error output: > > ant -f batch.xml -Dtopicmap=test.xtm topicmap > Buildfile: batch.xml > > topicmap: > [copy] Copying 1 file to C:\TEMP\tm4web\build\batch\temp > [java] 0 [main] WARN org.tm4j.vtl.factory.BaseFactory - Could > not locate properties file: factory.props > [java] Cannot find CatalogManager.properties > [java] Processing explicit mergeMap directives... > [java] Merging referenced topic maps... > [java] All external maps merged! > [java] Making merged map consistent... > [java] java.lang.StackOverflowError > [java] Exception in thread "main" > > BUILD SUCCESSFUL > Total time: 3 seconds > > Did I misunderstand something here? I've searched for a file named > factory.props which, as anticipated, is not to be found anywhere. All > references and paths to various jars should be in place. > > I should add that I'm running the binary package including the Velocity > files (installed from file tm4web-velocity-bin-0.2rc1.zip) with version > 0.9.6 (binary) of TM4J, that I have installed Apache Ant separately, and > that I'm running Apache Tomcat as a part of the Ontopia Omnigator. > > I really hope I'm making some kind of obvious mistake.. > > - jonas. > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Tm4j-users mailing list > Tm4...@li... > https://lists.sourceforge.net/lists/listinfo/tm4j-users -- Kal Ahmed <ka...@te...> techquila |