BISERVER-9761: Create cleaner looking XML by omitting the empty text when no logical cubename is given.
PRD-4613: Fixed bug in traversing data-factories.