From: <La...@gm...> - 2006-02-15 17:08:12
|
Hi Lars, it only happens when I merge a map. I wrote a short test-programm which imports a topicmap from a XTM File. When I export this topicmap into a XTM File everything works fine, because the Variant is filled correct. But if I create a new topicmap and then merge the topicmap I have imported, then the Debugger shows, that the Variant m_name Parameter is null. In the imported topicmap this Parameter is not null so there must something go wrong when I merge the map. This are the relevant topic parameters of the imported Topicmap. Here the m_name parameter is != null. m_variants= ArrayList<E> (id=272) [0]= VariantImpl (id=276) m_allPropertyListeners= null m_changeSupport= PropertyChangeSupport (id=277) m_hashString= null m_id= "x1m3oeo1f9-3" m_mvpListeners= HashMap<K,V> (id=279) m_name= VariantNameImpl (id=280) m_allPropertyListeners= null m_changeSupport= PropertyChangeSupport (id=286) m_data= DataObjectImpl (id=287) m_hashString= null m_id= "x1m3oeo1f9-4" m_mvpListeners= HashMap<K,V> (id=290) m_namedPropertyListeners= null m_parent= VariantImpl (id=276) m_resourceLocators= HashSet<E> (id=291) m_topicMap= TopicMapImpl (id=224) m_vetoableChangeSupport= VetoableChangeSupport (id=292) m_namedPropertyListeners= null m_parent= BaseNameImpl (id=265) m_resourceLocators= HashSet<E> (id=283) m_scope= HashSet<E> (id=284) m_topicMap= TopicMapImpl (id=224) m_variants= null m_vetoableChangeSupport= VetoableChangeSupport (id=285)----- The same relevant parameters from the Topic in the merged map looks like this: m_variants= ArrayList<E> (id=162) [0]= VariantImpl (id=165) m_allPropertyListeners= null m_changeSupport= PropertyChangeSupport (id=168) m_hashString= "all#x1m3oeo1f9-3" m_id= "x1m3oeo1f9-3" m_mvpListeners= HashMap<K,V> (id=170) m_name= null m_namedPropertyListeners= null m_parent= BaseNameImpl (id=149) m_resourceLocators= HashSet<E> (id=171) m_scope= HashSet<E> (id=172) m_topicMap= TopicMapImpl (id=36) m_variants= null m_vetoableChangeSupport= VetoableChangeSupport (id=173) Best regards, Lars |