From: <Ste...@sw...> - 2004-08-31 07:22:44
|
Hi =20 I have the following two questions using tolog: =20 [1] I would like to define a topic like "status-of/has-status" or "father/son", means with a slash in its name. Wouldn't it possible to query an association which is a instance of such a topic? E.g. select $A from father/son($A,$B) ? =20 Is there a way to tell the parser that this slash is part of the name?=20 =20 [2] In test classes of tm4j-0.9.4 I found the following query: =20 select $A from i\http://www.topicmaps.org/xtm/1.0/core.xtm#class-instance\ (shape:i\"http://www.topicmaps.org/xtm/1.0/core.xtm#class\", $A:i\"http://www.topicmaps.org/xtm/1.0/core.xtm#instance\") ? =20 I think such a query works with local files as well. Which syntax I have to use? Select $A from i\"file:///c:/myTM.xtm#test\"($A,$B) ?=20 =20 I got always the same error: TopicMapRuntimeException->Cannot find topic with subject indiciator.. =20 =20 Thanks, Stefan |