Issue 12304

Improve EMLParser to merge multiple studyAreaDescriptions into single property

12304
Reporter: mdoering
Type: Bug
Summary: Improve EMLParser to merge multiple studyAreaDescriptions into single property
Priority: Major
Status: Open
Created: 2012-11-12 15:10:08.792
Updated: 2015-03-02 16:26:54.095
        
Description: EML allows for multiple study area "descriptions given as /studyAreaDescription/descriptor/descriptorValue while our API model and the GBIF profile only allow a single field. Improve our parser to merge several xml elements into one field.

The following digester rule in EMLParser seems wrong:
    digester.addBeanPropertySetter(prefix + "/studyAreaDescription/descriptor/descriptorValue", "studyAreaDescription");
]]>
    


Author: mdoering@gbif.org
Comment: EMP Parser needs to accept multiple descriptor values and merge them into our single field
Created: 2013-04-12 12:14:13.977
Updated: 2013-04-12 12:14:13.977


Author: kbraak@gbif.org
Comment: Following this morning's discussion, we agreed to parse all para elements, and aggregate them into the single field. Separating each para element with a newline char sounds ideal.
Created: 2014-05-19 12:25:38.805
Updated: 2014-05-19 12:25:38.805