W3C home > Mailing lists > Public > xmlschema-dev@w3.org > December 2001

Minimal conformance levels for dateTimes

From: Ashok Malhotra <ashokma@microsoft.com>
Date: Sun, 9 Dec 2001 15:25:36 -0800
Message-ID: <E5B814702B65CB4DA51644580E4853FB014885E4@red-msg-12.redmond.corp.microsoft.com>
To: <w3c-xml-schema-ig@w3.org>, <w3c-query-operators@w3.org>
Cc: <xmlschema-dev@w3.org>
The XML Query/XPath Functions and Operators task force decided in its
meeting on 12/5 to allow
conforming processors to support limited lexical representations for the
date and time types.
The minutes are at:
http://lists.w3.org/Archives/Member/w3c-xml-query-wg/2001Dec/0023.html

The precise wording that will be included in the document has not been
approved by the task force.
A suggested wording is below.  

We believe it would aid inter-specification coordination if XML Schema
would add similar wording 
as part of the errata.  The wording below is based on the wording XML
Schema adopted to allow
minimally conforming processors to support 18 digits in decimal
representations.

For a number of the above datatypes [XML Schema Part 2: Datatypes]
<file:///C:\xmlspecs\query\operators\FromNorm\ashok\xquery-operators.htm
l>  extends the basic [ISO 8601]
<file:///C:\xmlspecs\query\operators\FromNorm\ashok\xquery-operators.htm
l>  lexical representations, such as YYYY-MM-DDThh:mm:ss.s for dateTime,
by allowing more than four digits to represent the year field -- no
maximum is specified -- and an unlimited number of digits for fractional
seconds. 
For this specification, all minimally conforming processors must support
year values with a minimum of 4 digits (i.e., YYYY) and a minimum
fractional second precision of 100 nanoseconds or eight digits (i.e.
s.ssssssss). However, conforming processors may set larger
application-defined limits on the maximum number of digits they support
in these two situations, in which case those application-defined maximum
numbers must be clearly documented. 



All the best, Ashok 
===========================================================
Ashok Malhotra              <mailto: ashokma@microsoft.com> 
Microsoft Corporation
Received on Sunday, 9 December 2001 18:26:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:25 GMT