<?xml version="1.0"?>
<?rfc toc="yes"?>
<?rfc symrefs="no"?>
<?rfc strict="yes"?>

<rfc ipr="full3667" docName="draft-dusseault-caldav-04">
  <x:link xmlns:x='http://purl.org/net/xml2rfc/ext' rel="Alternate" title="RFC4791" href="http://greenbytes.de/tech/webdav/rfc4791.html"/>
<front>
    <title abbrev="CalDAV">Calendaring and Scheduling Extensions to WebDAV (CalDAV)</title>
    <author initials="C." surname="Daboo" fullname="Cyrus Daboo">
        <organization abbrev="ISAMET">ISAMET Inc.</organization>
        <address>
            <postal>
                <street>5001 Baum Blvd</street>
                <street>Suite 650</street>
                <city>Pittsburgh</city>
                <region>PA</region>
                <code>15213</code>
                <country>US</country>
            </postal>
            <email>daboo@isamet.com</email>
        </address>
    </author>
    <author initials="B." surname="Desruisseaux" fullname="Bernard Desruisseaux">
        <organization abbrev="Oracle">Oracle Corporation</organization>
        <address>
            <postal>
                <street>600 blvd. de Maisonneuve West</street>
                <street>10th Floor</street>
                <city>Montreal</city>
                <region>QC</region>
                <code>H3A 3J2</code>
                <country>CA</country>
            </postal>
            <email>bernard.desruisseaux@oracle.com</email>
        </address>
    </author>
    <author initials="L.M." surname="Dusseault" fullname="Lisa Dusseault">
        <organization abbrev="OSAF">Open Source Application Foundation</organization>
        <address>
            <postal>
                <street>2064 Edgewood Dr.</street>
                <city>Palo Alto</city>
                <region>CA</region>
                <code>94303</code>
                <country>US</country>
            </postal>
            <email>lisa@osafoundation.org</email>
        </address>
    </author>
    <date month="December" year="2004" day="13"/>
    <area>Applications</area>
    <keyword>I-D</keyword>
    <keyword>calsched</keyword>
    <keyword>calsch</keyword>
    <keyword>caldav</keyword>
    <keyword>calendar</keyword>
    <keyword>webdav</keyword>
    <keyword>iCalendar</keyword>
    <keyword>iTIP</keyword>
    <keyword>HTTP</keyword>
    <abstract>
        <t>
        This document specifies a set of methods, headers and resource
        types that define the calendaring and scheduling extension to
        the WebDAV protocol.
          The new protocol elements are intended to make WebDAV-based calendaring 
          an intereropable standard that supports single-user calendar access, 
          calendar sharing, and calendar publishing.
      </t>
</abstract>

</front>

  
<middle>
  
  
<section anchor="intro" title="Introduction">
  <t> The concept of using 
    <xref target="RFC2616">HTTP</xref> and WebDAV
    as a basis for a calendaring server is by no means a new concept: it was
    discussed in the IETF CALSCH working group as early as 1997 or 1998.  Several
    companies have implemented calendaring servers using HTTP PUT/GET to upload
    and download <xref target="RFC2445">iCalendar</xref> events, 
    and using WebDAV PROPFIND to get listings
    of resources.  However, those implementations do not interoperate because
    there are many small and big decisions to be made in how to model calendaring 
    data as WebDAV resources and properties, as well as how to implement
    required features that aren't already part of WebDAV.  This draft is 
    therefore intended to propose a standard way of modeling calendar data
    in WebDAV, plus some additional features to make calendaring work well.  
  </t>
  
  <t>WebDAV properties and other XML element names defined in this specification
      all use the "urn:ietf:params:xml:ns:caldav" namespace.  Implementors
      may find occasion to define new WebDAV properties and other XML elements
      in implementing this specification, but this namespace is not intended
      for use in custom extensions.  
      </t>
 
  <section anchor="advantages" title ="Advantages of WebDAV for Calendar Access">


    <t>WebDAV offers a number of advantages as a framework or basis for calendar
      access.  Most of these advantages boil down to a significant reduction in
      design costs, implementation costs, interoperability test costs, deployment
      costs, and the cost of mistakes.  Every new standard author or implementor 
      finds certain small errors and the IETF spends considerable time and effort
      remediating these.  Some of the advantages are contingent upon the way 
      WebDAV is used, which is why this section exploring advantages is inseparable
      from the rest of this document for the moment.
    </t>
                
      
    <section anchor="urls" title="HTTP URLs for Calendar Objects">
        <t>WebDAV is an extension to the <xref target="RFC2616">HTTP/1.1</xref> protocol, 
        therefore its URLs are HTTP URLs.  If
        calendar access were an extension of WebDAV then it could also share 
        HTTP URLs.  This can make a lot of sense because it allows very simple
        calendar browsing clients to be written for devices that already have
        a HTTP stack: the client merely needs to download those calendar 
        objects and be able to parse their formats.  Since the 
        <xref target="RFC2445">iCalendar</xref> formats
        are well-defined and well-supported, there's a natural choice for what
        resource to download for a granular calendar object.  If HTTP GET can
        be used to represent a calendar object, then appointment references
        can be easily downloaded, synchronized and shared.  
      </t>
      <t>Specifying new URL formats creates additional work for implementors 
          of clients, servers and related applications that might see those
          URLs.  Although new URL formats are appropriate in many cases, 
          sometimes HTTP URLs may be appropriate -- particularly for an 
          application which extends HTTP and allows all the standard HTTP methods
          to work correctly. Not only are HTTP URLs appropriate for 
        Calendar objects, but they also eliminate the need to specify a new
        URL schema and format and implement it.
      </t>
    </section>

    <section anchor="web" title="Web Services and Web Interfaces">
      <t>Calendar functionality is found extremely frequently on the Web. Even
        calendaring systems designed primarily for access by smart clients 
        (smart clients are those which have application logic, as opposed to 
        thin clients or Web browsers) typically also have a Web interface 
        accessible by thin clients.  Some calendaring applications are 
        available only via Web interfaces, for example those found on systems
        such as Yahoo! Groups.
      </t>
      <t>Because of the frequent use of Web interfaces, and the possibility of
        supporting Web services, WebDAV is a particularly suitable framework for
        calendar data.  HTTP URLs to calendar objects can be used natively in these
        systems.  WebDAV provides property information in an XML format, easily
        consumed by Web services which usually import XML data anyway.  Web 
        interfaces can use stylesheets to transform XML data into HTML 
        presentation.  This approach is described in 
        &lt;http://www.microsoft.com/technet/prodtechnol/exchange/exchange2000/deploy/confeat/e2kowa.asp&gt;.
      </t>
    </section>

    <section anchor="simple-clients" title="Client Implementations from Simple to Rich">
      <t>The HTTP/WebDAV feature model encourages a wide range of clients, from
        extremely simple to very rich.  This is because servers must support a 
        wide range of features, but clients can pick and choose which features 
        to support.  For example, even though a WebDAV server must support the
        'lockdiscovery' property, there's no requirement for a client to request
        or parse this property value if it has no need to.  Generally speaking,
        clients may pick and choose which methods and properties to support,
        as long as the client has a reasonable response to the error conditions
        which might be returned.  A simple client can merely download and upload
        iCalendar objects and use very little XML or advanced WebDAV functionality.
      </t>
      <t>At the other end of the scale, a rich calendaring client using 
        WebDAV-based calendaring could choose to implement offline functionality,
        free-busy searches crossing multiple servers, advanced tasks and even
        some workflow, by using more of the features and possibly defining its own 
        dead properties.  (Note: WebDAV's 'dead' properties are those which the
        server allows clients to set but the server has no special behavior 
        regarding those properties.  Other clients may query and use these 
        dead properties.)
      </t>
    </section>

    <section anchor="locking" title="Support for lock feature">
      <t>WebDAV includes locking support.  Locks are indispensable when multiple
        authors may modify or create the same resources.  Locks not only 
        prevent authors from accidentally overwriting each others work (as
        ETags do), they also help authors coordinate that work by seeing when
        to wait for another author to finish.  Calendar users benefit slightly
        from this functionality, more so when group calendars or shared calendars
        allow booking of large groups of people or broadly-used resources such
        as conference rooms or equipment.
      </t>
    </section>

    <section anchor="acl" title = "Support for access control">
      <t>The <xref target="RFC3744">WebDAV ACL specification</xref> is 
      now a standard, and several implementations have already demonstrated
      interoperability.  Any shared or group calendar application benefits 
        from interoperable access control.  Access control can help define 
        who can schedule a user for new appointments without having to make
        email requests, who can view free/busy time, and who can see the
        details of certain appointments.  
      </t>
      <t>WebDAV ACLs provide a flexible and extensible list of privileges,
          which is both good and bad for calendaring.  It's good because it
          allows a calendaring-over-WebDAV standard to define additional 
          privileges that may not be used in normal WebDAV use cases (for
          example, the privilege to view a calendar's free-busy information).
          However the bad part is that a flexible and extensible list of
          privileges is hard for clients to display and explain to users.
          This draft attempts to minimize the difficulty by more closely
          defining the list of privileges that a CalDAV server must support,
          including calendaring-specific privileges.
      </t>
      <t>Implementors should note that WebDAV ACLs are not designed to
          limit access to specific properties.  For example,
        a calendaring application may wish to choose which other users can
        view the start/end times of appointments, and separately choose which
        users can also see the location of appointments.  However, as a standard
        and framework, WebDAV ACL provides a valuable base from which to work.
        Furthermore, this proposal recommends that advanced access control work
        for calendaring be relegated to another document, so that standard 
        calendaring systems can be built using existing WebDAV ACL support. 
      </t>
    </section>
            
    <section anchor="impl" title="Security, Implementations and Deployed Base">
      <t>Many WebDAV client applications, servers and APIs already exist.  WebDAV
        clients exist for modern Microsoft, Unix and Apple platforms.  
        Open source solutions are common and powerful.  This can significantly
        improve early interoperability and reduce development and test time.
      </t>
      <t>Much security integration work has already been done for WebDAV.  Today's 
        Web and WebDAV servers all support TLS, providing at a minimum single-hop 
        privacy and server authentication.  HTTP Digest and Basic authentication
        may provide adequate client authentication (Basic essentially uses a 
        clear-text password but this may be appropriate if the connection is 
        secured with TLS).  If not, work is under way to support SASL with HTTP.
        As that work nears completion, HTTP/WebDAV implementations will add
        SASL support so that work will be done already for a calendaring system.
        It seems the HTTP/SASL work is nearing last call
        (currently draft-nystrom-http-sasl-09.txt).
      </t>
    </section>
      
    <section anchor="synch" title="Migration, Synchronization and Offline Functionality">
      <t>Synchronization and offline functionality are useful features in 
        Calendaring systems.  Luckily, these are already well understood for
        HTTP/WebDAV technology.  HTTP ETags provide a reliable way to determine
        whether a document in an offline cache needs to be synchronized.  At
        least two WebDAV clients supporting synchronization have already been
        created: sitecopy (http://www.lyra.org/sitecopy/) and Xythos WebFile
        Client (http://www.xythos.com/home/xythos/wfc_features.html).
      </t>
      <t>Many WebDAV working group members are discussing more work to improve
        the performance of synchronization between WebDAV clients and WebDAV
        repositories.  This ongoing work can benefit the calendaring community
        at the same time, provided that the calendaring data model fits easily
        in the WebDAV data model.  The model proposed in this document is one
        with which new WebDAV synchronization features are likely to be equally
        applicable to calendaring data.
      </t>
      <t>Data migration is almost the same problem as synchronization.  One
        use of a WebDAV tool like sitecopy is to move data to a new server.  The
        move is performed by doing a new synchronization.  Once the initial 
        synchronization is complete and verified, the data on the old system
        can be removed or archived.  Data portability is a convenient feature
        to administrators, particularly when deploying a new system.
      </t>
    </section>
      
    <section anchor="extensibility" title="Clear extensibility model">
      <t>WebDAV has a clear and proven extensibility model.  The major way 
        functionality is extended is by defining new properties. Servers can extend
        functionality by creating new live properties in custom namespaces.  
      </t>
      <t>
        Clients can also extend functionality by creating new dead properties in custom 
        namespaces.  For example, a client might wish to add a "source-device" 
        property in a custom namespace to record which device created the calendar
        item.  Dead properties are client-controlled properties, where the namespace,
        name and value are entirely controlled by the client. However, the server
        is required to store these properties and return them, if requested, in
        PROPFIND queries for individual resources or in listings of collection
        contents.  Some servers support text searching on all dead properties
        through the DASL extensions (a work in progress) [TODO: REF].  
        Dead properties can also be used in reports.
      </t>
      <t>Other proven HTTP/WebDAV extensibility mechanisms include the ability to 
        define and advertise special WebDAV reports, new HTTP headers, and for ultimate 
        flexibility, new HTTP methods.
      </t>
    </section>

  </section>
    
</section> 
    
  <!-- End of Introduction.  Beginning of Requirements section. -->
    
<section anchor="requirements" title="Required CalDAV features">
  <t>This section lists what functionality is required of a CalDAV server.
    To advertise support for the 'calendar-access' features of CalDAV, 
    a server:
    <list style="symbols">
      <t>MUST support WebDAV Class 1 and 2 (all of <xref target="RFC2518">RFC2518</xref>
         including locking).</t>
      <t>MUST support <xref target="RFC3744">WebDAV ACLs</xref> with the privilege set
         defined in <xref target="privileges"/>.</t>
      <t>MUST support SSL.</t>
      <t>MUST support strong ETags to support disconnected operations.</t>
      <t>MUST support property promotion as described in this document.</t>
      <t>MUST support calendaring REPORTs as described in this document.</t>
      <t>MUST support MKCALENDAR.</t>
    </list>
  </t>
  <t>To advertise support for the 'calendar-schedule' features of CalDAV,
    a server:
    <list style="symbols">
      <t>MUST support all the 'calendar-access' features</t>
      <t>MUST support the 'schedule' and 'calendar-bind' privileges.</t>
      <t>MUST support the 'itip-inbox' and 'itip-outbox' collections.</t>
      <t>MUST support the SCHEDULE method and the Recipient and Originator headers.</t>
    </list>
  </t>
  
  <t>In addition, a server:
    <list style="symbols">
      <t>MAY support WebDAV <xref target="RFC3253">DeltaV</xref> or some of its components.</t>
    </list>
  </t>
  
</section>

<section title="CalDAV Support Discovery" anchor="support.discovery">

  <t>If the server supports the calendar access features described in
  this document it MUST include "calendar-access" as a field in
  the DAV response header from an OPTIONS request on any resource
  that supports any calendar properties, reports, or privileges.
  </t>
  
  <t>If the server supports the calendar scheduling features described in
  this document it MUST include "calendar-schedule" as a field in
  the DAV response header from an OPTIONS request on any resource
  that supports the SCHEDULE method.
  </t>

  <section title="Example: Using OPTIONS for the Discovery of Support for CalDAV"
             anchor='support.discovery.example'>

<figure><preamble>
&gt;&gt; Request &lt;&lt;
</preamble><artwork><![CDATA[
OPTIONS /lisa/calendar/outbox/ HTTP/1.1
Host: cal.example.com
]]></artwork></figure>

<figure><preamble>
&gt;&gt; Response &lt;&lt;
</preamble><artwork><![CDATA[
HTTP/1.1 200 OK
Allow: OPTIONS, GET, HEAD, POST, PUT, DELETE, TRACE, COPY, MOVE
Allow: MKCOL, PROPFIND, PROPPATCH, LOCK, UNLOCK, REPORT, SCHEDULE
DAV: 1, 2, calendar-access, calendar-schedule
Content-Length: 0
]]></artwork></figure>

    <t>In this example, the OPTIONS response indicates that the server
    supports both calendar access and scheduling functionality and that
    /lisa/calendar/outbox/ can be specified as a Request-URI to the
    SCHEDULE method.</t>

  </section> <!-- support.discovery.example -->
</section> <!-- support.discovery -->

<section anchor="model" title="Calendaring Data Model">
  <t>One of the features which has made WebDAV a successful protocol is its
    firm data model.  This makes it a useful framework for other applications
    such as calendaring.  In this proposal, we attempt to follow the same 
    pattern by developing all new features based on a well-described data model.
  </t>
  <t>In the CalDAV data model, every iCalendar VEVENT, VJOURNAL, VTODO and
    VFREEBUSY is stored as a regular HTTP/WebDAV resource.  That means each 
    calendar resource may be individually locked and have individual properties.
    These resources are sorted into WebDAV collections with a mostly-fixed
    structure.
  </t>
  <section anchor="Repository" title="Calendar Repository or Server">
    <t>A CalDav repository, or server, is a calendaring-aware engine combined
      with a WebDAV repository.  A WebDAV repository is a set of WebDAV 
      collections, containing other WebDAV resources, within a unified URL
      namespace.  For example, the repository "http://example.org/webdav/" 
      may contain WebDAV collections and resources, all of which have URLs
      beginning with "http://example.org/webdav/".  Note that the root URL
      "http://example.org/" may not itself be a WebDAV repository (for example,
      if the WebDAV support is implemented through a servlet or other Web server 
      extension).  
    </t>
    <t>A WebDAV repository may include calendar data in some areas, and 
      non-calendaring data in other areas.  Calendar data will be indicated
      through specific container relationships and resource types discussed
      in the next sections.
    </t>
    <t>A WebDAV repository may advertise itself as a CalDAV server if it 
      supports the functionality defined in this specification at any point
      within the root of the repository.  That might mean that calendaring
      data is spread throughout the repository and mixed with non-calendar data
      in nearby collections (e.g. calendar data may be found in /lisa/calendar/
      as well as in /nborenstein/calendar/, and non-calendar data in 
      /lisa/contacts/).  Or, it might mean that calendar data can be found
      only in certain sections of
      the repository (e.g. /caldav/usercals/*).  Calendaring features are 
      only required in the repository sections that are or contain calendaring
      objects.  So a repository confining calendar data to the /caldav/ collection
      would only need to support the CalDAV required features within
      that collection.
    </t>
    <t>The CalDAV server or repository is the canonical location for 
      calendar data, state information and semantics.  The CalDAV server has 
      significant responsibility to ensure that the data is consistent and
      compliant.  Clients may submit requests to change data or download
      data.  Clients may store the calendar offline and attempt to synchronize
      when reconnected, but changes to the repository occurring in between
      are not considered to be automatically disposable and clients should 
      consider the repository to be the first authority on state.  HTTP Etags
      and other tools help this work.
    </t>        
  </section>

  <section anchor="recurrence" title="Recurrence and the Data Model">
    <t>Recurrence is an important part of the data model because it governs
      how many resources are expected to exist.  
    </t> 
    <t>Consider the outcome if recurrence were handled through
      the creation of many nearly-identical WebDAV resources.  With this model, 
      it becomes hard to keep synchronized data consistent.  Even worse, some features like LOCK
      become difficult -- it's hard to lock the right set of resources so that
      the user can change the title of all recurrences of an appointment.  Due to
      these considerations, this proposal does not model recurrences as separate
      resources.
    </t>
    <t>Instead, this proposal models recurrence patterns as properties of event
      resources.  This makes for much less data to synchronize, and makes it
      easier to make changes to all recurrences or to a recurrence pattern.  It
      makes it easier to create a recurring event, and easier to delete all
      recurrences.  
    </t>
    <t>The drawback of the recurrence-is-a-property approach is that it becomes
      harder to see what events occur in a given time period.  It's a very common
      function for calendar views to display all events happening between midnight
      yesterday and midnight tonight, or all events happening within one week.
      In these views, each recurrence appears as if it were an individual 
      appointment.  To make these views possible, this proposal defines a REPORT
      specifically to view events in a time period [TODO - ref section].
    </t>
    <t>Because of this choice, clients MUST NOT create separate resources to 
      represent a recurring event when the recurrence pattern is known.  Otherwise,
      it makes it more difficult for other clients to interoperate and modify
      the recurring event.  Most importantly, clients MUST NOT duplicate events
      represented through recurrence patterns with manually created events, 
      which would appear as duplicates to the server and to other clients.
    </t>
  </section>

  <section anchor="scheduling-and-fanout" title="Scheduling, Fanout and the Data model">
    <t>One of the key workflows in calendaring and scheduling is when a meeting organizer
      creates an invitation and sends it to a number of attendees.  Each of those attendees
      wants the event to appear on their own calendar (if they accept it) and have their
      status reflected back to the organizer.  This section is a brief overview of how
    this workflow relates to the data model of CalDAV, which only applies if the
    server supports the 'calendar-schedule' set of features.</t>
    <t>An invitation is not yet an accepted event.  Thus, invitations should appear 
      outside the main part of the calendar, and not be included in free-busy rollup
      or calendar REPORT requests.  To handle this in the data model, CalDAV defines
      an iTIP Inbox collection to contain incoming invitations.  Similarly, the Inbox 
      folder can handle incoming replies and other iTIP methods. The Inbox contains 
      inbound iTIP messages long after they are handled/seen by the user, because
      this serves as a track record and to help synchronize between multiple clients.
    </t>
  <t>Outbound iTIP messages are very similar, and need to be tracked both to
    help synchronize between multiple clients and to support delegation use cases.  
    CalDAV defines an iTIP Outbox collection to contain outbound invitations and other
    iTIP methods.  A single user with multiple clients can use this collection to 
    synchronize the outbound request history.  
    Two users coordinating scheduling with one calendar 
    (e.g. a calendar user and her assistant) can see what scheduling 
    messages the other user has
    sent.  (The calendar owner would then typically have permission to DELETE
  the scheduling messages but the assistant need not.)</t>
    <t>Thus, for every scheduling request, we would like to see one copy in the
      organizer's iTIP Outbox, as well as one copy in each attendee's iTIP Inbox.
      Rather than require that many PUT requests, CalDAV defines the SCHEDULE
      method to request that the server place a copy of an iTIP message in 
      a given iTIP Outbox, and do its best to fan out the iTIP message to the
      recipients' iTIP Inboxes. 
    </t>
    <t>The server may support fanout to other domains, and the client may 
      attempt to get the server to do this by specifying remote addresses for
      the fanout recipients, but the server is not bound to support or complete
      remote fanout operations even if it advertises support for 'calendar-schedule'
      features.  Note that fanout mechanisms are not defined in CalDAV -- there
      is no server-to-server or server-to-client protocol defined for delivering
      an iTIP message.  Implementations may do this in a proprietary way, with iMIP,
      or with iTIP bindings as yet unspecified.
    </t>
    <t>After the fanout is completed, CalDAV clients will see the iTIP messages 
      the next time they synchronize or query the iTIP Inbox collection.
      To reply to an iTIP invitation, the client uses the SCHEDULE method to
      send another iTIP message (this time, a reply).  If the user has decided
      to accept the invitation, the client also uses PUT (or some other method)
      to create a VEVENT resource (text/calendar) in the appropriate calendar, 
      and with the appropriate details.  Typically, the step of putting the event
      in the calendar is left up to the client, so that the client can make 
      appropriate choices about where to put the event, and with what alarms, etc.
      However, the server MAY be configured (how is not defined here) to auto-accept
      or auto-reject invitations, and if the server auto-accepts invitations then
      the server is responsible for creating iCalendar components in the user's calendar.
    </t>

  </section>
      
</section> <!-- Model -->
      
<section anchor="new-resources" title="New Resource Types">
  <t>CalDAV defines the following new resource types for use in calendar
      repositories.</t>
      
  <section anchor="calendar-resource" title="Calendar Collection">
    <t>A WebDAV collection which corresponds to a single calendar or VCALENDAR
      is a Calendar.  It has a new resource type:
    </t>
    <figure><artwork>
    &lt;resourcetype xmlns="DAV:"&gt;
      &lt;collection/&gt;
      &lt;C:calendar xmlns:C="urn:ietf:params:xml:ns:caldav"/&gt;
    &lt;/resourcetype&gt;
    </artwork></figure>
    <t>The calendar collection contains resources that represent the iCalendar
      objects within the calendar.  It also has certain properties which are required
      to be present on calendars (see XML section).  A Calendar collection 
      may be created through provisioning (e.g. automatically created when
      a user's account is created), or it may be created through MKCALENDAR.
      This can be useful for a user to create a second calendar (e.g.
      soccer schedule) or for users to share a calendar (e.g. team events
      or conference room).  Note however that this proposal doesn't
      define what extra calendars are for, users must rely on non-standard
      cues to find out what a calendar is for.
    </t>
  
    <t> Calendars MUST NOT contain other calendars.  Multiple calendars 
      MAY be children of the same WebDAV collection.  
    </t>
    <t>A Calendar collection MAY contain additional collections and 
      non-collection resources of types not defined here. How such items
      are used is not defined by this specification.
    </t>
    <section anchor="celendar-model" title="iCalendar Components within the Calendar Collection">
      <t>Each top-level iCalendar component within the VCALENDAR component is
         represented as a seperate WebDAV resource, with the exception that sets
         of recurring items (i.e. components with the same UID iCalendar property value,
         but differing RECURRENCE-ID values) are all stored in the same resource. i.e.
         each WebDAV resource MUST only contain iCalendar components with the same iCalendar
         UID property value, and all iCalendar components with the same iCalendar UID
         property value MUST be stored in the same WebDAV resource.
      </t>
          <t>For example, given the following iCalendar object:
          <figure><artwork>
		BEGIN:VCALENDAR
		CALSCALE:GREGORIAN
		PRODID:-//Example, Inc.\, Inc.//Example App//EN
		VERSION:2.0
		BEGIN:VEVENT
		UID:1@example.com
		SUMMARY:One-off Meeting
		DTSTAMP:20041210T183904Z
		DTSTART:20041207T120000Z
		DTEND:20041207T130000Z
		END:VEVENT
		BEGIN:VEVENT
		UID:2@example.com
		SUMMARY:Weekly Meeting
		DTSTAMP:20041210T183838Z
		DTSTART:20041206T120000Z
		DTEND:20041206T130000Z
		RRULE:FREQ=WEEKLY
		END:VEVENT
		BEGIN:VEVENT
		UID:2@example.com
		RECURRENCE-ID:20041213T120000Z
		SUMMARY:Weekly Meeting
		DTSTAMP:20041210T183838Z
		DTSTART:20041213T130000Z
		RRULE:FREQ=WEEKLY
		END:VEVENT
		END:VCALENDAR
          </artwork></figure>
          </t>
          <t>The VEVENT with UID value "1@example.com", would be stored in its
             own unique WebDAV resource. The two VEVENTs with UID value "2@example.com",
             which represent a set of recurring events where one instance has been
             overridden, would be stored in a single unique WebDAV resource.</t>
    </section>
  </section>
     
  <section anchor="itip-inbox" title="iTIP Inbox Collection">
    <t>On a server supporting 'calendar-schedule' features, 
      every Calendar MUST have an associated iTIP Inbox collection to contain
    incoming iTIP messages.  The iTIP Inbox MAY be inside the calendar or 
      elsewhere on the server, possibly even on another server.
    </t>
        <figure><artwork>
    &lt;resourcetype xmlns="DAV:"&gt;
      &lt;collection/&gt;
      &lt;C:itip-inbox xmlns:C="urn:ietf:params:xml:ns:caldav"/&gt;
    &lt;/resourcetype&gt;
        </artwork></figure>
        <t>Every non-collection resource in the iTIP Inbox collection is considered to be an
            iTIP message.  Every resource MUST have the media type text/calendar, and
            contain the iCalendar METHOD property.
        </t>
  </section>

  <section anchor="itip-outbox" title="iTIP Outbox Collection">
    <t>On a server supporting 'calendar-schedule' features, 
      every Calendar MUST have a child collection to contain fanout requests and
      responses for appointments scheduled by the calendar owner (or other 
      users of this calendar).  This collection is to store REQUESTs initiated
      by this calendar server for this calendar, as well as REPLY items 
      received in reply.  This collection is only for review because the CalDAV
      server is responsible for parsing incoming REPLY messages and adding 
      attendee information to events.
    </t>
        <figure><artwork>
    &lt;resourcetype xmlns="DAV:"&gt;
      &lt;collection/&gt;
      &lt;C:itip-outbox xmlns:C="urn:ietf:params:xml:ns:caldav"/&gt;
    &lt;/resourcetype&gt;
        </artwork></figure>
    <t>Every non-collection resource in the scheduling collection is considered to be a
      REQUEST or REPLY.  Every resource MUST have the default MIME type text/calendar, and 
      contains exactly one REQUEST or exactly one REPLY.  When the client
      sends the HTTP SCHEDULE method to an iTIP outbox, the server is responsible
      for putting a copy of of the iTIP message in that iTIP outbox.  This
    then serves as a record of outgoing scheduling messages.</t>  
    <t>The server MAY auto-delete messages in the outbox
      after a suitably long period or to keep within a quota.  The server SHOULD
      allow the calendar owner to DELETE resources in the outbox.
    </t>
  </section>
  

</section>

<section anchor="creating-resources" title="Creating Resources">
  <t>Calendars and
    individual calendar objects may all be created by either the CalDAV client
    or by the CalDAV server.  For example, a server might come preconfigured
    with a user's calendar, or the CalDAV client might create a
    new calendar collection.  Servers might populate events as calendar
    objects inside a calendar collection, or (more typically) clients 
    might create events.
    Either way, both client and server MUST comply with the requirements in 
    this document, and MUST understand objects appearing in calendars or
    according to the data model defined here.
  </t>
  <section anchor="creating-calendars" title="MKCALENDAR for creating calendars">
    <t>The new MKCALENDAR method is defined for the client to tell the server
      to create a new calendar and populate it with the default property values.
      If a resource already exists at the Request-URI, or if the Request-URI is
      contained within a calendar collection, the server MUST fail the request with a 
    409 (Conflict) error.  Permission to use the MKCALENDAR method
     SHOULD be governed by the 'bind' privilege on the parent collection
     of the Request-URI.  Permission to DELETE a calendar collection
     SHOULD likewise be governed by the 'unbind' privilege on the parent
     collection.</t>
    
    <t>If there is no resource at the Request-URI, and the server is 
      capable of creating and supporting a calendar at that location,
      then the server creates the calendar collection. The server
      MUST also populate the new collection with the appropriate 
      default property values, particularly for the resourcetype
      property and calendar-owner property.  The successful
      response to MKCALENDAR is typically 201 (Created).
      
    </t>
    <t>
      Note that there is no semantic value in 
      any other part of a calendar name (or a resource name, other than
      possibly the file extension).  Thus, a
      calendar collection may be called "calendar", "cal", "Calendario" and so
      on.  It's the properties of the resource that define what
      it is, not the name.
    </t>
          
    <section anchor="mkcalendar-example" title="MKCALENDAR Example">
      <figure><artwork>
>> Request

   MKCALENDAR /lisa/calendar/ HTTP/1.1
   Host: cal.example.com

>> Response
             
   HTTP/1.1 201 Created
   Date: Fri, 22 Oct 2004 12:17:08 GMT
   Content-Length: 0

      </artwork></figure>
    </section>
  </section>
  <section anchor="creating-components" title="Creating component resources">
    <t>Clients typically populate new calendars with components. The URL for each
      component resource
      is entirely arbitrary, and does not need to bear a specific relationship
      (but might) to the component's subject, scheduled time, UID or other
      metadata.  A brand-new component must obviously have a new URL, otherwise
    the new component would instead be an update to an existing component.</t>
    <t>When servers create new resources, it's not hard for the server to 
      choose a unique URL.  It's slightly tougher for clients, because a client
      might not want to examine all resources in the collection, and might not
      want to lock the entire collection to ensure that a new one isn't created
      with a name collision.  However, there are tools to mitigate this.
      If the client intends to create a new non-collection resource, such as a 
      new VEVENT, the client SHOULD use the HTTP header "If-None-Match: *" on 
      the PUT request.  The Request-URI on the PUT request MUST include the 
      target collection, where the resource is to be created, plus the name
      of the resource in the last path segment.  The last path segment could
      be a random number, or it could be a sequence number, or a string related
      to the object's 'summary' property.  No matter how the name is chosen,
      the "If-None-Match" header ensures that the client cannot overwrite an 
      existing resource even if it has accidentally chosen a duplicate resource
      name.
    </t>
    <t>Servers SHOULD return an ETag header containing the actual ETag of
       the newly created resource on a succesful creation.</t>
<figure><preamble>
&gt;&gt; Request &lt;&lt;
</preamble><artwork><![CDATA[
PUT /lisa/calendar/newevent.ics HTTP/1.1
If-None-Match: *
Host: cal.example.com
Content-Type: text/calendar
Content-Length: xxx

BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//Example Corp.//CalDAV Client//EN
BEGIN:VEVENT
UID:20010712T182145Z-123401@example.com
DTSTART:20010714T170000Z
DTEND:20010715T035959Z
SUMMARY:Bastille Day Party
END:VEVENT
END:VCALENDAR
]]></artwork></figure>

<figure><preamble>
&gt;&gt; Response &lt;&lt;
</preamble><artwork><![CDATA[
HTTP/1.1 201 Created
Date: Thu, 02 Sep 2004 16:53:32 GMT
Location: http://cal.example.com/lisa/calendar/ev1234.ics
Content-Length: 0
ETag: 123456789-000-111
]]></artwork></figure>

    <t>
      The request to change an existing event is the same, but with a specific
      ETag in the "If-Match" header, rather than the "If-None-Match" header.
    </t>
    <t>
      For optimum interoperability with existing HTTP clients, CalDAV clients
      and servers MUST use the file extension ".ics" as well as the "text/calendar" MIME type, whenever creating Calendar objects of that MIME
      type.  
    </t>

    <t>
      A CalDAV server MAY return the Location header in a 201 (Created)
      response to a PUT request if the server created the resource at
      a different URI than the Request-URI. CalDAV clients MUST be able
      to handle the URI returned by the server in the Location header, by
      adjusting their original resource URI to the new one returned by the server.
    </t>
  </section>
</section>
    
    
<section anchor="users" title="Users and Groups">
  <t>The WebDAV ACL specification requires that any principal to whom permissions
    can be granted is represented via a special resource that has a HTTP URL
    as well as WebDAV properties.  Thus, both users may be represented (for example, as
    /principals/users/lisa) and groups (for example, as 
    /principals/groups/dev-team).  This feature offers an excellent framework
    for linking users to calendars in a fashion not otherwise easily implemented.
  </t>
  <t>Note that the WebDAV principal resources may not be modifiable through 
    WebDAV.  This is an important consideration because it allows the principal
    directory to be merely a WebDAV representation of data which is canonically
    stored in an outside system.  For example, an enterprise might use an LDAP
    server to store and administer all user and group properties.  This LDAP
    server could be linked into the WebDAV repository through configuration 
    information.  WebDAV server implementations exist which offer principal
    resources, but when the principal resources are queried the server actually
    makes a LDAP request to get the principal information from its official
    source.  This saves WebDAV clients from having to implement LDAP and provides
    a single URL format for principals regardless of whether the user directory
    is stored in LDAP or some other system.
  </t>
  <t>A server supporting CalDAV MUST support additional properties on principal 
    resources if these principals are associated with calendars.  In
    addition, certain properties are required on calendars to link to
    principal resources.  These properties are defined in the properties section.
  </t>
  
</section>
  
<section anchor="promotion" title="Property Promotion and Demotion">
  <t>Property promotion and demotion (hereafter called simply "property promotion")
    is the name for the functionality by which a server ensures that a resource's
    internal data and its externally-visible metadata remain consistent. In 
    WebDAV, a collection listing (PROPFIND) selects a set of property names
    to retrieve.  For a collection listing to be useful to browse calendars,
    certain calendaring information must be exposed as WebDAV properties 
    (this also makes WebDAV SEARCH useful, and makes the definition of REPORTs
    easier).  Since a calendar resource of type text/calendar has properties 
    which duplicate some of its internal state, it's the server's responsibility
    to keep those consistent somehow.
  </t>
  <t>The server has some leeway in how it makes properties and bodies consistent,
    as long as the response to a GET shows information consistent with the 
    response to a PROPFIND in the interval in which a calendar object has not
    been altered.  Thus, the server MAY change property values when a PUT is
    performed that alters data exposed as properties, and also change the body
    when a PROPPATCH is performed that alters calendar properties.  Alternatively,
    a server could implement "lazy promotion" and apply consistency changes only
    when a GET, PROPFIND, SEARCH or REPORT is issued.  Finally, a server might decompose 
    property data and non-property data into separate locations and recompose
    the information only when a GET requests the entire resource.  Any of these
    approaches MUST be transparent to the client, in that operations behave
    consistently, with complete round-trip fidelity of all the data originally
    provided.  Thus, a server MAY canonicalize its resource bodies (e.g. 
    eliminate meaningless spaces) but MUST preserve all data.
  </t>
  <t>Not all properties need to be promoted, only those properties most useful 
      for clients to do property value searching or listings of calendar events
      either through PROPFIND or through the recurrence report.  All unrecognized
      properties can be left in the resource body (such as those beginning with x-).
  </t>
  <t>TODO: This section needs further definition and details.  Clients can upload 
    iCalendar files with syntactic or semantic errors, so helpful error codes
    must be chosen for these cases:
    <list style="symbols">
        <t>Property is set which can't be demoted without making the iCalendar body invalid</t>
        <t>iCalendar body provided isn't valid </t>
    </list>
  </t>
</section>

<section anchor="scheduling.and.fanout" title="Scheduling and Fanout">

  <t>Scheduling and fanout is a valuable function provided by advanced
    calendaring servers.  Simple clients clearly benefit from having the
    logic handled by the server.  Rich clients also benefit from having to
    upload less data to various servers (including messaging servers to send
    invitations via messages) to accomplish the same things.  Servers can sometimes
    provide more advanced scheduling functionality than clients - for example,
    a server providing fanout could create "unconfirmed" VEVENT resources 
    within invitees' calendars.
  </t>

  <t>However, rich calendaring clients may prefer to do fanout.  Clients
    can perform special functionality during scheduling (for example, a client
    may be configured to be able to directly put events on others' calendars 
    if the user has sufficient permissions).  Thus, it is proposed that CalDAV
    allow the client to either perform fanout and merely create the event 
    (complete with attendee information) OR request that the server perform 
    fanout.  
  </t>

  <t>
    CalDAV servers that return the value "calendar-schedule" in the DAV
    response header MUST support iTIP to send and receive scheduling
    requests as well as reply to scheduling request.  These servers MUST
    handle outgoing iTIP messages submitted to an iTIP Outbox collection,
    and MUST deliver incoming iTIP messages to an iTIP Inbox collection.
  </t>

  <t>
    TODO: We need to clarify if outgoing iTIP messages that have not yet
    been delivered to all specified calendars should be accessible as
    calendar resources in the iTIP Outbox collection.
  </t>

  <t>
    Incoming iTIP messages may remain in the iTIP Inbox collection until
    a client deletes them.  CalDAV servers
    MUST parse incoming REPLY messages and update the appropriate event with
    attendee information.  Thus, it's not necessary for clients to review 
    REPLY messages, although they may.
  </t>

  <t>When a CalDAV server receives
    an iTIP message, it MUST store the object in an iTIP Inbox collection 
    for the client to handle. The message will have properties
    indicating
    whether it is new, has been accepted, has been rejected, and whether it
    is an obsolete REQUEST (the event has passed).  Note that when a calendar
    server receives iTIP messages it MAY auto-accept based on user configured
    preferences.  How these preferences are configured is out of the scope of
    this specification, but one could imagine that a CalDAV server could host
    auto-accept configuration Web pages.  A CalDAV server is NOT REQUIRED to
    do any auto-accepting, it MAY simply store the requests for the next time 
    the client is online.  
  </t>
  
  <t>Servers SHOULD NOT delete messages before or after
    a client has retrieved the messages in the inbox; instead the server SHOULD
    leave Inbox cleanup to the client.  A server MAY apply a quota to the iTIP 
    Inbox (limiting the number of messages, the total size, or some other 
    measurable) and MAY bounce incoming messages if the iTIP inbox is full
    or some other repository or account problem has occurred.
  </t>
  <t>Exact mechanisms for triggering fanout requests must be determined and input is welcome.  
    There are several ways fanout could be accomplished: (a)  A PUT
    of the resource triggers fanout, so the body must contain the fanout
    information (text and flags), (b) a PROPPATCH triggers fanout if 
    certain properties are set, (c) a new method requests fanout of a resource
    that has already been uploaded.  These three approaches are the most obvious
    to this author and there is surprisingly little to choose between.  More
    input is needed, for example input on whether the fanout should be 
    synchronous  or asynchronous.  An asynchronous fanout mechanism using PUT
    or PROPPATCH would mean that the client would synchronously handle the PUT
    or PROPPATCH itself, but send invitations at some later time.  A synchronous 
    fanout mechanism would probably use a new method with a name like SCHEDULE, 
    because adding new synchronous behavior to existing methods might require
    more complicated server implementation work.  
  </t>
  <t>When the server does fanout, it may send requests and receive replies.
    Probably these requests and responses should be stored as WebDAV resources
    so that the client can examine the details if desired.  This could be a
    separate collection within the calendar collection.
  </t>

  <t>To achieve these goals, this section specifies a WebDAV binding for the iCalendar
    Transport-independent Interoperability Protocol
    (<xref target="RFC2446">iTIP</xref>).
    It provides the necessary information to convey iTIP over
    WebDAV.
  </t>

  <section anchor="schedule" title="SCHEDULE Method for WebDAV">

    <t>The SCHEDULE method submits an iTIP message specified in
        the request body to the location specified by the Request-URI.
        The request body of a SCHEDULE method MUST contain an
        iCalendar object that obey the restrictions specified in
        <xref target="RFC2446">iTIP</xref>.
        The resource identified by the Request-URI MUST be a resource
        collection of type <xref target="itip-outbox">"itip-outbox"</xref>.
        </t>

        <t>The submitted iTIP message will be delivered to the calendar
        addresses specified in the Recipient header.
        </t>

        <t>The calendar address of the originator of the iTIP message
        MUST be specified in the Originator header. This calendar
        address MUST identify a resource collection of type
        <xref target="itip-inbox">"itip-inbox"</xref>.
        that is owned by the currently authenticated user.
        </t>

        <t>The calendar address of the recipient(s) of the iTIP message
        MUST be specified in the Recipient header.  There MUST be
        at least one Recipient per SCHEDULE request.
        </t>
          
      <t>The body of the SCHEDULE request is a complete iCalendar component
        (content type text/calendar), and MUST have an
        iTIP method.  The list of attendees and the organizer information in 
        this request body might well be redundant with the values
        of the Recipient and Originator headers.  This is intentional, so that
        the client can have more control over who receives invitations and who
        sends them:
        <list style="symbols">
          <t>The client may send invitations to calendar users not on the attendee
          list (for example, to an assistant, caterer, observer, etc).</t>
          <t>The client may choose not to send invitations to calendar users who
            are on the attendee list (for example, attendees who have been 
          scheduled through an out-of-band mechanism).</t>
          <t>The originator may be different than the organizer, for example an
            assistant who has calendar-bind privileges on the organizer's 
          calendar.</t>
        </list>
      </t>
      
    <t>The SCHEDULE request is intended to be independent with the PUT request
      that stores an event on a particular calendar.  This independence gives
      greater flexibility and control to the client.  In the case where the 
      event that is sent with SCHEDULE corresponds to an event stored in a 
      calendar, the client SHOULD submit the PUT request first.  That means
      that when the SCHEDULE request is sent and replies are returned, the
      server is more likely to have an event on the calendar on which to collate 
      responses and show attendance.</t>

    <section anchor="schedule-status-codes"
             title="Status Codes for use with 207 (Multi-Status)">

      <t>
      The following are examples of response codes one would expect to be
      used in a 207 (Multi-Status) response for this method.  Note,
      however, that unless explicitly prohibited any 2/3/4/5xx series
      response code may be used in a 207 (Multi-Status) response.
      </t><t>
      200 (OK) - The command succeeded.
      </t><t>
      202 (Accepted) - The request was accepted, but the server has not
      performed any action with it yet.
      </t><t>
      400 (Bad Request) - The client has provided an invalid iTIP message.
      </t><t>
      403 (Forbidden) - The client, for reasons the server chooses not to
      specify, cannot submit an iTIP message to the specified Request-URI.
      </t>
        <t>
        404 (Not Found) - The URL in the Request-URI, the Originator, or the
        Recipient headers could not be found.</t>
        <t>
          423 (Locked) - The specified resource is locked and the client
      either is not a lock owner or the lock type requires a lock token
      to be submitted and the client did not submit it.
      </t><t>
        502 (Bad Gateway) - The Recipient header contained a URL which
        the server considers to be in another domain, which it cannot
      forward iTIP messages to.  </t>
        <t>
          507 (Insufficient Storage) - The server did not have sufficient
      space to record the iTIP message in a recipient's iTIP inbox.
        </t>
        <t>
          Also, many errors would be appropriate as top-level errors rather than
          return a 207 (Multi-Status) response.  For example, if the server did 
          not have sufficient space to record the iTIP message in the originator's
          outbox, the server could send a 507 (Insufficient Storage) response
          with no body.
          </t>  
    </section><!-- schedule-status-codes -->

    <section anchor="schedule-example"
                     title="Example - Simple appointment invitation">
<figure><preamble>
&gt;&gt; Request &lt;&lt;
</preamble><artwork><![CDATA[
SCHEDULE /lisa/calendar/outbox/ HTTP/1.1
Host: cal.example.com
Originator: http://cal.example.com/lisa/inbox/
Recipient: http://cal.example.com/bernard/inbox/
Recipient: http://cal.example.com/cyrus/inbox/
Content-Type: text/calendar
Content-Length: xxxx

BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//Example Corp.//CalDAV Client//EN
METHOD:REQUEST
BEGIN:VEVENT
DTSTAMP:20040901T200200Z
CATEGORIES:APPOINTMENT
ORGANIZER:http://cal.example.com/lisa/inbox/
DTSTART:20040902T130000Z
DTEND:20040902T140000Z
SUMMARY:Design meeting
UID:34222-232@example.com
ATTENDEE;PARTSTAT=ACCEPTED;ROLE=CHAIR;CUTYPE=IND
 IVIDUAL;CN=Lisa Dusseault:http://cal.example.co
 m/lisa/inbox/
ATTENDEE;PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIP
 ANT;CUTYPE=INDIVIDUAL;CN=Bernard Desruisseaux:h
 ttp://cal.example.com/bernard/inbox/
ATTENDEE;PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIP
 ANT;CUTYPE=INDIVIDUAL;CN=Cyrus Daboo:http://cal
 .example.com/cyrus/inbox/
END:VEVENT
END:VCALENDAR
]]></artwork></figure>

<figure><preamble>
&gt;&gt; Response &lt;&lt;
</preamble><artwork><![CDATA[
HTTP/1.1 207 Multi-Status
Date: Thu, 02 Sep 2004 16:53:32 GMT
Content-Type: text/xml
Content-Length: xxxx

<?xml version="1.0" encoding="utf-8" ?>
<D:multistatus xmlns:D="DAV:">
 <D:response>
    <D:href>http://cal.example.com/bernard/inbox/</D:href>
    <D:status>HTTP/1.1 200 OK</D:status>
  </D:response>
 <D:response>
    <D:href>http://cal.example.com/cyrus/inbox/</D:href>
    <D:status>HTTP/1.1 200 OK</D:status>
  </D:response>
</D:multistatus>
]]></artwork></figure>

      <t>In this example, the client requests the server to deliver an
      appointment invitation (iTIP REQUEST) in Bernard's and Cyrus's
      iTIP Inbox collections.
      </t>
    </section><!-- schedule-example -->

  </section>
      

  <section anchor="schedule-incoming" title="Retrieving incoming iTIP Messages">

    <t>Incoming iTIP messages will be stored in resource collection of
    type "itip-inbox". The originator of the iTIP message will be
    specified in the Originator response header.  The same rules for
      property promotion apply to incoming iTIP messages, so a client
      can also use PROPFIND and REPORT to get some of the most important information
      on iTIP messages in the iTIP inbox.
    </t>

    <section anchor="get-incoming-itip"
                   title="Example - Retrieve incoming iTIP Message">
<figure><preamble>
&gt;&gt; Request &lt;&lt;
</preamble><artwork><![CDATA[
GET /bernard/calendar/inbox/mtg456.ics HTTP/1.1
Host: cal.example.com
]]></artwork></figure>

<figure><preamble>
&gt;&gt; Response &lt;&lt;
</preamble><artwork><![CDATA[
HTTP/1.1 200 OK
Date: Thu, 02 Sep 2004 17:05:23 GMT
Originator: http://cal.example.com/lisa/inbox/
Content-Type: text/calendar
Content-Length: xxxx

BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//Example Corp.//CalDAV Server//EN
METHOD:REQUEST
BEGIN:VEVENT
DTSTAMP:20040901T200200Z
CATEGORIES:APPOINTMENT
ORGANIZER:http://cal.example.com/lisa/inbox/
DTSTART:20040902T130000Z
DTEND:20040902T140000Z
SUMMARY:CalDAV draft review
UID:34222-232@example.com
ATTENDEE;PARTSTAT=ACCEPTED;ROLE=CHAIR;CUTYPE=IND
 IVIDUAL;CN=Lisa Dusseault:http://cal.example.co
 m/lisa/inbox/
ATTENDEE;PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIP
 ANT;CUTYPE=INDIVIDUAL;CN=Bernard Desruisseaux:h
 ttp://cal.example.com/bernard/inbox/
ATTENDEE;PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIP
 ANT;CUTYPE=INDIVIDUAL;CN=Cyrus Daboo:http://cal
 .example.com/cyrus/inbox/
END:VEVENT
END:VCALENDAR
]]></artwork></figure>
  
    </section><!-- get-incoming-itip -->

 
  </section><!-- schedule-incoming -->
  
  <section anchor='handling-incoming' title="Acting on incoming iTIP messages">
    <t>
      TODO: Need to explain here how to handle incoming iTIP messages.  
      If the client wants to accept a message, it needs to create an event and
      mark the inbox resource as "accepted".  If the client wants to reject it,
      it simply changes a property.  Need to define that property. Also recommend
      locking the Inbox resource to avoid race conditions with other clients -- or
      use ETags to verify.
      </t>
  </section>
  

</section><!-- scheduling.and.fanout -->

<section title='HTTP Headers for CalDAV' anchor='http.headers'>

  <section title='Originator Header' anchor='originator.header'>

    <figure><artwork><![CDATA[
Originator = "Originator" ":" absoluteURI
    ]]></artwork></figure>

    <t>The Originator header value is a URL which identifies an
    iTIP Inbox collection owned by the originator of an iTIP message
    submitted with the SCHEDULE method. Note that the absoluteURI production
    is defined in <xref target="RFC2396">RFC2396</xref>.
    </t>

  </section><!-- originator.header -->

  <section title='Recipient Header' anchor='recipient.header'>

<figure><artwork><![CDATA[
Recipient = "Recipient" ":" 1#absoluteURI
]]></artwork></figure>

    <t>The Recipient header value is a URL which identifies one or more
    iTIP Inbox collections to which the SCHEDULE method should delivered
    a submitted iTIP message. Note that the absoluteURI production is
    defined in <xref target="RFC2396"> RFC2396</xref>
    </t>

  </section><!-- recipient.header -->

</section><!-- http.headers -->

<section anchor="ical-properties" title="Properties from iCalendar">
  <t>The W3C RDF Calendar group has already defined a namespace 
      ("http://www.w3.org/2002/12/cal/ical#") and XML element
    names for many calendaring properties, and these are completely consistent
    with iCalendar.  This standard reuses those namespaces, names and definitions,
    as much as is consistent with the WebDAV data model.
    Additional properties are needed to describe calendars 
    because the W3C RDF Calendar group defines properties for the iCalendar-defined
    objects only.  
  </t>
  <t>When used as a WebDAV property, each property name/namespace 
      can appear only once because
      the property name and namespace is used to identify the property in 
      requests like PROPFIND and PROPPATCH.  Multi-valued elements could either
      be promoted to properties by using a container (e.g. an 'attendees' property
      could hold each 'attendee' element), or multi-valued elements can remain in
      the iCalendar body, and not be promoted as WebDAV properties.  That means
      clients must download the event body to learn the values for those pieces
      of metadata.</t>

  
  <t>TODO: Need to reference RFC3339 and put date/time values in that format, and
      note where that format differs from that of the iCalendar RFC values.
  </t>
  
  <t>If any of these properties appear in an iCalendar body stored in
      a CalDAV repository they MUST be promoted.  All these properties
  are in the "http://www.w3.org/2002/12/cal/ical#" namespace.</t>

    <texttable>
    <preamble>REQUIRED properties for promotion from iCalendar</preamble>
    <ttcol align='left'>Name</ttcol>
    <ttcol align='left'>WebDAV Property value type</ttcol>
    <c>summary</c><c>text</c>
    <c>dtstart</c><c>date-time from RFC2518</c>
    <c>dtend</c><c>date-time from RFC2518</c>
    <c>duration</c><c>DURATION from RFC2445</c>
    <c>transp</c><c>text with values from RFC2445</c>
    <c>due</c><c>date-time from RFC2518</c>
    <c>completed</c><c>date-time from RFC2518</c>
    <c>status</c><c>text with values from RFC2445</c>
    <c>priority</c><c>integer</c>
    <c>percent-complete</c><c>integer</c>
    <c>uid</c><c>text</c>
    <c>sequence</c><c>integer</c>
    <c>recurrence-id</c><c>date-time from RFC2518</c>
    <c>trigger</c><c>see below TODO</c>
    <c>has-recurrence</c><c>integer (0 or 1) see <xref target='has-recurrence' /></c>
    <c>has-alarm</c><c>integer (0 or 1) see <xref target='has-alarm' /></c>
    <c>has-attachment</c><c>integer (0 or 1) see <xref target='has-attachment' /></c>
    </texttable>
  
  <t>The "has-xxxx" properties listed above do not correspond to properties in 
  iCalendar components. Instead they are synthesised by the WebDAV server 
  based on the component's properties as described in the following sections. 
  These WebDAV properties are available to allow clients to provide hints about 
  component state to the user without the need to explicitly inspect the 
  component data.</t>
  <section anchor="has-recurrence" title = "has-recurrence Property">
    <t>The "has-recurrence" property indicates whether the corresponding component 
    contains one or more RRULE, RDATE, EXRULE or EXDATE properties. i.e. the 
    component is recurring. The integer value '1' indicates that at least one of 
    the recurrence properties is present, the integer value '0' indicates that no 
    recurrence properties are present.</t>
  </section>
      
  <section anchor="has-alarm" title = "has-alarm Property">
    <t>The "has-alarm" property indicates whether the corresponding component 
    contains one or more embedded VALARM components. The integer value '1' 
    indicates that at least one embedded VALARM component is present, the integer 
    value '0' indicates that no embedded VALARM components are present.</t>
  </section>
      
  <section anchor="has-attachment" title = "has-attachment Property">
    <t>The "has-attachment" property indicates whether the corresponding component 
    contains one or more ATTACH properties. The integer value '1' indicates that 
    at least one ATTACH property is present, the integer value '0' indicates that 
    no ATTACH properties are present.</t>
  </section>
      

</section>
    
    
<section anchor="other-properties" title = "CalDAV Resource Properties">
  <t>The namespace "urn:ietf:params:xml:ns:caldav" is reserved for this specification,
    or standards-track specifications written to extend CalDAV.  It MUST
    NOT be used for custom extensions.  It is the namespace for every new property
    defined in this section (and every XML element defined in this document).  
  </t>  
  
   <t>Note that the XML Schema declarations used in this document are incomplete,
    in that they do not include namespace information.  Thus, the reader MUST
    NOT use these declarations as the only way to create valid CalDAV properties
    or to validate CalDAV-related XML.  Some of the declarations refer to 
    XML elements defined by WebDAV which use the "DAV:" namespace.  Those
    WebDAV elements are not redefined in this document. 
   </t>
             
      
  <section anchor="calendar-owner" title="Calendar-owner Property">
    <t><list style="hanging">
      <t hangText="Name:  ">calendar-owner</t>
      <t hangText="Location:  ">MUST appear on a calendar 
        if there is a principal resources (user or group) with which it is 
        associated.
      </t>
      <t hangText="Purpose:  ">This property is used for browsing clients to 
        find out the user, group or resource for which the calendar events 
        are scheduled.
        Sometimes the calendar is a user's calendar, in which case the
        value SHOULD be the user's principal URL from WebDAV ACL.  (In this
      case the DAV:owner property probably has the same principal URL value.)</t>
      <t>If the calendar is a group calendar the value SHOULD be the group's
        principal URL.  (In this case the DAV:owner property probably
        specifies one user who manages this group calendar.)</t>
      <t>
        If the calendar is a resource calendar (e.g. for a room, or a 
        projector) there won't be a principal URL, so some other URL
        SHOULD be used.  A LDAP URL could be useful in this case.
      </t>
      <t>
        This property contains one 'href' element in the "DAV:" namespace.
      </t>
      <t hangText="Declaration:  ">&lt;!ELEMENT calendar-owner (href) &gt;</t>
      <t hangText="Extensibility:  ">MAY contain additional elements, which MUST
        be ignored if not understood.
      </t>
    </list></t>
  </section>
  
  <section anchor="cal-scale" title="Cal-scale Property">
    <t><list style="hanging">
      <t hangText="Name:  ">cal-scale</t>
      <t hangText="Location:  ">MAY appear on a calendar.
      </t>
      <t hangText="Purpose:  ">This property's value is a string in 
        the same syntax/values as the CALSCALE property in iCalendar.  Only Gregorian
      calendars are defined so far, so if this property is missing or empty,
        the calendar is assumed to be a Gregorian calendar.
  </t>
      <t hangText="Declaration:  ">&lt;!ELEMENT cal-scale (#PCDATA) &gt;</t>
      <t hangText="Extensibility:  ">None</t>
    </list></t>
  </section>
  
</section>

<section anchor="principal.properties" title="CalDAV Principal Properties">

  <t>This section defines new properties for WebDAV principal resources
  as defined in <xref target="RFC3744">RFC3744</xref>.  All these properties
  SHOULD exist on every principal if the server supports CalDAV anywhere 
    in its namespace.  Generally, if no appropriate value is known for these
    properties, the properties SHOULD exist but be blank.  Generally these 
    properties are likely to be protected but the server MAY allow them to be
    written by appropriate users.
  </t>
  
  <section anchor="PROPERTY_alternate-calendar-URI" title="alternate-calendar-URI Property">
    <t>
      <list style="hanging">
        <t hangText="Name:">alternate-calendar-URI</t>
        <t hangText="Namespace:">urn:ietf:params:xml:ns:caldav</t>
        <t hangText="Purpose:">Identify the URI of an alternate calendar
            or scheduling resource for the associated principal resource.</t>
        <t hangText="Description:">The alternate-calendar-URI property
        is used to provide a resource address or identifier, such as a
        <xref target="RFC2368">mailto URL</xref> calendar address, that
        can be used as an alternative to the primary-itip-inbox-URL
        of the associated resource in the Originator or Recipient
        headers.  This property SHOULD contain the mailto URL if it is
        known to accept iMIP requests, because clients generally need a way
        to find out if some calendar user for whom the iMIP address is known
        is the same calendar user for whom the iTIP Inbox address is known,
        and this property is the only reliable way to link those addresses
        together. </t>
        <t hangText="Value:">Zero or more URIs</t>
      </list>
    </t>
    
    <figure><artwork><![CDATA[
    <!ELEMENT alternate-calendar-URI (href*) >
    ]]></artwork></figure>
    
  </section><!-- alternate-calendar-URI -->
  
  <section anchor="PROPERTY_calendar-URL" title="calendar-URL Property">
    <t><list style="hanging">
        <t hangText="Name:">calendar-URL</t>
        <t hangText="Namespace:">urn:ietf:params:xml:ns:caldav</t>
        <t hangText="Purpose:">Identify the URL of any calendar collections
        owned by the associated principal resource. </t>
        <t hangText="Value:">Zero or more URLs</t>
    </list></t>
    <figure><artwork><![CDATA[
    <!ELEMENT calendar-URL (href*) >
    ]]></artwork></figure>
  </section><!-- PROPERTY_calendar-URL -->
  
  <section anchor="PROPERTY_itip-inbox-URL" title="itip-inbox-URL Property">
    <t><list style="hanging">
        <t hangText="Name:">itip-inbox-URL</t>
        <t hangText="Namespace:">urn:ietf:params:xml:ns:caldav</t>
        <t hangText="Purpose:">Identify the URL of any iTIP Inbox collections
        owned by the associated principal resource.</t>
        <t hangText="Value:">Zero or more URLs</t>
    </list></t>
    <figure><artwork><![CDATA[
    <!ELEMENT itip-inbox-URL (href*) >
    ]]></artwork></figure>
  </section><!-- PROPERTY_itip-inbox-URL -->

  <section anchor="PROPERTY_itip-outbox-URL" title="itip-outbox-URL Property">
    <t><list style="hanging">
        <t hangText="Name:">itip-outbox-URL</t>
        <t hangText="Namespace:">urn:ietf:params:xml:ns:caldav</t>
        <t hangText="Purpose:">Identify the URLs of any iTIP Outbox collections
        owned by the associated principal resource.</t>
        <t hangText="Value:">Zero or more URLs</t>
    </list></t>
    <figure><artwork><![CDATA[
    <!ELEMENT itip-outbox-URL (href*) >
    ]]></artwork></figure>
  </section><!-- PROPERTY_itip-outbox-URL -->

  <section anchor="PROPERTY_primary-itip-inbox-URL" title="primary-itip-inbox-URL Property">
    <t><list style="hanging">
      <t hangText="Name:">primary-itip-inbox-URL</t>
      <t hangText="Namespace:">urn:ietf:params:xml:ns:caldav</t>
      <t hangText="Purpose:">Identify the URL of the principal iTIP Inbox
        collection owned by the associated principal resource. A principal
        resource may have many iTIP Inbox collection, but it must have one
        "principal iTIP Inbox".</t>
      <t hangText="Value:">URI</t>
    </list></t>
    <figure><artwork><![CDATA[
    <!ELEMENT primary-itip-inbox-URL (href) >
    ]]></artwork></figure>
  </section><!-- PROPERTY_primary-itip-inbox-URL -->

  <section anchor="PROPERTY_primary-itip-outbox-URL" title="primary-itip-outbox-URL Property">
    <t><list style="hanging">
        <t hangText="Name:">primary-itip-outbox-URL</t>
        <t hangText="Namespace:">urn:ietf:params:xml:ns:caldav</t>
        <t hangText="Purpose:">Identify the URL of the principal iTIP Outbox
        collection owned by the associated principal resource. A principal
        resource may have many iTIP Outbox collection, but it must have one
        "principal iTIP Outbox".</t>
        <t hangText="Value:">URI</t>
    </list></t>
    <figure><artwork><![CDATA[
    <!ELEMENT primary-itip-outbox-URL (href) >
    ]]></artwork></figure>
  </section><!-- PROPERTY_primary-itip-outbox-URL -->

</section><!-- principal.properties -->

      
<section anchor="privileges" title = "Calendaring Privileges">

  <t>A CalDAV server MUST support the <xref target="RFC3744">WebDAV
    ACLs standard</xref>.  That standard provides a framework for an
    extensible list of privileges on WebDAV collections and ordinary 
    resources.  A CalDAV server MUST also support the set of calendar-specific 
    privileges defined in this section.
  </t>
        
  <section title="view-free-busy Privilege" anchor="PRIVILEGE_view-free-busy">
    <t>Calendar users often wish to allow other users to see their free-busy
        times, without viewing the other details of the calendar events
        (location, subject, attendees).  This allows a significant amount
        of privacy while still allowing those other users to schedule 
        meetings at times when the calendar owner is likely to be free.
    </t>
    
    <t>The view-free-busy privilege in the "urn:ietf:params:xml:ns:caldav"
        namespace controls access to view the start times
        and end times of free and busy blocks of time.  This privilege may
        be granted on an entire calendar.  It may also make sense to grant
        this privilege on individual events (in which case the time allocated
        to those events would show up as free in the free-busy rollup to an
        unauthorized viewer), but a server MAY forbid the free-busy privilege
        from being used on individual events or event collections.  A CalDAV
        server MUST support the free-busy privilege on a Calendar collection.</t>
    <t>
        <![CDATA[<!ELEMENT view-free-busy EMPTY>]]>
    </t>
    <t>
        The view-free-busy privilege is aggregated in the standard WebDAV
        'read' privilege.  Clients can discover support for various privileges
        using the 'DAV:supported-privilege-set' property defined in 
        <xref target="RFC3744">RFC3744</xref>.  
      </t>
  </section><!-- PRIVILEGE_view-free-busy -->

  <section title="schedule Privilege" anchor="PRIVILEGE_schedule">
    <t>The schedule privilege controls the use of SCHEDULE to submit
      an iTIP message via an iTIP Outbox collection.  A calendar owner
      will generally have schedule permission on their own outbox
      and never grant that permission to anybody else. If the 
      privilege is granted to somebody other than the calendar owner,
      that person is called the delegate, somebody who can issue
      invitations or replies on behalf of the calendar owner.  Thus,
      if a server receives a SCHEDULE request where the authenticated
      sender of the SCHEDULE request does not have schedule permission,
      the server MUST reject the request.
    </t>
    <t>
    <![CDATA[<!ELEMENT schedule EMPTY >]]> 
    </t>
    
    <t>For example, the following ACE, on Bernard's iTIP Outbox, would 
      only grant the privilege to Bernard to schedule on behalf of himself:
    </t>

<figure><artwork><![CDATA[
<D:ace xmlns:D="DAV:"
       xmlns:C="urn:ietf:params:xml:ns:caldav">
    <D:principal>
        <D:href>http://cal.example.com/users/bernard</D:href>
    </D:principal>
    <D:grant>
      <D:privilege><C:schedule/></D:privilege>
    </D:grant>
</D:ace> 
]]></artwork></figure>

  </section><!-- PRIVILEGE_schedule -->

  <section title="calendar-bind Privilege" anchor="PRIVILEGE_calendar-bind">

    <t>The calendar-bind privilege is used on a iTIP Inbox or on a 
      calendar collection, to govern whether a user may cause new
      calendar resources (MIME type text/calendar) to be created in
      the collection.  It is similar to the WebDAV 'bind' privilege
      but more restricted, because it only allows the user to create
      new resources of certain types.  It doesn't, for example,
      allow the privileged user to create new collections.</t>
    <t>
      Recall that the iTIP Inbox is used to receive iTIP messages.
      The server automatically creates resources inside the iTIP Inbox
      when it handles invitations for the inbox's owner.  Thus, the
      calendar-bind privilege determines whether an event organizer
      is allowed to send an invitation to an attendee and have it appear
      in their iTIP Inbox.
    </t>
    <t>
        One way an invitation may appear in an iTIP inbox is with the SCHEDULE
        request.  If the server receives a SCHEDULE request where a
      calendar inbox is named in the Recipient header, it MUST
      check to see whether the 'calendar-bind' privilege is
      granted either to the authenticated sender of the request,
      OR to the owner of the iTIP Outbox that the request comes
      from (the Request-URI of the SCHEDULE method).  Thus, if user Alice grants Bob 
      calendar-bind privilege on Alice's inbox, and Bob grants
      Margaret (his assistant) schedule privilege on Bob's outbox, then transitively,
      Margaret can send a SCHEDULE request to Bob's outbox, where Alice's inbox 
        is named in the Recipient header.  
      If the server's calendar-bind privilege check fails for a 
      given inbox, the rest of the SCHEDULE request may still 
      succeed, but a 403 Forbidden error would appear in the Multi-status 
        response to the SCHEDULE request.
    </t>
  
    <t>The server SHOULD also attempt to apply the calendar-bind privilege
        in other situations where it is requested to add a resource to the
        iTIP inbox.  For example, if the server handles invitations received
        through some other iTIP binding, the server SHOULD try to see if the
        invitation should be automatically rejected based on the access control
        on the iTIP inbox.
    </t>
    
    <t>Outside the iTIP inbox, the same privilege has a slightly different
        effect, but has the same meaning.  If the server receives any HTTP 
        request which would create
        a new resource inside a calendar, the server MUST check
        to see whether calendar-bind privilege is granted on that
        calendar collection.  
    </t>
    
    <t>Typically, not many users will allow others to put events
        directly on their calendar, instead preferring to see invitations
        and choose whether to accept.  In the exceptional cases, users
        will allow a select few to directly put events on their calendar,
        and in these cases, the 'calendar-bind' privilege will be granted
        to those few.  On the other hand, many users are happy to receive
        invitations from anyone, so an iTIP inbox may grant 'calendar-bind'
      privilege to all users.</t>
        
    <t>
    <![CDATA[<!ELEMENT calendar-bind EMPTY >]]>
    </t>
  </section><!-- PRIVILEGE_calendar-bind -->


  <section title="Privilege aggregation and the 'supported-privilege-set' property">

    <t> In the WebDAV ACL standard, servers MUST support the 'supported-privilege-set' 
      property to show which privileges are abstract, which privileges are supported,
      how the privileges relate to another, and to provide text descriptions (particularly
      useful for custom privileges).  The relationships between privileges involves showing
      which privilege is a subset or a superset of another privilege.   For example, 
      because reading the ACL property is considered a more specific privilege than 
      the read privilege (a subset of the total set of actions are allowed), 
      it is aggregated under the read privilege.  Although the list of supported privileges
      MAY vary somewhat from server to server (the WebDAV ACL specification leaves room
      for a fair amount of diversity in server implementations), some relationships
    MUST hold for a CalDAV server:
      <list style="symbols">
        <t>The server MUST support the view-free-busy privilege.  The view-free-busy privilege 
          MUST be non-abstract, and MUST be aggregated under the read privilege.</t>
        <t>If the server supports scheduling, the server MUST support the schedule and 
          calendar-bind privileges.  Both these privileges MUST be non-abstract, and MUST
        be aggregated under the 'bind' privilege.</t>
        
      </list>
    </t>
  
  <section title="Partial example of 'supported-privilege-set' property">
   <t>This is a partial example of how the 'supported-privilege-set' property 
   could look on a server supporting CalDAV.  Note that aggregation is shown in the
    structure of the 'supported-privilege' elements containing each other.</t>
    
<figure><artwork><![CDATA[
<D:supported-privilege-set xmlns:D="DAV:"
      xmlns:C="urn:ietf:params:xml:ns:caldav">
  <D:supported-privilege>
    <D:privilege><D:all/></D:privilege>
    <D:abstract/>
    <D:description xml:lang="en">Any operation
    </D:description>
    <D:supported-privilege>
      <D:privilege><D:read/></D:privilege>
      <D:description xml:lang="en">Read any object
      </D:description>
      <D:supported-privilege>
        <D:privilege><D:read-acl/></D:privilege>
        <D:description xml:lang="en">Read ACL
        </D:description>
      </D:supported-privilege>
      <D:supported-privilege>
        <D:privilege><D:read-current-user-privilege-set/>
        </D:privilege>
        <D:description xml:lang="en">Read current user privilege 
        set</D:description>
      </D:supported-privilege>
      <D:supported-privilege>
        <D:privilege>
          <C:view-free-busy/>
        </D:privilege>
        <D:description xml:lang="en">View free-busy rollup
        </D:description>
      </D:supported-privilege>
    </D:supported-privilege>
    <D:supported-privilege>
      <D:privilege><D:write/></D:privilege>
      <D:description xml:lang="en">Write any object</D:description>
      <D:supported-privilege>
        <D:privilege>
          <C:calendar-bind/>
        </D:privilege>
        <D:description xml:lang="en">Directly schedule (request a 
        meeting) of the owner of this iTIP inbox</D:description>
      </D:supported-privilege>
      <D:supported-privilege>
        <D:privilege>
          <C:schedule/>
        </D:privilege>
        <D:description xml:lang="en">Make schedule requests of 
        others, on behalf of the owner of this iTIP 
        outbox</D:description>
      </D:supported-privilege>
    ... 
  </D:supported-privilege>
</D:supported-privilege-set>
]]></artwork></figure>
    
    </section><!-- Example -->

  </section><!-- Supported-privilege-set property -->
</section><!-- privileges -->



<section anchor="reports" title="Calendaring Reports">
  <t>This section defines the reports which a CalDAV server MUST support
    on Calendars.  These
    all provide special query functionality not normally handled by the generic
    PROPFIND or SEARCH mechanisms.  This can be required when a PROPFIND or
    SEARCH cannot be written to request the data required for a common use 
    case without an reasonable amount of complex calculation or unnecessary 
    data transmitted.  See DeltaV or ACL standards for some examples of reports
    required in other situations.
  </t>
  <t>As defined in DeltaV, all REPORT requests include an XML body naming the
    type of report requested (only one) and some variables for how that report
    is to be compiled.  Note that support for the REPORT method does not imply 
    support for all reports defined in all WebDAV extensions.  A CalDAV server
    is required to support all the reports defined here and in the ACL standard,
    but is not expected to support DeltaV reports unless it advertises them.
    Reports are advertised with the 'supported-report-set' property defined
    in DeltaV so a CalDAV server MUST provide a value for the 'supported-report-set'
    property.
  </t>
  
  <t>Each report defined here comes with specialized errors.  In addition, some
    WebDAV status codes are applicable to any request or to any REPORT request. This
    includes redirect status codes, syntax errors (400 Bad Request), permission
    errors or policy errors (401 Unauthorized and 403 Forbidden), 404 Not Found,
    or a request-body that isn't XML or is invalid XML (422 Unprocessable Entity).
    When an error is defined in this document, it is used in an error response
    body inside an XML document (this practice was established with DeltaV and
    ACL in order to avoid status code collisions).  For example:
  </t>
  
  <figure>
    <preamble>Sample error response</preamble>
    <artwork>
HTTP/1.1 409 Conflict
Date: Sun, 16 November 2003 18:40:01 GMT
Content-Type: text/xml; charset="utf-8"
Content-Length: xxxx
    
&lt;?xml version="1.0" encoding="UTF-8" ?&gt;
&lt;D:error xmlns:D="DAV:"&gt;
  &lt;range-invalid xnlns="urn:ietf:params:xml:ns:caldav"/&gt;
&lt;/D:error&gt;
    
    </artwork>
  </figure>
  

  <section anchor="cal-container" title="Reports on collections containing Calendars">
    <t>A WebDAV collection which contains one or more calendars is not
      a new type of resource, but it may support these new REPORT types.
      If so, then the REPORT is expected to have the semantics of
      including information from all the calendar 
      data contained in the collection, and its children, recursively.
      These collections may contain more than only calendar-related 
      resources.  It's up to the server, if it supports this REPORT on 
      a normal WebDAV collection, to find event and free-busy data and
      decide what to do with non-calendaring resources and whether those
      may also appear in the collection or its children.
    </t>
    <t>If these reports are supported on ordinary collections the server
      advertises the capability with the 'supported-report-set' property
      as already described.</t>
  </section>

  <section anchor="calendar-query" title="calendar-query Report">

    <t>The calendar-query REPORT performs a search for all iCalendar
      objects that match a specified search filter. The response of
      this report will contain all the WebDAV properties and iCalendar object
      data specified in the request. In the case of the calendar-query-result,
      one can explicitly specify the iCalendar components and properties
      that should be returned in the iCalendar object data that matches the
      search filter.
    </t>

    <t>
      Support for the calendar-query REPORT is REQUIRED.  
    </t>
  
    <t>
      The marshalling of the body of the calendar-query REPORT request,
      as well as modifications to the multi-status body used in the
      REPORT response, are
      described in the following sections.
    </t>

    <section anchor="calendar-query-element" title="calendar-query Element">

      <t>
        The request body MUST be a "calendar-query" XML element.
      </t>
      <figure><artwork><![CDATA[  
  <!ELEMENT calendar-query (DAV:allprop | DAV:propname | DAV:prop)?
    calendar-query-result? filter>]]>
      </artwork></figure>
    </section>
    

   
    <section anchor="icalcomp" title="icalcomp Element">
    
      <t>
        The "icalcomp" element defines which components to return in the response.
      </t>
    
      <figure><artwork><![CDATA[  
  <!ELEMENT icalcomp ((allicalcomp, (allicalprop | icalprop*)) |
                     (icalcomp*, (allicalprop | icalprop*)))
                    expand-recurrence-set?>

  <!ATTLIST icalcomp name CDATA #REQUIRED>]]>
      </artwork></figure>
  
      <t>
        name value: an iCalendar component name (e.g., "VEVENT")
      </t>
    </section>
  
    <section anchor="allicalcomp" title="allicalcomp Element">
      <t>
        The "allicalcomp" element appearing within "icalcomp" specifies that all components shall be returned.
      </t> 
      
      <figure><artwork><![CDATA[
  <!ELEMENT allicalcomp EMPTY>
      ]]></artwork></figure>

    </section>
  
    <section anchor="allicalprop" title="allicalprop Element">

      <t>
        The "allicalprop" element specifies that all properties shall be returned.
      </t>
      <figure><artwork><![CDATA[
  <!ELEMENT allicalprop EMPTY>
      ]]></artwork></figure>

    </section>
  
    <section anchor="icalprop" title="icalprop Element">
      <t>
        The 'icalprop' element defines which properties to return in the response.
      </t>
      <figure><artwork><![CDATA[
  <!ELEMENT icalprop EMPTY>
    
  <!ATTLIST icalprop name CDATA #REQUIRED
                     novalue (yes|no) "no">
      ]]></artwork></figure>
      <t>
        The value of the "name" attribute MUST be an iCalendar property name (e.g., "ATTENDEE")
      </t>
    </section>
  
    <section anchor="expand-recurrence-set" title="expand-recurrence-set Element">

      <t>
        The expand-recurrence-set element specifies that recurring
        components shall be returned as multiple components with no
        recurrence properties (i.e., EXDATE, EXRULE, RDATE and RRULE).
      </t>
      <figure><artwork><![CDATA[
  <!ELEMENT expand-recurrence-set EMPTY>
      ]]></artwork></figure>
  
      <t>
        TODO: Need to specify how infinite recurrence should be handled.
        In the case of VTIMEZONE, the expanded VTIMEZONE component should
        only have to cover the time range covered by the components making
        reference to the VTIMEZONE component.
      </t>
      
      <t>
        ISSUE: Should we have another XML element to specify whether all
        component instances of a recurring component should be returned,
        or only the specific instances that matched the specified filter?
        For instance, if you search for all VEVENT components that are
        scheduled today and you didn't specify the expand-recurrence-set
        element, then you may receive recurring VEVENT components that
        will define recurrence instances for other dates than today. On
        the other hand, if you have specified the expand-recurrence-set
        element, the server could return only the recurrence instances
        that are scheduled today and omit the others.
      </t>
    </section>
  
    <section anchor="filter" title="filter Element">
      
      <t>
        The 'filter' element specifies the search filter.
      </t>
      <figure><artwork><![CDATA[
  <!ELEMENT filter icalcomp-filter>
      ]]></artwork></figure>

    </section>
  
    <section anchor="icalcomp-filter" title="icalcomp-filter Element">  

      <t>The 'icalcomp-filter' limits the search result to the set of resources
        containing components that meet the filter rules.
      </t>
      
      <figure><artwork><![CDATA[
  <!ELEMENT icalcomp-filter (is-defined | time-range)?
                              icalcomp-filter* icalprop-filter*>

  <!ATTLIST icalcomp-filter name CDATA #REQUIRED>
      ]]></artwork></figure>
      <t>
        When this element is present, the server should only return a component
        if it matches the filter, which is to say:
      </t>
      
      <figure><artwork><![CDATA[
  ("no is-defined element" OR "is-defined matches") AND
  ("no time-range element" OR "time-range matches") AND
  ("no sub-component filter" OR "all sub-component filters match")
      AND
  ("no property filter elements" OR "all property filters match")

      ]]></artwork></figure>
    
    </section>
  
    <section anchor="icalprop-filter" title="icalprop-filter Element">  
      <t>
        The 'icalprop-filter' limits the search result to the set of 
        resources containing components with properties that meet the
        property filter rules.
      </t>
      
      <figure><artwork><![CDATA[  
  <!ELEMENT icalprop-filter (is-defined | time-range | text-match)?
                            icalparam-filter*>
    
  <!ATTLIST icalprop-filter name CDATA #REQUIRED>

      ]]></artwork></figure>
  
      <t>    
        When the 'icalprop-filter' executes, a property matches if:
      </t>
      
      <figure><artwork><![CDATA[
  ("no is-defined element" OR "is-defined matches") AND
  ("no time-range element" OR "time-range matches") AND
  ("no text match element" OR "text-match matches") AND
  ("no parameter filter elements" OR "all parameter filters match")
      ]]></artwork></figure>
  
    </section>
 
    <section anchor="icalparam-filter" title="icalparam-filter Element">

      <t>
        The 'icalparam-filter' element limits the search result to the
        set of resources containing properties with parameters that meet
        the parameter filter rules.
      </t>
      <figure><artwork><![CDATA[
  <!ELEMENT icalparam-filter (is-defined | text-match) >
    
  <!ATTLIST icalparam-filter name CDATA #REQUIRED>
      ]]></artwork></figure>  
  
      <t>
        When this filter executes, a parameter matches if:
      </t>
      
      <figure><artwork><![CDATA[
  ("is-defined matches" OR "text-match matches")
      ]]></artwork></figure>
    </section>
  
    <section anchor="is-defined" title="is-defined Element">  
      <t>
        The 'is-defined' element limits the filter to resources where
        the named component, property or parameter is defined.
      </t>
      <figure><artwork><![CDATA[
  <!ELEMENT is-defined EMPTY>
      ]]></artwork></figure>

    </section>
  
    <section anchor="text-match" title="text-match Element">
      <t>The text-match element allows for substring matches in
        parameter and property values.
      </t>
      <figure><artwork><![CDATA[
  <!ELEMENT text-match #PCDATA>

  <!ATTLIST text-match caseless (yes|no)>    
      ]]></artwork></figure>
  
      <t>
        TODO: We need to decide if we want to allow wildcards
        characters such as '?' and '%'.
      </t>

      <t>
        The "caseless" attribute allows clients to specify caseless matching
        behaviour instead of character-by-character matching for text-match.
        The possible values for "caseless" are "yes" or "no". The default
        value is server-specified. Caseless matching SHOULD be implemented as
        defined in section 5.18 of the Unicode Standard ([UNICODE4]).
      </t>
      <t>
        Support for the "caseless" attribute is optional. A server should
        respond with a status of 422 if it is used but cannot be supported.
      </t>
    </section>
  
    <section anchor="time-range" title="time-range Element">
      <t>The time-range element allows for a single time range to be defined,
        in order to limit all the results of the search to the set of resources
        that contain a component which falls into that time range. 
      </t>
      <figure><artwork><![CDATA[
  <!ELEMENT time-range EMPTY>
    
  <!ATTLIST time-range start CDATA
                         end CDATA>  
      ]]></artwork></figure>

      <t>
        The value of the "start" and "end" attributes MUST follow the
        syntax of the DATE or DATE-TIME iCalendar value type.
      </t>
  
      <t>
        A VEVENT component falls in a given time-range if:
      </t>
      <figure><artwork><![CDATA[
  (DTSTART <= start AND DTEND > start) OR
  (DTSTART <= start AND DTSTART+DURATION > start) OR
  (DTSTART >= start AND DTSTART < end) OR
  (DTEND   > start AND DTEND <= end)
      ]]></artwork></figure>
     
      <t>
        A VTODO component falls in a given time-range if:
      </t>
      <figure><artwork><![CDATA[
  (DTSTART <= start AND DUE >= start) OR
  (DTSTART <= start AND DTSTART+DURATION > start) OR
  (DTSTART >= start AND DTSTART < end) OR
  (DUE     >= start AND DUE < end)
      ]]></artwork></figure>
       
      <t>
        A VJOURNAL component falls in a given time-range if:
      </t>
      <figure><artwork><![CDATA[
  DTSTART >= start AND DTSTART < end
      ]]></artwork></figure>

        <t>
        A VALARM component falls in a given time-range if:
      </t>
      <figure><artwork><![CDATA[
  trigger-time >= start AND trigger-time < end
      ]]></artwork></figure>
      <t>
        Any property of value type DATE-TIME or DATE (e.g., DTSTAMP)
        will match a given time-range if:
      </t>
      <figure><artwork><![CDATA[
  value >= start AND value < end
      ]]></artwork></figure>
    </section>

    <section title="Example: Partial retrieval of events by time range">

      <t>
        In this example, the client requests the server to return
        specific components and properties of the VEVENT components
        that overlap the time range from September 2nd, 2004 at
        00:00:00 am UTC to September 2nd, 2004 at 11:59:59 pm UTC.
        In addition the WebDAV "getetag" property is also requested and
        returned as part of the response.
      </t>

      <figure>
        <preamble>&gt;&gt; Request &lt;&lt;</preamble>
        <artwork><![CDATA[
REPORT /bernard/calendar/ HTTP/1.1
Host: cal.example.com
Depth: 1
Content-Type: text/xml
Content-Length: xxxx

<?xml version="1.0" encoding="utf-8" ?>
<C:calendar-query xmlns:D="DAV:"
                  xmlns:C="urn:ietf:params:xml:ns:caldav">
  <D:prop>
    <D:getetag/>
  </D:prop>
  <C:calendar-query-result>
    <C:icalcomp name="VCALENDAR">
      <C:allicalprop/>
      <C:icalcomp name="VEVENT">
        <C:icalprop name="X-ABC-GUID"/>
        <C:icalprop name="UID"/>
        <C:icalprop name="DTSTART"/>
        <C:icalprop name="DTEND"/>
        <C:icalprop name="DURATION"/>
        <C:icalprop name="EXDATE"/>
        <C:icalprop name="EXRULE"/>
        <C:icalprop name="RDATE"/>
        <C:icalprop name="RRULE"/>
        <C:icalprop name="LOCATION"/>
        <C:icalprop name="SUMMARY"/>
      </C:icalcomp>
      <C:icalcomp name="VTIMEZONE">
        <C:allicalprop/>
        <C:allicalcomp/>
      </C:icalcomp>
    </C:icalcomp> 
  </C:calendar-query-result>
  <C:filter>
    <C:icalcomp-filter name="VCALENDAR">
      <C:icalcomp-filter name="VEVENT">
        <C:time-range start="20040902T000000Z"
                      end="20040902T235959Z">
      </C:icalcomp-filter>
    </C:icalcomp-filter>
  </C:filter>
</C:calendar-query>
      ]]></artwork></figure>

      <figure>
        <preamble>&gt;&gt; Response &lt;&lt;</preamble>
        <artwork><![CDATA[
HTTP/1.1 207 Multi-Status
Content-Type: text/xml; charset="utf-8"
Content-Length: xxxx

<?xml version="1.0" encoding="utf-8" ?>
<D:multistatus xmlns:D="DAV:"
               xmlns:C="urn:ietf:params:xml:ns:caldav">
  <D:response>
<D:href>http://cal.example.com/bernard/calendar/ev102.ics</D:href>
    <D:propstat>
      <D:prop>
        <D:getetag>23ba4d-ff11fb</D:getetag>
      </D:prop>
      <D:status>HTTP/1.1 200 OK</D:status>
    </D:propstat>
    <C:calendar-query-result>BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//Example Corp.//CalDAV Client//EN
BEGIN:VEVENT
DTSTART:20040902T100000Z
DTEND:20040902T120000Z
SUMMARY:Design meeting
UID:34222-232@example.com
X-ABC-GUID:E1CX4zp-0005Ld-21@example.com
END:VEVENT
END:VCALENDAR
    </C:calendar-query-result>
  </D:response>
  <D:response>
<D:href>http://cal.example.com/bernard/calendar/mtg103.ics</D:href>
    <D:propstat>
      <D:prop>
        <D:getetag>ff11fb-23ba4d</D:getetag>
      </D:prop>
      <D:status>HTTP/1.1 200 OK</D:status>
    </D:propstat>
    <C:calendar-query-result>BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//Example Corp.//CalDAV Client//EN
BEGIN:VEVENT
DTSTART:20040902T130000Z
DTEND:20040902T150000Z
SUMMARY:Design meeting - Part II
UID:63409-868@example.com
X-ABC-GUID:E1CX5Dr-0007ym-Hz@example.com
END:VEVENT
END:VCALENDAR
    </C:calendar-query-result>
  </D:response>
</D:multistatus>
      ]]></artwork></figure>
    </section>

    <section title="Example: Retrieval of todos by alarm time range">

      <t>
      In this example, the client requests the server to return
      the VTODO components that have an alarm trigger scheduled
      in the specified time range. No WebDAV properties are requested.
      </t>

      <figure>
        <preamble>&gt;&gt; Request &lt;&lt;</preamble>
        <artwork><![CDATA[
REPORT /bernard/calendar/ HTTP/1.1
Host: cal.example.com
Depth: 1
Content-Type: text/xml
Content-Length: xxxx

<?xml version="1.0" encoding="utf-8" ?>
<C:calendar-query xmlns:C="urn:ietf:params:xml:ns:caldav">
  <C:calendar-query-result/>
  <C:filter>
    <C:icalcomp-filter name="VCALENDAR">
      <C:icalcomp-filter name="VTODO">
        <C:icalcomp-filter name="VALARM">
          <C:time-range start="20041121T000000Z"
                        end="20041121T235959Z">
        </C:icalcomp-filter>
      </C:icalcomp-filter>
    </C:icalcomp-filter>
  </C:filter>
</C:calendar-query>
      ]]></artwork></figure>
    </section>

    <section title="Example: Retrieval of event by UID">
      
      <t>
      In this example, the client requests the server to return
      the VEVENT component that has the UID property set to
      "20041121-FEEBDAED@foo.org". No WebDAV properties are requested.
      </t>
      
      <figure>
        <preamble>&gt;&gt; Request &lt;&lt;</preamble>
        <artwork><![CDATA[
REPORT /bernard/calendar/ HTTP/1.1
Host: cal.example.com
Depth: 1
Content-Type: text/xml
Content-Length: xxxx

<?xml version="1.0" encoding="utf-8" ?>
<C:calendar-query xmlns:C="urn:ietf:params:xml:ns:caldav">
  <C:calendar-query-result/>
  <C:filter>
    <C:icalcomp-filter name="VCALENDAR">
      <C:icalcomp-filter name="VEVENT">
        <C:icalprop-filter name="UID">
          <C:text-match
             caseless="no">20041121-FEEBDAED@foo.org</C:text-match>
        </C:icalprop-filter>
      </C:icalcomp-filter>
    </C:icalcomp-filter>
  </C:filter>
</C:calendar-query>
      ]]></artwork></figure>
    </section>

    <section title="Example: Retrieval of events by participation status">

      <t>
      In this example, the client requests the server to return
      the VEVENT components that have the ATTENDEE property
      with the value "mailto:jsmith@example.org" and for which the
      PARTSTAT parameter is set to "NEEDS-ACTION". No WebDAV
      properties are requested.
      </t>

      <figure>
        <preamble>&gt;&gt; Request &lt;&lt;</preamble>
        <artwork><![CDATA[
REPORT /bernard/calendar/ HTTP/1.1
Host: cal.example.com
Depth: 1
Content-Type: text/xml
Content-Length: xxxx

<?xml version="1.0" encoding="utf-8" ?>
<C:calendar-query xmlns:C="urn:ietf:params:xml:ns:caldav">
  <C:calendar-query-result/>
  <C:filter>
    <C:icalcomp-filter name="VCALENDAR">
      <C:icalcomp-filter name="VEVENT">
        <C:icalprop-filter name="ATTENDEE"/>
          <C:text-match
             caseless="yes">mailto:jsmith@foo.org</C:text-match>
          <C:icalparam-filter name="PARTSTAT"/>
            <C:text-match caseless="no">NEEDS-ACTION</C:text-match>
          </C:icalparam-filter>
        </C:icalprop-filter>
      </C:icalcomp-filter>
    </C:icalcomp-filter>
  </C:filter>
</C:calendar-query>
      ]]></artwork></figure>
    </section>

    <section title="Example: Retrieval of events only">

      <t>
      In this example, the client requests the server to return
      all VEVENT components. No WebDAV properties are requested.
      </t>

      <figure>
        <preamble>&gt;&gt; Request &lt;&lt;</preamble>
        <artwork><![CDATA[
  REPORT /bernard/calendar/ HTTP/1.1
  Host: cal.example.com
  Depth: 1
  Content-Type: text/xml
  Content-Length: xxxx

  <?xml version="1.0" encoding="utf-8" ?>
  <C:calendar-query xmlns:C="urn:ietf:params:xml:ns:caldav">
    <C:calendar-query-result/>
    <C:filter>
      <C:icalcomp-filter name="VCALENDAR">
        <C:icalcomp-filter name="VEVENT">
          <C:is-defined/>
        </C:icalcomp-filter>
      </C:icalcomp-filter>
    </C:filter>
  </C:calendar-query>
      ]]></artwork></figure>
    </section>

  </section><!-- calendar-query -->

</section><!-- Calendaring Reports -->
    
    
<section anchor="offline" title = "Disconnected Operations">
  <t>WebDAV already provides functionality required to synchronize a collection
    or set of collections, make changes offline, and a simple way to resolve
    conflicts when reconnected.  Strong ETags are the key to making this work,
    but these are not required of all WebDAV servers.
    Since offline functionality is more important
    to Calendar applications than to other WebDAV applications, CalDAV servers
    MUST support strong ETags.
  </t>
  <t>Much more work could be done to make disconnected operations work better.
    WebDAV implementors have discussed ETag-like tags for collections (CTags?)
    which would change whenever the membership (or members?) of a collection 
    changed.  Tombstones might also be useful to synchronize with DELETE 
    operations.  However, all these mechanisms are of general use and not
    limited to Calendaring.  Therefore, it is suggested that work on advanced
    synchronization take place in a separate document independent of the
    calendaring-specific features discussed here.  Many people are interested
    in doing this kind of work and it has wide applicability and usefulness.
    Requirements or design contributions from calendaring implementors are welcome.
  </t>
  
  <t>TODO: this section should be expanded to give more guidance to clients
    on how to synchronize WebDAV objects most effectively.  In particular,
    we need to understand how UID/SEQ metadata works with synchronization.
  </t>
  
  <t>
    Note that recurrence isn't a synchronization problem in this model.  Recurring items
    appear only once in normal PROPFIND responses, so there's no danger that
    in synchronizing a client will accidentally create extra recurrences.  
    Instead, recurrences appear only in a special REPORT which MUST not be
    used for synchronization.  We believe this separation between data
    (recurring appointments) and presentation (the display of a period containing
    several recurrences) is crucial to simplifying synchronization.
  </t>

</section>
    
<section title='Security Considerations'>
  <t>TODO</t>
</section>

<section title='IANA Consideration' anchor='IANA'>

<t>In addition to the namespaces defined by
<xref target="RFC2518">RFC2518</xref> for XML elements,
this document uses a URN to describe a new XML namespace
conforming to a registry mechanism described in
<xref target="RFC3688">RFC3688</xref>.
All other IANA considerations mentioned in
<xref target="RFC2518">RFC2518</xref> also apply to this
document.</t>

  <section title='Namespace Registration' anchor='ns.registration'>

    <t>Registration request for the caldav namespace:
    </t>

    <t>URI: urn:ietf:params:xml:ns:caldav
    </t>

    <t>Registrant Contact: See the "Author's Address" section of this document.
    </t>

    <t>XML: None.  Namespace URIs do not represent an XML specification.
    </t>

  </section><!-- ns.registration -->
</section><!-- IANA -->

</middle>

  
<back>
    <references title="Normative References">
      

<reference anchor="RFC2396">

<front>
<title abbrev="URI Generic Syntax">Uniform Resource Identifiers (URI): Generic Syntax</title>
<author initials="T." surname="Berners-Lee" fullname="Tim Berners-Lee">
<organization abbrev="MIT/LCS">World Wide Web Consortium</organization>
<address>
<postal>
<street>MIT Laboratory for Computer Science, NE43-356</street>
<street>545 Technology Square</street>
<city>Cambridge</city>
<region>MA</region>
<code>02139</code></postal>
<facsimile>+1(617)258-8682</facsimile>
<email>timbl@w3.org</email></address></author>
<author initials="R.T." surname="Fielding" fullname="Roy T. Fielding">
<organization abbrev="U.C. Irvine">Department of Information and Computer Science</organization>
<address>
<postal>
<street>University of California, Irvine</street>
<city>Irvine</city>
<region>CA</region>
<code>92697-3425</code></postal>
<facsimile>+1(949)824-1715</facsimile>
<email>fielding@ics.uci.edu</email></address></author>
<author initials="L." surname="Masinter" fullname="Larry Masinter">
<organization abbrev="Xerox Corporation">Xerox PARC</organization>
<address>
<postal>
<street>3333 Coyote Hill Road</street>
<city>Palo Alto</city>
<region>CA</region>
<code>94034</code></postal>
<facsimile>+1(415)812-4333</facsimile>
<email>masinter@parc.xerox.com</email></address></author>
<date year="1998" month="August"/>
<area>Applications</area>
<keyword>uniform resource</keyword>
<keyword>URI</keyword>
<abstract>
<t>
   A Uniform Resource Identifier (URI) is a compact string of characters
   for identifying an abstract or physical resource.  This document
   defines the generic syntax of URI, including both absolute and
   relative forms, and guidelines for their use; it revises and replaces
   the generic definitions in RFC 1738 and RFC 1808.
</t>
<t>
   This document defines a grammar that is a superset of all valid URI,
   such that an implementation can parse the common components of a URI
   reference without knowing the scheme-specific requirements of every
   possible identifier type.  This document does not define a generative
   grammar for URI; that task will be performed by the individual
   specifications of each URI scheme.
</t></abstract>
<note title="IESG Note">
<t>
   This paper describes a "superset" of operations that can be applied
   to URI.  It consists of both a grammar and a description of basic
   functionality for URI.  To understand what is a valid URI, both the
   grammar and the associated description have to be studied.  Some of
   the functionality described is not applicable to all URI schemes, and
   some operations are only possible when certain media types are
   retrieved using the URI, regardless of the scheme used.
</t></note></front>

<seriesInfo name="RFC" value="2396"/>
<format type="TXT" octets="83639" target="ftp://ftp.isi.edu/in-notes/rfc2396.txt"/>
<format type="HTML" octets="126294" target="http://xml.resource.org/public/rfc/html/rfc2396.html"/>
<format type="XML" octets="102773" target="http://xml.resource.org/public/rfc/xml/rfc2396.xml"/>
</reference>

      

<reference anchor="RFC2445">

<front>
<title abbrev="iCalendar">Internet Calendaring and Scheduling Core Object Specification (iCalendar)</title>
<author initials="F." surname="Dawson" fullname="Frank Dawson">
<organization>Lotus Development Corporation</organization>
<address>
<postal>
<street>6544 Battleford Drive</street>
<city>Raleigh</city>
<region>NC</region>
<code>27613-3502</code>
<country>USA</country></postal>
<phone>+1-919-676-9515</phone>
<facsimile>+1-919-676-9564</facsimile>
<email>Frank_Dawson@Lotus.com</email>
<uri>http://home.earthlink.net/~fdawson</uri></address></author>
<author initials="D." surname="Stenerson" fullname="Derik Stenerson">
<organization>Microsoft Corporation</organization>
<address>
<postal>
<street>One Microsoft Way</street>
<city>Redmond</city>
<region>WA</region>
<code>98052-6399</code>
<country>USA</country></postal>
<phone>+1-425-936-5522</phone>
<facsimile>+1-425-936-7329</facsimile>
<email>deriks@Microsoft.com</email></address></author>
<author>
<organization/></author>
<author>
<organization/></author>
<date year="1998" month="November"/>
<area>Applications</area>
<keyword>calendaring</keyword>
<keyword>scheduling</keyword>
<keyword>PIM</keyword>
<abstract>
<t>
   There is a clear need to provide and deploy interoperable calendaring
   and scheduling services for the Internet. Current group scheduling
   and Personal Information Management (PIM) products are being extended
   for use across the Internet, today, in proprietary ways. This memo
   has been defined to provide the definition of a common format for
   openly exchanging calendaring and scheduling information across the
   Internet.
</t>
<t>
   This memo is formatted as a registration for a MIME media type per
   . However, the format in this memo is equally applicable
   for use outside of a MIME message content type.
</t>
<t>
   The proposed media type value is 'text/calendar'. This string would
   label a media type containing calendaring and scheduling information
   encoded as text characters formatted in a manner outlined below.
</t>
<t>
   This MIME media type provides a standard content type for capturing
   calendar event, to-do and journal entry information. It also can be
   used to convey free/busy time information. The content type is
   suitable as a MIME message entity that can be transferred over MIME
   based email systems, using HTTP or some other Internet transport. In
   addition, the content type is useful as an object for interactions
   between desktop applications using the operating system clipboard,
   drag/drop or file systems capabilities.
</t>
<t>
   This memo is based on the earlier work of the vCalendar specification
   for the exchange of personal calendaring and scheduling information.
   In order to avoid confusion with this referenced work, this memo is
   to be known as the iCalendar specification.
</t>
<t>
   This memo defines the format for specifying iCalendar object methods.
   An iCalendar object method is a set of usage constraints for the
   iCalendar object. For example, these methods might define scheduling
   messages that request an event be scheduled, reply to an event
   request, send a cancellation notice for an event, modify or replace
   the definition of an event, provide a counter proposal for an
   original event request, delegate an event request to another
   individual, request free or busy time, reply to a free or busy time
   request, or provide similar scheduling messages for a to-do or
   journal entry calendar component. The iCalendar Transport-indendent
   Interoperability Protocol (iTIP) defined in  is one such
   scheduling protocol.
</t></abstract></front>

<seriesInfo name="RFC" value="2445"/>
<format type="TXT" octets="291838" target="ftp://ftp.isi.edu/in-notes/rfc2445.txt"/>
<format type="HTML" octets="323537" target="http://xml.resource.org/public/rfc/html/rfc2445.html"/>
<format type="XML" octets="305481" target="http://xml.resource.org/public/rfc/xml/rfc2445.xml"/>
</reference>

      

<reference anchor="RFC2446">

<front>
<title abbrev="iTIP">iCalendar Transport-Independent Interoperability Protocol (iTIP) Scheduling Events, BusyTime, To-dos and Journal Entries</title>
<author initials="S." surname="Silverberg" fullname="Steve Silverberg">
<organization>Microsoft Corporation</organization>
<address>
<postal>
<street>One Microsoft Way</street>
<city>Redmond</city>
<region>WA</region>
<code>98052-6399</code>
<country>USA</country></postal>
<phone>+1-425-936-9277</phone>
<facsimile>+1-425-936-8019</facsimile>
<email>stevesil@Microsoft.com</email></address></author>
<author initials="S." surname="Mansour" fullname="Steve Mansour">
<organization>Netscape Communications Corporation</organization>
<address>
<postal>
<street>501 East Middlefield Road</street>
<city>MountainView</city>
<region>CA</region>
<code>94043</code>
<country>USA</country></postal>
<phone>+1-650-937-2378</phone>
<facsimile>+1-650-937-2103</facsimile>
<email>sman@netscape.com</email></address></author>
<author initials="F." surname="Dawson" fullname="Frank Dawson">
<organization>Lotus Development Corporation</organization>
<address>
<postal>
<street>6544 Battleford Drive</street>
<city>Raleigh</city>
<region>NC</region>
<code>27613-3502</code>
<country>USA</country></postal>
<phone>+1-919-676-9515</phone>
<facsimile>+1-919-676-9564</facsimile>
<email>Frank_Dawson@Lotus.com</email>
<uri>http://home.earthlink.net/~fdawson</uri></address></author>
<author initials="R." surname="Hopson" fullname="Ross Hopson">
<organization>On Technology, Inc.</organization>
<address>
<postal>
<street>434 Fayetteville St.Mall, Two Hannover Square</street>
<street>Suite 1600</street>
<city>Raleigh</city>
<region>NC</region>
<code>27601</code></postal>
<phone>+1-919-890-4036</phone>
<facsimile>+1-919-890-4100</facsimile>
<email>rhopson@on.com</email></address></author>
<date year="1998" month="November"/>
<area>Applications</area>
<keyword>calendaring</keyword>
<keyword>scheduling</keyword>
<abstract>
<t>
   This document specifies how calendaring systems use iCalendar objects
   to interoperate with other calendar systems. It does so in a general
   way so as to allow multiple methods of communication between systems.
   Subsequent documents specify interoperable methods of communications
   between systems that use this protocol.
</t>
<t>
   The document outlines a model for calendar exchange that defines both
   static and dynamic event, to-do, journal and free/busy objects.
   Static objects are used to transmit information from one entity to
   another without the expectation of continuity or referential
   integrity with the original item. Dynamic objects are a superset of
   static objects and will gracefully degrade to their static
   counterparts for clients that only support static objects.
</t>
<t>
   This document specifies an Internet protocol based on the iCalendar
   object specification that provides scheduling interoperability
   between different calendar systems. The Internet protocol is called
   the "iCalendar Transport-Independent Interoperability Protocol
   (iTIP)".
   iTIP complements the iCalendar object specification by adding
   semantics for group scheduling methods commonly available in current
   calendar systems. These scheduling methods permit two or more
   calendar systems to perform transactions such as publish, schedule,
   reschedule, respond to scheduling requests, negotiation of changes or
   cancel iCalendar-based calendar components.
</t>
<t>
   iTIP is defined independent of the particular transport used to
   transmit the scheduling information. Companion memos to iTIP provide
   bindings of the interoperability protocol to a number of Internet
   protocols.
</t></abstract></front>

<seriesInfo name="RFC" value="2446"/>
<format type="TXT" octets="225964" target="ftp://ftp.isi.edu/in-notes/rfc2446.txt"/>
<format type="HTML" octets="249838" target="http://xml.resource.org/public/rfc/html/rfc2446.html"/>
<format type="XML" octets="229099" target="http://xml.resource.org/public/rfc/xml/rfc2446.xml"/>
</reference>

      

<reference anchor="RFC2616">

<front>
<title abbrev="HTTP/1.1">Hypertext Transfer Protocol -- HTTP/1.1</title>
<author initials="R." surname="Fielding" fullname="Roy T. Fielding">
<organization abbrev="UC Irvine">Department of Information and Computer Science</organization>
<address>
<postal>
<street>University of California, Irvine</street>
<city>Irvine</city>
<region>CA</region>
<code>92697-3425</code></postal>
<facsimile>+1(949)824-1715</facsimile>
<email>fielding@ics.uci.edu</email></address></author>
<author initials="J." surname="Gettys" fullname="James Gettys">
<organization abbrev="Compaq/W3C">World Wide Web Consortium</organization>
<address>
<postal>
<street>MIT Laboratory for Computer Science, NE43-356</street>
<street>545 Technology Square</street>
<city>Cambridge</city>
<region>MA</region>
<code>02139</code></postal>
<facsimile>+1(617)258-8682</facsimile>
<email>jg@w3.org</email></address></author>
<author initials="J." surname="Mogul" fullname="Jeffrey C. Mogul">
<organization abbrev="Compaq">Compaq Computer Corporation</organization>
<address>
<postal>
<street>Western Research Laboratory</street>
<street>250 University Avenue</street>
<city>Palo Alto</city>
<region>CA</region>
<code>94305</code></postal>
<email>mogul@wrl.dec.com</email></address></author>
<author initials="H." surname="Frystyk" fullname="Henrik Frystyk Nielsen">
<organization abbrev="W3C/MIT">World Wide Web Consortium</organization>
<address>
<postal>
<street>MIT Laboratory for Computer Science, NE43-356</street>
<street>545 Technology Square</street>
<city>Cambridge</city>
<region>MA</region>
<code>02139</code></postal>
<facsimile>+1(617)258-8682</facsimile>
<email>frystyk@w3.org</email></address></author>
<author initials="L." surname="Masinter" fullname="Larry Masinter">
<organization abbrev="Xerox">Xerox Corporation</organization>
<address>
<postal>
<street>MIT Laboratory for Computer Science, NE43-356</street>
<street>3333 Coyote Hill Road</street>
<city>Palo Alto</city>
<region>CA</region>
<code>94034</code></postal>
<email>masinter@parc.xerox.com</email></address></author>
<author initials="P." surname="Leach" fullname="Paul J. Leach">
<organization abbrev="Microsoft">Microsoft Corporation</organization>
<address>
<postal>
<street>1 Microsoft Way</street>
<city>Redmond</city>
<region>WA</region>
<code>98052</code></postal>
<email>paulle@microsoft.com</email></address></author>
<author initials="T." surname="Berners-Lee" fullname="Tim Berners-Lee">
<organization abbrev="W3C/MIT">World Wide Web Consortium</organization>
<address>
<postal>
<street>MIT Laboratory for Computer Science, NE43-356</street>
<street>545 Technology Square</street>
<city>Cambridge</city>
<region>MA</region>
<code>02139</code></postal>
<facsimile>+1(617)258-8682</facsimile>
<email>timbl@w3.org</email></address></author>
<date year="1999" month="June"/>
<abstract>
<t>
   The Hypertext Transfer Protocol (HTTP) is an application-level
   protocol for distributed, collaborative, hypermedia information
   systems. It is a generic, stateless, protocol which can be used for
   many tasks beyond its use for hypertext, such as name servers and
   distributed object management systems, through extension of its
   request methods, error codes and headers . A feature of HTTP is
   the typing and negotiation of data representation, allowing systems
   to be built independently of the data being transferred.
</t>
<t>
   HTTP has been in use by the World-Wide Web global information
   initiative since 1990. This specification defines the protocol
   referred to as "HTTP/1.1", and is an update to RFC 2068 .
</t></abstract></front>

<seriesInfo name="RFC" value="2616"/>
<format type="TXT" octets="422317" target="ftp://ftp.isi.edu/in-notes/rfc2616.txt"/>
<format type="PS" octets="5529857" target="ftp://ftp.isi.edu/in-notes/rfc2616.ps"/>
<format type="PDF" octets="550558" target="ftp://ftp.isi.edu/in-notes/rfc2616.pdf"/>
<format type="HTML" octets="620835" target="http://xml.resource.org/public/rfc/html/rfc2616.html"/>
<format type="XML" octets="490204" target="http://xml.resource.org/public/rfc/xml/rfc2616.xml"/>
</reference>

      

<reference anchor="RFC2518">

<front>
<title abbrev="WEBDAV">HTTP Extensions for Distributed Authoring -- WEBDAV</title>
<author initials="Y." surname="Goland" fullname="Y. Y. Goland">
<organization abbrev="Microsoft">Microsoft Corporation</organization>
<address>
<postal>
<street>One Microsoft Way</street>
<city>Redmond</city>
<region>WA</region>
<code>98052-6399</code></postal>
<email>yarong@microsoft.com</email></address></author>
<author initials="E." surname="Whitehead" fullname="E. J. Whitehead, Jr.">
<organization abbrev="UC Irvine">Dept. Of Information and Computer Science,
      University of California, Irvine</organization>
<address>
<postal>
<street/>
<city>Irvine</city>
<region>CA</region>
<code>92697-3425</code></postal>
<email>ejw@ics.uci.edu</email></address></author>
<author initials="A." surname="Faizi" fullname="A. Faizi">
<organization abbrev="Netscape">Netscape</organization>
<address>
<postal>
<street>685 East Middlefield Road</street>
<city>Mountain View</city>
<region>CA</region>
<code>94043</code></postal>
<email>asad@netscape.com</email></address></author>
<author initials="S.R." surname="Carter" fullname="S. R. Carter">
<organization abbrev="Novell">Novell</organization>
<address>
<postal>
<street>1555 N. Technology Way</street>
<street>M/S ORM F111</street>
<city>Orem</city>
<region>UT</region>
<code>84097-2399</code></postal>
<email>srcarter@novell.com</email></address></author>
<author initials="D." surname="Jensen" fullname="D. Jensen">
<organization abbrev="Novell">Novell</organization>
<address>
<postal>
<street>1555 N. Technology Way</street>
<street>M/S ORM F111</street>
<city>Orem</city>
<region>UT</region>
<code>84097-2399</code></postal>
<email>dcjensen@novell.com</email></address></author>
<date year="1999" month="February"/>
<abstract>
<t>
       This document specifies a set of methods, headers, and content-types
       ancillary to HTTP/1.1 for the management of resource properties,
       creation and management of resource collections, namespace
       manipulation, and resource locking (collision avoidance).
      </t></abstract></front>

<seriesInfo name="RFC" value="2518"/>
<format type="TXT" octets="202829" target="ftp://ftp.isi.edu/in-notes/rfc2518.txt"/>
<format type="HTML" octets="303525" target="http://xml.resource.org/public/rfc/html/rfc2518.html"/>
<format type="XML" octets="217603" target="http://xml.resource.org/public/rfc/xml/rfc2518.xml"/>
</reference>

      

<reference anchor="RFC3339">

<front>
<title>Date and Time on the Internet: Timestamps</title>
<author initials="G." surname="Klyne" fullname="Graham Klyne" role="editor">
<organization>Clearswift Corporation</organization>
<address>
<postal>
<street>1310 Waterside</street>
<street>Arlington Business Park</street>
<city>Theale</city>
<region>Reading</region>
<code>RG7 4SA</code>
<country>UK</country></postal>
<phone>+44 11 8903 8903</phone>
<facsimile>+44 11 8903 9000</facsimile>
<email>GK@ACM.ORG</email></address></author>
<author initials="C." surname="Newman" fullname="Chris Newman">
<organization>Sun Microsystems</organization>
<address>
<postal>
<street>1050 Lakes Drive, Suite 250</street>
<city>West Covina</city>
<region>CA</region>
<code>91790</code>
<country>USA</country></postal>
<email>chris.newman@sun.com</email></address></author>
<date year="2002" month="July"/>
<abstract>
<t>
   This document defines a date and time format for use in Internet
   protocols that is a profile of the ISO 8601 standard for
   representation of dates and times using the Gregorian calendar.
     </t></abstract></front>

<seriesInfo name="RFC" value="3339"/>
<format type="TXT" octets="35064" target="ftp://ftp.isi.edu/in-notes/rfc3339.txt"/>
<format type="HTML" octets="58311" target="http://xml.resource.org/public/rfc/html/rfc3339.html"/>
<format type="XML" octets="36994" target="http://xml.resource.org/public/rfc/xml/rfc3339.xml"/>
</reference>

      

<reference anchor="RFC3688">

<front>
<title>The IETF XML Registry</title>
<author initials="M." surname="Mealling" fullname="M. Mealling">
<organization/></author>
<date year="2004" month="January"/>
<abstract>
<t>This document describes an IANA maintained registry for IETF standards which use Extensible Markup Language (XML) related items such as Namespaces, Document Type Declarations (DTDs), Schemas, and Resource Description Framework (RDF) Schemas. </t></abstract></front>

<seriesInfo name="BCP" value="81"/>
<seriesInfo name="RFC" value="3688"/>
<format type="TXT" octets="17325" target="ftp://ftp.isi.edu/in-notes/rfc3688.txt"/>
</reference>

      

<reference anchor="RFC3744">

<front>
<title abbrev="WebDAV Access Control Protocol">Web Distributed Authoring and Versioning (WebDAV) Access Control Protocol</title>
<author initials="G." surname="Clemm" fullname="Geoffrey Clemm">
<organization>IBM</organization>
<address>
<postal>
<street>20 Maguire Road</street>
<city>Lexington</city>
<region>MA</region>
<code>02421</code></postal>
<email>geoffrey.clemm@us.ibm.com</email></address></author>
<author initials="J. F." surname="Reschke" fullname="Julian F. Reschke">
<organization abbrev="greenbytes">greenbytes GmbH</organization>
<address>
<postal>
<street>Salzmannstrasse 152</street>
<city>Muenster</city>
<region>NW</region>
<code>48159</code>
<country>Germany</country></postal>
<email>julian.reschke@greenbytes.de</email></address></author>
<author initials="E." surname="Sedlar" fullname="Eric Sedlar">
<organization>Oracle Corporation</organization>
<address>
<postal>
<street>500 Oracle Parkway</street>
<city>Redwood Shores</city>
<region>CA</region>
<code>94065</code></postal>
<email>eric.sedlar@oracle.com</email></address></author>
<author initials="J." surname="Whitehead" fullname="Jim Whitehead">
<organization abbrev="U.C. Santa Cruz">U.C. Santa Cruz, Dept. of Computer Science</organization>
<address>
<postal>
<street>1156 High Street</street>
<city>Santa Cruz</city>
<region>CA</region>
<code>95064</code></postal>
<email>ejw@cse.ucsc.edu</email></address></author>
<date year="2004" month="May"/>
<abstract>
<t>
        This document specifies a set of methods, headers, message bodies,
        properties, and reports that define Access Control extensions to the
        WebDAV Distributed Authoring Protocol.  This protocol permits a client to
        read and modify access control lists that instruct a server whether to
        allow or deny operations upon a resource (such as HyperText Transfer
        Protocol (HTTP) method invocations) by a given principal.  A lightweight
        representation of principals as Web resources supports integration of a
        wide range of user management repositories.  Search operations allow
        discovery and manipulation of principals using human names.
      </t></abstract></front>

<seriesInfo name="RFC" value="3744"/>
<format type="TXT" octets="146623" target="ftp://ftp.isi.edu/in-notes/rfc3744.txt"/>
<format type="HTML" octets="220016" target="http://xml.resource.org/public/rfc/html/rfc3744.html"/>
<format type="XML" octets="167673" target="http://xml.resource.org/public/rfc/xml/rfc3744.xml"/>
</reference>


      <reference anchor="RDF-ICAL">
        <front>
          <title abbrev="ical-rdf">iCalendar Schema in RDF/XML</title>
          <author>
              <organization>W3C</organization>
          </author>
          <date year="2002" month="December"/>
        </front>
        <seriesInfo name="site" value="http://www.w3.org/2002/12/cal/ical"/>
      </reference>
    </references>
    <references title="Informative References">
      

<reference anchor="RFC2368">

<front>
<title>The mailto URL scheme</title>
<author initials="P.E." surname="Hoffman" fullname="Paul E. Hoffman">
<organization>Internet Mail Consortium</organization>
<address>
<postal>
<street>127 Segre Place</street>
<street>Santa Cruz</street>
<street>CA  95060</street>
<country>USA</country></postal>
<email>phoffman@imc.org</email></address></author>
<author initials="L." surname="Masinter" fullname="Larry Masinter">
<organization>Xerox Corporation</organization>
<address>
<postal>
<street>3333 Coyote Hill Road</street>
<street>Palo Alto</street>
<street>CA 94304</street>
<country>USA</country></postal>
<email>masinter@parc.xerox.com</email></address></author>
<author initials="J." surname="Zawinski" fullname="Jamie Zawinski">
<organization>Netscape Communications Corp.</organization>
<address>
<postal>
<street>501 East Middlefield Road</street>
<street>Mountain View</street>
<street>CA 94043</street>
<country>USA</country></postal>
<email>jwz@netscape.com</email></address></author>
<date year="1998" month="July"/>
<area>Applications</area>
<keyword>mailto</keyword>
<keyword>mail</keyword>
<keyword>uniform resource locator</keyword>
<keyword>URL</keyword>
<abstract>
<t>
   This document defines the format of Uniform Resource Locators (URL)
   for designating electronic mail addresses. It is one of a suite of
   documents which replace RFC 1738, 'Uniform Resource Locators', and
   RFC 1808, 'Relative Uniform Resource Locators'. The syntax of
   'mailto' URLs from RFC 1738 is extended to allow creation of more RFC
   822 messages by allowing the URL to express additional header and
   body fields.
</t></abstract></front>

<seriesInfo name="RFC" value="2368"/>
<format type="TXT" octets="16502" target="ftp://ftp.isi.edu/in-notes/rfc2368.txt"/>
<format type="HTML" octets="30859" target="http://xml.resource.org/public/rfc/html/rfc2368.html"/>
<format type="XML" octets="17329" target="http://xml.resource.org/public/rfc/xml/rfc2368.xml"/>
</reference>

      

<reference anchor="RFC3253">

<front>
<title abbrev="Versioning Extensions to WebDAV">Versioning Extensions to WebDAV (Web&#160;Distributed&#160;Authoring&#160;and&#160;Versioning)</title>
<author initials="G." surname="Clemm" fullname="Geoffrey Clemm">
<organization>Rational Software</organization>
<address>
<postal>
<street>20 Maguire Road</street>
<city>Lexington</city>
<region>MA</region>
<code>02421</code>
<country>US</country></postal>
<email>geoffrey.clemm@rational.com</email></address></author>
<author initials="J." surname="Amsden" fullname="Jim Amsden">
<organization>IBM</organization>
<address>
<postal>
<street>3039 Cornwallis</street>
<street>Research Triangle Park</street>
<region>NC</region>
<code>27709</code>
<country>US</country></postal>
<email>jamsden@us.ibm.com</email></address></author>
<author initials="T." surname="Ellison" fullname="Tim Ellison">
<organization>IBM</organization>
<address>
<postal>
<street>Hursley Park</street>
<city>Winchester</city>
<code>S021 2JN</code>
<country>UK</country></postal>
<email>tim_ellison@uk.ibm.com</email></address></author>
<author initials="C." surname="Kaler" fullname="Christopher Kaler">
<organization>Microsoft</organization>
<address>
<postal>
<street>One Microsoft Way</street>
<city>Redmond</city>
<region>WA</region>
<code>90852</code>
<country>US</country></postal>
<email>ckaler@microsoft.com</email></address></author>
<author initials="J." surname="Whitehead" fullname="Jim Whitehead">
<organization abbrev="U.C. Santa Cruz">UC Santa Cruz, Dept. of Computer Science</organization>
<address>
<postal>
<street>1156 High Street</street>
<city>Santa Cruz</city>
<region>CA</region>
<code>95064</code>
<country>US</country></postal>
<email>ejw@cse.ucsc.edu</email></address></author>
<date year="2002" month="March"/>
<abstract>
<t>
   This document specifies a set of methods, headers, and resource types
   that define the WebDAV (Web Distributed Authoring and Versioning)
   versioning extensions to the HTTP/1.1 protocol.  WebDAV versioning
   will minimize the complexity of clients that are capable of
   interoperating with a variety of versioning repository managers, to
   facilitate widespread deployment of applications capable of utilizing
   the WebDAV Versioning services.  WebDAV versioning includes automatic
   versioning for versioning-unaware clients, version history
   management, workspace management, baseline management, activity
   management, and URL namespace versioning.
</t></abstract></front>

<seriesInfo name="RFC" value="3253"/>
<format type="TXT" octets="245514" target="ftp://ftp.isi.edu/in-notes/rfc3253.txt"/>
<format type="HTML" octets="429660" target="http://xml.resource.org/public/rfc/html/rfc3253.html"/>
<format type="XML" octets="305030" target="http://xml.resource.org/public/rfc/xml/rfc3253.xml"/>
</reference>

      <reference anchor="I-D.reschke-webdav-search">
        <front>
        <title>WebDAV SEARCH (DASL)</title>
        <author initials="J" surname="Reschke">
        <organization>greenbytes</organization>  
        </author>
        <author initials="S" surname="Reddy">
        <organization>Oracle</organization>
        </author>
        <author initials="J" surname="Davis">
        <organization>Intelligent Markets</organization>
        </author>
        <author initials="A" surname="Babich">
        <organization>Filenet</organization>
        </author>
        <date month="August" day="6" year="2004"/>
        </front>
        <seriesInfo name="Internet-Draft" value="draft-reschke-webdav-search-06"/>
        <format type="TXT" target="http://www.ietf.org/internet-drafts/draft-reschke-webdav-search-06.txt"/>
      </reference>

    </references>
    
    <section anchor="Acknowledgements" title ="Acknowledgements">
      <t>Michael Arick has provided substantial feedback for this draft.</t>
    </section>

    <section title="Changes">

<section title="Changes in -04">
<t>
  <list style='letters'>
    <t>Added a note about the HTTP Location response header.</t>
    <t>Added report calendar-query.</t>
    <t>Removed reports calendar-property-search and calendar-time-range.</t>
    <t>Removed section on CalDAV and timezones.</t>
    <t>Added requirement to return ETag on creation.</t>
    <t>Revised data model to remove sub-collections from calendar collection.</t>
    <t>Added informative references section.</t>
    <t>Removed dependencies on DASL.</t>
  </list>
</t>
</section>

 <section title="Changes in -03">
    <t>
    <list style='letters'>
    <t>Removed Calendar Containers (simplification that doesn't seem to remove 
    much functionality)</t>
    <t>Added MKCALENDAR to create calendars and all sub-collections</t>
    <t>Added cal-scale property to calendars</t>
    </list>
    </t>
    </section>
      
    <section title="Changes in -02">
    <t>Basically still adding major sections of content:
    <list style='letters'>
    <t>Defined new field values to the OPTIONS "DAV:" response header</t>
    <t>Added new resource properties</t>
    <t>Added new principal properties</t>
    <t>Added new SCHEDULE method and related headers</t>
    <t>Added new privileges for scheduling</t>
    </list>
    </t>
    </section>

    <section title="Changes in -01">
    <t>
    <list style='letters'>
    <t>Added section on privileges for calendaring, extending WebDAV ACL privilege set</t>
    <t>Defined what to do with unrecognized properties in the bodies of iCalendar events,
    with respect to property promotion/demotion</t>
    </list>
    </t>
    </section>
      
        
    </section>
  </back>

</rfc>
