Bug in the handling of the "additionalMetadata" elements by the EML Editor
There seems to be a problem in the way the EML editor handles
the "additionalMetadata" elements.
In particular, if there are several additionalMetadata elements (more than 2),
when you open the Editor, they all appear OK. But if you then hit 'OK' (even
without making any changes) and immediately re-open the Editor, some of
the "additionalMetadata" elements do not appear.
Updated by Dan Higgins over 19 years ago
Bug was due to empty 'description' tag under additionalMetadata. Editor trimmed
the subtree because it trims all subtrees with empty leafs and unrequired
elements. Additonal metadata is ANY data, and thus is trimmed if leaf is missing.
Fix is to put unit name into description field is no other info is available.