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 |