From: SourceForge.net <no...@so...> - 2004-05-14 19:17:47
|
Bugs item #954151, was opened at 2004-05-14 21:17 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=391879&aid=954151&group_id=27895 Category: Utilities Group: CVS Status: Open Resolution: None Priority: 5 Submitted By: Stefan Lischke (lischke2) Assigned to: Nobody/Anonymous (nobody) Summary: consistent merge possibly bug Initial Comment: when merging two TopicMaps, it is not possible to use the -c constistent argument with the merge tool. It is possible if you first merge both maps and then make it consistent with another call to the merge tool with just the merged Map I got Following Exception lischke@bruecke:~/xtmcms_tm4j/ivsxtmcms> ${TM4J_HOME}/bin/merge -c -o data/ivs.xtm -e ISO-8859-1 data/modules.xtm data/ivsData.xtm 1 [main] ERROR org.tm4j.topicmap.utils.XTMUtils - INTERNAL ERROR: IntegrityViolationException thrown when trying to delete previously merged topics. There may be a bug with the flattenTopicRefs() method. 7 [main] FATAL org.tm4j.topicmap.cmd.Merge - Unexpected exception. org.tm4j.topicmap.TopicMapRuntimeException: INTERNAL ERROR: IntegrityViolationException thrown when trying to delete previously merged topics. There may be a bug with the flattenTopicRefs() method. Cause: org.tm4j.topicmap.IntegrityViolationException: Topic is a theme in the scope of one or more scoped objects in the topic map. at org.tm4j.topicmap.utils.XTMUtils.flattenTopicRefs(XTMUtils.java:520) at org.tm4j.topicmap.utils.XTMUtils.makeConsistent(XTMUtils.java:134) at org.tm4j.topicmap.utils.TopicMapMerger.makeResultConsistent(TopicMapMerger.java:558) at org.tm4j.topicmap.utils.TopicMapMerger.merge(TopicMapMerger.java:598) at org.tm4j.topicmap.cmd.AppBase.loadTopicMapList(AppBase.java:147) at org.tm4j.topicmap.cmd.AppBase.loadTopicMap(AppBase.java:99) at org.tm4j.topicmap.cmd.Merge.run(Merge.java:91) at org.tm4j.topicmap.cmd.AppBase.initialise(AppBase.java:169) at org.tm4j.topicmap.cmd.Merge.<init>(Merge.java:60) at org.tm4j.topicmap.cmd.Merge.main(Merge.java:115) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=391879&aid=954151&group_id=27895 |