# HG changeset patch # User casties # Date 1492794249 -7200 # Node ID b9a6e596ebe41f24a8f72419e7d4b374d3b20e29 # Parent 1f160e595167f0a67f0ee9e81e9bf2071d538afd fix transfer of ownvalue to _label attribute. diff -r 1f160e595167 -r b9a6e596ebe4 importFromOpenMind/importer/ismixml2model.py --- a/importFromOpenMind/importer/ismixml2model.py Mon Apr 03 17:54:36 2017 +0200 +++ b/importFromOpenMind/importer/ismixml2model.py Fri Apr 21 19:04:09 2017 +0200 @@ -93,6 +93,9 @@ # get attributes element atts_elem = ent_elem.find('attributes') + + # more text content of entity element + ov += atts_elem.tail or '' if atts_elem is None: log('DEBUG', "entity has no attributes: %s"%ent_elem) @@ -162,7 +165,7 @@ if len(ov) > 0: # save ov as label - attrs['label'] = ov + attrs['_label'] = ov # check for normalized value nov = ent_elem.findtext('norm') if nov is not None: