On 13 Mar 2009, at 10:33, Mikko Rantalainen wrote:
This is already a solved problem in the Text Encoding Intiative
(TEI).
The value of a date/time is encoded in the Gregorian calendar,
using
ISO8601. The calendar attribute is used to indicate the calendar of
the original, written date enclosed in the tags.
I'm not sure why the original calendar would need to be indicated
in the
'calendar' attribute. It does not matter for the 'value' or
software in
general, if I've understood correctly. If the 'value' is always in
Proleptic Gregorian calendar, it's all the software needs to know.
Hello, the usual use of TEI is encoding historical papers for digital
preservation eg. digitising large archives of correspondence or
literature. The calendar attribute exists to preserve semantic
information in the digital version of a paper document. I was
interested to know whether there was value in preserving such
information in HTML also, since digital versions of historic
documents are published on the web as HTML.
I understand, though, that HTML should not become a grab bag of
features from other SGML or XML vocabularies so I wouldn't push for a
calendar attribute on <time> if it isn't generally useful or if I'm
the only person that wants it.
Regards
Jim
Jim O'Donnell
[email protected]
http://eatyourgreens.org.uk