From: Michael Lake (mikel_at_speleonics.com.au)
Date: Sun Feb 18 2001 - 05:14:25 CET
Received: (from mdom_at_localhost) by karto.ethz.ch (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id FAA28094 for cavexml-outgoing; Sun, 18 Feb 2001 05:16:39 +0100 Received: from iggy.triode.net.au (IDENT:root_at_iggy.triode.net.au [203.63.235.1]) by karto.ethz.ch (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with ESMTP id FAA28090 for <cavexml_at_cartography.ch>; Sun, 18 Feb 2001 05:16:37 +0100 Received: from speleonics.com.au (mikel_at_dm1-20.triode.net.au [203.63.34.21]) by iggy.triode.net.au (8.11.1/8.10.1) with ESMTP id f1I4JWh00704 for <cavexml_at_cartography.ch>; Sun, 18 Feb 2001 15:19:32 +1100 Message-ID: <3A8F4C21.A4AC9A4C@speleonics.com.au> Date: Sun, 18 Feb 2001 15:14:25 +1100 From: Michael Lake <mikel_at_speleonics.com.au> X-Mailer: Mozilla 4.73 [en] (X11; I; Linux 2.2.14 i686) X-Accept-Language: en To: cavexml_at_cartography.ch Subject: Re: Dates: explicit fields and missing values References: <3A85A28A.52FC1047_at_xmission.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-cavexml_at_karto.baug.ethz.ch Precedence: bulk Reply-To: cavexml_at_cartography.ch
Paul & Eleanor wrote:
> to his own format. Month followed by day is the American format (but
> Anyway, You should be able to detect a non-conforming format quick
> enough as soon as someone surveys on a day of the month past the
> 12th. :-)
Yes if its written as 14-12-2001 we know that it must be dd-mm-yyyy but
Date: 07-11-2001
7th day of November or the 11th day of July?
You cannot detect a non-conforming format all of the time.
QED. :-)
Conclusion: we have to split the dd, mm and yyyy into either attributes
of a date element or split then into individual elements. I'd go for
attributes.
<DATES><surveyDate year="1974" />
<creationDate year="1998" month="01" day="10" />
<modificationDate year="1999" month="06" day="22" />
</DATES>
Mike
-- -------------------------------------------------------------------- Michael Lake Active caver, Linux enthusiast and interested in anything technical. Safety Convenor, Australian Speleological Federation Owner, Speleonics (Australia) --------------------------------------------------------------------
This archive was generated by hypermail 2b30 : Thu Mar 01 2001 - 18:00:01 CET