[eml-dev] [Bug 3181] New: - xs; string to txt:TextType for some leaf nodes
bugzilla-daemon@ecoinformatics.org
bugzilla-daemon at ecoinformatics.org
Fri Mar 21 16:13:51 PDT 2008
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=3181
Summary: xs;string to txt:TextType for some leaf nodes
Product: EML
Version: 2.0.1
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: eml - general bugs
AssignedTo: jones at nceas.ucsb.edu
ReportedBy: mob at icess.ucsb.edu
QAContact: eml-dev at ecoinformatics.org
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>
More information about the Eml-dev
mailing list