<?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>2179</bug_id>
          
          <creation_ts>2005-09-14 18:42:49 +0000</creation_ts>
          <short_desc>R-185: Question about cardinality of calendar types</short_desc>
          <delta_ts>2009-04-21 19:21:34 +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.1 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>resolved</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>6181</commentid>
    <comment_count>0</comment_count>
    <who name="Sandy Gao">sandygao</who>
    <bug_when>2005-09-14 18:42:49 +0000</bug_when>
    <thetext>The datatypes for recurring calendar events (specifically gMonthDay, gDay and 
gMonth) are all recorded in appendix A with: 

&lt;hfp:hasProperty name=&quot;cardinality&quot; value=&quot;countably infinite&quot;/&gt; 
However it appears that there are at most 366 days in a year, and at most 59? 
timezones or maybe 290000 if we take an extremist view of the possible 
timezones. (Alternatively, the lexical form is of finite length and comes from 
a finite vocabulary, hence there are finitely many different lexical forms). 

Is this an oversight? 

See:
http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002OctDec/0068.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6182</commentid>
    <comment_count>1</comment_count>
    <who name="Sandy Gao">sandygao</who>
    <bug_when>2005-09-14 18:42:58 +0000</bug_when>
    <thetext>Discussed at the 2003-11-20 telecon. Agreed to classify as error w/erratum. 
Agreed to change countably infinite to finite. Ashok to draft text.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7130</commentid>
    <comment_count>2</comment_count>
    <who name="Sandy Gao">sandygao</who>
    <bug_when>2005-11-09 17:20:15 +0000</bug_when>
    <thetext>And whenever we change cardinality to finite, we also need to change bounded 
to &quot;true&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7670</commentid>
    <comment_count>3</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2006-01-06 14:02:29 +0000</bug_when>
    <thetext>Proposed fix:  (1) in the pseudo schema document with declarations for
the types gYearMonth, gYear, gMonthDay, gDay, and gMonth (currently
labeled &quot;primitives.nxsd&quot;, but that name is subject to change), 
change 

   &lt;hfp:hasProperty name=&quot;bounded&quot; value=&quot;false&quot;/&gt;
   &lt;hfp:hasProperty name=&quot;cardinality&quot; value=&quot;countably infinite&quot;/&gt;

to

   &lt;hfp:hasProperty name=&quot;bounded&quot; value=&quot;true&quot;/&gt;
   &lt;hfp:hasProperty name=&quot;cardinality&quot; value=&quot;finite&quot;/&gt;

This should automatically repair the descriptions in sections
3.3.11.3, 3.3.12.3, etc., and in appendix F.

(2) Reply to Jeremy Caroll, who raised the issue long ago,
thanking him for the comment and explaining that in 1.0 we
were confused by the fact that each value of these types
itself denotes a countably infinite set (e.g. the infinite
set of periods of time labeled January in the Gregorian
calendar).

I am changing the &apos;version&apos; field from 1.0/1.1 both to
1.1 only, and spawning a twin issue for the 1.0 corrigendum:
bug 2668 is the 1.0 twin.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7671</commentid>
    <comment_count>4</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2006-01-06 14:15:26 +0000</bug_when>
    <thetext>Correction: gYearMonth is not finite, for the same reason that
gYear is not finite.  So it should NOT be changed.  It&apos;s only
the three types which don&apos;t have year information in them:
gMonth, gDay, and gMonthDay.  Sorry for the slip.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7845</commentid>
    <comment_count>5</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2006-01-15 00:35:28 +0000</bug_when>
    <thetext>On its telcon of 13 January, the WG adopted the proposal in
comment 3, as amended in comment 4 and with the instruction
to the editor to get it right this time.  The change was
integrated into the status-quo document on 13 January 2006,</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>