W3C home > Mailing lists > Public > www-html@w3.org > June 2003

Re: Date Fields in HTML

From: Johannes Koch <koch@w3development.de>
Date: Tue, 03 Jun 2003 10:49:24 +0200
Message-ID: <3EDC6114.50103@w3development.de>
To: www-html@w3.org

James Brown wrote:
> Thank you for your comments.  I agree that the tags would definately have to
> specify the type of date contained in the date field.  That was kind of what
> I was trying to acheive by the format="us" or format="uk" attribute, but
> this is my first attempt at documenting an idea for the W3C so I'm sure I
> didn't express it properly!

NITF 3.1 <http://www.nitf.org/site/nitf-documentation/nitf-3-1.dtd> has 
e.g. a story.date element including #PCDATA with a norm attribute defined as

norm                    Date/time value normalized to ISO 8601:
                         YYYYMMDDTHHMMSS-HHMM (preferred)
                         YYYYMMDDTHHMMSSZ (alternative).
                         Use YYYYMMDD000000-HHMM when no time is
                         available

Unfortunately, NITF doesn't have a namespace, so that they cannot be 
mixed with XHTML elements in an XHTML host language.

-- 
Johannes Koch
In te domine speravi; non confundar in aeternum.
                             (Te Deum, 4th cent.)
Received on Tuesday, 3 June 2003 04:47:44 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:55 GMT