Open gothub opened 2 years ago
I believe entityType
is required for otherEntity
elements so something has to go there.
A more broad issue to create physical sections is https://github.com/NCEAS/metacatui/issues/450, which I would still love to see implemented
@vchendrix adding the <physcial>
element seems fine but to make it backwards compatible <entityType/>
should still be the mime type. and not a human friendly description.
The media type for data files newly added via the editor is being inserted into the EML
//otherEntity/entityType
element.The media type could be entered instead into the EML element
//otherEntity/physical/dataFormat/externallyDefinedFormat/formatName
For an example, see
Here is the section inserted by MetacatUI:
which instead could be written as:
For further context on how this issue originated, see https://github.com/NCEAS/metadig-checks/issues/64#issuecomment-1020675795