Bug #3181
openxs:string to ComplexType TextType, minOccurs=0, judiciously applied
0%
Description
This is a summary of a recent discussion on eml-dev which does not appear to have been entered in bugzilla.
Several people have expressed a need for additional structure in leaf nodes that are currently designated xs:string, generally to accommodate formatting for species binomials, chemical notation and lists. Examples include <title>, <method>, and <protocol>.
One solution is to change these from xs:string to txt:TextType. Since TextType is mixed content, it will not affect existing documents containing strings. The nodes to apply this change should be agreed on by this group, and this is not meant to be a work-around for eml which needs enhancement. Database implementations will need to correctly interpret the data typing when searching these elements. For more info on TextType, see bug 2703, and the docbook schema (http://www.docbook.org/specs/).
EML 2.0.1 title element:
<xs:element name="title" type="xs:string" maxOccurs="unbounded">
EML 2.0.2 proposed title element:
<xs:element name="title" type="txt:TextType" maxOccurs="unbounded">
Either of these is valid:
<eml>
<dataset>
<title>Uptake of nitrogen by Alnus tenuifolia and Alnus crispa in six different successional habitats</title>
...
</dataset>
</eml>
<eml>
<dataset>
<title>Uptake of nitrogen by
<emphasis>Alnus tenuifolia</emphasis> and
<emphasis>Alnus crispa</emphasis>
in six different successional habitats</title>
...
</dataset>
</eml>