<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>2571</bug_id>
          
          <creation_ts>2005-12-09 04:19:53 +0000</creation_ts>
          <short_desc>R-090: Questions about the lexical and canonical rep&apos;ns of dateTime</short_desc>
          <delta_ts>2011-10-21 16:39:23 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XML Schema</product>
          <component>Datatypes: XSD Part 2</component>
          <version>1.0 only</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>needsAgreement</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sandy Gao">sandygao</reporter>
          <assigned_to name="C. M. Sperberg-McQueen">cmsmcq</assigned_to>
          
          
          <qa_contact name="XML Schema comments list">www-xml-schema-comments</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>7362</commentid>
    <comment_count>0</comment_count>
    <who name="Sandy Gao">sandygao</who>
    <bug_when>2005-12-09 04:19:54 +0000</bug_when>
    <thetext>Refer to bug 2080 for detailed description.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7363</commentid>
    <comment_count>1</comment_count>
    <who name="Sandy Gao">sandygao</who>
    <bug_when>2005-12-09 04:46:53 +0000</bug_when>
    <thetext>A conformance note is only available for duration. We need to considering doing 
the following:
1. Apply a similar note to other types.
2. For duration, provide conformance criteria for other fields than year and 
second. The lex value &quot;P99999999999999999999999999M&quot; is currently allowed, but 
I don&apos;t think we want to require mininum conforming processors to support it 
when they are allowed not to support &quot;P10000Y&quot;.

For #1, the solution is abviously to apply the note we have for duration to 
dateTime, time, date, gYear, and gYearMonth.

For #2, there are 2 ways to solve it: either we specify limits for each field, 
or we specify limits on the equivalent (month,second) values. That is,

Option A: All minimum conforming processor must support duration values 
(y,m,d,h,mm,ss):
1) y &lt;= 9999
2) m &lt;= 11
3) d &lt;= 30
4) h &lt; 24
5) mm &lt; 60
6) ss &lt; 60
7) ss with at most 3 fractional digits

Option B: All minimum conforming processor must support duration values 
(y,m,d,h,mm,ss):
a. abs(y*12+m) &lt; 120000
b. abs(d*24*3600+h*3600+mm*60+ss) &lt; 31*24*3600
c. ss with at most 3 fractional digits</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>