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