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: Lars H. <he...@se...> - 2006-03-21 16:26:40
|
Hi Carolina, > [...] >> Maybe it works if you use a double colon "::" between the "ned" >>namespace and the predicate name? > [...] > I tried this one first and it works!! :). It seems that when :) Good. Not tolog 1.0 'standard' conform, but it works. ;) > parsing tolog queries, colons are eliminated -or something like > that-, could it be? No, if you look into the tolog parser source (tolog.g), you'll notice that the parser expects "::" as namespace delimiter. I don't know the reason for it, maybe an older tolog version uses "::" for the namespace. You can try to change the line 501 - 502 from prefixedident : (NAME DBLCOLON) => prefix:NAME DBLCOLON ref:NAME to prefixedident : (NAME COLON) => prefix:NAME COLON ref:NAME and try compile the grammar. I don't know if it works or if has (negative) side effects. > As I can read, the tolog 1.0 specification > establishes that this query has to be written with a single colon. > If this is a bug, do I have to report it? It's a bug. You can report it here: <https://sourceforge.net/tracker/?group_id=27895&atid=391879> > On the other hand, when I tried to use the "import" directive -as > you told me- I got an exception (posted below), similar to the > exception obtained when I tried to use de "using" directive. Yeah. This is somewhat related to the "String bug", reported here: <https://sourceforge.net/tracker/index.php?func=detail&aid=1308137&group_id=27895&atid=391879> The URI / String handling of the parser is buggy. I tried to provide some quick fixes / patches but the whole thing requires more time. Best regards, Lars -- http://semagia.com http://topicgarden.com/mailinglist/ German Topic Maps mailinglist |
From: <hri...@ru...> - 2006-03-21 10:14:33
|
Since something with the encoding of my mail went wrong, once again the draft (using UTF-8). Sorry for the inconvenience ... Hey folks, I am currently implementing a specific web application on the basis of TM4Web. I am facing the following problem: The underlying topic map contains topics that have both an English and a German base name. I set their scopes to 'en' resp. 'de' so that they correspond to the country codes. Goal: Depending on the locale of the client=E2=80=99s system, the correct base na= me should be shown. Idea: There is a method 'addPreferredTheme(Topic theme)' in the TopicNameExtractor-Class that I have been trying to use to solve that problem. Question: Is there a way to simply say like: TopicNameExtractor m_nameExtractor =3D new TopicNameExtractor(); m_nameExtractor.addPreferredTheme(current locale); How can I provide the current locale as an argument? Thanks for any help, Holger |
From: Holger <hri...@ru...> - 2006-03-20 11:18:20
|
Hey folks, I am currently implementing a specific web application on the basis of = TM4Web. I am facing the following problem: The underlying topic map contains topics that have both an English and a = German base name. I set their scopes to =E2=80=9Cen=E2=80=9D resp. = =E2=80=9Cde=E2=80=9D so that they correspond to the country codes.=20 Goal:=20 Depending on the locale of the client=E2=80=99s system, the correct base = name should be shown.=20 Idea:=20 There=E2=80=99s a method =E2=80=9CaddPreferredTheme(Topic = theme)=E2=80=9D in the TopicNameExtractor-Class that I=E2=80=99ve been = trying to use to solve that problem.=20 Question: Is there a way to simply say like: =20 TopicNameExtractor m_nameExtractor =3D new TopicNameExtractor(); m_nameExtractor.addPreferredTheme(current locale); ? =E2=86=92 How can I provide the current locale as an argument? Thanks for any help, Holger ------------------------------------------------ Holger Ridinger B2, 5 68159 Mannheim GERMANY Phone: 0621-1815529 Mobile: 0177-3020959 Email: h.r...@gm... |
From: <ca...@in...> - 2006-03-16 15:12:12
|
Hi there! Sure I can. I attach the file with the rules I'm using as a module.=20 The enviroment:=20 - jdk-1.4.2_06 - tm4j-0.9.8 - Windows XP - Running from Eclipse 3.1.0 Build id: I20050627-1435 -------------------------------------------------------------------------= --- The code that use the module: static String query =3D "ned:Reglas-del- = Producto(i\"file:ned.xtm#packseguridadtotal\",$Reglas)?"; qEvaluator.addRulesModule(new FileInputStream(new = File("Functions.tl")),"ned"); qEvaluator.execute(sQuery); -------------------------------------------------------------------------= --- The exception: org.tm4j.tologx.TologParserException: Error parsing query string. at = org.tm4j.tologx.memory.QueryEvaluatorImpl.prepareQuery(QueryEvaluatorImpl= .java:156) at = es.indra.druida.ned.mapa.GestorMapa.ejecutaConsulta(GestorMapa.java:90) at = es.indra.druida.ned.mapa.test.FicheroReglasTest.main(FicheroReglasTest.ja= va:25) Caused by: line 1:1: unexpected token: ned at org.tm4j.tologx.parser.TologParser.clause(TologParser.java:806) 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) ... 2 more java.lang.Exception: Error al procesar la consulta siguiente: = ned:Reglas-del-Producto(i"file:ned.xtm#packseguridadtotal",$Reglas) ? at = es.indra.druida.ned.mapa.GestorMapa.ejecutaConsulta(GestorMapa.java:95) at = es.indra.druida.ned.mapa.test.FicheroReglasTest.main(FicheroReglasTest.ja= va:25) -----Mensaje original----- De: Lars Heuer [mailto:he...@se...]=20 Enviado el: jueves, 16 de marzo de 2006 15:41 Para: Ant=F3n Garc=EDa, Carolina CC: tm4...@li... Asunto: Re: [TM4J-users] Problems using a rule from an added module Hi Carolina, [...] > The problem rises when I try to use a rule from that file. I read > in the doc that I must use that prefix to call the rule. For example I = have a rule in that file called > topics-with-foo(...)... > and I should call like this: > ned:topics-with-foo(...)... Can you post the code that uses the module (incl. the "using" directive)? Best regards, Lars --=20 http://semagia.com http://topicgarden.com/mailinglist/ German Topic Maps mailinglist |
From: Lars H. <he...@se...> - 2006-03-16 14:43:29
|
Hi Carolina, [...] > The problem rises when I try to use a rule from that file. I read > in the doc that I must use that prefix to call the rule. For example I have a rule in that file called > topics-with-foo(...)... > and I should call like this: > ned:topics-with-foo(...)... Can you post the code that uses the module (incl. the "using" directive)? Best regards, Lars -- http://semagia.com http://topicgarden.com/mailinglist/ German Topic Maps mailinglist |
From: <ca...@in...> - 2006-03-10 13:44:14
|
Hi there all,=20 I'm trying to add a file as a rules module to a query evaluator. I do it = successfully and I use the prefix "ned". The problem rises when I try to use a rule from that file. I read in the = doc that I must use that prefix to call the rule. For example I have a ru= le in that file called topics-with-foo(...)... and I should call like this: ned:topics-with-foo(...)... If I execute the query I obtain the following exception: org.tm4j.tologx.TologParserException: Error parsing query string. at org.tm4j.tologx.memory.QueryEvaluatorImpl.prepareQuery(QueryEvaluator= Impl.java:155) at es.indra.druida.ned.mapa.GestorMapa.ejecutarConsulta(GestorMapa.java:= 122) at es.indra.druida.ned.mapa.beans.NEDTopicCaracteristica.obtenerValores(= NEDTopicCaracteristica.java:134) at es.indra.druida.ned.mapa.beans.NEDTopicCaracteristica.setTopico(NEDTo= picCaracteristica.java:78) at es.indra.druida.ned.mapa.beans.NEDTopicRegla.cargarNEDTopic(NEDTopicR= egla.java:311) at es.indra.druida.ned.mapa.beans.NEDTopicRegla.convertirListasCondicion= esResultados(NEDTopicRegla.java:334) at es.indra.druida.ned.mapa.beans.ReglaNecesidad.<init>(ReglaNecesidad.j= ava:65) at es.indra.druida.ned.mapa.servicios.CargarReglas.crearReglas(CargarReg= las.java:92) at es.indra.druida.ned.mapa.servicios.CargarReglas.crearReglas(CargarReg= las.java:52) at es.indra.druida.ned.mapa.servicios.CargarReglas.main(CargarReglas.jav= a:33) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.= java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces= sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90) Caused by: line 1:26: unexpected token: ned at org.tm4j.tologx.parser.TologParser.clause(TologParser.java:792) at org.tm4j.tologx.parser.TologParser.clauselist(TologParser.java:437) at org.tm4j.tologx.parser.TologParser.query(TologParser.java:498) at org.tm4j.tologx.memory.QueryEvaluatorImpl.prepareQuery(QueryEvaluator= Impl.java:151) ... 14 more Any idea? Thanks in advance! Carolina -------------------------------------------------------------------------= ------------------------------------------ Este correo electr=F3nico y, en su caso, cualquier fichero anexo al mismo= , contiene informaci=F3n de car=E1cter confidencial exclusivamente dirigi= da a su destinatario o destinatarios. Queda prohibida su divulgaci=F3n, c= opia o distribuci=F3n a terceros sin la previa autorizaci=F3n escrita de = Indra. En el caso de haber recibido este correo electr=F3nico por error, = se ruega notificar inmediatamente esta circunstancia mediante reenv=EDo a= la direcci=F3n electr=F3nica del remitente. POR FAVOR, ANTES DE IMPRIMIR= ESTE CORREO ELECTR=D3NICO CONSIDERE SU APORTACI=D3N A LA CONSERVACI=D3N = DEL MEDIO AMBIENTE POR LA REDUCCI=D3N DE CONSUMO DE PAPEL. The information in this e-mail and in any attachments is confidential and= solely for the attention and use of the named addressee(s). You are here= by notified that any dissemination, distribution or copy of this communic= ation is prohibited without the prior written consent of Indra. If you ha= ve received this communication in error, please, notify the sender by rep= ly e-mail. PLEASE CONSIDER YOUR ENVIRONMENTAL RESPONSIBILITY BEFORE PRINT= ING THIS E-MAIL. |
From: Lars H. <he...@se...> - 2006-03-08 13:37:50
|
Hi all, Can the bug #1092125 submitted by George Tryfon be closed? [ 1092125 ] TMAPI "features" <https://sourceforge.net/tracker/index.php?func=detail&aid=1092125&group_id=27895&atid=391879> Some TMAPI issues are fixed and my tests do not show an unexpected behaviour. Does anybody have difficulties with the latest CVS (George?)? BTW: Everybody who works with TMAPI ontop of TM4J should switch to the CVS version of the TMAPI implementation. The TM4J-TMAPI lib should work with the latest TM4J 0.9.8 release, so it is sufficient to compile the TM4J-TMAPI lib. Best regards, Lars -- http://semagia.com http://topicgarden.com/mailinglist/ German Topic Maps mailinglist |
From: Kal A. <ka...@te...> - 2006-02-28 21:07:54
|
Hi Carolina, It seems strange that the same query should give different results. Can=20 you give me an idea of what the query is ? Have you tried running your=20 query using tm4j 0.9.8 ? There is one possibility I can think of- if you are using source=20 locators to find topics or if your topic map contains some relative=20 URIs, it is possible that tmbrowse is loading the topic map with one=20 base URI and your application is using a different base URI. Different=20 base URIs will, of course, cause any relative URIs in your topic map to=20 get resolved to different fully-specified URIs and if your query depends=20 on one of these, that would explain why you get no results in one case.=20 One place that this will always happen is with ID attributes - these get=20 turned into full source locator URIs using the base URI that you loaded=20 the topic map from. Hope this helps! Kal Ant=F3n Garc=EDa wrote: > Hi there, > > I=92m building queries and testing them in tmbrowse query tool and with= =20 > tm4j, against the same Topic Map. > > The same query gives me a result set with tmbrowse and no result set=20 > (neither an Exception) in tm4j. I=92m using tm4j-0.9.7 and=20 > tm4web-velocity-bin-0.2rc1-nodeps, jsdk 1.4.2_06 and Windows XP. I=92ve= =20 > check that the queried Topic Map is the same. > > Any idea? > > Thanks in advance, > > Carolina Ant=F3n > > ca...@in... <mailto:ca...@in...> > > --=20 > > "Knowledge is of two kinds. We know a subject ourselves, or we know=20 > where we can find information on it." > |
From: <ca...@in...> - 2006-02-28 17:03:56
|
Hi there,=20 =20 I'm building queries and testing them in tmbrowse query tool and with = tm4j, against the same Topic Map.=20 =20 The same query gives me a result set with tmbrowse and no result set = (neither an Exception) in tm4j. I'm using tm4j-0.9.7 and = tm4web-velocity-bin-0.2rc1-nodeps, jsdk 1.4.2_06 and Windows XP. I've = check that the queried Topic Map is the same. =20 Any idea? =20 Thanks in advance,=20 =20 Carolina Ant=F3n ca...@in... =20 --=20 "Knowledge is of two kinds. We know a subject ourselves, or we know = where we can find information on it." =20 |
From: Lars H. <he...@se...> - 2006-02-17 12:57:16
|
Hi Lars, [Merging topic maps that contain variants] > java.lang.NullPointerException > at > org.tm4j.tmapi.core.TMAPITopicMapObjectImpl.getObjectId(TMAPITopicMapObjectI > mpl.java:60) [...] I've submitted a bug description and a patch here: <https://sourceforge.net/tracker/index.php?func=detail&aid=1433530&group_id=27895&atid=391879> The patch is against the CVS but it should work with your v0.9.8, too. Best regards, Lars -- http://semagia.com http://topicgarden.com/mailinglist/ German Topic Maps mailinglist |
From: Lars H. <he...@se...> - 2006-02-16 14:06:15
|
Hi Kal, [...] > It's a bug - I see you have already provided a bug report and patch. I'll > validate the patch and get the changes into CVS as soon as I can - probably [...] I've added some patches to the SF patch tracker [1]. This bug is also fixed. All patches I've provided are against the latest CVS and the test suite is also happy. [1] https://sourceforge.net/tracker/?group_id=27895&atid=391881 Best regards, Lars -- http://semagia.com http://topicgarden.com/mailinglist/ German Topic Maps mailinglist |
From: Lars H. <he...@se...> - 2006-02-15 17:42:17
|
Hi Lars, [...] > it only happens when I merge a map. I wrote a short test-programm which > imports a topicmap from a XTM File. When I export this topicmap into a XTM > File everything works fine, because the Variant is filled correct. But if I [...] Okay, last questions before I look into the code: You're using the TMAPI interfaces exclusively? You're not trying to work with the native TM4J interfaces and with TMAPI, right? Do you've the mergeByTopicName feature enabled? Do you use the static merging feature of TM4J (see <http://tm4j.org/docs/devguide/ch05s02.html>)? Best regards, Lars -- http://semagia.com http://topicgarden.com/mailinglist/ German Topic Maps mailinglist |
From: <La...@gm...> - 2006-02-15 17:08:12
|
Hi Lars, it only happens when I merge a map. I wrote a short test-programm which imports a topicmap from a XTM File. When I export this topicmap into a XTM File everything works fine, because the Variant is filled correct. But if I create a new topicmap and then merge the topicmap I have imported, then the Debugger shows, that the Variant m_name Parameter is null. In the imported topicmap this Parameter is not null so there must something go wrong when I merge the map. This are the relevant topic parameters of the imported Topicmap. Here the m_name parameter is != null. m_variants= ArrayList<E> (id=272) [0]= VariantImpl (id=276) m_allPropertyListeners= null m_changeSupport= PropertyChangeSupport (id=277) m_hashString= null m_id= "x1m3oeo1f9-3" m_mvpListeners= HashMap<K,V> (id=279) m_name= VariantNameImpl (id=280) m_allPropertyListeners= null m_changeSupport= PropertyChangeSupport (id=286) m_data= DataObjectImpl (id=287) m_hashString= null m_id= "x1m3oeo1f9-4" m_mvpListeners= HashMap<K,V> (id=290) m_namedPropertyListeners= null m_parent= VariantImpl (id=276) m_resourceLocators= HashSet<E> (id=291) m_topicMap= TopicMapImpl (id=224) m_vetoableChangeSupport= VetoableChangeSupport (id=292) m_namedPropertyListeners= null m_parent= BaseNameImpl (id=265) m_resourceLocators= HashSet<E> (id=283) m_scope= HashSet<E> (id=284) m_topicMap= TopicMapImpl (id=224) m_variants= null m_vetoableChangeSupport= VetoableChangeSupport (id=285)----- The same relevant parameters from the Topic in the merged map looks like this: m_variants= ArrayList<E> (id=162) [0]= VariantImpl (id=165) m_allPropertyListeners= null m_changeSupport= PropertyChangeSupport (id=168) m_hashString= "all#x1m3oeo1f9-3" m_id= "x1m3oeo1f9-3" m_mvpListeners= HashMap<K,V> (id=170) m_name= null m_namedPropertyListeners= null m_parent= BaseNameImpl (id=149) m_resourceLocators= HashSet<E> (id=171) m_scope= HashSet<E> (id=172) m_topicMap= TopicMapImpl (id=36) m_variants= null m_vetoableChangeSupport= VetoableChangeSupport (id=173) Best regards, Lars |
From: Lars H. <he...@se...> - 2006-02-15 16:30:10
|
Hi Lars, [...] > I would like to merge topicmaps by using TMAPI and write the result into a > XTM file. So I use the mergIn(TopicMap) method. But when I use the > serialize(OutPutStream, TopicMap) method from the tmapi-utils library I get > the following error: > java.lang.NullPointerException [...] Just for clarification: You don't get the NPE if you export a topic map that has *not* been merged with another topic map? Something like the following works: TopicMap tm = null; try { tm = tmSys.createTopicMap("http://somewhere.com/"); } catch (TMAPIException ex) { // [...] } Topic t = tm.createTopic(); TopicName tn = t.createTopicName("Hello World", null); for (int i=0; i < 5; i++) { Variant var = tn.createVariant("var_" + i, null); } serializeTopicMap(tm); Best regards, Lars -- http://semagia.com http://topicgarden.com/mailinglist/ German Topic Maps mailinglist |
From: <La...@gm...> - 2006-02-15 13:58:59
|
Hello,=20 =20 I would like to merge topicmaps by using TMAPI and write the result into = a XTM file. So I use the mergIn(TopicMap) method. But when I use the serialize(OutPutStream, TopicMap) method from the tmapi-utils library I = get the following error: =20 java.lang.NullPointerException at org.tm4j.tmapi.core.TMAPITopicMapObjectImpl.getObjectId(TMAPITopicMapObje= ctI mpl.java:60) at org.tm4j.tmapi.core.TMAPITopicMapObjectImpl.hashCode(TMAPITopicMapObjectI= mpl .java:80) at java.util.HashMap.hash(Unknown Source) at java.util.HashMap.put(Unknown Source) at java.util.HashSet.add(Unknown Source) at org.tm4j.tmapi.core.TMAPIBaseNameImpl.addVariants(TMAPIBaseNameImpl.java:= 125 ) at org.tm4j.tmapi.core.TMAPIBaseNameImpl.buildVariants(TMAPIBaseNameImpl.jav= a:1 16) at org.tm4j.tmapi.core.TMAPIBaseNameImpl.getVariants(TMAPIBaseNameImpl.java:= 58) 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:104) =20 By using a debugger I saw that when I=92m merging a Topicmap into = another the =93m_name=94 parameter from the Variant of a Topicname is not written. = Is this a bug or have I done something wrong? I=92m using TM4J 0.9.8 for TMAPI. =20 Thanks, =20 Lars B. |
From: Lars H. <he...@se...> - 2006-02-15 13:45:20
|
Hi all, [...] >> select $T from topic($T), instance-of($T,11998)? >> gives me "Error parsing query string." [...] Just for the record: I think this error is correct, because the 11998 MUST be interpreted as Integer. As workaround you can try to use the object id notation @<ID>. Nevertheless the parser/lexer has to be fixed. Best regards, Lars -- http://semagia.com http://topicgarden.com/mailinglist/ German Topic Maps mailinglist |
From: Kal A. <ka...@te...> - 2006-02-13 20:30:25
|
Hi Thomas, It's a bug - I see you have already provided a bug report and patch. I'll validate the patch and get the changes into CVS as soon as I can - probably tomorrow. Thanks! Kal > -----Original Message----- > From: tm4...@li... [mailto:tm4j-users- > ad...@li...] On Behalf Of Thomas Much > Sent: 13 February 2006 16:56 > To: tm4...@li... > Subject: [TM4J-users] getMembersOfRole crashes with NPE > > Hi, > > the in-memory AssociationImpl.getMembersOfRole crashes with a > NullPointerException if I pass null as an argument (i.e. I want to lookup > the members *without* a role). > > IMHO the null argument is ok, since Member.getRoleSpec returns null for > members without a role type. > > If this works as intended and is not considered a bug, is there an easy > way > to lookup the members with no type? > > Otherwise, I'll log a bug (and provide a patch). > > bye, Thomas > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > Tm4j-users mailing list > Tm4...@li... > https://lists.sourceforge.net/lists/listinfo/tm4j-users > |
From: Thomas M. <th...@sn...> - 2006-02-13 16:57:06
|
Hi, the in-memory AssociationImpl.getMembersOfRole crashes with a NullPointerException if I pass null as an argument (i.e. I want to lookup the members *without* a role). IMHO the null argument is ok, since Member.getRoleSpec returns null for members without a role type. If this works as intended and is not considered a bug, is there an easy way to lookup the members with no type? Otherwise, I'll log a bug (and provide a patch). bye, Thomas |
From: Lars H. <he...@se...> - 2006-02-13 15:12:20
|
Hi Lars, > I would like to use the value-of Statement in Tolog. At my first attempt I > get the error Everybody seems to care about Tolog these days... . ;) [....] > So I know that I have to register some full-text index. I?m using > tm4j-0.9.8. > I know that I have to use the registerIndexProvider Method but how can I get > the IndexProvider for Example for Lucene? Well, even if you register the fulltext index [1] you won't have luck with the value-like predicate, because the tolog stuff needs some bug fixes. <http://sourceforge.net/mailarchive/message.php?msg_id=14724714> Sorry, you've to wait until the bugs are fixed. [1] <http://tm4j.org/docs/devguide/ch06s03.html> Best regards, Lars -- http://semagia.com |
From: <La...@gm...> - 2006-02-13 14:55:53
|
I would like to use the value-of Statement in Tolog. At my first = attempt I get the error =20 org.tm4j.tologx.TologParserException: Error instantiating predicate = class. at org.tm4j.tologx.parser.TologParser.predclause(TologParser.java:1047) at org.tm4j.tologx.parser.TologParser.clause(TologParser.java:800) at = org.tm4j.tologx.parser.TologParser.clauselist(TologParser.java:457) at org.tm4j.tologx.parser.TologParser.query(TologParser.java:512) at org.tm4j.tologx.memory.QueryEvaluatorImpl.prepareQuery(QueryEvaluatorImpl= .ja va:152) at org.tm4j.tologx.memory.QueryEvaluatorImpl.execute(QueryEvaluatorImpl.java= :16 6) at TologRequest.Tolog_Request(TologRequest.java:51) at TOLOGTM4J.main(TOLOGTM4J.java:12) 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(ValueLikePredica= te. java:118) at org.tm4j.tologx.parser.TologParser.predclause(TologParser.java:1045) =20 So I know that I have to register some full-text index. I=92m using tm4j-0.9.8.=20 I know that I have to use the registerIndexProvider Method but how can I = get the IndexProvider for Example for Lucene? =20 =20 |
From: Lars H. <he...@se...> - 2006-02-10 13:03:35
|
Hi, [...] > parser does not pass INTs to predicates. This failure is somehow > related to the failure Thomas Munch detected some days ago and the bug ^^^^ Much, sorry. :) Best regards, Lars -- http://semagia.com |
From: Lars H. <he...@se...> - 2006-02-10 12:57:31
|
Hi George, [...] > select $T from topic($T), instance-of($T,$TYPE), > source-locator($TYPE,"tmName#123")? > I have no error, but the query does not find the topics > any hints? See: <https://sourceforge.net/mailarchive/forum.php?thread_id=9608074&forum_id=1704> Best regards, Lars -- http://semagia.com |
From: Lars H. <he...@se...> - 2006-02-10 12:54:35
|
Hi George, [...] > select $T from topic($T), instance-of($T,11998)? > gives me "Error parsing query string." > also the calls > select $T from topic($T), instance-of($T,'11998')? > select $T from topic($T), instance-of($T,"11998")? > are not acceptable > when I replace the 11998 id with some no number text the call works OK [...] The problem is, that the lexer interprets the number as INT and the parser does not pass INTs to predicates. This failure is somehow related to the failure Thomas Munch detected some days ago and the bug with the value predicate (this failure is described in the bug tracker. I believe you've submitted it). I'll work on the issues and provide some patches next week. Best regards, Lars -- http://semagia.com |
From: George T. <geo...@fr...> - 2006-02-09 20:23:08
|
Hello again continuing my previous mail... I try the following, select $T from topic($T), instance-of($T,$TYPE), source-locator($TYPE,123)? select $T from topic($T), instance-of($T,$TYPE), source-locator($TYPE,"123")? select $T from topic($T), instance-of($T,$TYPE), source-locator($TYPE,"tmName#123")? I have no error, but the query does not find the topics any hints? Cheers George ____________________________________________________________________ http://www.freemail.gr - δωρεάν υπηρεσία ηλεκτρονικού ταχυδρομείου. http://www.freemail.gr - free email service for the Greek-speaking. |
From: George T. <geo...@fr...> - 2006-02-09 19:49:01
|
Hello, I have a topic type with id=11998 the topic type has a SourceLocator=<topicMapName>#11998 the Tolog call select $T from topic($T), instance-of($T,11998)? gives me "Error parsing query string." also the calls select $T from topic($T), instance-of($T,'11998')? select $T from topic($T), instance-of($T,"11998")? are not acceptable when I replace the 11998 id with some no number text the call works OK Is there any solution on how to use numbers in Tolog representing IDs? Cheers George ____________________________________________________________________ http://www.freemail.gr - δωρεάν υπηρεσία ηλεκτρονικού ταχυδρομείου. http://www.freemail.gr - free email service for the Greek-speaking. |