File /Humanist.vol22.txt, message 281


Date:         Thu, 23 Oct 2008 06:53:51 +0100
From: Humanist Discussion Group <willard.mccarty-AT-MCCARTY.ORG.UK>
Subject: 22.292 using date arithmetic with proleptic Gregorian calendar?
To: humanist-AT-Princeton.EDU


               Humanist Discussion Group, Vol. 22, No. 292.
       Centre for Computing in the Humanities, King's College London
                        www.princeton.edu/humanist/
                     Submit to: humanist-AT-princeton.edu



         Date: Thu, 23 Oct 2008 06:42:12 +0100
         From: Humanist Discussion Group <willard.mccarty-AT-mccarty.org.uk>
         Subject: People using date arithmetic with proleptic Gregorian 
calendar?


I'm posting a query in order to pass along some information to Michael
Kay, the developer of the Saxon XSLT/XQuery processors.

I've just been corresponding with him about a minor bug in Saxon's date
handling of negative year values, and he notes, "At some stage I'm going
to have to bite the bullet and work out how to implement the change
introduced in Schema 1.1 that changes the meaning of negative years. The
question is whether anyone is using them seriously enough (i.e. with
date arithmetic) to need transition support."

The issue is that in the current XML Schema Spec for datatypes (used
for example in the TEI Guidelines for things like <date when="">),
'0001' is the lexical representation of year 1 CE, while '-0001' is the
lexical representation of year 1 BCE. There is no year '000' allowed.
But the XML Schema working group intends to revise this for spec version
1.1, so that '0000' will represent 1 BCE, '-0001' 2 BCE, etc. See:

   http://www.w3.org/TR/xmlschema-2/#dateTime

Michael wants to know how many people out there have live code that does
arithmetic on dates/times that would be affected by this change, i.e. if
you do any numeric computation on dates/times that might span the CE/BCE
boundary.

Please reply to me off-list and I'll summarize any feedback for Michael.
(Not to discourage anyone from a followup to HUMANIST on the general
issue of date arithmetic, etc. Something I'm not personally an expert
on, I should add.)

David

--
David Sewell, Editorial and Technical Manager
ROTUNDA, The University of Virginia Press
PO Box 801079, Charlottesville, VA 22904-4318 USA
Courier: 310 Old Ivy Way, Suite 302, Charlottesville VA 22903
Email: dsewell-AT-virginia.edu   Tel: +1 434 924 9973
Web: http://rotunda.upress.virginia.edu/


   

Humanist Main Page

 

Display software: ArchTracker © Malgosia Askanas, 2000-2005