You can subscribe to this list here.
2005 |
Jan
(1) |
Feb
|
Mar
(7) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
|
Feb
(3) |
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
(1) |
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
From: Lars H. <he...@se...> - 2006-09-10 16:16:58
|
Hi all, I've released a collection of Java libs, called [TMAPIX] that provides some classes to work more comfortable with [TMAPI]. The documentation is currently a bit sparse, but I hope that the [JavaDocs] provide enough information to work with it. Amongst others it contains classes to build and retrieve Topic Maps constructs via [AsTMa2] - alike expressions. Example: // Returns a collection of occurrences of type "homepage" that that // contain "de" in their scope. Occurrences occs = filter.getOccurrences(myTopic, "homepage@de"); This is the first release of TMAPIX, but I have several other classes and packages I like to integrate into TMAPIX. Stay tuned. :) TMAPIX is distributed under the Mozilla Public License Version 1.1 [TMAPIX] http://tmapix.semagia.com/ [JavaDocs] http://tmapix.semagia.com/release/0.1/docs/api [TMAPI] http://www.tmapi.org/ [AsTMa2] http://astma.it.bond.edu.au/astma=-spec-2.0r1.0.dbk Best regards, Lars -- http://www.semagia.com |
From: <La...@gm...> - 2006-07-03 14:19:08
|
> I guess you mean characters, rather than keys. Yes I mean Characters. >I also think you need to be more specific about what is happening. >What encoding is the XTM file in? What encoding is declared at the >top of the file? And what TMAPI implementation are you using? For the encoding of the XML file I use the serialize Method of the TMAPI-utils. There I know no possibility to change the encoding. The encoding in the top of the file is declared as ISO-8859-1. And I use two different TMAPI implementations. First I use tm4j and second I use OKS. But the result is the same by both engines. On the windows system java uses the following encoding: file.encoding=Cp1252 sun.jnu.encoding=Cp1252 on the linux system the following encoding is used: sun.jnu.encoding=UTF-8 file.encoding=UTF-8 Best regards, Lars |
From: Lars M. G. <la...@ga...> - 2006-06-30 08:17:34
|
* Lars B=FCnten > > I have some problems when I use the XTMParser for importing a topic =20= > map. If > I use this util on a windows system, everything works fine, but on =20 > the linux > system the util have problems with special keys like =E4, =F6, =FC = (umlaut). I guess you mean characters, rather than keys. I also think you need to be more specific about what is happening. =20 What encoding is the XTM file in? What encoding is declared at the =20 top of the file? And what TMAPI implementation are you using? I'm guessing that the problem is that the TMAPI implementation =20 creates a Java Reader class for the XTM file, instead of leaving this =20= to the XML parser, which is just wrong, wrong, wrong. In theory it =20 could be a bug in the XML parser that's being used, but that's very =20 unlikely. It's hard to know for sure without more information. -- Lars Marius Garshol, Ontopian http://www.ontopia.net +47 98 21 55 50 http://www.garshol.priv.no |
From: <La...@gm...> - 2006-06-29 19:57:33
|
I have some problems when I use the XTMParser for importing a topic map. = If I use this util on a windows system, everything works fine, but on the = linux system the util have problems with special keys like =E4, =F6, =FC = (umlaut). The serialize method works fine on both systems. I get no error by importing = the map, but the keys are wrong. Does someone know what is going wrong? Best regards, Lars |
From: Lars H. <he...@se...> - 2006-02-17 18:06:06
|
Hi all, [...] >> java.lang.ClassCastException: org.tm4j.topicmap.memory.TopicImpl >> at org.tmapiutils.impexp.xtm.XTMSerializer.writeScope(Unknown Source) > [...] > Class cast exception points to a failure in TM4J, I guess. %) [...] Jep. It's a failure in TM4J. The class that wraps the native TM4J Variant forgets to wrap the topics in the scope. We should move this thread to the TM4J list. Best regards, Lars -- http://semagia.com |
From: Lars H. <he...@se...> - 2006-02-17 17:57:07
|
Hi Lars, > I would like to create a new topicmap with TMAPI and then save this topicmap > in an XTM File. So I use the XTMSerializer from tmapi-utils in Version 0.6. > As TMAPI Implementation I use tm4j in Version 0.9.8. > If I create a topic with a variant for a basename everything looks fine. > Even when I create a topic with a scope for a basename, but when I use both > scope and variant I get an error using the XTMSerializer. > java.lang.ClassCastException: org.tm4j.topicmap.memory.TopicImpl > at org.tmapiutils.impexp.xtm.XTMSerializer.writeScope(Unknown Source) [...] Class cast exception points to a failure in TM4J, I guess. %) You're doing something like the following? Topic t = tm.createTopic(); Topic scopingTopic = tm.createTopic(); TopicName tn = t.createTopicName("Hello", null); Variant var = tn.createVariant("World", null); var.addScopingTopic(scopingTopic); serialize(tm); // BOOOOM! Best regards, Lars -- http://semagia.com |
From: <La...@gm...> - 2006-02-17 17:36:45
|
Hi all, I would like to create a new topicmap with TMAPI and then save this topicmap in an XTM File. So I use the XTMSerializer from tmapi-utils in Version 0.6. As TMAPI Implementation I use tm4j in Version 0.9.8. If I create a topic with a variant for a basename everything looks fine. Even when I create a topic with a scope for a basename, but when I use both scope and variant I get an error using the XTMSerializer. java.lang.ClassCastException: org.tm4j.topicmap.memory.TopicImpl at org.tmapiutils.impexp.xtm.XTMSerializer.writeScope(Unknown Source) at org.tmapiutils.impexp.xtm.XTMSerializer.writeTopic(Unknown Source) at org.tmapiutils.impexp.xtm.XTMSerializer.writeTopic(Unknown Source) at org.tmapiutils.impexp.xtm.XTMSerializer.serialize(Unknown Source) at varianttest.main(varianttest.java:110) I do not know if it is an error in the XTMSerializer or in tm4j. Does someone know whats going wrong? Best regards, Lars |
From: Stefan L. <li...@iv...> - 2005-03-21 10:02:34
|
Hi Oli, Leider gibt es noch keine TMAPI IO Interfaces, aber Lars Heuer hat schon=20 Vorschl=C3=A4ge dazu gemacht. Sie werden kommen garantiert. Ich denke die einfachste Variante ist einfach ne Publich-Methode parse,=20 der man nen FileNameString, oder InputStream =C3=BCbergibt und die eine=20 org.tmapi.core.TopicMap instanz zur=C3=BCckliefert. stefan >Huhu Stefan! > >Hab grad gegr=C3=BCbelt, was eigentlich der Zweck des AsTMa=3D Imports i= n den=20 >tmapi-utils sein soll. Also GAANZ grundlegend... >Soll der AsTMa=3D einlesen dann die org.tmapi.core.TopicMap zur Verf=C3=BC= gung=20 >stellen? =C3=9Cber ne public Methode? Und soll die zu parsende URI als=20 >Commandozeilenparameter =C3=BCbergeben werden, oder SystemProperty? > >byebye >Oliver > > =20 > --=20 My place : http://user.cs.tu-berlin.de/~lischke |
From: Lars H. <he...@se...> - 2005-03-06 18:51:17
|
Hi all, I've imported the TM4J tologx package as "query.tolog" package. Some TM4J -> TMAPI translations are done already. But there is a lot more to do. :) The translations were made by a little, ugly, not very intelligent but maybe useful script "tm4j2tmapi.py". I put it together with the translation table into a new "utils" directory in the tmapiutils root. If you find more useful translations, please put them into the "terminology.py" file. :) I placed the log file of the script into the query.tolog directory. If you want to play with the script, please backup everything before you run the script! I do not take responsibility if the script deletes all your files, drinks your beer and spends all your money in a pub. Best regards, Lars -- http://semagia.com |
From: Lars H. <he...@se...> - 2005-03-05 17:54:20
|
Hi all, If you like to keep track about CVS commits / changes you've the possibility to subscribe the TMAPI Utils Commits mailing list: http://lists.sourceforge.net/lists/listinfo/tmapi-utils-commits Best regards, Lars |
From: Lars H. <he...@se...> - 2005-03-05 17:45:24
|
Hi all, Kal Ahmed generously contributed a CXTM implementation on top of TMAPI to the TMAPI Utils. I've done an initial import into the CVS. Some more work have to be done for a full integration into TMAPI Utils. Please don't expect that it works in the current stage. Don't blame Kal for any failures, blame me. Best regards, Lars -- http://semagia.com |
From: Lars H. <he...@se...> - 2005-03-04 17:27:27
|
Hi Stefan, > yeah until there is no real need than your personal preference, there > will be no change, cause a renaming will cause a lot of work on many > other projects that base on tmapi-utils stuff Okay. We need the org.tmapi.io.* package so naming of the underlying impl. should not count. :) Best regards, Lars |
From: Stefan L. <li...@no...> - 2005-03-04 16:45:03
|
Hi Lars, Lars Heuer wrote: >Hi all, > >I currently moving some stuff in the CVS around. >I think I'll leave the newly created query.tolog directories empty >until I have something I can commit. > > ok sounds good. >I wonder where I should place the CXTM stuff. Into the impexp package? >My personal preference would be renaming the impexp package to >something fancier, "io" for example and put the CXTM, XTM, ATM stuff >into that package. >But I can live with impexp, though. :) > > yeah until there is no real need than your personal preference, there will be no change, cause a renaming will cause a lot of work on many other projects that base on tmapi-utils stuff Stefan |
From: Lars H. <he...@se...> - 2005-03-04 16:18:28
|
Hi all, I currently moving some stuff in the CVS around. I think I'll leave the newly created query.tolog directories empty until I have something I can commit. I wonder where I should place the CXTM stuff. Into the impexp package? My personal preference would be renaming the impexp package to something fancier, "io" for example and put the CXTM, XTM, ATM stuff into that package. But I can live with impexp, though. :) Ideas? Comments? :) Best regards, Lars |
From: Lars H. <he...@se...> - 2005-01-11 18:48:56
|
Hi TMAPI Utils subscribers, I released a package with two Java classes that simplifies the working with the TMAPI (http://tmapi.org/ ) index classes and offers methods for common object lookups. You may download the package at the following (unfancy) homepage: http://semagia.com/tmapi-utils/ This package is not meant to be a competitor to the "official" TMAPI Utils project. It contains only utils that I find useful. I did not integrate it into the TMAPI-Utils project because I want to have control over the releases etc. Anyway, because this package is licenced under the MPL you may integrate it into the TMAPI Utils tree. Best regards, Lars |