SimonRinguette / bpswg

Automatically exported from code.google.com/p/bpswg
0 stars 0 forks source link

Difference between XSD and text descriptions of Calendar in RC1 #110

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Section 6.4.1 of the document declares 3 attributes: id, name and calendar. The 
calendar is of type Object. The corresponding part of the XSD shows: 
  <xs:complexType name="Calendar">
    <xs:simpleContent>
      <xs:extension base="xs:string">
    <xs:attribute name="id" type="xs:ID"/>
    <xs:attribute name="name" type="xs:string"/>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

Therefore I think the following is a correct example of declaring a calendar: 
<sim:Calendar id="6-to-9-weekday-mornings" name="6 a.m. to 9 a.m. 
weekdays"><[CDATA[
  BEGIN:VEVENT
  DTEND;TZID=Europe/London:20121113T090000
  RRULE:FREQ=DAILY;BYDAY=MO,TU,WE,TH,FR;INTERVAL=1
  SUMMARY:6 a.m. to 9 a.m. weekdays
  DTSTART;TZID=Europe/London:20121113T060000
  DTSTAMP:20121118T182657Z
  END:VEVENT
]]></sim:Calendar>

The problem with this is that the text in the document makes no distinction 
between the id, name and calendar even though the calendar is represented 
completely different. 

Proposal: I suggest we simply clarify in the text the expected interpretation 
because the XSD representation is quite natural. 

Original issue reported on code.google.com by timatthe...@gmail.com on 18 Nov 2012 at 7:43

GoogleCodeExporter commented 9 years ago
Approved on the 22nd meeting... need to be updated in the documentation

Original comment by sringue...@trisotech.com on 22 Nov 2012 at 3:16

GoogleCodeExporter commented 9 years ago
To version 1.0 RC2 of the spec

Original comment by sringue...@trisotech.com on 11 Jan 2013 at 10:09