From: Lars H. <he...@se...> - 2006-03-21 16:34:47
|
Hi Carolina, [...] > static String query = "ned:Reglas-del- > Producto(i\"file:ned.xtm#packseguridadtotal\",$Reglas)?"; > qEvaluator.addRulesModule(new FileInputStream(new File("Functions.tl")),"ned"); > qEvaluator.execute(sQuery); I think you've discovered another tolog parser bug. Maybe it works if you use a double colon "::" between the "ned" namespace and the predicate name? Did you try to import the "Functions.tl" module via the "import" directive, too? Does the following work: static String "import \"file://Functions.tl\" as ned\n" + "ned::Reglas-del-Producto(i\"file:ned.xtm#packseguridadtotal\",$Reglas)?" ? Best regards, Lars -- http://semagia.com http://topicgarden.com/mailinglist/ German Topic Maps mailinglist |