Issue 17313
Verify EML profile and examples are correct
17313
Reporter: mdoering
Assignee: kbraak
Type: Task
Summary: Verify EML profile and examples are correct
Priority: Major
Resolution: Fixed
Status: Closed
Created: 2015-02-24 15:10:52.813
Updated: 2015-02-24 22:03:30.056
Resolved: 2015-02-24 22:03:30.033
Description: The latest GBIF EML Profile 1.1 is still rather strict and hardly any of the EML documents we receive or produce validates against it. In fact I still haven't found any valid one. Schema: https://github.com/gbif/eml-profile/blob/eml-profile-1.1/eml.xsd or http://rs.gbif.org/schema/eml-gbif-profile/1.1/eml.xsd
At least the IPT should be able to produce valid EML. Here are a few things for discussion and investigation:
- address/deliveryPoint is only allowed once
- elements within address and agentType in general are required a specific sequence!
- nearly nowhere empty strings are allowed, so elements must be removed instead of containing empty strings or just whitespace
The eml metadata lib sample.xml does break all of the above
]]>
Author: kbraak@gbif.org
Created: 2015-02-24 16:13:18.944
Updated: 2015-02-24 16:13:18.944
Which sample.xml are you referring to?
In the gbif-metadata-profile project there are valid examples, e.g.
view-source:https://gbif-common-resources.googlecode.com/svn/gbif-metadata-profile/trunk/src/test/resources/eml/sample.xml