Mapping of DDI 1.2.2. incorrectly handles cases where an XML file has empty elements
Created by: yytosi
XML like the following.
study_1 Some authoring entityCreates the following docstore JSON structure for Principal Investigator:
"principal_investigators":[
{
"principal_investigator":"Some authoring entity",
"language":"en"
},
{
"language":"en"
}
],
This also causes FieldTypeErrors in OAI-PMH Repo Handler because the Element has no value or attributes.