- From: Micah Dubinko <MDubinko@cardiff.com>
- Date: Tue, 23 Sep 2003 22:09:10 -0700
- To: 'Jeremy Johnson' <jeremy.johnson@imtc.gatech.edu>, www-forms@w3.org
Duration wasn't dropped, it is just used slightly differently. XForms has two datatypes derived from xsd:duration (yearMonthDuration and dayTimeDuration), meant to parallel the types of the same name defined in XML Query. The big-picture reason for doing this in either specification is that year/month durations are fundamentally incomparable with second/minute/hour/day durations. For example, which is bigger: 29 days or 1 month? Without getting more specific (which month?) you can't say for sure. The split out duration datatypes, however, are completely ordered, which makes comparisons (within the same datatype) fully determinable, without needing additional information. Thanks, .micah -----Original Message----- From: Jeremy Johnson [mailto:jeremy.johnson@imtc.gatech.edu] Sent: Tuesday, September 23, 2003 12:10 PM To: www-forms@w3.org Subject: xsd:duration Would someone mind briefly explaining why the xsd:duration data type was dropped from XForms? Thanks! .: jeremy.johnson@imtc.gatech.edu :. .: interactive.media.technology.center :. .: georgia.institute.of.technology :.
Received on Wednesday, 24 September 2003 01:09:21 UTC