Bug #2071
closedTree editor creates <ANY></ANY> tags after <additionalMetadata>
0%
Description
I opened a dp that was saved locally and then opened the tree editor. I clicked
on the "Show All" button and made changes in the 'creator' and 'contact'
modules. I clicked on the "trim" button and then clicked on OK to exit the
editor. I got the message "The saved document is not valid EML2....". When I
parsed the dp on http://knb.ecoinformatics.org/emlparser/parse, I got this error
message:
cvc-complex-type.2.4.a: Invalid content starting with element 'unitList'. The
content must match '(("":describes){0-UNBOUNDED},(WC[##any]))'.
Looking at the EML file showed that <ANY> </ANY> tags had been inserted after
the first <additionalMetadata> tag.
Clicking on the "Show All" button seems to trigger this, because previously, I
made changes in the 'creator' and 'contact' modules without clicking on the
"Show All" button and didn't encounter any problem.