[tdwg-content] date elements in Darwin Core XML schemas
tuco at berkeley.edu
Wed Jul 20 01:03:09 CEST 2011
Geoffrey Allen has asked for a clarification about the date fields in
Darwin Core. Commentary about the problem is recorded in Issue 118
(http://code.google.com/p/darwincore/issues/detail?id=118) in the
Darwin Core Issue Tracker. Below is an excerpt of my explanation. The
bottom line for this mailing list is that I believe Geoffrey has
revealed an error in the XML Schema
should be amended. I'm posting it here for commentary to see if there
is/was any good reason for restricting the dateTime elements in Darwin
Core more than in the recommendation in the definition of the terms.
If not, this is a proposal to change the types in that schema from
xs:dateTime to dateTimeISO.
Commentary from Issue 118 follows:
Through the date terms (eventDate, dateIdentified,
dcterms:modified) in the Darwin Core recommend the ISO 8601 standard
for dates, the XML application schema published at
implements the more restrictive xs:dateTime type for these terms. For
<xs:element name="eventDate" type="xs:dateTime"
I'm not sure what the rationale was for implementing these terms as
xs:dateTime rather than the less restrictive type dateTimeISO (see
below) defined in
imports that bastypes schema and has a comment specifically about the
use of dateTimeISO, which it doesn't actually use. I believe this is
an unintentional error in tdge_dwcterms.xsd, but will post this to the
tdwg_content list to see if there is any dissenting opinion about
The date and time expressed in a way conforming to a subset of ISO
8601. Meant to be exactly the same as DateTimeISO defined in ABCD.
More information about the tdwg-content