Re: a new dateTime/timezone design, with datatypes

On Thu, 2004-04-15 at 11:43, Charles McCathieNevile wrote:
> On Wed, 14 Apr 2004, Dan Connolly wrote:
> 
> >
> >Summary: my discomfort with our timezone design motivated
> >me to implement a new one. Who likes it? Who dislikes it?
> 
> I like it a lot.

I actually found a problem with it when working out my
AMS itinerary: cwm doesn't substitute into the datatype
part of a literal.

So I'm still considering some variations.

> What is the actual impact on existing content?

For one thing, the XPath expression you'd use to get
at the YYYY-MM-DD string from a Vevent is different, I think.

Here's a diff of one of the test files:

Index: mtg.rdf
===================================================================
RCS file: /w3ccvs/WWW/2002/12/cal/test/mtg.rdf,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- mtg.rdf     12 Feb 2004 06:50:05 -0000      1.7
+++ mtg.rdf     14 Apr 2004 21:34:05 -0000      1.8
@@ -14,35 +14,27 @@
       >2.0</version
     ><component
       ><Vevent
+         rdf:about="#CDC474D4-1393-11D7-9A2C-000393914268"
         ><sequence
           >3</sequence
         ><dtstamp
-           rdf:parseType="Resource"
-          ><dateTime
-            >2002-12-19T20:53:57Z</dateTime
-          ></dtstamp
+           rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime"
+          >2002-12-19T20:53:57Z</dtstamp
         ><summary
           >icalendaring #rdfig meeting</summary
         ><dtend
-           rdf:parseType="Resource"
-          ><dateTime
-            >2003-01-08T14:00:00</dateTime
-          ><tzid
-           
>/softwarestudio.org/Olson_20011030_5/America/New_York</tzid
-          ></dtend
+          
rdf:datatype="http://www.w3.org/2002/12/cal/tzd/America/New_York#tz"+          >2003-01-08T14:00:00</dtend
         ><dtstart
-           rdf:parseType="Resource"
-          ><dateTime
-            >2003-01-08T13:00:00</dateTime
-          ><tzid
-           
>/softwarestudio.org/Olson_20011030_5/America/New_York</tzid
-          ></dtstart
+          
rdf:datatype="http://www.w3.org/2002/12/cal/tzd/America/New_York#tz"+          >2003-01-08T13:00:00</dtstart
         ><uid
           >CDC474D4-1393-11D7-9A2C-000393914268</uid
         ></Vevent
       ></component
     ><component
       ><Vtimezone
+        
rdf:about="http://www.w3.org/2002/12/cal/tzd/America/New_York#tz"
         ><tzid
           >/softwarestudio.org/Olson_20011030_5/America/New_York</tzid
         ><x-lic:location


> Chaals
-- 
Dan Connolly, W3C http://www.w3.org/People/Connolly/
see you at the WWW2004 in NY 17-22 May?

Received on Thursday, 15 April 2004 12:50:12 UTC