From: SourceForge.net <no...@so...> - 2005-05-31 17:12:17
|
Bugs item #1212139, was opened at 2005-05-31 12:12 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=1212139&group_id=27895 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: In-Memory Impl Group: TM4J 0.9.7 Status: Open Resolution: None Priority: 5 Submitted By: Pablo Olmos (jaguar080) Assigned to: Nobody/Anonymous (nobody) Summary: getDisplayName skips a search option Initial Comment: Hi, The method getDisplayName in class TopicMapUtilsImpl skips the option to find a base name in the specified scope even if no 'display' variant is present in the topic. This occurs because getDisplayName always invokes getScopedVariantName with XTMPSI.DISPLAY as Locator parameter. Therefore, a base name without a variant but with a scope will never be returned. the problem can be solved by adding the line outside of the second while (while2): return basename.getData(); //between lines 645 and 646 Hope you can include this in your next release. Cheers, Pablo ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=391879&aid=1212139&group_id=27895 |