<?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>2138</bug_id>
          
          <creation_ts>2005-09-12 15:23:52 +0000</creation_ts>
          <short_desc>R-147: Lexical form of duration components</short_desc>
          <delta_ts>2009-04-21 19:25:03 +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></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>6085</commentid>
    <comment_count>0</comment_count>
    <who name="Sandy Gao">sandygao</who>
    <bug_when>2005-09-12 15:23:52 +0000</bug_when>
    <thetext>3.2.6.1 says &quot;The values of the Year, Month, Day, Hour and Minutes components 
are not restricted but allow an arbitrary integer. Similarly, the value of the 
Seconds component allows an arbitrary decimal.&quot;

What exactly is the lexical form of arbitrary integer and arbitrary decimal? 
Does it mean the lexical form of the &quot;decimal&quot; and &quot;integer&quot; datatypes as 
defined in section 3.2.3 and 3.3.13? Apparently not since it says &quot;P-1347M&quot; is 
not allowed even though &quot;-1347&quot; is a perfectly good integer. If not, what does 
it mean?

Specifically, which of the following are allowed?


(a) P+1Y
(b) P-1Y
(c) P-0Y
(d) P.1S
(e) P1.S
ISO 8601 allows only a sequence of digits, but since ISO 8601 is not cited 
normatively a reader cannot rely on that. The provision of fractional sections 
goes beyond what ISO 8601:1988 allows. However, according to my (draft and thus 
perhaps no longer correct) copy, ISO 8601:2000 does not allow any of (d) or (e) 
(even though they are valid instances of the XML Schema decimal data type). 

See:
http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0049.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6086</commentid>
    <comment_count>1</comment_count>
    <who name="Sandy Gao">sandygao</who>
    <bug_when>2005-09-12 15:24:23 +0000</bug_when>
    <thetext>http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0077.html

Resolution:
Discussed at the May 31 telecon. The WG resolved to to classify R-147 as an 
error with erratum, and instruct the editors to draft an erratum along the 
lines specified. 

Proposed text:
http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Jun/0013.html 

Text approved at June 14 telecon:
http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Jul/0009.html 

Erratum E2-23 added.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>