Bug #3051
closedstandardUnit restriction doesnt match eml-unitDictionary.xml
0%
Description
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 <unit> definitions (numberPerLiter and numberPerMilliliter) in eml-unitDictionary.xml that aren't listed as allowable for the <standardUnit> element in eml-attribute.xsd (Otherwise these lists match up correctly).
Updated by ben leinfelder over 16 years ago
adding those two units to the eml-attribute.xsd file
Updated by Margaret O'Brien over 16 years ago
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"/>