NCEAS / z-test-issues

Test issue imports from redmine
0 stars 0 forks source link

standardUnit restriction doesnt match eml-unitDictionary.xml #430

Closed mbjones closed 7 years ago

mbjones commented 7 years ago

Author Name: Margaret O'Brien (Margaret O'Brien) Original Redmine Issue: 3051, https://projects.ecoinformatics.org/ecoinfo/issues/3051 Original Date: 2008-01-02 Original Assignee: ben leinfelder


Entered on behalf of James Conners (@CCE/PAL LTERs)

paraphrased from his email: In the current EML-2.0.1 schema (eml-attribute.xsd) the restricted set of values allowed for a standardUnit doesn't exactly match up with what's in the unit definitions document shipped with eml2.0.1(eml-unitDictionary.xml). There are two definitions (numberPerLiter and numberPerMilliliter) in eml-unitDictionary.xml that aren't listed as allowable for the element in eml-attribute.xsd (Otherwise these lists match up correctly).

mbjones commented 7 years ago

Original Redmine Comment Author Name: ben leinfelder (ben leinfelder) Original Date: 2008-02-27T01:10:57Z


adding those two units to the eml-attribute.xsd file

mbjones commented 7 years ago

Original Redmine Comment Author Name: Margaret O'Brien (Margaret O'Brien) Original Date: 2008-03-31T23:13:04Z


eml-attribute.xsd needed a small change to fix but 2703. Since that bug is targeted for eml201, and this one (3051) for 2.1, I removed the 2 lines below. They can be added back in for a later release (thanks, Ben)

  <xs:enumeration value="milligramsPerLiter"/>
  <xs:enumeration value="numberPerLiter"/>
mbjones commented 7 years ago

Original Redmine Comment Author Name: Margaret O'Brien (Margaret O'Brien) Original Date: 2008-09-22T17:10:20Z


changing status to "fixed"

mbjones commented 7 years ago

Original Redmine Comment Author Name: Redmine Admin (Redmine Admin) Original Date: 2013-03-27T21:22:07Z


Original Bugzilla ID was 3051