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." > |