[eml-dev] [Bug 3553] - Create a schema file whose content is the definition of unit types
bugzilla-daemon at ecoinformatics.org
bugzilla-daemon at ecoinformatics.org
Thu Nov 6 09:58:42 PST 2008
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=3553
mob at icess.ucsb.edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Comment #1 from mob at icess.ucsb.edu 2008-11-06 09:58 -------
The basic structure of these definitions is below. In the interest of time, I
didn't pursue creating the enumeration lists by transforming the unit
dictionary - I just split them off manually. This closes the bug.
<xs:simpleType name="StandardUnitDictionary">
<xs:union memberTypes="unit:LengthUnitType unit:MassUnitType
unit:otherUnitType"/>
</xs:simpleType>
<xs:simpleType name="LengthUnitType">
<xs:restriction base="xs:string">
<xs:enumeration value="meter"/>
...
</xs:restriction>
</xs:simpleType>
More information about the Eml-dev
mailing list