From: Kal A. <ka...@te...> - 2001-06-19 07:37:06
|
I haven't used TM4J for a lot of editing and round-tripping topic map files since the 0.4 release (which was when I added the resourceID concept and the rest of the plumbing which supports dynamic topic merging). The most tricky thing was preservation of IDs - and my solution was to not make it an issue :) - in many ways, the ID assigned to a topic or an association should not matter, as long as the references are not broken, though of course if some one has made nice, human-readable IDs for all of their topics it is a bit of a shame that TM4J currently loses them all in a round-trip. If the topic map is never merged with another map, then it should be possible to preserve IDs - it is really just a matter of adding the appropriate options to the XTMBuilder and XTMWriter classes. Perhaps that is something which needs to be pushed up the priority list. If you notice any referential integrity problems after round-tripping the file, then thats a bug - please let me know of any difficulties like this that you encounter. I had noticed in the past that merging topicmaps occasionally generated a bunch of topics with no names, occurrences or types...and I think that may have been related to the loading sequence problem. Once again, thanks very much for the helpful bug reports - each of these bugs has been added as a test into the, currently very small, test suite so hopefully they should get picked up if a future change causes a regression. Cheers, Kal > -----Original Message----- > From: tm4...@li... > [mailto:tm4...@li...]On Behalf Of Richard > Watson > Sent: 18 June 2001 18:45 > To: tm4...@li... > Subject: [TM4J-users] round-tripping > > > Excellent, thanks Kal. :) > > Have you used TM4J much to write out topicmaps? I've been attempting to > round-trip TM's, with a few difficulties. Anything I should particularly > watch out for? > > Cheers, > Rich > > > _______________________________________________ > Tm4j-users mailing list > Tm4...@li... > http://lists.sourceforge.net/lists/listinfo/tm4j-users > > |