Skip to content

urn:ietf:params:xml:ns:caldav:supported calendar data

Marten Gajda edited this page Jun 17, 2015 · 4 revisions
###Summary
Specification
RFC 4791 [Section 5.2.4](http://tools.ietf.org/html/rfc4791#section-5.2.4)
Type
Property
Protected
MUST
Returned by allprop
SHOULD NOT
Valid for resource types
urn:ietf:params:xml:ns:caldav:calendar

###Purpose

Specifies what media types are allowed for calendar object resources in a calendar collection.

###Conformance

This property MAY be defined on any calendar collection. If defined, it MUST be protected and SHOULD NOT be returned by a PROPFIND DAV::allprop request (as defined in Section 12.14.1 of RFC 2518).

###Description

The CALDAV:supported-calendar-data property is used to specify the media type supported for the calendar object resources contained in a given calendar collection (e.g., iCalendar version 2.0). Any attempt by the client to store calendar object resources with a media type not listed in this property MUST result in an error, with the CALDAV:supported-calendar-data precondition (Section 5.3.2.1) being violated. In the absence of this property, the server MUST only accept data with the media type "text/calendar" and iCalendar version 2.0, and clients can assume that the server will only accept this data.

DTD

<!ELEMENT supported-calendar-data (calendar-data+)>

###Example

<C:supported-calendar-data
    xmlns:C="urn:ietf:params:xml:ns:caldav">
    <C:calendar-data content-type="text/calendar" version="2.0"/>
</C:supported-calendar-data>
Clone this wiki locally