xnote udpate with no links

"Markus Hoenicka" <[email protected]>
Newsgroups gmane.text.refdb.general
Message-ID <[email protected]>
Hi Damien,

Damien Jade Duff writes:
 > I have an eeny-weeny little problem that you'll probably be able to 
 > solve in the blink of an eye...
 > 

Well, it took me a little longer than that, but you uncovered a real
and stupid bug. While I was at it, I found a few more problems related
to that bug and fixed them too. The current svn version appears to
work ok with the data and the procedure that you described.

 > Incidentally, what are the chances of getting note-note links working so 
 > that I can create trees or even webs to navigate through my references 
 > (this is further to my thoughts on the best way to make a GUI interface 
 > via java/jedit)? I had a look at the t_xnote table and it seems you'd 
 > probably either want an extra table with bidirectional links or you'd 
 > update the existing one to be keyed by a note-link id rather than a note id.
 > 

I didn't really find the time to think about this request. I don't
think it is a big deal to change the databases to allow these links
(afait it boils down to allowing an additional type string in one of
the fields). The real problem is the recursive nature of retrieving
references and notes. If you retrieve stuff linked to a note in a
recursive fashion, you'll get references linked to notes that were
linked to the note that the specified note links to. It is just a
matter of getting this right.

regards,
Markus

-- 
Markus Hoenicka
[email protected]
(Spam-protected email: replace the quadrupeds with "mhoenicka")
http://www.mhoenicka.de


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.