W3C home > Mailing lists > Public > www-html@w3.org > April 2008

Issue: Should the datetime attribute be ISO 8601 compatable?

From: Ernest Cline <ernestcline@mindspring.com>
Date: Sun, 27 Apr 2008 19:20:19 -0400 (GMT-04:00)
Message-ID: <9672086.1209338419857.JavaMail.root@mswamui-backed.atl.sa.earthlink.net>
To: "www-html@w3.org" <www-html@w3.org>

I mentioned this earlier in one of my comments about expanding the set of allowable datetime strings to include some addition strings allowed under ISO 8601, but this is sufficiently different I wished to make certain that those who had tuned out from the earlier discussion were aware of this concern by repeating it in a separate thread.

At present the HTML 5 draft version extends the allowed syntax of the datetime value from that used in HTML 4 / XHTML 1 to include strings that are not valid ISO 8601 specifiers.  Specifically, it breaks syntax allowed by ISO 8601 by allowing optional whitespace.  I can to some degree see the value of allowing whitespace where the textContent of the <time> element is being parsed instead of the datetime attribute.  However, for the attribute itself, unless an existing implementation is accepting extra whitespace when parsing the datetime attribute of <ins> and <del> in HTML 4, I can't see the value in accepting whitespace for the attributes.

Ernest Cline
Received on Sunday, 27 April 2008 23:20:58 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:20 UTC