Editor problem with repeated elements
When elements are repeated (eg the attribute element in eml-attribute) and
subelements are repeated, it turns out that entering a text value for one
element causes all the duplicate elements to have the same value!
#1 Updated by Dan Higgins over 20 years ago
It turns out that an attempt to speed up operation resulted in a single node to
be assigned to multiple elments. In other words, the node was node cloned
properly (actually the UserObject assigned to a treeNode was not cloned so that
multiple treeNodes had the same userObject.
The fix was to add code to clone the userObject without having to make a deep
clone of the entire treeNode and all its related nodes.