This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 1413 - Lexical format of date/time values
Summary: Lexical format of date/time values
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Functions and Operators 1.0 (show other bugs)
Version: Last Call drafts
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Ashok Malhotra
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL: http://lists.w3.org/Archives/Member/w...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-13 20:24 UTC by Ashok Malhotra
Modified: 2005-09-29 11:05 UTC (History)
0 users

See Also:


Attachments

Description Ashok Malhotra 2005-05-13 20:24:49 UTC
In 10.2.1:

>For a number of the above datatypes [XML Schema 
>Part 2: Datatypes Second Edition] extends the 
>basic [ISO 8601] lexical representations, such 
>as YYYY-MM-DDThh:mm:ss.s for dateTime, by 
>allowing a preceding minus sign, 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 1 millisecond or 
>three digits (i.e., s.sss). However, conforming 
>processors may set larger 
>·implementation-defined ·limits on the maximum 
>number of digits they support in these two 
>situations.

"For this specification" suggests that Schema does not allow/require
such minimums, but it does require the same minimums.

Dave Peterson for the XML Schema WG
Comment 1 Ashok Malhotra 2005-05-13 20:26:02 UTC
Pertains to Schema 1.1

Dave Peterson for the XML Schema WG.
Comment 2 Michael Kay 2005-05-13 20:37:39 UTC
While on the topic, I can't help feeling that the literal meaning of "must
support year values with a minimum of 4 digits" is "must support all year values
that have four or more digits", whereas it's the opposite that's intended.
Comment 3 Ashok Malhotra 2005-05-19 14:32:33 UTC
This was discussed during the joint QT WGs meeting on 5/18/2005 and it was
decided to remove the words "For this specification".

Ashok Malhotra