RFC4791 日本語訳
4791 Calendaring Extensions to WebDAV (CalDAV). C. Daboo, B.Desruisseaux, L. Dusseault. March 2007. (Format: TXT=206801 bytes) (Status: PROPOSED STANDARD)
プログラムでの自動翻訳です。
英語原文
Network Working Group C. Daboo Request for Comments: 4791 Apple Category: Standards Track B. Desruisseaux Oracle L. Dusseault CommerceNet March 2007
Dabooがコメントのために要求するワーキンググループC.をネットワークでつないでください: 4791年のアップルカテゴリ: 2007年の標準化過程B.DesruisseauxオラクルのL.Dusseault CommerceNet行進
Calendaring Extensions to WebDAV (CalDAV)
WebDAVに拡大をCalendaringします。(CalDAV)
Status of This Memo
このメモの状態
This document specifies an Internet standards track protocol for the Internet community, and requests discussion and suggestions for improvements. Please refer to the current edition of the "Internet Official Protocol Standards" (STD 1) for the standardization state and status of this protocol. Distribution of this memo is unlimited.
このドキュメントは、インターネットコミュニティにインターネット標準化過程プロトコルを指定して、改良のために議論と提案を要求します。 このプロトコルの標準化状態と状態への「インターネット公式プロトコル標準」(STD1)の現行版を参照してください。 このメモの分配は無制限です。
Copyright Notice
版権情報
Copyright (C) The IETF Trust (2007).
IETFが信じる著作権(C)(2007)。
Abstract
要約
This document defines extensions to the Web Distributed Authoring and Versioning (WebDAV) protocol to specify a standard way of accessing, managing, and sharing calendaring and scheduling information based on the iCalendar format. This document defines the "calendar-access" feature of CalDAV.
このドキュメントは、iCalendar形式に基づくcalendaringとスケジューリング情報をアクセスして、管理して、共有する標準の方法を指定するためにウェブDistributed AuthoringとVersioning(WebDAV)プロトコルと拡大を定義します。 このドキュメントはCalDAVの「カレンダーアクセス」の特徴を定義します。
Daboo, et al. Standards Track [Page 1] RFC 4791 CalDAV March 2007
Daboo、他 規格は2007年のCalDAV行進のときにRFC4791を追跡します[1ページ]。
Table of Contents
目次
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.1. Notational Conventions . . . . . . . . . . . . . . . . . . 5 1.2. XML Namespaces and Processing . . . . . . . . . . . . . . 5 1.3. Method Preconditions and Postconditions . . . . . . . . . 6 2. Requirements Overview . . . . . . . . . . . . . . . . . . . . 6 3. Calendaring Data Model . . . . . . . . . . . . . . . . . . . . 7 3.1. Calendar Server . . . . . . . . . . . . . . . . . . . . . 7 3.2. Recurrence and the Data Model . . . . . . . . . . . . . . 8 4. Calendar Resources . . . . . . . . . . . . . . . . . . . . . . 9 4.1. Calendar Object Resources . . . . . . . . . . . . . . . . 9 4.2. Calendar Collection . . . . . . . . . . . . . . . . . . . 10 5. Calendar Access Feature . . . . . . . . . . . . . . . . . . . 11 5.1. Calendar Access Support . . . . . . . . . . . . . . . . . 11 5.1.1. Example: Using OPTIONS for the Discovery of Calendar Access Support . . . . . . . . . . . . . . . 12 5.2. Calendar Collection Properties . . . . . . . . . . . . . . 12 5.2.1. CALDAV:calendar-description Property . . . . . . . . . 12 5.2.2. CALDAV:calendar-timezone Property . . . . . . . . . . 13 5.2.3. CALDAV:supported-calendar-component-set Property . . . 14 5.2.4. CALDAV:supported-calendar-data Property . . . . . . . 15 5.2.5. CALDAV:max-resource-size Property . . . . . . . . . . 16 5.2.6. CALDAV:min-date-time Property . . . . . . . . . . . . 17 5.2.7. CALDAV:max-date-time Property . . . . . . . . . . . . 18 5.2.8. CALDAV:max-instances Property . . . . . . . . . . . . 19 5.2.9. CALDAV:max-attendees-per-instance Property . . . . . . 19 5.2.10. Additional Precondition for PROPPATCH . . . . . . . . 20 5.3. Creating Resources . . . . . . . . . . . . . . . . . . . . 20 5.3.1. MKCALENDAR Method . . . . . . . . . . . . . . . . . . 20 5.3.1.1. Status Codes . . . . . . . . . . . . . . . . . . . 22 5.3.1.2. Example: Successful MKCALENDAR Request . . . . . . 23 5.3.2. Creating Calendar Object Resources . . . . . . . . . . 25 5.3.2.1. Additional Preconditions for PUT, COPY, and MOVE . . . . . . . . . . . . . . . . . . . . . . . 26 5.3.3. Non-Standard Components, Properties, and Parameters . 28 5.3.4. Calendar Object Resource Entity Tag . . . . . . . . . 28 6. Calendaring Access Control . . . . . . . . . . . . . . . . . . 29 6.1. Calendaring Privilege . . . . . . . . . . . . . . . . . . 29 6.1.1. CALDAV:read-free-busy Privilege . . . . . . . . . . . 29 6.2. Additional Principal Property . . . . . . . . . . . . . . 30 6.2.1. CALDAV:calendar-home-set Property . . . . . . . . . . 30 7. Calendaring Reports . . . . . . . . . . . . . . . . . . . . . 31 7.1. REPORT Method . . . . . . . . . . . . . . . . . . . . . . 31 7.2. Ordinary Collections . . . . . . . . . . . . . . . . . . . 31 7.3. Date and Floating Time . . . . . . . . . . . . . . . . . . 32 7.4. Time Range Filtering . . . . . . . . . . . . . . . . . . . 32 7.5. Searching Text: Collations . . . . . . . . . . . . . . . . 33
1. 序論. . . . . . . . . . . . . . . . . . . . . . . . . 5 1.1。 記号法のコンベンション. . . . . . . . . . . . . . . . . . 5 1.2。 XML名前空間と処理. . . . . . . . . . . . . . 5 1.3。 方法前提条件とPostconditions. . . . . . . . . 6 2。 要件概観. . . . . . . . . . . . . . . . . . . . 6 3 データモデル. . . . . . . . . . . . . . . . . . . . 7 3.1をCalendaringします。 カレンダーサーバ. . . . . . . . . . . . . . . . . . . . . 7 3.2。 再発とデータは.8 4をモデル化します。 カレンダーリソース. . . . . . . . . . . . . . . . . . . . . . 9 4.1。 カレンダー物のリソース. . . . . . . . . . . . . . . . 9 4.2。 カレンダー収集. . . . . . . . . . . . . . . . . . . 10 5。 カレンダーアクセス機能. . . . . . . . . . . . . . . . . . . 11 5.1。 カレンダーアクセスサポート. . . . . . . . . . . . . . . . . 11 5.1.1。 例: カレンダーアクセスサポート. . . . . . . . . . . . . . . 12 5.2の発見にオプションを使用します。 カレンダー収集の特性. . . . . . . . . . . . . . 12 5.2の.1。 CALDAV: カレンダー記述の特性. . . . . . . . . 12 5.2の.2。 CALDAV: カレンダータイムゾーンの特性. . . . . . . . . . 13 5.2の.3。 CALDAV: 支持されたカレンダーコンポーネントセット所有地. . . 14 5.2.4。 CALDAV: 支持されたカレンダーデータの特性. . . . . . . 15 5.2の.5。 CALDAV: 最大リソースサイズの特性. . . . . . . . . . 16 5.2の.6。 CALDAV: 日付の時間の分の特性. . . . . . . . . . . . 17 5.2の.7。 CALDAV: 最大日付の時間の特性. . . . . . . . . . . . 18 5.2の.8。 CALDAV: 最大例の特性. . . . . . . . . . . . 19 5.2の.9。 CALDAV: 1例あたりの出席者に特性. . . . . . 19 5.2の.10に最大限にしてください。 PROPPATCH. . . . . . . . 20 5.3のための追加前提条件。 リソース. . . . . . . . . . . . . . . . . . . . 20 5.3.1を作成します。 MKCALENDAR方法. . . . . . . . . . . . . . . . . . 20 5.3.1.1。 状態コード. . . . . . . . . . . . . . . . . . . 22 5.3.1.2。 例: うまくいっているMKCALENDAR要求. . . . . . 23 5.3.2。 カレンダー物リソース. . . . . . . . . . 25 5.3.2の.1を作成します。 追加、あらかじめ調整する、.3に.265.3を置いて、コピーして、動かしてください。 標準的でないコンポーネント、特性、およびパラメタ. 28 5.3.4。 カレンダー物のリソース実体タグ. . . . . . . . . 28 6。 アクセス管理. . . . . . . . . . . . . . . . . . 29 6.1をCalendaringします。 特権. . . . . . . . . . . . . . . . . . 29 6.1.1をCalendaringします。 CALDAV:、読みなし、忙しさ、特権. . . . . . . . . . . 29 6.2 追加主要な特性. . . . . . . . . . . . . . 30 6.2の.1。 CALDAV: カレンダー家のセット所有地. . . . . . . . . . 30 7。 レポート. . . . . . . . . . . . . . . . . . . . . 31 7.1をCalendaringします。 方法. . . . . . . . . . . . . . . . . . . . . . 31 7.2を報告してください。 普通徴収. . . . . . . . . . . . . . . . . . . 31 7.3。 期日と浮いている時間. . . . . . . . . . . . . . . . . . 32 7.4。 時間範囲フィルタリング. . . . . . . . . . . . . . . . . . . 32 7.5。 探しているテキスト: 校合. . . . . . . . . . . . . . . . 33
Daboo, et al. Standards Track [Page 2] RFC 4791 CalDAV March 2007
Daboo、他 規格は2007年のCalDAV行進のときにRFC4791を追跡します[2ページ]。
7.5.1. CALDAV:supported-collation-set Property . . . . . . . 34 7.6. Partial Retrieval . . . . . . . . . . . . . . . . . . . . 34 7.7. Non-Standard Components, Properties, and Parameters . . . 35 7.8. CALDAV:calendar-query REPORT . . . . . . . . . . . . . . . 36 7.8.1. Example: Partial Retrieval of Events by Time Range . . 38 7.8.2. Example: Partial Retrieval of Recurring Events . . . . 42 7.8.3. Example: Expanded Retrieval of Recurring Events . . . 45 7.8.4. Example: Partial Retrieval of Stored Free Busy Components . . . . . . . . . . . . . . . . . . . . . . 48 7.8.5. Example: Retrieval of To-Dos by Alarm Time Range . . . 50 7.8.6. Example: Retrieval of Event by UID . . . . . . . . . . 51 7.8.7. Example: Retrieval of Events by PARTSTAT . . . . . . . 53 7.8.8. Example: Retrieval of Events Only . . . . . . . . . . 55 7.8.9. Example: Retrieval of All Pending To-Dos . . . . . . . 59 7.8.10. Example: Attempt to Query Unsupported Property . . . . 62 7.9. CALDAV:calendar-multiget REPORT . . . . . . . . . . . . . 63 7.9.1. Example: Successful CALDAV:calendar-multiget REPORT . 64 7.10. CALDAV:free-busy-query REPORT . . . . . . . . . . . . . . 66 7.10.1. Example: Successful CALDAV:free-busy-query REPORT . . 68 8. Guidelines . . . . . . . . . . . . . . . . . . . . . . . . . . 69 8.1. Client-to-Client Interoperability . . . . . . . . . . . . 69 8.2. Synchronization Operations . . . . . . . . . . . . . . . . 69 8.2.1. Use of Reports . . . . . . . . . . . . . . . . . . . . 69 8.2.1.1. Restrict the Time Range . . . . . . . . . . . . . 69 8.2.1.2. Synchronize by Time Range . . . . . . . . . . . . 70 8.2.1.3. Synchronization Process . . . . . . . . . . . . . 70 8.2.2. Restrict the Properties Returned . . . . . . . . . . . 72 8.3. Use of Locking . . . . . . . . . . . . . . . . . . . . . . 72 8.4. Finding Calendars . . . . . . . . . . . . . . . . . . . . 72 8.5. Storing and Using Attachments . . . . . . . . . . . . . . 74 8.5.1. Inline Attachments . . . . . . . . . . . . . . . . . . 74 8.5.2. External Attachments . . . . . . . . . . . . . . . . . 75 8.6. Storing and Using Alarms . . . . . . . . . . . . . . . . . 76 9. XML Element Definitions . . . . . . . . . . . . . . . . . . . 77 9.1. CALDAV:calendar XML Element . . . . . . . . . . . . . . . 77 9.2. CALDAV:mkcalendar XML Element . . . . . . . . . . . . . . 77 9.3. CALDAV:mkcalendar-response XML Element . . . . . . . . . . 78 9.4. CALDAV:supported-collation XML Element . . . . . . . . . . 78 9.5. CALDAV:calendar-query XML Element . . . . . . . . . . . . 78 9.6. CALDAV:calendar-data XML Element . . . . . . . . . . . . . 79 9.6.1. CALDAV:comp XML Element . . . . . . . . . . . . . . . 80 9.6.2. CALDAV:allcomp XML Element . . . . . . . . . . . . . . 81 9.6.3. CALDAV:allprop XML Element . . . . . . . . . . . . . . 81 9.6.4. CALDAV:prop XML Element . . . . . . . . . . . . . . . 82 9.6.5. CALDAV:expand XML Element . . . . . . . . . . . . . . 82 9.6.6. CALDAV:limit-recurrence-set XML Element . . . . . . . 83 9.6.7. CALDAV:limit-freebusy-set XML Element . . . . . . . . 84 9.7. CALDAV:filter XML Element . . . . . . . . . . . . . . . . 85
7.5.1. CALDAV: 支持された照合セット所有地. . . . . . . 34 7.6。 部分的な検索. . . . . . . . . . . . . . . . . . . . 34 7.7。 標準的でないコンポーネント、特性、およびパラメタ. . . 35 7.8。 CALDAV: レポートについてカレンダーで質問してください。.367.8 .1。 例: 時間範囲. . 38 7.8.2の出来事の部分的な検索。 例: 繰り返し起こる事柄. . . . 42 7.8.3の部分的な検索。 例: 繰り返し起こる事柄. . . 45 7.8.4の検索を広げました。 例: 格納された無料の忙しいコンポーネント. . . . . . . . . . . . . . . . . . . . . . 48 7.8.5の部分的な検索。 例: アラーム時間範囲. . . 50 7.8.6の大騒ぎの検索。 例: UID. . . . . . . . . . 51 7.8.7の出来事の検索。 例: PARTSTAT. . . . . . . 53 7.8.8の出来事の検索。 例: イベント唯一の. . . . . . . . . . 55 7.8.9の検索。 例: すべての未定の大騒ぎ. . . . . . . 59 7.8.10の検索。 例: サポートされない特性. . . . 62 7.9について質問するのを試みてください。 CALDAV: カレンダー-multigetレポート. . . . . . . . . . . . . 63 7.9.1。 例: うまくいっているCALDAV: カレンダー-multigetレポート. 64 7.10。 CALDAV: 忙しい照会報告書を解放してください。.66 7.10 .1。 例: うまくいっているCALDAV: 無料の忙しい照会報告書.688。 ガイドライン. . . . . . . . . . . . . . . . . . . . . . . . . . 69 8.1。 クライアントからクライアントへの相互運用性. . . . . . . . . . . . 69 8.2。 同期操作. . . . . . . . . . . . . . . . 69 8.2.1。 使用、.698.2に、.1に.1を報告します。 時間範囲. . . . . . . . . . . . . 69 8.2.1.2を制限してください。 時間範囲. . . . . . . . . . . . 70 8.2.1.3連動してください。 同期の過程. . . . . . . . . . . . . 70 8.2.2。 .728.3に返された資産を制限してください。 ロック. . . . . . . . . . . . . . . . . . . . . . 72 8.4の使用。 カレンダー. . . . . . . . . . . . . . . . . . . . 72 8.5を見つけます。 付属. . . . . . . . . . . . . . 74 8.5.1を格納して、使用します。 インライン付属. . . . . . . . . . . . . . . . . . 74 8.5.2。 外部の付属. . . . . . . . . . . . . . . . . 75 8.6。 アラーム. . . . . . . . . . . . . . . . . 76 9を格納して、使用します。 XML要素定義. . . . . . . . . . . . . . . . . . . 77 9.1。 CALDAV: カレンダーXML要素. . . . . . . . . . . . . . . 77 9.2。 CALDAV: mkcalendar XML要素. . . . . . . . . . . . . . 77 9.3。 CALDAV: mkcalendar-応答XML要素. . . . . . . . . . 78 9.4。 CALDAV: 支持された照合XML要素. . . . . . . . . . 78 9.5。 CALDAV: カレンダー質問XML要素. . . . . . . . . . . . 78 9.6。 CALDAV: カレンダーデータXML要素. . . . . . . . . . . . . 79 9.6.1。 CALDAV: コンピュータXML要素. . . . . . . . . . . . . . . 80 9.6.2。 CALDAV: allcomp XML要素. . . . . . . . . . . . . . 81 9.6.3。 CALDAV: allprop XML要素. . . . . . . . . . . . . . 81 9.6.4。 CALDAV: XML要素. . . . . . . . . . . . . . . 82 9.6.5を支えてください。 CALDAV: XML要素. . . . . . . . . . . . . . 82 9.6.6を広げてください。 CALDAV: 限界再発セットXML要素. . . . . . . 83 9.6.7。 CALDAV: 限界freebusyセットXML要素. . . . . . . . 84 9.7。 CALDAV: フィルタXML要素. . . . . . . . . . . . . . . . 85
Daboo, et al. Standards Track [Page 3] RFC 4791 CalDAV March 2007
Daboo、他 規格は2007年のCalDAV行進のときにRFC4791を追跡します[3ページ]。
9.7.1. CALDAV:comp-filter XML Element . . . . . . . . . . . . 85 9.7.2. CALDAV:prop-filter XML Element . . . . . . . . . . . . 86 9.7.3. CALDAV:param-filter XML Element . . . . . . . . . . . 87 9.7.4. CALDAV:is-not-defined XML Element . . . . . . . . . . 88 9.7.5. CALDAV:text-match XML Element . . . . . . . . . . . . 88 9.8. CALDAV:timezone XML Element . . . . . . . . . . . . . . . 89 9.9. CALDAV:time-range XML Element . . . . . . . . . . . . . . 90 9.10. CALDAV:calendar-multiget XML Element . . . . . . . . . . . 94 9.11. CALDAV:free-busy-query XML Element . . . . . . . . . . . . 95 10. Internationalization Considerations . . . . . . . . . . . . . 95 11. Security Considerations . . . . . . . . . . . . . . . . . . . 95 12. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 96 12.1. Namespace Registration . . . . . . . . . . . . . . . . . . 96 13. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . 96 14. References . . . . . . . . . . . . . . . . . . . . . . . . . . 97 14.1. Normative References . . . . . . . . . . . . . . . . . . . 97 14.2. Informative References . . . . . . . . . . . . . . . . . . 98 Appendix A. CalDAV Method Privilege Table (Normative) . . . . . . 99 Appendix B. Calendar Collections Used in the Examples . . . . . . 99
9.7.1. CALDAV: コンピュータフィルタXML要素. . . . . . . . . . . . 85 9.7.2。 CALDAV: 支柱フィルタXML要素. . . . . . . . . . . . 86 9.7.3。 CALDAV: param-フィルタXML要素. . . . . . . . . . . 87 9.7.4。 CALDAV:、定義されない、XML要素. . . . . . . . . . 88 9.7.5 CALDAV: XML要素. . . . . . . . . . . . 88 9.8をテキストで合わせてください。 CALDAV: タイムゾーンXML要素. . . . . . . . . . . . . . . 89 9.9。 CALDAV: 時間範囲XML要素. . . . . . . . . . . . . . 90 9.10。 CALDAV: カレンダー-multiget XML要素. . . . . . . . . . . 94 9.11。 CALDAV: 無料の忙しい質問XML要素. . . . . . . . . . . . 95 10。 国際化問題. . . . . . . . . . . . . 95 11。 セキュリティ問題. . . . . . . . . . . . . . . . . . . 95 12。 IANA問題. . . . . . . . . . . . . . . . . . . . . 96 12.1。 名前空間登録. . . . . . . . . . . . . . . . . . 96 13。 承認. . . . . . . . . . . . . . . . . . . . . . . 96 14。 参照. . . . . . . . . . . . . . . . . . . . . . . . . . 97 14.1。 引用規格. . . . . . . . . . . . . . . . . . . 97 14.2。 例. . . . . . 99で使用される.99の有益な参照. . . . . . . . . . . . . . . . . . 98の付録A.CalDAV方法特権テーブル(標準の)付録B.カレンダー収集
Daboo, et al. Standards Track [Page 4] RFC 4791 CalDAV March 2007
Daboo、他 規格は2007年のCalDAV行進のときにRFC4791を追跡します[4ページ]。
1. Introduction
1. 序論
The concept of using HTTP [RFC2616] and WebDAV [RFC2518] as a basis for a calendar access protocol 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 calendar access protocols using HTTP to upload and download iCalendar [RFC2445] objects, and using WebDAV 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, as well as how to implement required features that aren't already part of WebDAV. This document proposes a way to model calendar data in WebDAV, with additional features to make an interoperable calendar access protocol.
カレンダーアクセス・プロトコルの基礎としてHTTP[RFC2616]とWebDAV[RFC2518]を使用する概念は決して新しい概念ではありません: 1997か1998年にはIETF CALSCHワーキンググループでもうそれについて議論しました。 数社は、iCalendar[RFC2445]物をアップロードして、ダウンロードするのにHTTPを使用して、リソースのリストを手に入れるのにWebDAVを使用することでカレンダーアクセス・プロトコルを実行しました。 しかしながら、作られているという多くの小さくて大きい決定があるので、それらの実現はWebDAVリソースとしてデータをcalendaringしながらどのようにモデル化するか、そして、どのように既にWebDAVの一部でない必要な特徴を実行するかで共同利用しません。 このドキュメントはWebDAVのカレンダーデータをモデル化する方法を提案します、共同利用できるカレンダーアクセス・プロトコルを作る追加特徴で。
1.1. Notational Conventions
1.1. 記号法のコンベンション
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in [RFC2119].
キーワード“MUST"、「必須NOT」が「必要です」、“SHALL"、「」、“SHOULD"、「「推薦され」て、「5月」の、そして、「任意」のNOTは[RFC2119]で説明されるように本書では解釈されることであるべきですか?
The term "protected" is used in the Conformance field of property definitions as defined in Section 1.4.2 of [RFC3253].
「保護」という用語は.2セクション1.4[RFC3253]で定義されるように特性の定義のConformance分野で使用されます。
When XML element types in the namespaces "DAV:" and "urn:ietf:params:xml:ns:caldav" are referenced in this document outside of the context of an XML fragment, the string "DAV:" and "CALDAV:" will be prefixed to the element type names, respectively.
XML要素が名前空間をタイプする、「DAV:」 そして、「つぼ:ietf:params:xml:ナノ秒: caldav」が本書ではXML断片、ストリングの文脈の外で参照をつけられる、「DAV:」 そして、「CALDAV:」 タイプがそれぞれ命名する要素へ前に置かれるでしょう。
1.2. XML Namespaces and Processing
1.2. XML名前空間と処理
Definitions of XML elements in this document use XML element type declarations (as found in XML Document Type Declarations), described in Section 3.2 of [W3C.REC-xml-20060816].
XML要素の定義は本書では[W3C. REC-xml-20060816]のセクション3.2で説明されたXML要素型の宣言(XML Document Type Declarationsで見つけられるように)を使用します。
The namespace "urn:ietf:params:xml:ns:caldav" is reserved for the XML elements defined in this specification, its revisions, and related CalDAV specifications. XML elements defined by individual implementations MUST NOT use the "urn:ietf:params:xml:ns:caldav" namespace, and instead should use a namespace that they control.
名前空間「つぼ:ietf:params:xml:ナノ秒: caldav」はこの仕様、改正、および関連するCalDAV仕様に基づき定義されたXML要素のために予約されます。 個々の実現で定義されたXML要素は、「つぼ:ietf:params:xml:ナノ秒: caldav」名前空間を使用してはいけなくて、代わりに、それらが制御する名前空間を使用するはずです。
The XML declarations used in this document do not include namespace information. Thus, implementers must not use these declarations as the only way to create valid CalDAV properties or to validate CalDAV XML element types. Some of the declarations refer to XML elements defined by WebDAV [RFC2518], which use the "DAV:" namespace. Wherever such XML elements appear, they are explicitly prefixed with "DAV:" to avoid confusion.
本書では使用されるXML宣言は名前空間情報を含んでいません。 したがって、implementersは有効なCalDAVの特性を作成するか、またはCalDAV XML要素型を有効にする唯一の方法としてこれらの宣言を使用してはいけません。 宣言のいくつかがWebDAV[RFC2518]、どの使用で定義されたXML要素を示す、「DAV:」 名前空間。 どこでそのようなXML要素が現れて、それらが明らかに前に置かれても「DAV:」 混乱を避けるために。
Daboo, et al. Standards Track [Page 5] RFC 4791 CalDAV March 2007
Daboo、他 規格は2007年のCalDAV行進のときにRFC4791を追跡します[5ページ]。
Also note that some CalDAV XML element names are identical to WebDAV XML element names, though their namespace differs. Care must be taken not to confuse the two sets of names.
また、それらの名前空間は異なりますが、いくつかのCalDAV XML要素名がWebDAV XML要素名と同じであることに注意してください。 2セットの名前を混乱させないように注意しなければなりません。
Processing of XML by CalDAV clients and servers MUST follow the rules described in [RFC2518]; in particular, Section 14, and Appendix 3 of that specification.
CalDAVクライアントとサーバによるXMLの処理は[RFC2518]で説明された規則に従わなければなりません。 特にセクション14、およびその仕様のAppendix3。
1.3. Method Preconditions and Postconditions
1.3. 方法前提条件とPostconditions
A "precondition" of a method describes the state of the server that must be true for that method to be performed. A "postcondition" of a method describes the state of the server that must be true after that method has been completed. If a method precondition or postcondition for a request is not satisfied, the response status of the request MUST either be 403 (Forbidden), if the request should not be repeated because it will always fail, or 409 (Conflict), if it is expected that the user might be able to resolve the conflict and resubmit the request.
方法の「前提条件」はその実行されるべき方法に、正しいに違いないサーバの事情について説明します。 方法の"postcondition"はその方法が完成した後に正しいに違いないサーバの事情について説明します。 要求のための方法前提条件かpostconditionが満たされていないなら、要求の応答状態は403であるに違いありません(禁じられる)、いつも失敗するので要求を繰り返さないなら、409は(闘争)です、ユーザが対立を解決して、要求を再提出できるかもしれないと予想されるなら。
In order to allow better client handling of 403 and 409 responses, a distinct XML element type is associated with each method precondition and postcondition of a request. When a particular precondition is not satisfied or a particular postcondition cannot be achieved, the appropriate XML element MUST be returned as the child of a top-level DAV:error element in the response body, unless otherwise negotiated by the request.
403と409の、より良いクライアント取り扱いに応答、異なったXMLを許容するために、要素型は要求のそれぞれの方法前提条件とpostconditionに関連しています。 特定の前提条件を満たさないことができないか、特定のpostconditionを達成できないとき、トップレベルDAV: 誤り要素の子供として応答本体で適切なXML要素を返さなければなりません、別の方法で要求で交渉されない場合。
2. Requirements Overview
2. 要件概観
This section lists what functionality is required of a CalDAV server. To advertise support for CalDAV, a server:
このセクションは、機能性がCalDAVサーバが要求されたものであると記載します。広告を出すために、CalDAV、サーバのために以下を支持してください。
o MUST support iCalendar [RFC2445] as a media type for the calendar object resource format;
o カレンダー物のリソース形式のためのメディアタイプとしてiCalendar[RFC2445]を支持しなければなりません。
o MUST support WebDAV Class 1 [RFC2518] (note that [rfc2518bis] describes clarifications to [RFC2518] that aid interoperability);
o WebDAV Class1[RFC2518]([rfc2518bis]がその[RFC2518]援助相互運用性に明確化について説明することに注意する)を支持しなければなりません。
o MUST support WebDAV ACL [RFC3744] with the additional privilege defined in Section 6.1 of this document;
o 追加特権がこのドキュメントのセクション6.1で定義されている状態で、WebDAV ACL[RFC3744]を支持しなければなりません。
o MUST support transport over TLS [RFC2246] as defined in [RFC2818] (note that [RFC2246] has been obsoleted by [RFC4346]);
o [RFC2818]([RFC2246]が[RFC4346]によって時代遅れにされたことに注意する)で定義されるようにTLS[RFC2246]の上の輸送を支持しなければなりません。
o MUST support ETags [RFC2616] with additional requirements specified in Section 5.3.4 of this document;
o 追加要件がこの.4通のセクション5.3ドキュメントで指定されている状態で、ETags[RFC2616]を支持しなければなりません。
Daboo, et al. Standards Track [Page 6] RFC 4791 CalDAV March 2007
Daboo、他 規格は2007年のCalDAV行進のときにRFC4791を追跡します[6ページ]。
o MUST support all calendaring reports defined in Section 7 of this document; and
o レポートがこのドキュメントのセクション7で定義したすべてのcalendaringを支持しなければなりません。 そして
o MUST advertise support on all calendar collections and calendar object resources for the calendaring reports in the DAV:supported- report-set property, as defined in Versioning Extensions to WebDAV [RFC3253].
o Versioning ExtensionsでWebDAV[RFC3253]と定義されるようにDAV: 支持されたレポートセット所有地でのcalendaringレポートのためのすべてのカレンダー収集とカレンダー物のリソースにサポートの広告を出さなければなりません。
In addition, a server:
添加、サーバで:
o SHOULD support the MKCALENDAR method defined in Section 5.3.1 of this document.
o SHOULDはこの.1通のセクション5.3ドキュメントで定義されたMKCALENDAR方法を支持します。
3. Calendaring Data Model
3. Calendaringデータモデル
One of the features that has made WebDAV a successful protocol is its firm data model. This makes it a useful framework for other applications such as calendaring. This specification follows the same pattern by developing all features based on a well-described data model.
WebDAVをうまくいっているプロトコルにした特徴の1つは堅いデータモデルです。 これはそれをcalendaringなどの他のアプリケーションのための役に立つ枠組みにします。 よく説明されたデータモデルに基づくすべての特徴を発生することによって、この仕様は同じパターンに従います。
As a brief overview, a CalDAV calendar is modeled as a WebDAV collection with a defined structure; each calendar collection contains a number of resources representing calendar objects as its direct child resource. Each resource representing a calendar object (event, to-do, journal entry, or other calendar components) is called a "calendar object resource". Each calendar object resource and each calendar collection can be individually locked and have individual WebDAV properties. Requirements derived from this model are provided in Section 4.1 and Section 4.2.
簡潔な概観として、CalDAVカレンダーは定義された構造によるWebDAV収集としてモデル化されます。 それぞれのカレンダー収集はダイレクト子供リソースとしてカレンダー物を表す多くのリソースを含んでいます。 カレンダー物(出来事、大騒ぎ、仕訳記入、または他のカレンダーコンポーネント)を表す各リソースは「カレンダー物のリソース」と呼ばれます。 それぞれのカレンダー物のリソースとそれぞれのカレンダー収集は、個別にロックされて、個々のWebDAVの特性を持つことができます。 このモデルから得られた要件をセクション4.1とセクション4.2に提供します。
3.1. Calendar Server
3.1. カレンダーサーバ
A CalDAV 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://www.example.com/webdav/" may contain WebDAV collections and resources, all of which have URLs beginning with "http://www.example.com/webdav/". Note that the root URL, "http://www.example.com/", may not itself be a WebDAV repository (for example, if the WebDAV support is implemented through a servlet or other Web server extension).
CalDAVサーバはWebDAV倉庫に結合されたcalendaring意識しているエンジンです。 WebDAV倉庫は統一されたURL名前空間の中に他のWebDAVリソースを含む1セットのWebDAV収集です。 例えば、倉庫" http://www.example.com/webdav/ "はWebDAV収集とリソースを含むかもしれません。そのすべてが" http://www.example.com/webdav/ "でURLを始まらせます。 それ自体ではなく、根のURL、" http://www.example.com/ "、5月がWebDAV倉庫であることに注意してください(WebDAVサポートが例えばサーブレットか他のウェブサーバー拡大で実行されるなら)。
A WebDAV repository MAY include calendar data in some parts of its URL namespace, and non-calendaring data in other parts.
WebDAV倉庫はURL名前空間のいくつかの部分、および他の部品の非calendaringデータにカレンダーデータを含むかもしれません。
A WebDAV repository can advertise itself as a CalDAV server if it supports the functionality defined in this specification at any point
任意な点でこの仕様に基づき定義された機能性を支持するなら、WebDAV倉庫はCalDAVサーバとして自分を売り込むことができます。
Daboo, et al. Standards Track [Page 7] RFC 4791 CalDAV March 2007
Daboo、他 規格は2007年のCalDAV行進のときにRFC4791を追跡します[7ページ]。
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 /home/lisa/calendars/ as well as in /home/bernard/calendars/, and non-calendar data in /home/lisa/contacts/). Or, it might mean that calendar data can be found only in certain sections of the repository (e.g., /calendar/). Calendaring features are only required in the repository sections that are or contain calendar object resources. Therefore, a repository confining calendar data to the /calendar/ collection would only need to support the CalDAV required features within that collection.
倉庫の根の中で。 それは、データをcalendaringするのが近い収集で倉庫中で広げられて、非カレンダーデータに混ぜられることを意味するかもしれません(例えばカレンダーデータは/home/lisa/calendars/、/home/bernard/calendars/、および/home/lisa/contacts/の非カレンダーデータで見つけられるかもしれません)。 または、それは、単に倉庫(e.g., /calendar/)のある一定のセクションでカレンダーデータを見つけることができることを意味するかもしれません。 Calendaringの特徴は、倉庫部分で必要であるだけである、またはカレンダー物のリソースを含んでいます。 したがって、カレンダーデータを/calendar/収集に制限するとCalDAVを支持するために必要とするだけである倉庫はその収集の中で特徴を必要としました。
The CalDAV server or repository is the canonical location for calendar data and state information. Clients may submit requests to change data or download data. Clients may store calendar objects offline and attempt to synchronize at a later time. However, clients MUST be prepared for calendar data on the server to change between the time of last synchronization and when attempting an update, as calendar collections may be shared and accessible via multiple clients. Entity tags and other features make this possible.
CalDAVサーバか倉庫がカレンダーデータと州の情報のための正準な位置です。 クライアントはデータを変えるか、またはデータをダウンロードするという要求を提出するかもしれません。 クライアントは、カレンダー物をオフラインで格納して、後で連動するのを試みるかもしれません。 しかしながら、クライアントは最後の同期の時間、アップデートを試みる時変化するサーバに関するカレンダーデータのために用意ができていなければなりません、カレンダー収集が複数のクライアントを通して共有されていて理解できるとき。 実体タグと他の特徴で、これは可能になります。
3.2. Recurrence and the Data Model
3.2. 再発とデータモデル
Recurrence is an important part of the data model because it governs how many resources are expected to exist. This specification models a recurring calendar component and its recurrence exceptions as a single resource. In this model, recurrence rules, recurrence dates, exception rules, and exception dates are all part of the data in a single calendar object resource. This model avoids problems of limiting how many recurrence instances to store in the repository, how to keep recurrence instances in sync with the recurring calendar component, and how to link recurrence exceptions with the recurring calendar component. It also results in less data to synchronize between client and server, and makes it easier to make changes to all recurrence instances or to a recurrence rule. It makes it easier to create a recurring calendar component and to delete all recurrence instances.
いくつのリソースが存在すると予想されるかを治めるので、再発はデータモデルの重要な部分です。 この仕様はただ一つのリソースとして再発カレンダーコンポーネントとその再発例外をモデル化します。 このモデルでは、再発規則、再発日付、例外の原則、および例外日付はすべてただ一つのカレンダー物のリソースのデータの一部です。 このモデルは倉庫にいくつの再発例を格納するか、そして、再発カレンダーコンポーネントでどう同時性における再発例を保つか、そして、どう再発カレンダーコンポーネントに再発例外をリンクするかを制限するという問題を避けます。 それで、また、クライアントとサーバの間で同期させるより少ないデータをもたらして、すべての再発例、または、再発規則への変更を行うのは、より簡単になります。 それで、再発カレンダーコンポーネントを作成して、すべての再発例を削除するのは、より簡単になります。
Clients are not forced to retrieve information about all recurrence instances of a recurring component. The CALDAV:calendar-query and CALDAV:calendar-multiget reports defined in this document allow clients to retrieve only recurrence instances that overlap a given time range.
クライアントはやむを得ず再発コンポーネントのすべての再発例の情報を検索しません。 CALDAV: カレンダー質問とCALDAV: 本書では定義されたカレンダー-multigetレポートで、クライアントは与えられた時間範囲を重ね合わせる再発例しか検索できません。
Daboo, et al. Standards Track [Page 8] RFC 4791 CalDAV March 2007
Daboo、他 規格は2007年のCalDAV行進のときにRFC4791を追跡します[8ページ]。
4. Calendar Resources
4. カレンダーリソース
4.1. Calendar Object Resources
4.1. カレンダー物のリソース
Calendar object resources contained in calendar collections MUST NOT contain more than one type of calendar component (e.g., VEVENT, VTODO, VJOURNAL, VFREEBUSY, etc.) with the exception of VTIMEZONE components, which MUST be specified for each unique TZID parameter value specified in the iCalendar object. For instance, a calendar object resource can contain one VEVENT component and one VTIMEZONE component, but it cannot contain one VEVENT component and one VTODO component. Instead, the VEVENT and VTODO components would have to be stored in separate calendar object resources in the same collection.
VTIMEZONEの部品以外に、カレンダー収集に含まれたカレンダー物のリソースは1つ以上のタイプのカレンダー成分(例えば、VEVENT、VTODO、VJOURNAL、VFREEBUSYなど)を含んではいけません。(iCalendar物で指定されたそれぞれのユニークなTZIDパラメタ価値に部品を指定しなければなりません)。 例えば、カレンダー物のリソースは1つのVEVENTの部品と1つのVTIMEZONEの部品を含むことができますが、それは1つのVEVENTの部品と1つのVTODOの部品を含むことができません。 代わりに、VEVENTとVTODOの部品は同じ収集に別々のカレンダー物のリソースに格納されなければならないでしょう。
Calendar object resources contained in calendar collections MUST NOT specify the iCalendar METHOD property.
カレンダー収集に含まれたカレンダー物のリソースはiCalendar METHODの特性を指定してはいけません。
The UID property value of the calendar components contained in a calendar object resource MUST be unique in the scope of the calendar collection in which they are stored.
カレンダー物のリソースに含まれたカレンダーコンポーネントのUID資産価値はそれらが格納されるカレンダー収集の範囲でユニークであるに違いありません。
Calendar components in a calendar collection that have different UID property values MUST be stored in separate calendar object resources.
別々のカレンダー物のリソースにカレンダー収集における異なったUID特性の値を持っているカレンダーコンポーネントを格納しなければなりません。
Calendar components with the same UID property value, in a given calendar collection, MUST be contained in the same calendar object resource. This ensures that all components in a recurrence "set" are contained in the same calendar object resource. It is possible for a calendar object resource to just contain components that represent "overridden" instances (ones that modify the behavior of a regular instance, and thus include a RECURRENCE-ID property) without also including the "master" recurring component (the one that defines the recurrence "set" and does not contain any RECURRENCE-ID property).
与えられたカレンダー収集では、同じカレンダー物のリソースに同じUID資産価値があるカレンダーコンポーネントを含まなければなりません。 これは、再発「セット」におけるすべてのコンポーネントが同じカレンダー物のリソースに含まれているのを確実にします。 カレンダー物のリソースがただまた、「マスター」再発コンポーネントを含んでいなくて「くつがえされた」例(通常の例の振舞いを変更して、その結果RECURRENCE-IDの特性を含んでいるもの)を表すコンポーネントを含むのは、可能です(再発を定義するものは、「セットし」て、少しのRECURRENCE-IDの特性も含んでいません)。
Daboo, et al. Standards Track [Page 9] RFC 4791 CalDAV March 2007
Daboo、他 規格は2007年のCalDAV行進のときにRFC4791を追跡します[9ページ]。
For example, given the following iCalendar object:
例えば、以下を考えて、iCalendarは反対します:
BEGIN:VCALENDAR PRODID:-//Example Corp.//CalDAV Client//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 SUMMARY:Weekly Meeting RECURRENCE-ID:20041213T120000Z DTSTAMP:20041210T183838Z DTSTART:20041213T130000Z DTEND:20041213T140000Z END:VEVENT END:VCALENDAR
: VCALENDAR PRODIDを始めてください: -//例の社の//CalDAVクライアント//アンバージョン: 2.0は始まります: VEVENT UID: 1@example.com 概要: 一回限りのミーティングDTSTAMP: 20041210T183904Z DTSTART:20041207T120000Z DTEND:20041207T130000Zは終わります: VEVENTは始まります: VEVENT UID: 2@example com SUMMARY: 毎週のMeeting DTSTAMP: 20041210T183838Z DTSTART:20041206T120000Z DTEND:20041206T130000Z RRULE:FREQ=WEEKLY END:VEVENT BEGIN:VEVENT UID: 2@example.com SUMMARY: 毎週のMeeting RECURRENCE-ID: 20041213T120000Z DTSTAMP:20041210T183838Z DTSTART:20041213T130000Z DTEND:20041213T140000Z END:VEVENT END: VCALENDAR
The VEVENT component with the UID value "1@example.com" would be stored in its own calendar object resource. The two VEVENT components with the UID value "2@example.com", which represent a recurring event where one recurrence instance has been overridden, would be stored in the same calendar object resource.
UID値の" 1@example.com "があるVEVENTの部品はそれ自身のカレンダー物のリソースに格納されるでしょう。 UID値の" 2@example.com "がある2つのVEVENTの部品(1つの再発例がくつがえされたところに繰り返し起こる事柄を表す)が同じカレンダー物のリソースに格納されるでしょう。
4.2. Calendar Collection
4.2. カレンダー収集
A calendar collection contains calendar object resources that represent calendar components within a calendar. A calendar collection is manifested to clients as a WebDAV resource collection identified by a URL. A calendar collection MUST report the DAV: collection and CALDAV:calendar XML elements in the value of the DAV: resourcetype property. The element type declaration for CALDAV: calendar is:
カレンダー収集はカレンダーの中にカレンダーコンポーネントを表すカレンダー物のリソースを含んでいます。 WebDAVリソース収集がURLで特定したようにカレンダー収集はクライアントに表されます。 カレンダー収集はDAVを報告しなければなりません: 収集とCALDAV: DAVの値におけるカレンダーXML要素: resourcetypeの特性。 CALDAVのための要素型宣言: カレンダーは以下の通りです。
<!ELEMENT calendar EMPTY>
<!ELEMENTカレンダーEMPTY>。
Daboo, et al. Standards Track [Page 10] RFC 4791 CalDAV March 2007
Daboo、他 規格は2007年のCalDAV行進のときにRFC4791を追跡します[10ページ]。
A calendar collection can be created through provisioning (i.e., automatically created when a user's account is provisioned), or it can be created with the MKCALENDAR method (see Section 5.3.1). This method can be useful for a user to create additional calendars (e.g., soccer schedule) or for users to share a calendar (e.g., team events or conference rooms). However, note that this document doesn't define the purpose of extra calendar collections. Users must rely on non-standard cues to find out what a calendar collection is for, or use the CALDAV:calendar-description property defined in Section 5.2.1 to provide such a cue.
食糧を供給すること(ユーザのアカウントが食糧を供給されるとき、すなわち、自動的に作成される)でカレンダー収集を作成できますか、またはMKCALENDAR方法でそれを作成できます(セクション5.3.1を見てください)。 ユーザが追加カレンダー(例えば、サッカースケジュール)を作成するか、またはユーザがカレンダー(例えば、団体競技か会議室)を共有するように、この方法は役に立つ場合があります。 しかしながら、このドキュメントが余分なカレンダー収集の目的を定義しないことに注意してください。 ユーザは、そのような手がかりを提供するのにセクション5.2.1にカレンダー収集が何であるかを見つけるか、またはCALDAV: 特性が定義したカレンダー記述を使用するために標準的でない手がかりを当てにしなければなりません。
The following restrictions are applied to the resources within a calendar collection:
以下の制限はカレンダー収集の中のリソースに適用されます:
a. Calendar collections MUST only contain calendar object resources and collections that are not calendar collections, i.e., the only "top-level" non-collection resources allowed in a calendar collection are calendar object resources. This ensures that calendar clients do not have to deal with non-calendar data in a calendar collection, though they do have to distinguish between calendar object resources and collections when using standard WebDAV techniques to examine the contents of a collection.
a。 カレンダー収集はカレンダーオブジェクトリソースとカレンダー収集でない収集を含むだけでよいです、すなわち、カレンダー収集に許容された唯一の「トップレベル」非収集リソースがカレンダーオブジェクトリソースです。 これは、カレンダークライアントがカレンダー収集における非カレンダーデータに対処する必要はないのを確実にします、収集のコンテンツを調べるのに標準のWebDAVのテクニックを使用するとき、彼らがカレンダーオブジェクトリソースと収集を見分けなければなりませんが。
b. Collections contained in calendar collections MUST NOT contain calendar collections at any depth, i.e., "nesting" of calendar collections within other calendar collections at any depth is not allowed. This specification does not define how collections contained in a calendar collection are used or how they relate to any calendar object resources contained in the calendar collection.
b。 カレンダー収集に含まれた収集はどんな深さでのカレンダー収集も含んではいけません、すなわち、他のカレンダー収集の中のどんな深さでのカレンダー収集の「巣篭もり」も許容されていません。 この仕様は、カレンダー収集に含まれた収集がどのように使用されているか、そして、またはそれらがどのように何かカレンダー収集に含まれたカレンダーオブジェクトリソースに関連するかを定義しません。
Multiple calendar collections MAY be children of the same collection.
複数のカレンダー収集が同じ収集の子供であるかもしれません。
5. Calendar Access Feature
5. カレンダーアクセス機能
5.1. Calendar Access Support
5.1. カレンダーアクセスサポート
A server supporting the features described in this document 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, method, or privilege. A value of "calendar- access" in the DAV response header MUST indicate that the server supports all MUST level requirements specified in this document.
本書では説明された特徴をサポートするサーバはDAV応答ヘッダの分野としてどんなカレンダーの特性、レポート、メソッドもサポートするどんなリソース、または特権に関するOPTIONS要求からも「カレンダーアクセス」を含まなければなりません。 DAV応答ヘッダの「カレンダーアクセス」の値は、サポートがすべてそうしなければならないサーバが本書では指定された要件を平らにするのを示さなければなりません。
Daboo, et al. Standards Track [Page 11] RFC 4791 CalDAV March 2007
Daboo、他 規格は2007年のCalDAV行進のときにRFC4791を追跡します[11ページ]。
5.1.1. Example: Using OPTIONS for the Discovery of Calendar Access Support
5.1.1. 例: カレンダーアクセスサポートの発見にオプションを使用します。
>> Request <<
>>要求<<。
OPTIONS /home/bernard/calendars/ HTTP/1.1 Host: cal.example.com
オプション/home/bernard/calendars/ HTTP/1.1は以下を接待します。 cal.example.com
>> Response <<
>>応答<<。
HTTP/1.1 200 OK Allow: OPTIONS, GET, HEAD, POST, PUT, DELETE, TRACE, COPY, MOVE Allow: PROPFIND, PROPPATCH, LOCK, UNLOCK, REPORT, ACL DAV: 1, 2, access-control, calendar-access Date: Sat, 11 Nov 2006 09:32:12 GMT Content-Length: 0
HTTP/1.1 200OKは以下を許容します。 オプション、得てください、ヘッド、置かれたポストが削除する、跡、コピー、移動は以下を許容します。 ACL DAV、PROPFIND(PROPPATCH、錠)はアンロックして、報告してください: 1、2(アクセスコントロール)は日付:にカレンダーでアクセスします。 グリニッジ標準時2006年11月11日土曜日9時32分12秒のコンテンツの長さ: 0
In this example, the OPTIONS method returns the value "calendar- access" in the DAV response header to indicate that the collection "/home/bernard/calendars/" supports the properties, reports, method, or privilege defined in this specification.
この例では、OPTIONSメソッドは、収集"/home/bernard/calendars/"がこの仕様に基づき定義された特性、レポート、メソッド、または特権を支えるのを示すためにDAV応答ヘッダの「カレンダーアクセス」を値に返します。
5.2. Calendar Collection Properties
5.2. カレンダー収集の特性
This section defines properties for calendar collections.
このセクションはカレンダー収集のために特性を定義します。
5.2.1. CALDAV:calendar-description Property
5.2.1. CALDAV: カレンダー記述の特性
Name: calendar-description
以下を命名してください。 カレンダー記述
Namespace: urn:ietf:params:xml:ns:caldav
名前空間: つぼ:ietf:params:xml:ナノ秒: caldav
Purpose: Provides a human-readable description of the calendar collection.
目的: カレンダー収集の人間読み込み可能な記述を提供します。
Conformance: This property MAY be defined on any calendar collection. If defined, it MAY be protected and SHOULD NOT be returned by a PROPFIND DAV:allprop request (as defined in Section 12.14.1 of [RFC2518]). An xml:lang attribute indicating the human language of the description SHOULD be set for this property by clients or through server provisioning. Servers MUST return any xml:lang attribute if set for the property.
順応: この特性はどんなカレンダー収集のときにも定義されるかもしれません。 定義されていて、それが保護されるかもしれないか、そして、SHOULD NOT、PROPFIND DAVによって返されてください: allprop要求(.1セクション12.14[RFC2518]で定義されるように)。 xml: 記述SHOULDの人間の言語があるのを示すlang属性はこの特性のためにクライアントかサーバの食糧を供給することを通してセットしました。 特性に設定されるなら、サーバはどんなxmlも: lang属性を返さなければなりません。
Description: If present, the property contains a description of the calendar collection that is suitable for presentation to a user. If not present, the client should assume no description for the calendar collection.
記述: 存在しているなら、特性はユーザにとって、プレゼンテーションに適したカレンダー収集の記述を含んでいます。 プレゼントでないなら、クライアントはカレンダー収集のための記述を全く仮定するべきではありません。
Daboo, et al. Standards Track [Page 12] RFC 4791 CalDAV March 2007
Daboo、他 規格は2007年のCalDAV行進のときにRFC4791を追跡します[12ページ]。
Definition:
定義:
<!ELEMENT calendar-description (#PCDATA)> PCDATA value: string
<!ELEMENTカレンダー記述(#PCDATA)>PCDATA価値: ストリング
Example:
例:
<C:calendar-description xml:lang="fr-CA" xmlns:C="urn:ietf:params:xml:ns:caldav" >Calendrier de Mathilde Desruisseaux</C:calendar-description>
<C: 「fr-カリフォルニア」カレンダー記述xml: lang=xmlns: C=「つぼ:ietf:params:xml:ナノ秒: caldav」>Calendrier deマチルドDesruisseaux</C: カレンダー記述>。
5.2.2. CALDAV:calendar-timezone Property
5.2.2. CALDAV: カレンダータイムゾーンの特性
Name: calendar-timezone
以下を命名してください。 カレンダータイムゾーン
Namespace: urn:ietf:params:xml:ns:caldav
名前空間: つぼ:ietf:params:xml:ナノ秒: caldav
Purpose: Specifies a time zone on a calendar collection.
目的: カレンダー収集のときに時間帯を指定します。
Conformance: This property SHOULD be defined on all calendar collections. If defined, it SHOULD NOT be returned by a PROPFIND DAV:allprop request (as defined in Section 12.14.1 of [RFC2518]).
順応: この特性のSHOULD、すべてのカレンダー収集のときに、定義されてください。 定義されるならそれ、SHOULD NOT、PROPFIND DAVによって返されてください: allprop要求(.1セクション12.14[RFC2518]で定義されるように)。
Description: The CALDAV:calendar-timezone property is used to specify the time zone the server should rely on to resolve "date" values and "date with local time" values (i.e., floating time) to "date with UTC time" values. The server will require this information to determine if a calendar component scheduled with "date" values or "date with local time" values overlaps a CALDAV: time-range specified in a CALDAV:calendar-query REPORT. The server will also require this information to compute the proper FREEBUSY time period as "date with UTC time" in the VFREEBUSY component returned in a response to a CALDAV:free-busy-query REPORT request that takes into account calendar components scheduled with "date" values or "date with local time" values. In the absence of this property, the server MAY rely on the time zone of their choice.
記述: CALDAV: カレンダータイムゾーンの特性は、サーバが「日付」値を決議するために当てにするべきである時間帯を指定して、(すなわち、浮いている時間)から「UTC時間がある日付」への値と値の「現地時間で、日付を入れること」に使用されます。 サーバは「日付」値か「現地時間がある日付」値で予定されていたカレンダーコンポーネントがCALDAVを重ね合わせるかどうか決定するためにこの情報を必要とするでしょう: 時間範囲はCALDAVで指定しました: カレンダー質問REPORT。 また、サーバはVFREEBUSYの部品における「UTC時間がある日付」がCALDAVへの応答で戻ったので適切なFREEBUSYの期間を計算するためにこの情報を必要とするでしょう: 無料の忙しい質問REPORTは、それが「日付」値か「現地時間がある日付」値で予定されていたカレンダーコンポーネントを考慮に入れるよう要求します。 この特性がないとき、サーバは彼らの選択の時間帯を当てにするかもしれません。
Note: The iCalendar data embedded within the CALDAV:calendar- timezone XML element MUST follow the standard XML character data encoding rules, including use of <, >, & etc. entity encoding or the use of a <![CDATA[ ... ]]> construct. In the later case, the iCalendar data cannot contain the character sequence "]]>", which is the end delimiter for the CDATA section.
以下に注意してください。 CALDAVの中で埋め込まれたiCalendarデータ: カレンダータイムゾーンXML要素は標準のXMLキャラクタデータ符号化規則に従わなければなりません、<[CDATA[…]]!>構造物の<の使用、>、&など実体コード化または使用を含んでいて。 「後の場合では、iCalendarデータはキャラクタシーケンスを含むことができない」、]、>、」、CDATA部への終わりのデリミタである。
Daboo, et al. Standards Track [Page 13] RFC 4791 CalDAV March 2007
Daboo、他 規格は2007年のCalDAV行進のときにRFC4791を追跡します[13ページ]。
Definition:
定義:
<!ELEMENT calendar-timezone (#PCDATA)> PCDATA value: an iCalendar object with exactly one VTIMEZONE component.
<!ELEMENTカレンダータイムゾーン(#PCDATA)>PCDATA価値: まさに1つのVTIMEZONEの部品があるiCalendarオブジェクト。
Example:
例:
<C:calendar-timezone xmlns:C="urn:ietf:params:xml:ns:caldav">BEGIN:VCALENDAR PRODID:-//Example Corp.//CalDAV Client//EN VERSION:2.0 BEGIN:VTIMEZONE TZID:US-Eastern LAST-MODIFIED:19870101T000000Z BEGIN:STANDARD DTSTART:19671029T020000 RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10 TZOFFSETFROM:-0400 TZOFFSETTO:-0500 TZNAME:Eastern Standard Time (US & Canada) END:STANDARD BEGIN:DAYLIGHT DTSTART:19870405T020000 RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4 TZOFFSETFROM:-0500 TZOFFSETTO:-0400 TZNAME:Eastern Daylight Time (US & Canada) END:DAYLIGHT END:VTIMEZONE END:VCALENDAR </C:calendar-timezone>
<C: カレンダータイムゾーンxmlns: Cが等しい、「つぼ:ietf:params:xml:ナノ秒: caldav、「>は: VCALENDAR PRODIDを始めます:、-、//例の社の//CalDAVクライアント//アンバージョン: 2」; 0 最後に変更されていた状態で: VTIMEZONE TZID: 米国-イースタンを始めてください: 19870101T000000Zは始まります: 始まってください: 日光DTSTART:19870405T020000 RRULE:FREQは年刊刊行物; BYDAY=1SU; BYMONTH=4 TZOFFSETFROM: -0500TZOFFSETTOと等しいです: 標準のDTSTART:19671029T020000 RRULE:FREQ=年刊刊行物; BYDAY=-1SU; BYMONTH=10 TZOFFSETFROM: -0400TZOFFSETTO: 米国東部標準時(米国&カナダ)の-0500TZNAMEは標準で以下を終わらせて、終わり: -0400TZNAME: 東部夏時間(米国&カナダ)終わり: 日光VTIMEZONEは: VCALENDAR</C: カレンダータイムゾーン>を終わらせます。
5.2.3. CALDAV:supported-calendar-component-set Property
5.2.3. CALDAV: サポートしているカレンダーコンポーネントセット所有地
Name: supported-calendar-component-set
以下を命名してください。 サポートしているカレンダーコンポーネントセット
Namespace: urn:ietf:params:xml:ns:caldav
名前空間: つぼ:ietf:params:xml:ナノ秒: caldav
Purpose: Specifies the calendar component types (e.g., VEVENT, VTODO, etc.) that calendar object resources can contain in the calendar collection.
目的: カレンダーオブジェクトリソースがカレンダー収集に含むことができるカレンダーコンポーネント型(例えば、VEVENT、VTODOなど)を指定します。
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 [RFC2518]).
順応: この特性はどんなカレンダー収集のときにも定義されるかもしれません。 定義されていて、それを保護しなければならないか、そして、SHOULD NOT、PROPFIND DAVによって返されてください: allprop要求(.1セクション12.14[RFC2518]で定義されるように)。
Daboo, et al. Standards Track [Page 14] RFC 4791 CalDAV March 2007
Daboo、他 規格は2007年のCalDAV行進のときにRFC4791を追跡します[14ページ]。
Description: The CALDAV:supported-calendar-component-set property is used to specify restrictions on the calendar component types that calendar object resources may contain in a calendar collection. Any attempt by the client to store calendar object resources with component types not listed in this property, if it exists, MUST result in an error, with the CALDAV:supported-calendar-component precondition (Section 5.3.2.1) being violated. Since this property is protected, it cannot be changed by clients using a PROPPATCH request. However, clients can initialize the value of this property when creating a new calendar collection with MKCALENDAR. The empty-element tag <C:comp name="VTIMEZONE"/> MUST only be specified if support for calendar object resources that only contain VTIMEZONE components is provided or desired. Support for VTIMEZONE components in calendar object resources that contain VEVENT or VTODO components is always assumed. In the absence of this property, the server MUST accept all component types, and the client can assume that all component types are accepted.
記述: CALDAV: サポートしているカレンダーコンポーネントセット所有地は、カレンダーオブジェクトリソースがカレンダー収集に含むかもしれないカレンダーコンポーネント型で制限を指定するのに使用されます。 存在しているなら、コンポーネント型がこの所有地に記載されていなくカレンダーオブジェクトリソースを保存するクライアントによるどんな試みも誤りをもたらさなければなりません、CALDAV: サポートしているカレンダーコンポーネント前提条件で(セクション5.3 .2 .1) 違反されること。 この特性が保護されるので、クライアントはPROPPATCH要求を使用することでそれを変えることができません。 しかしながら、MKCALENDARとの新暦収集を作成するとき、クライアントはこの属性の価値を初期化できます。 空要素タグ<C: VTIMEZONEの部品を含むだけであるカレンダーオブジェクトリソースのサポートを提供するか、または望んでいるなら、コンピュータ名=の"VTIMEZONE"/>を指定するだけでよいです。 VEVENTを含むカレンダーオブジェクトリソースかVTODOの部品におけるVTIMEZONEの部品のサポートはいつも想定されます。 この特性がないとき、サーバはすべてのコンポーネント型を受け入れなければなりません、そして、クライアントはすべてのコンポーネント型が受け入れられると仮定できます。
Definition:
定義:
<!ELEMENT supported-calendar-component-set (comp+)>
<!のELEMENTのサポートしているカレンダーコンポーネントのセット(コンピュータ+)>。
Example:
例:
<C:supported-calendar-component-set xmlns:C="urn:ietf:params:xml:ns:caldav"> <C:comp name="VEVENT"/> <C:comp name="VTODO"/> </C:supported-calendar-component-set>
<C: サポートしているカレンダーコンポーネントセットxmlns: Cが等しい、「つぼ:ietf:params:xml:ナノ秒: caldav「"VEVENT"/><C: コンピュータ名前="VTODO"/></C: ><C: コンピュータ名=のサポートしているカレンダーコンポーネントに設定された>」
5.2.4. CALDAV:supported-calendar-data Property
5.2.4. CALDAV: サポートしているカレンダーデータの特性
Name: supported-calendar-data
以下を命名してください。 サポートしているカレンダーデータ
Namespace: urn:ietf:params:xml:ns:caldav
名前空間: つぼ:ietf:params:xml:ナノ秒: caldav
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 [RFC2518]).
順応: この特性はどんなカレンダー収集のときにも定義されるかもしれません。 定義されていて、それを保護しなければならないか、そして、SHOULD NOT、PROPFIND DAVによって返されてください: allprop要求(.1セクション12.14[RFC2518]で定義されるように)。
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
記述: CALDAV: サポートしているカレンダーデータの特性は、タイプが与えられたカレンダー収集(例えば、iCalendarバージョン2.0)に含まれたカレンダーオブジェクトリソースのためにサポートしたメディアを指定するのに使用されます。 カレンダーオブジェクトを保存するクライアントによるどんな試み
Daboo, et al. Standards Track [Page 15] RFC 4791 CalDAV March 2007
Daboo、他 規格は2007年のCalDAV行進のときにRFC4791を追跡します[15ページ]。
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.
メディアタイプがこの所有地に記載されていないリソースは誤りをもたらさなければなりません、CALDAVと共に: サポートしているカレンダーデータがあらかじめ調整される、(セクション5.3 .2 .1) 違反されること。 この特性がないとき、サーバは「テキスト/カレンダー」というメディアタイプがあるデータとiCalendarバージョン2.0を受け入れるだけでよいです、そして、クライアントはサーバがこのデータを受け入れるだけであると仮定できます。
Definition:
定義:
<!ELEMENT supported-calendar-data (calendar-data+)>
<!ELEMENT、サポートしているカレンダーデータ(カレンダーデータ+)>。
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>
<C: サポートしているカレンダーデータxmlns: Cが等しい、「つぼ:ietf:params: 「><C: カレンダーデータcontent typeは」 テキスト/カレンダーと等しい」というxml:ナノ秒:caldavバージョンが「2インチ/></C: サポートしているカレンダーデータ>」と等しいです。
5.2.5. CALDAV:max-resource-size Property
5.2.5. CALDAV: 最大リソースサイズの特性
Name: max-resource-size
以下を命名してください。 最大リソースサイズ
Namespace: urn:ietf:params:xml:ns:caldav
名前空間: つぼ:ietf:params:xml:ナノ秒: caldav
Purpose: Provides a numeric value indicating the maximum size of a resource in octets that the server is willing to accept when a calendar object resource is stored 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 [RFC2518]).
順応: この特性はどんなカレンダー収集のときにも定義されるかもしれません。 定義されていて、それを保護しなければならないか、そして、SHOULD NOT、PROPFIND DAVによって返されてください: allprop要求(.1セクション12.14[RFC2518]で定義されるように)。
Description: The CALDAV:max-resource-size is used to specify a numeric value that represents the maximum size in octets that the server is willing to accept when a calendar object resource is stored in a calendar collection. Any attempt to store a calendar object resource exceeding this size MUST result in an error, with the CALDAV:max-resource-size precondition (Section 5.3.2.1) being violated. In the absence of this property, the client can assume that the server will allow storing a resource of any reasonable size.
記述: CALDAV: 最大リソースサイズは、カレンダーオブジェクトリソースがカレンダー収集に保存されるときサーバが受け入れても構わないと思っている八重奏における最大サイズを表す数値を指定するのに使用されます。 このサイズを超えているカレンダーオブジェクトリソースを保存するどんな試みも誤りをもたらさなければなりません、CALDAV: 最大リソースサイズ前提条件で(セクション5.3 .2 .1) 違反されること。 この特性がないとき、クライアントは、サーバでどんな妥当なサイズに関するリソースも保存すると仮定できます。
Definition:
定義:
<!ELEMENT max-resource-size (#PCDATA)> PCDATA value: a numeric value (positive integer)
<!ELEMENT最大リソースサイズ(#PCDATA)>PCDATA価値: 数値(正の整数)
Daboo, et al. Standards Track [Page 16] RFC 4791 CalDAV March 2007
Daboo、他 規格は2007年のCalDAV行進のときにRFC4791を追跡します[16ページ]。
Example:
例:
<C:max-resource-size xmlns:C="urn:ietf:params:xml:ns:caldav" >102400</C:max-resource-size>
<C: 最大リソースサイズxmlns: C=「つぼ:ietf:params:xml:ナノ秒: caldav」>102400</C: 最大リソースサイズ>。
5.2.6. CALDAV:min-date-time Property
5.2.6. CALDAV: 日付の時間の分の特性
Name: min-date-time
以下を命名してください。 日付の時間の分
Namespace: urn:ietf:params:xml:ns:caldav
名前空間: つぼ:ietf:params:xml:ナノ秒: caldav
Purpose: Provides a DATE-TIME value indicating the earliest date and time (in UTC) that the server is willing to accept for any DATE or DATE-TIME value in a calendar object resource stored in a calendar collection.
目的: 示す中で最も前半サーバが、どんなDATEのためにも受け入れても構わないと思う日時(UTCの)ものDATE-タイム誌値かDATE-タイム誌値をカレンダー収集に保存されたカレンダーオブジェクトリソースに提供します。
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 [RFC2518]).
順応: この特性はどんなカレンダー収集のときにも定義されるかもしれません。 定義されていて、それを保護しなければならないか、そして、SHOULD NOT、PROPFIND DAVによって返されてください: allprop要求(.1セクション12.14[RFC2518]で定義されるように)。
Description: The CALDAV:min-date-time is used to specify an iCalendar DATE-TIME value in UTC that indicates the earliest inclusive date that the server is willing to accept for any explicit DATE or DATE-TIME value in a calendar object resource stored in a calendar collection. Any attempt to store a calendar object resource using a DATE or DATE-TIME value earlier than this value MUST result in an error, with the CALDAV:min-date-time precondition (Section 5.3.2.1) being violated. Note that servers MUST accept recurring components that specify instances beyond this limit, provided none of those instances have been overridden. In that case, the server MAY simply ignore those instances outside of the acceptable range when processing reports on the calendar object resource. In the absence of this property, the client can assume any valid iCalendar date may be used at least up to the CALDAV:max-date-time value, if that is defined.
記述: CALDAV: 日付の時間の分は、サーバが、カレンダー収集に保存されたカレンダーオブジェクトリソースのどんな明白なDATEかDATE-タイム誌値のためにも受け入れても構わないと思う期日を含んでいる最も前半示すUTCでiCalendar DATE-タイム誌値を指定するのに使用されます。 CALDAV: 日付の時間の分前提条件と共にこの値が誤りをもたらさなければならないより早くDATEかDATE-タイム誌値を使用することでカレンダーオブジェクトリソースを保存するどんな試み、も(セクション5.3 .2 .1) 違反されること。 サーバがこの限界でインスタンスを指定する再発コンポーネントを受け入れなければならないことに注意してください、それらのインスタンスのいずれもくつがえされていないなら。 カレンダーオブジェクトリソースにレポートを処理するとき、その場合、サーバは許容できる範囲の外で単にそれらのインスタンスを無視するかもしれません。 この特性がないとき、クライアントは、どんな有効なiCalendar期日も少なくともCALDAVまで使用されるかもしれないと仮定できます: 日付の時間的価値に最大限にしてください、それが定義されるなら。
Definition:
定義:
<!ELEMENT min-date-time (#PCDATA)> PCDATA value: an iCalendar format DATE-TIME value in UTC
<!ELEMENT日付の時間の分(#PCDATA)>PCDATA価値: UTCのiCalendar形式DATE-タイム誌価値
Example:
例:
<C:min-date-time xmlns:C="urn:ietf:params:xml:ns:caldav" >19000101T000000Z</C:min-date-time>
<C: 日付の時間の分xmlns: C=「つぼ:ietf:params:xml:ナノ秒: caldav」>19000101T000000Z</C: 分-日付時間>。
Daboo, et al. Standards Track [Page 17] RFC 4791 CalDAV March 2007
Daboo、他 規格は2007年のCalDAV行進のときにRFC4791を追跡します[17ページ]。
5.2.7. CALDAV:max-date-time Property
5.2.7. CALDAV: 最大日付の時間の特性
Name: max-date-time
以下を命名してください。 最大日付の時間
Namespace: urn:ietf:params:xml:ns:caldav
名前空間: つぼ:ietf:params:xml:ナノ秒: caldav
Purpose: Provides a DATE-TIME value indicating the latest date and time (in UTC) that the server is willing to accept for any DATE or DATE-TIME value in a calendar object resource stored in a calendar collection.
目的: 最終期限を示すDATE-タイム誌値とサーバが、どんなDATEのためにも受け入れても構わないと思う時間(UTCの)かDATE-タイム誌値をカレンダー収集に保存されたカレンダーオブジェクトリソースに提供します。
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 [RFC2518]).
順応: この特性はどんなカレンダー収集のときにも定義されるかもしれません。 定義されていて、それを保護しなければならないか、そして、SHOULD NOT、PROPFIND DAVによって返されてください: allprop要求(.1セクション12.14[RFC2518]で定義されるように)。
Description: The CALDAV:max-date-time is used to specify an iCalendar DATE-TIME value in UTC that indicates the inclusive latest date that the server is willing to accept for any date or time value in a calendar object resource stored in a calendar collection. Any attempt to store a calendar object resource using a DATE or DATE-TIME value later than this value MUST result in an error, with the CALDAV:max-date-time precondition (Section 5.3.2.1) being violated. Note that servers MUST accept recurring components that specify instances beyond this limit, provided none of those instances have been overridden. In that case, the server MAY simply ignore those instances outside of the acceptable range when processing reports on the calendar object resource. In the absence of this property, the client can assume any valid iCalendar date may be used at least down to the CALDAV: min-date-time value, if that is defined.
記述: CALDAV: 最大日付の時間は、サーバが、カレンダー収集に保存されたカレンダーオブジェクトリソースのどんな日付や時間的価値のためにも受け入れても構わないと思う含んでいる最終期限を示すUTCでiCalendar DATE-タイム誌値を指定するために費やされます。 この値が誤りをもたらさなければならないより遅くCALDAV: 最大日付の時間前提条件と共にDATEかDATE-タイム誌値を使用することでカレンダーオブジェクトリソースを保存するどんな試み、も(セクション5.3 .2 .1) 違反されること。 サーバがこの限界でインスタンスを指定する再発コンポーネントを受け入れなければならないことに注意してください、それらのインスタンスのいずれもくつがえされていないなら。 カレンダーオブジェクトリソースにレポートを処理するとき、その場合、サーバは許容できる範囲の外で単にそれらのインスタンスを無視するかもしれません。 この特性がないとき、クライアントは、どんな有効なiCalendar期日も少なくともCALDAVまで使用されるかもしれないと仮定できます: 分が時間的価値の日付を入れる、それが定義されるなら。
Definition:
定義:
<!ELEMENT max-date-time (#PCDATA)> PCDATA value: an iCalendar format DATE-TIME value in UTC
<!ELEMENT最大日付の時間(#PCDATA)>PCDATA価値: UTCのiCalendar形式DATE-タイム誌価値
Example:
例:
<C:max-date-time xmlns:C="urn:ietf:params:xml:ns:caldav" >20491231T235959Z</C:max-date-time>
<C: 最大日付の時間xmlns: C=「つぼ:ietf:params:xml:ナノ秒: caldav」>20491231T235959Z</C: 最大日付-時間>。
Daboo, et al. Standards Track [Page 18] RFC 4791 CalDAV March 2007
Daboo、他 規格は2007年のCalDAV行進のときにRFC4791を追跡します[18ページ]。
5.2.8. CALDAV:max-instances Property
5.2.8. CALDAV: 最大インスタンスの特性
Name: max-instances
以下を命名してください。 最大インスタンス
Namespace: urn:ietf:params:xml:ns:caldav
名前空間: つぼ:ietf:params:xml:ナノ秒: caldav
Purpose: Provides a numeric value indicating the maximum number of recurrence instances that a calendar object resource stored in a calendar collection can generate.
目的: カレンダーオブジェクトリソースがカレンダー収集に保存した再発インスタンスの最大数を示すのが生成することができる数値を提供します。
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 [RFC2518]).
順応: この特性はどんなカレンダー収集のときにも定義されるかもしれません。 定義されていて、それを保護しなければならないか、そして、SHOULD NOT、PROPFIND DAVによって返されてください: allprop要求(.1セクション12.14[RFC2518]で定義されるように)。
Description: The CALDAV:max-instances is used to specify a numeric value that indicates the maximum number of recurrence instances that a calendar object resource stored in a calendar collection can generate. Any attempt to store a calendar object resource with a recurrence pattern that generates more instances than this value MUST result in an error, with the CALDAV:max-instances precondition (Section 5.3.2.1) being violated. In the absence of this property, the client can assume that the server has no limits on the number of recurrence instances it can handle or expand.
記述: CALDAV: 最大インスタンスは、カレンダーオブジェクトリソースが収集が生成することができるカレンダーで保存した再発インスタンスの最大数を示す数値を指定するのに使用されます。 この値より多くのインスタンスを生成する再発パターンでカレンダーオブジェクトリソースを保存するどんな試みも誤りをもたらさなければなりません、CALDAVと共に: 最大インスタンスがあらかじめ調整される、(セクション5.3 .2 .1) 違反されること。 この特性がないとき、クライアントは、サーバがそれが扱うか、または広げることができる再発インスタンスの数で際限がないと仮定できます。
Definition:
定義:
<!ELEMENT max-instances (#PCDATA)> PCDATA value: a numeric value (integer greater than zero)
<!ELEMENT最大インスタンス(#PCDATA)>PCDATA価値: 数値(ゼロ以上の整数)
Example:
例:
<C:max-instances xmlns:C="urn:ietf:params:xml:ns:caldav" >100</C:max-instances>
<C: 最大インスタンスxmlns: C=「つぼ:ietf:params:xml:ナノ秒: caldav」>100</C: 最大インスタンス>。
5.2.9. CALDAV:max-attendees-per-instance Property
5.2.9. CALDAV: 1インスタンスあたりの最大出席者の特性
Name: max-attendees-per-instance
以下を命名してください。 1インスタンスあたりの最大出席者
Namespace: urn:ietf:params:xml:ns:caldav
名前空間: つぼ:ietf:params:xml:ナノ秒: caldav
Purpose: Provides a numeric value indicating the maximum number of ATTENDEE properties in any instance of a calendar object resource stored in a calendar collection.
目的: カレンダー収集に保存されたカレンダーオブジェクトリソースのどんなインスタンスでも、ATTENDEEの特性の最大数を示す数値を提供します。
Conformance: This property MAY be defined on any calendar collection. If defined, it MUST be protected and SHOULD NOT be
順応: この特性はどんなカレンダー収集のときにも定義されるかもしれません。 定義されていて、それを保護しなければならないかどうか、そして、SHOULD NOT
Daboo, et al. Standards Track [Page 19] RFC 4791 CalDAV March 2007
Daboo、他 規格は2007年のCalDAV行進のときにRFC4791を追跡します[19ページ]。
returned by a PROPFIND DAV:allprop request (as defined in Section 12.14.1 of [RFC2518]).
PROPFIND DAV: allprop要求(.1セクション12.14[RFC2518]で定義されるように)で、戻りました。
Description: The CALDAV:max-attendees-per-instance is used to specify a numeric value that indicates the maximum number of iCalendar ATTENDEE properties on any one instance of a calendar object resource stored in a calendar collection. Any attempt to store a calendar object resource with more ATTENDEE properties per instance than this value MUST result in an error, with the CALDAV: max-attendees-per-instance precondition (Section 5.3.2.1) being violated. In the absence of this property, the client can assume that the server can handle any number of ATTENDEE properties in a calendar component.
記述: CALDAV: カレンダー収集に保存されたカレンダーオブジェクトリソースのどんなインスタンスのiCalendar ATTENDEEの特性の最大数も示す数値を指定するのに1インスタンスあたりの最大出席者に使用されます。 いずれも、この値が誤りをもたらさなければならないよりさらに多くの1インスタンスあたりのATTENDEEの特性でカレンダーオブジェクトリソースを保存するのを試みます、CALDAVと共に: 1インスタンスあたりの最大出席者があらかじめ調整する、(セクション5.3 .2 .1) 違反されること。 この特性がないとき、クライアントは、サーバがカレンダーコンポーネントでいろいろなATTENDEEの特性を扱うことができると仮定できます。
Definition:
定義:
<!ELEMENT max-attendees-per-instance (#PCDATA)> PCDATA value: a numeric value (integer greater than zero)
<!1インスタンスあたりのELEMENT最大出席者(#PCDATA)>PCDATA価値: 数値(ゼロ以上の整数)
Example:
例:
<C:max-attendees-per-instance xmlns:C="urn:ietf:params:xml:ns:caldav" >25</C:max-attendees-per-instance>
<C: 1インスタンスあたりの最大出席者xmlns: C=「つぼ:ietf:params:xml:ナノ秒: caldav」>25</C: 1インスタンスあたりの最大出席者>。
5.2.10. Additional Precondition for PROPPATCH
5.2.10. PROPPATCHのための追加前提条件
This specification requires an additional Precondition for the PROPPATCH method. The precondition is:
この仕様はPROPPATCHメソッドのために追加Preconditionを必要とします。 前提条件は以下の通りです。
(CALDAV:valid-calendar-data): The time zone specified in CALDAV: calendar-timezone property MUST be a valid iCalendar object containing a single valid VTIMEZONE component.
(CALDAV: 有効なカレンダーデータ): 時間帯はCALDAVで指定しました: カレンダータイムゾーンの特性はただ一つの有効なVTIMEZONEの部品を含む有効なiCalendarオブジェクトであるに違いありません。
5.3. Creating Resources
5.3. リソースを作成します。
Calendar collections and calendar object resources may be created by either a CalDAV client or by the CalDAV server. This specification defines restrictions and a data model that both clients and servers MUST adhere to when manipulating such calendar data.
カレンダー収集とカレンダーオブジェクトリソースはCalDAVクライアントかCalDAVサーバによって作成されるかもしれません。この仕様は制限とそのようなカレンダーデータを操るときクライアントとサーバの両方が固く守らなければならないデータモデルを定義します。
5.3.1. MKCALENDAR Method
5.3.1. MKCALENDARメソッド
An HTTP request using the MKCALENDAR method creates a new calendar collection resource. A server MAY restrict calendar collection creation to particular collections.
MKCALENDARメソッドを使用するHTTP要求は新暦収集リソースを作成します。 サーバはカレンダー収集作成を特定の収集に制限するかもしれません。
Daboo, et al. Standards Track [Page 20] RFC 4791 CalDAV March 2007
Daboo、他 規格は2007年のCalDAV行進のときにRFC4791を追跡します[20ページ]。
Support for MKCALENDAR on the server is only RECOMMENDED and not REQUIRED because some calendar stores only support one calendar per user (or principal), and those are typically pre-created for each account. However, servers and clients are strongly encouraged to support MKCALENDAR whenever possible to allow users to create multiple calendar collections to help organize their data better.
REQUIREDではなく、いくつかのカレンダー店がユーザ(または、主体)あたり1つのカレンダーしかサポートしないので、サーバのMKCALENDARのサポートはRECOMMENDEDにすぎません、そして、ものは各アカウントのために通常あらかじめ作成されます。 しかしながら、ユーザがそれらのデータをよりよく組織化するのを助けるために複数のカレンダー収集を作成するのを許容するのにおいて可能であるときはいつも、サーバとクライアントがMKCALENDARをサポートするよう強く奨励されます。
Clients SHOULD use the DAV:displayname property for a human-readable name of the calendar. Clients can either specify the value of the DAV:displayname property in the request body of the MKCALENDAR request, or alternatively issue a PROPPATCH request to change the DAV:displayname property to the appropriate value immediately after issuing the MKCALENDAR request. Clients SHOULD NOT set the DAV: displayname property to be the same as any other calendar collection at the same URI "level". When displaying calendar collections to users, clients SHOULD check the DAV:displayname property and use that value as the name of the calendar. In the event that the DAV: displayname property is empty, the client MAY use the last part of the calendar collection URI as the name; however, that path segment may be "opaque" and not represent any meaningful human-readable text.
クライアントSHOULDはDAVを使用します: カレンダーの人間読み込み可能な名前のためのdisplaynameの特性。 クライアントは、MKCALENDAR要求の要求本体のDAV: displayname属性の価値を指定するか、またはあるいはまた、DAVを変えるというPROPPATCH要求を出すことができます: MKCALENDAR要求を出す直後適切な値へのdisplaynameの特性。 クライアントSHOULD NOTはDAVを設定します: 同じURI「レベル」でいかなる他のカレンダー収集とも同じであるdisplaynameの特性。 カレンダー収集をユーザに表示するとき、クライアントSHOULDはDAV: displaynameの特性をチェックして、カレンダーの名前としてその値を使用します。 DAV: displaynameの特性が空である、クライアントは名前としてカレンダー収集URIの最後の部分を使用するかもしれません。 しかしながら、その経路セグメントは、「不透明であり」、少しの重要な人間読み込み可能なテキストも表さないかもしれません。
If a MKCALENDAR request fails, the server state preceding the request MUST be restored.
MKCALENDAR要求が失敗するなら、要求に先行するサーバ州を回復しなければなりません。
Marshalling: If a request body is included, it MUST be a CALDAV:mkcalendar XML element. Instruction processing MUST occur in the order instructions are received (i.e., from top to bottom). Instructions MUST either all be executed or none executed. Thus, if any error occurs during processing, all executed instructions MUST be undone and a proper error result returned. Instruction processing details can be found in the definition of the DAV:set instruction in Section 12.13.2 of [RFC2518].
整理します: 要求本体が含まれているなら、それはCALDAVであるに違いありません: mkcalendar XML要素。 指示処理は受けられた(すなわち、先端から下部まで)オーダー指示で起こらなければなりません。 なにもに実行されていた状態で指示をすべて実行しなければなりません。 したがって、何か誤りが処理の間、発生するなら、すべての実行された指示を元に戻さなければなりませんでした、そして、適切な誤り結果は戻りました。 DAVの定義で指示処理の詳細を見つけることができます: .2セクション12.13[RFC2518]に指示をはめ込みます。
<!ELEMENT mkcalendar (DAV:set)>
<!ELEMENT mkcalendar(DAV: セット)>。
If a response body for a successful request is included, it MUST be a CALDAV:mkcalendar-response XML element.
うまくいっている要求のための応答本体が含まれているなら、それはCALDAVであるに違いありません: mkcalendar-応答XML要素。
<!ELEMENT mkcalendar-response ANY>
<!ELEMENT mkcalendar-応答いずれも>。
The response MUST include a Cache-Control:no-cache header.
応答はCache-コントロールを含まなければなりません: キャッシュがないヘッダー。
Preconditions:
前提条件:
(DAV:resource-must-be-null): A resource MUST NOT exist at the Request-URI;
(DAV:、リソースがヌルであるに違いない、)、: リソースはRequest-URIで存在してはいけません。
Daboo, et al. Standards Track [Page 21] RFC 4791 CalDAV March 2007
Daboo、他 規格は2007年のCalDAV行進のときにRFC4791を追跡します[21ページ]。
(CALDAV:calendar-collection-location-ok): The Request-URI MUST identify a location where a calendar collection can be created;
(CALDAV: カレンダー収集位置のOK): Request-URIはカレンダー収集を作成できる位置を特定しなければなりません。
(CALDAV:valid-calendar-data): The time zone specified in the CALDAV:calendar-timezone property MUST be a valid iCalendar object containing a single valid VTIMEZONE component;
(CALDAV: 有効なカレンダーデータ): 時間帯はCALDAVで指定しました: カレンダータイムゾーンの特性はただ一つの有効なVTIMEZONEの部品を含む有効なiCalendarオブジェクトであるに違いありません。
(DAV:needs-privilege): The DAV:bind privilege MUST be granted to the current user on the parent collection of the Request-URI.
(DAV: 必要性特権): DAV: Request-URIの親収集のときにひもの特権を現在のユーザに与えなければなりません。
Postconditions:
Postconditions:
(CALDAV:initialize-calendar-collection): A new calendar collection exists at the Request-URI. The DAV:resourcetype of the calendar collection MUST contain both DAV:collection and CALDAV:calendar XML elements.
(CALDAV: カレンダー収集を初期化してください): 新暦収集はRequest-URIで存在しています。 DAV: カレンダー収集のresourcetypeはDAV: 収集とCALDAVの両方を含まなければなりません: カレンダーXML要素。
5.3.1.1. Status Codes
5.3.1.1. ステータスコード
The following are examples of response codes one would expect to get in a response to a MKCALENDAR request. Note that this list is by no means exhaustive.
↓これはMKCALENDAR要求への応答で得るコード1が、予想するだろう応答に関する例です。 このリストが決して徹底的でないことに注意してください。
201 (Created) - The calendar collection resource was created in its entirety;
201 (作成されます)--カレンダー収集リソースは全体として作成されました。
207 (Multi-Status) - The calendar collection resource was not created since one or more DAV:set instructions specified in the request body could not be processed successfully. The following are examples of response codes one would expect to be used in a 207 (Multi-Status) response in this situation:
207 (マルチStatus)--カレンダー収集リソースは、首尾よく1DAV: 要求本体で指定されたセット指示は処理できなかったので、作成されませんでした。 ↓これはコード1が207(マルチStatus)応答にこの状況で使用されると予想する応答に関する例です:
403 (Forbidden) - The client, for reasons the server chooses not to specify, cannot alter one of the properties;
403 (禁じられます)--サーバが、指定しないのを選ぶ理由で、クライアントは特性の1つを変更できません。
409 (Conflict) - The client has provided a value whose semantics are not appropriate for the property. This includes trying to set read-only properties;
409 (闘争)--クライアントは特性には、意味論が適切でない値を提供しました。 これは、書き込み禁止の特性を設定しようとするのを含んでいます。
424 (Failed Dependency) - The DAV:set instruction on the specified resource would have succeeded if it were not for the failure of another DAV:set instruction specified in the request body;
424 (Dependencyに失敗します)--DAV: 別のDAVの失敗がなければ、指定されたリソースのセット指示は成功したでしょう: 要求本体で指定された指示を設定してください。
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; and
423 (ロックされます)--指定されたリソースはロックされました、そして、ロックタイプは、ロックトークンを提出するのを必要とします、そして、クライアントはロック所有者ではありませんクライアントはそれを提出しませんでした。 そして
Daboo, et al. Standards Track [Page 22] RFC 4791 CalDAV March 2007
Daboo、他 規格は2007年のCalDAV行進のときにRFC4791を追跡します[22ページ]。
507 (Insufficient Storage) - The server did not have sufficient space to record the property;
507 (不十分なStorage)--サーバには、特性を記録できるくらいのスペースがありませんでした。
403 (Forbidden) - This indicates at least one of two conditions: 1) the server does not allow the creation of calendar collections at the given location in its namespace, or 2) the parent collection of the Request-URI exists but cannot accept members;
403 (禁じられます)--これは少なくとも2つの状態の1つを示します: 1) サーバは与えられた位置での名前空間、または2における)カレンダー収集の作成を許容しません。Request-URIの親収集は、存在していますが、メンバーを受け入れることができません。
409 (Conflict) - A collection cannot be made at the Request-URI until one or more intermediate collections have been created;
409 (闘争)--Request-URIで収集を1つ以上の中間的収集が作成されるまですることができません。
415 (Unsupported Media Type) - The server does not support the request type of the body; and
415 (サポートされないメディアType)--サーバはボディーの要求タイプをサポートしません。 そして
507 (Insufficient Storage) - The resource does not have sufficient space to record the state of the resource after the execution of this method.
507 (不十分なStorage)--リソースには、このメソッドの実行の後にリソースの状態を記録できるくらいのスペースがありません。
5.3.1.2. Example: Successful MKCALENDAR Request
5.3.1.2. 例: うまくいっているMKCALENDAR要求
This example creates a calendar collection called /home/lisa/ calendars/events/ on the server cal.example.com with specific values for the properties DAV:displayname, CALDAV:calendar-description, CALDAV:supported-calendar-component-set, and CALDAV:calendar- timezone.
この例は特性のDAV: displayname、CALDAV: カレンダー記述、CALDAV: サポートしているカレンダーコンポーネントセット、およびCALDAVのために特定の値で/home/lisa/ calendars/events/と呼ばれるカレンダー収集をサーバcal.example.comに作成します: カレンダータイムゾーン。
Daboo, et al. Standards Track [Page 23] RFC 4791 CalDAV March 2007
Daboo、他 規格は2007年のCalDAV行進のときにRFC4791を追跡します[23ページ]。
>> Request <<
>>要求<<。
MKCALENDAR /home/lisa/calendars/events/ HTTP/1.1 Host: cal.example.com Content-Type: application/xml; charset="utf-8" Content-Length: xxxx
MKCALENDAR/ホーム/lisa/カレンダー/イベント/HTTP/1.1ホスト: cal.example.comコンテントタイプ: アプリケーション/xml。 charsetが等しい、「utf-8インチのContent-長さ:」 xxxx
<?xml version="1.0" encoding="utf-8" ?> <C:mkcalendar xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav"> <D:set> <D:prop> <D:displayname>Lisa's Events</D:displayname> <C:calendar-description xml:lang="en" >Calendar restricted to events.</C:calendar-description> <C:supported-calendar-component-set> <C:comp name="VEVENT"/> </C:supported-calendar-component-set> <C:calendar-timezone><![CDATA[BEGIN:VCALENDAR PRODID:-//Example Corp.//CalDAV Client//EN VERSION:2.0 BEGIN:VTIMEZONE TZID:US-Eastern LAST-MODIFIED:19870101T000000Z BEGIN:STANDARD DTSTART:19671029T020000 RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10 TZOFFSETFROM:-0400 TZOFFSETTO:-0500 TZNAME:Eastern Standard Time (US & Canada) END:STANDARD BEGIN:DAYLIGHT DTSTART:19870405T020000 RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4 TZOFFSETFROM:-0500 TZOFFSETTO:-0400 TZNAME:Eastern Daylight Time (US & Canada) END:DAYLIGHT END:VTIMEZONE END:VCALENDAR ]]></C:calendar-timezone> </D:prop> </D:set> </C:mkcalendar>
<?xmlバージョンが等しい、「=をコード化する1インチ、「utf-8インチ?><C:mkcalendar xmlns:Dが等しい、「DAV:」、」 xmlns: イベントに制限されたC=「つぼ:ietf:params: 「><D: ><Dを設定してください: ><D: displayname>リサのEvents</D: displayname><C: カレンダー記述xml: lang=を支えてください」というxml:ナノ秒:caldavアン」>Calendar; </C: カレンダー記述><C: サポートしているカレンダーコンポーネントに設定された><C: コンピュータ名前="VEVENT"/></C: サポートしているカレンダーコンポーネントに設定された><C: ><!CDATABEGIN: カレンダータイムゾーンVCALENDAR PRODID:、-、//例の社の//CalDAVクライアント//アンバージョン: 2; 0 最後に変更されていた状態で: VTIMEZONE TZID: 米国-イースタンを始めてください: 19870101T000000Zは始まります: 標準のDTSTART:19671029T020000 RRULE:FREQ=年刊刊行物; BYDAY=-1SU; BYMONTH=10 TZOFFSETFROM: -0400TZOFFSETTO: 米国東部標準時(米国とカナダ)の-0500TZNAMEは標準で以下を終わらせて、DTSTART: : 日光19870405T020000 RRULEを始めてください:; FREQは年刊刊行物; BYDAY=1SU; BYMONTH=4 TZOFFSETFROM: -0500TZOFFSETTOと等しいです: 終わり: -0400TZNAME: 東部夏時間(米国とカナダ)終わり: 日光VTIMEZONEは終わります: VCALENDAR></C: カレンダータイムゾーン></D: ></Dを支えてください: ></C: mkcalendar>を設定してください。
Daboo, et al. Standards Track [Page 24] RFC 4791 CalDAV March 2007
Daboo、他 規格は2007年のCalDAV行進のときにRFC4791を追跡します[24ページ]。
>> Response <<
>>応答<<。
HTTP/1.1 201 Created Cache-Control: no-cache Date: Sat, 11 Nov 2006 09:32:12 GMT Content-Length: 0
HTTP/1.1 201はキャッシュ制御を作成しました: キャッシュがない日付: グリニッジ標準時2006年11月11日土曜日9時32分12秒のコンテンツの長さ: 0
5.3.2. Creating Calendar Object Resources
5.3.2. カレンダーオブジェクトリソースを作成します。
Clients populate calendar collections with calendar object resources. The URL for each calendar object resource is entirely arbitrary and does not need to bear a specific relationship to the calendar object resource's iCalendar properties or other metadata. New calendar object resources MUST be created with a PUT request targeted at an unmapped URI. A PUT request targeted at a mapped URI updates an existing calendar object resource.
クライアントはカレンダーオブジェクトリソースでカレンダー収集に居住します。 それぞれのカレンダーオブジェクトリソースのためのURLは、完全に任意であり、カレンダーオブジェクトリソースのiCalendarの特性か他のメタデータとの特定の関係に堪える必要はありません。 PUT要求が非写像しているURIで狙っていて、新暦オブジェクトリソースを作成しなければなりません。 写像しているURIで狙うPUT要求は既存のカレンダーオブジェクトリソースをアップデートします。
When servers create new resources, it's not hard for the server to choose an unmapped URI. 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 resource isn't created with a name collision. However, there is an HTTP feature 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 request 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 "If-None-Match: *" request header ensures that the client will not inadvertently overwrite an existing resource if the last path segment turned out to already be used.
サーバが新しいリソースを作成するとき、サーバは非写像しているURIを選びにくくはありません。 クライアントには、それはわずかに厳しいです、クライアントが収集におけるすべてのリソースを調べたいというわけではなくて、新しいリソースが名前衝突で作成されないのを保証するために全体の収集をロックしたがっていないかもしれないので。 しかしながら、これを緩和するHTTP機能があります。 クライアントが新しいVEVENTなどの新しい非収集リソースを作成するつもりであるなら、クライアントSHOULDがHTTP要求ヘッダーを使用する、「なにもであるなら、合ってください」 *「PUT要求。」 PUT要求でのRequest-URIは最後の経路セグメントでターゲット収集、およびリソースの名前を含まなければなりません。(そこでは、リソースは作成されることです)。 「なにもであるなら、合ってください」 *「ヘッダーが、最後の経路セグメントが既に使用されるために判明したならクライアントがうっかり既存のリソースを上書きしないのを保証するよう要求してください。」
Daboo, et al. Standards Track [Page 25] RFC 4791 CalDAV March 2007
Daboo、他 規格は2007年のCalDAV行進のときにRFC4791を追跡します[25ページ]。
>> Request <<
>>要求<<。
PUT /home/lisa/calendars/events/qwue23489.ics HTTP/1.1 If-None-Match: * Host: cal.example.com Content-Type: text/calendar Content-Length: xxxx
なにも合っていないなら、/home/lisa/calendars/events/qwue23489.ics HTTP/1.1を置いてください: * 以下を接待してください。 cal.example.comコンテントタイプ: テキスト/カレンダーのContent-長さ: xxxx
BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Example Corp.//CalDAV Client//EN BEGIN:VEVENT UID:20010712T182145Z-123401@example.com DTSTAMP:20060712T182145Z DTSTART:20060714T170000Z DTEND:20060715T040000Z SUMMARY:Bastille Day Party END:VEVENT END:VCALENDAR
: VCALENDARバージョン: 2.0にPRODIDを始めてください: -//例の社の//CalDAVクライアント//アンは始まります: VEVENT UID: 20010712T182145Z-123401@example.com DTSTAMP: 20060712T182145Z DTSTART:20060714T170000Z DTEND:20060715T040000Z概要: 革命記念日のパーティは終わります: VEVENTは: VCALENDARを終わらせます。
>> Response <<
>>応答<<。
HTTP/1.1 201 Created Content-Length: 0 Date: Sat, 11 Nov 2006 09:32:12 GMT ETag: "123456789-000-111"
HTTP/1.1 201はコンテンツの長さを作成しました: 0 日付: グリニッジ標準時2006年11月11日土曜日9時32分12秒ETag: "123456789-000-111"
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.
同じですが中に特定のETagがある状態で既存のイベントを変えるという要求「-合ってください、」 ヘッダー、むしろ、「-なにもである、-」 ヘッダーを合わせてください。
As indicated in Section 3.10 of [RFC2445], the URL of calendar object resources containing (an arbitrary set of) calendaring and scheduling information may be suffixed by ".ics", and the URL of calendar object resources containing free or busy time information may be suffixed by ".ifb".
セクションにみられるように3.10[RFC2445]、カレンダーオブジェクトリソースのURLが含んでいる、(任意のセット、)、情報のcalendaringして、計画をするのは".ics"によってsuffixedされて、自由であるか忙しい時間情報を含むカレンダーオブジェクトリソースのURLは".ifb"によってsuffixedされるかもしれません。
5.3.2.1. Additional Preconditions for PUT, COPY, and MOVE
5.3.2.1. 追加、あらかじめ調整する、置いて、コピーして、動き
This specification creates additional Preconditions for PUT, COPY, and MOVE methods. These preconditions apply when a PUT operation of a calendar object resource into a calendar collection occurs, or when a COPY or MOVE operation of a calendar object resource into a calendar collection occurs, or when a COPY or MOVE operation occurs on a calendar collection.
この仕様はPUT、COPY、およびMOVEメソッドのための追加Preconditionsを作成します。 カレンダー収集へのカレンダーオブジェクトリソースのPUT操作が起こるか、カレンダー収集へのカレンダーオブジェクトリソースのCOPYかMOVE操作が現れる、またはCOPYかMOVE操作がカレンダー収集のときに現れると、これらの前提条件は適用されます。
Daboo, et al. Standards Track [Page 26] RFC 4791 CalDAV March 2007
Daboo、他 規格は2007年のCalDAV行進のときにRFC4791を追跡します[26ページ]。
The new preconditions are:
新しい前提条件は以下の通りです。
(CALDAV:supported-calendar-data): The resource submitted in the PUT request, or targeted by a COPY or MOVE request, MUST be a supported media type (i.e., iCalendar) for calendar object resources;
(CALDAV: サポートしているカレンダーデータ): PUT要求で提出するか、またはCOPYかMOVE要求で狙うリソースはカレンダーオブジェクトリソースのためのサポートしているメディアタイプでなければなりません(すなわち、iCalendar)。
(CALDAV:valid-calendar-data): The resource submitted in the PUT request, or targeted by a COPY or MOVE request, MUST be valid data for the media type being specified (i.e., MUST contain valid iCalendar data);
(CALDAV: 有効なカレンダーデータ): 指定されていて(すなわち、有効なiCalendarデータを含まなければなりません)、PUT要求で提出するか、またはCOPYかMOVE要求で狙うリソースはメディアタイプへの有効データであるに違いありません。
(CALDAV:valid-calendar-object-resource): The resource submitted in the PUT request, or targeted by a COPY or MOVE request, MUST obey all restrictions specified in Section 4.1 (e.g., calendar object resources MUST NOT contain more than one type of calendar component, calendar object resources MUST NOT specify the iCalendar METHOD property, etc.);
(CALDAV: 有効なカレンダーオブジェクトリソース): PUT要求で提出するか、またはCOPYかMOVE要求で狙うリソースはセクション4.1で指定されたすべての制限に従わなければなりません(例えば、カレンダーオブジェクトリソースが1つ以上のタイプのカレンダー成分を含んではいけなくて、カレンダーオブジェクトリソースはiCalendar METHODの特性を指定してはいけませんなど)。
(CALDAV:supported-calendar-component): The resource submitted in the PUT request, or targeted by a COPY or MOVE request, MUST contain a type of calendar component that is supported in the targeted calendar collection;
(CALDAV: サポートしているカレンダーコンポーネント): PUT要求で提出するか、またはCOPYかMOVE要求で狙うリソースは狙っているカレンダー収集でサポートされる一種のカレンダーコンポーネントを含まなければなりません。
(CALDAV:no-uid-conflict): The resource submitted in the PUT request, or targeted by a COPY or MOVE request, MUST NOT specify an iCalendar UID property value already in use in the targeted calendar collection or overwrite an existing calendar object resource with one that has a different UID property value. Servers SHOULD report the URL of the resource that is already making use of the same UID property value in the DAV:href element;
(CALDAV: uid闘争がありません): PUT要求で提出するか、またはCOPYかMOVE要求で狙うリソースは、狙っているカレンダー収集で既に使用中のiCalendar UID資産価値を指定してはいけませんし、また異なったUID資産価値を持っているもので既存のカレンダーオブジェクトリソースを上書きしてはいけません。 サーバSHOULDはDAVで既に同じUID資産価値を利用しているリソースのURLを報告します: href要素
<!ELEMENT no-uid-conflict (DAV:href)>
<!ELEMENT uid闘争がありません。(DAV: href)>。
(CALDAV:calendar-collection-location-ok): In a COPY or MOVE request, when the Request-URI is a calendar collection, the Destination-URI MUST identify a location where a calendar collection can be created;
(CALDAV: カレンダー収集位置のOK): Request-URIがカレンダー収集であるときに、COPYかMOVE要求では、Destination-URIはカレンダー収集を作成できる位置を特定しなければなりません。
(CALDAV:max-resource-size): The resource submitted in the PUT request, or targeted by a COPY or MOVE request, MUST have an octet size less than or equal to the value of the CALDAV:max-resource- size property value (Section 5.2.5) on the calendar collection where the resource will be stored;
(CALDAV: 最大リソースサイズ): PUT要求で提出するか、またはCOPYかMOVE要求で狙うリソースが八重奏サイズを持たなければならない、CALDAVの、より値: リソースが保存されるカレンダー収集でのリソースサイズに最大限にしている資産価値(セクション5.2.5)。
(CALDAV:min-date-time): The resource submitted in the PUT request, or targeted by a COPY or MOVE request, MUST have all of its iCalendar DATE or DATE-TIME property values (for each recurring
(CALDAV:日付の時間の分): PUT要求で提出するか、またはCOPYかMOVE要求で狙うリソースがiCalendar DATEかDATE-タイム誌特性の値のすべてを持たなければならない、(各再発
Daboo, et al. Standards Track [Page 27] RFC 4791 CalDAV March 2007
Daboo、他 規格は2007年のCalDAV行進のときにRFC4791を追跡します[27ページ]。
instance) greater than or equal to the value of the CALDAV:min- date-time property value (Section 5.2.6) on the calendar collection where the resource will be stored;
インスタンス) CALDAVの値:分はリソースが保存されるカレンダー収集での資産価値(セクション5.2.6)を日付で、より調節します。
(CALDAV:max-date-time): The resource submitted in the PUT request, or targeted by a COPY or MOVE request, MUST have all of its iCalendar DATE or DATE-TIME property values (for each recurring instance) less than the value of the CALDAV:max-date-time property value (Section 5.2.7) on the calendar collection where the resource will be stored;
(CALDAV:最大日付の時間): PUT要求で提出するか、またはCOPYかMOVE要求で狙うリソースはCALDAVの値よりiCalendar DATEかDATE-タイム誌特性の値(それぞれの再発インスタンスのための)のすべてを持ってはいけません: リソースが保存されるカレンダー収集での最大日付の時間資産価値(セクション5.2.7)
(CALDAV:max-instances): The resource submitted in the PUT request, or targeted by a COPY or MOVE request, MUST generate a number of recurring instances less than or equal to the value of the CALDAV: max-instances property value (Section 5.2.8) on the calendar collection where the resource will be stored;
(CALDAV: 最大インスタンス): PUT要求で提出するか、またはCOPYかMOVE要求で狙うリソースは、多くの再発インスタンスがCALDAVの、より値以下であると生成しなければなりません: リソースが保存されるカレンダー収集での最大インスタンス資産価値(セクション5.2.8)。
(CALDAV:max-attendees-per-instance): The resource submitted in the PUT request, or targeted by a COPY or MOVE request, MUST have a number of ATTENDEE properties on any one instance less than or equal to the value of the CALDAV:max-attendees-per-instance property value (Section 5.2.9) on the calendar collection where the resource will be stored;
(CALDAV: 1インスタンスあたりの最大出席者): PUT要求で提出するか、またはCOPYかMOVE要求で狙うリソースがどんなインスタンスにも多くのATTENDEEの特性を持たなければならない、CALDAVの、より値: リソースが保存されるカレンダー収集での1インスタンスあたりの最大出席者資産価値(セクション5.2.9)。
5.3.3. Non-Standard Components, Properties, and Parameters
5.3.3. 標準的でないコンポーネント、特性、およびパラメタ
iCalendar provides a "standard mechanism for doing non-standard things". This extension support allows implementers to make use of non-standard components, properties, and parameters whose names are prefixed with the text "X-".
iCalendarは「標準的でないことをするための標準のメカニズム」を提供します。 この拡大サポートで、implementersは名前がテキスト「X」で前に置かれている標準的でないコンポーネント、特性、およびパラメタを利用できます。
Servers MUST support the use of non-standard components, properties, and parameters in calendar object resources stored via the PUT method.
サーバはPUTメソッドで保存されたカレンダーオブジェクトリソースの標準的でないコンポーネント、特性、およびパラメタの使用をサポートしなければなりません。
Servers may need to enforce rules for their own "private" components, properties, or parameters, so servers MAY reject any attempt by the client to change those or use values for those outside of any restrictions the server may have. Servers SHOULD ensure that any "private" components, properties, or parameters it uses follow the convention of including a vendor id in the "X-" name, as described in Section 4.2 of [RFC2445], e.g., "X-ABC-PRIVATE".
サーバが、それら自身の「個人的な」コンポーネント、特性、またはパラメタのために規則を実施する必要があるかもしれないので、サーバはものを変えるクライアントによるどんな試みかサーバが持っているどんな制限の外であるもののための使用価値も拒絶するかもしれません。 サーバSHOULDは、それが使用するどんな「個人的な」コンポーネント、特性、またはパラメタも「X」名にベンダーイドを含むコンベンションに続くのを確実にします、[RFC2445]のセクション4.2で説明されて、例えば、「X-ABC個人的である」として。
5.3.4. Calendar Object Resource Entity Tag
5.3.4. カレンダーオブジェクトリソース実体タグ
The DAV:getetag property MUST be defined and set to a strong entity tag on all calendar object resources.
DAV: すべてのカレンダーオブジェクトリソースに強い実体タグにgetetagの特性を定義されて、設定しなければなりません。
Daboo, et al. Standards Track [Page 28] RFC 4791 CalDAV March 2007
Daboo、他 規格は2007年のCalDAV行進のときにRFC4791を追跡します[28ページ]。
A response to a GET request targeted at a calendar object resource MUST contain an ETag response header field indicating the current value of the strong entity tag of the calendar object resource.
カレンダーオブジェクトリソースで狙うGET要求への応答はカレンダーオブジェクトリソースの強い実体タグの現行価値を示すETag応答ヘッダーフィールドを含まなければなりません。
Servers SHOULD return a strong entity tag (ETag header) in a PUT response when the stored calendar object resource is equivalent by octet equality to the calendar object resource submitted in the body of the PUT request. This allows clients to reliably use the returned strong entity tag for data synchronization purposes. For instance, the client can do a PROPFIND request on the stored calendar object resource and have the DAV:getetag property returned, and compare that value with the strong entity tag it received on the PUT response, and know that if they are equal, then the calendar object resource on the server has not been changed.
保存されたカレンダーオブジェクトリソースが八重奏平等でPUT要求のボディーで提出されたカレンダーオブジェクトリソースに同等であるときに、サーバSHOULDはPUT応答で強い実体タグ(ETagヘッダー)を返します。 これで、クライアントはデータ同期目的に返された強い実体タグを確かに使用できます。 例えば、クライアントは、保存されたカレンダーオブジェクトリソースでPROPFIND要求をして、DAV: getetag資産を返させて、それがPUT応答のときに受けた強い実体タグとその値を比べて、それらが等しいならサーバに関するカレンダーオブジェクトリソースが変えられていないのを知ることができます。
In the case where the data stored by a server as a result of a PUT request is not equivalent by octet equality to the submitted calendar object resource, the behavior of the ETag response header is not specified here, with the exception that a strong entity tag MUST NOT be returned in the response. As a result, clients may need to retrieve the modified calendar object resource (and ETag) as a basis for further changes, rather than use the calendar object resource it had sent with the PUT request.
PUT要求の結果、サーバによって保存されたデータが八重奏平等で提出されたカレンダーオブジェクトリソースに同等でない場合では、ETag応答ヘッダの動きはここで指定されません、応答で強い実体タグを返してはいけない例外で。 その結果、クライアントは、それがPUT要求と共に送ったカレンダーオブジェクトリソースを使用するより一層の変化の基礎としてむしろ、変更されたカレンダーオブジェクトリソース(そして、ETag)を検索する必要があるかもしれません。
6. Calendaring Access Control
6. アクセスコントロールをCalendaringします。
6.1. Calendaring Privilege
6.1. Calendaring特権
CalDAV servers MUST support and adhere to the requirements of WebDAV ACL [RFC3744]. WebDAV ACL provides a framework for an extensible set of privileges that can be applied to WebDAV collections and ordinary resources. CalDAV servers MUST also support the calendaring privilege defined in this section.
CalDAVサーバは、WebDAV ACL[RFC3744]の要件をサポートして、固く守らなければなりません。 WebDAV ACLはWebDAV収集と普通のリソースに適用できる広げることができるセットの特権にフレームワークを提供します。 また、CalDAVサーバはこのセクションで定義されたcalendaring特権をサポートしなければなりません。
6.1.1. CALDAV:read-free-busy Privilege
6.1.1. CALDAV:、読みなし、忙しさ、特権
Calendar users often wish to allow other users to see their busy time information, without viewing the other details of the calendar components (e.g., location, summary, attendees). This allows a significant amount of privacy while still allowing other users to schedule meetings at times when the user is likely to be free.
カレンダーユーザは、しばしば他のユーザが彼らの繁忙期情報を見るのを許したがっています、カレンダーコンポーネント(例えば、位置、概要、出席者)の他の詳細を見ないで。 他のユーザがユーザが自由である傾向がある時代にミーティングの計画をするのをまだ許容している間、これはかなりの量のプライバシーを許容します。
The CALDAV:read-free-busy privilege controls which calendar collections, regular collections, and calendar object resources are examined when a CALDAV:free-busy-query REPORT request is processed (see Section 7.10). This privilege can be granted on calendar collections, regular collections, or calendar object resources.
CALDAV:、読みなし、忙しさ、CALDAVであることのそれのカレンダー収集、定期的な収集、およびカレンダーオブジェクトリソースが調べられる特権コントロール: REPORTが要求する無料の忙しい質問は処理されます(セクション7.10を見てください)。 カレンダー収集、定期的な収集、またはカレンダーオブジェクトリソースでこの特権を与えることができます。
Daboo, et al. Standards Track [Page 29] RFC 4791 CalDAV March 2007
Daboo、他 規格は2007年のCalDAV行進のときにRFC4791を追跡します[29ページ]。
Servers MUST support this privilege on all calendar collections, regular collections, and calendar object resources.
サーバはすべてのカレンダー収集、定期的な収集、およびカレンダーオブジェクトリソースでこの特権をサポートしなければなりません。
<!ELEMENT read-free-busy EMPTY>
<!ELEMENT、読みなし、忙しさ、EMPTY>。
The CALDAV:read-free-busy privilege MUST be aggregated in the DAV: read privilege. Servers MUST allow the CALDAV:read-free-busy to be granted without the DAV:read privilege being granted.
CALDAV:、読みなし、忙しさ、DAVで特権を集めなければなりません: 特権を読んでください。 サーバはCALDAVを許容しなければなりません:、読みなし、忙しさ、DAV: 読書なしで与えるには、存在当然のことに特権を与えさせてください。
Clients should note that when only the CALDAV:read-free-busy privilege has been granted on a resource, access to GET, HEAD, OPTIONS, and PROPFIND on the resource is not implied (those operations are governed by the DAV:read privilege).
CALDAVだけであるときに、クライアントはそれに注意するべきです:、読みなし、忙しさ、リソースで特権を与えました、GETへのアクセス、HEAD、OPTIONS、そして、リソースのPROPFINDは含意されません(それらの操作はDAVによって治められます: 特権を読んでください)。
6.2. Additional Principal Property
6.2. 追加主要な特性
This section defines an additional property for WebDAV principal resources, as defined in [RFC3744].
このセクションはWebDAVの主要なリソースのために[RFC3744]で定義されるように追加特性を定義します。
6.2.1. CALDAV:calendar-home-set Property
6.2.1. CALDAV: カレンダーホームセット所有地
Name: calendar-home-set
以下を命名してください。 カレンダーホームはセットしました。
Namespace: urn:ietf:params:xml:ns:caldav
名前空間: つぼ:ietf:params:xml:ナノ秒: caldav
Purpose: Identifies the URL of any WebDAV collections that contain calendar collections owned by the associated principal resource.
目的: 関連主要なリソースによって所有されていたカレンダー収集を含むどんなWebDAV収集のURLも特定します。
Conformance: This property SHOULD be defined on a principal resource. If defined, it MAY be protected and SHOULD NOT be returned by a PROPFIND DAV:allprop request (as defined in Section 12.14.1 of [RFC2518]).
順応: この特性のSHOULD、主要なリソースで定義されてください。 定義されていて、それが保護されるかもしれないか、そして、SHOULD NOT、PROPFIND DAVによって返されてください: allprop要求(.1セクション12.14[RFC2518]で定義されるように)。
Description: The CALDAV:calendar-home-set property is meant to allow users to easily find the calendar collections owned by the principal. Typically, users will group all the calendar collections that they own under a common collection. This property specifies the URL of collections that are either calendar collections or ordinary collections that have child or descendant calendar collections owned by the principal.
記述: CALDAV: ユーザはカレンダーホームセット所有地で容易に主体によって所有されていたカレンダー収集を見つけることになっていることができます。 通常、ユーザはそれらが一般的な収集で所有しているすべてのカレンダー収集を分類するでしょう。 この特性は主体で子供か下降のカレンダー収集を所有しているカレンダー収集か普通徴収のどちらかである収集のURLを指定します。
Definition:
定義:
<!ELEMENT calendar-home-set (DAV:href*)>
<!ELEMENTカレンダーホームセット(DAV: href*)>。
Daboo, et al. Standards Track [Page 30] RFC 4791 CalDAV March 2007
Daboo、他 規格は2007年のCalDAV行進のときにRFC4791を追跡します[30ページ]。
Example:
例:
<C:calendar-home-set xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav"> <D:href>http://cal.example.com/home/bernard/calendars/</D:href> </C:calendar-home-set>
<C: カレンダーホームセットxmlns: Dが等しい、「DAV:」 xmlns: Cが等しい、「つぼ:ietf:params:xml:ナノ秒: caldav「><D: href>http://cal.example.com/home/bernard/calendars/</D: href></C: カレンダーで家で設定している>」
7. Calendaring Reports
7. レポートをCalendaringします。
This section defines the reports that CalDAV servers MUST support on calendar collections and calendar object resources.
このセクションはCalDAVサーバがカレンダー収集とカレンダーオブジェクトリソースでサポートしなければならないレポートを定義します。
CalDAV servers MUST advertise support for these reports on all calendar collections and calendar object resources with the DAV: supported-report-set property, defined in Section 3.1.5 of [RFC3253]. CalDAV servers MAY also advertise support for these reports on ordinary collections.
CalDAVサーバはDAVと共にすべてのカレンダー収集とカレンダーオブジェクトリソースに関するこれらのレポートのサポートの広告を出さなければなりません: .5セクション3.1[RFC3253]で定義されたサポートしているレポートセット所有地。 また、CalDAVサーバは普通徴収に関するこれらのレポートのサポートの広告を出すかもしれません。
Some of these reports allow calendar data (from possibly multiple resources) to be returned.
これらのレポートのいくつかがカレンダーデータ(ことによると複数のリソースからの)を返させます。
7.1. REPORT Method
7.1. レポートメソッド
The REPORT method (defined in Section 3.6 of [RFC3253]) provides an extensible mechanism for obtaining information about one or more resources. Unlike the PROPFIND method, which returns the value of one or more named properties, the REPORT method can involve more complex processing. REPORT is valuable in cases where the server has access to all of the information needed to perform the complex request (such as a query), and where it would require multiple requests for the client to retrieve the information needed to perform the same request.
REPORTメソッド([RFC3253]のセクション3.6では、定義される)はより多くの獲得情報およそ1リソースに広げることができるメカニズムを提供します。 PROPFINDメソッドと異なって、REPORTメソッドは、より複雑な処理を伴うことができます。それは、特性という1以上の値を返します。 REPORTはサーバが複雑な要求(質問などの)を実行するのに必要である情報のすべてに近づく手段を持って、それがクライアントが同じ要求を実行するのに必要である情報を検索するという複数の要求を必要とする場合で貴重です。
CalDAV servers MUST support the DAV:expand-property REPORT defined in Section 3.8 of [RFC3253].
CalDAVサーバはDAVをサポートしなければなりません: [RFC3253]のセクション3.8で定義された特性を拡張しているREPORT。
7.2. Ordinary Collections
7.2. 普通徴収
Servers MAY support the reports defined in this document on ordinary collections (collections that are not calendar collections), in addition to calendar collections or calendar object resources. In computing responses to the reports on ordinary collections, servers MUST only consider calendar object resources contained in calendar collections that are targeted by the REPORT request, based on the value of the Depth request header.
サーバは本書では普通徴収(カレンダー収集でない収集)のときに定義されたレポートをサポートするかもしれません、カレンダー収集かカレンダーオブジェクトリソースに加えて。 普通徴収に関するレポートへの応答計算では、サーバはREPORT要求で狙うカレンダー収集に含まれたカレンダーオブジェクトリソースを考えるだけでよいです、Depth要求ヘッダーの値に基づいて。
Daboo, et al. Standards Track [Page 31] RFC 4791 CalDAV March 2007
Daboo、他 規格は2007年のCalDAV行進のときにRFC4791を追跡します[31ページ]。
7.3. Date and Floating Time
7.3. 期日と浮いている時間
iCalendar provides a way to specify DATE and DATE-TIME values that are not bound to any time zone in particular, hereafter called "floating date" and "floating time", respectively. These values are used to represent the same day, hour, minute, and second value, regardless of which time zone is being observed. For instance, the DATE value "20051111", represents November 11, 2005 in no specific time zone, while the DATE-TIME value "20051111T111100" represents November 11, 2005, at 11:11 A.M. in no specific time zone.
iCalendarはそれぞれ特に今後「浮いている期日と浮いている時間」と呼ばれるどんな時間帯にも縛られないDATEとDATE-タイム誌値を指定する方法を提供します。 これらの値は同じ日を表すのに使用されます、時間、分、および2番目の値、どの時間帯が観測されているかにかかわらず。 例えば、DATEはどんな特定の時間帯でも、「20051111」を評価して、2005年11月11日を表しません、日付時間的価値"20051111T111100"は2005年11月11日を表しますが、特定の時間帯がないのにおける午前11時11分に。
CalDAV servers may need to convert "floating date" and "floating time" values in date with UTC time values in the processing of calendaring REPORT requests.
CalDAVサーバは、日付でcalendaring REPORT要求の処理におけるUTC時間的価値で「浮いている期日」と「浮いている時間」値を変換する必要があるかもしれません。
For the CALDAV:calendar-query REPORT, CalDAV servers MUST rely on the value of the CALDAV:timezone XML element, if specified as part of the request body, to perform the proper conversion of "floating date" and "floating time" values to date with UTC time values. If the CALDAV: timezone XML element is not specified in the request body, CalDAV servers MUST rely on the value of the CALDAV:calendar-timezone property, if defined, or else the CalDAV servers MAY rely on the time zone of their choice.
CALDAVのために: カレンダー質問REPORT、CalDAVサーバはCALDAV: タイムゾーンXML要素の価値を当てにしなければなりません、これまでUTC時間的価値で「浮いている期日」と「浮いている時間」値の適切な変換を実行するために要求身体の一部として指定されるなら。 CALDAVであるなら: タイムゾーンXML要素は要求本体で指定されていて、CalDAVサーバはCALDAVの値を当てにしなければなりません: カレンダータイムゾーンの特性、または、定義されるなら、CalDAVサーバが彼らの選択の時間帯を当てにするかもしれないということではありません。
For the CALDAV:free-busy-query REPORT, CalDAV servers MUST rely on the value of the CALDAV:calendar-timezone property, if defined, to compute the proper FREEBUSY time period value as date with UTC time for calendar components scheduled with "floating date" or "floating time". If the CALDAV:calendar-timezone property is not defined, CalDAV servers MAY rely on the time zone of their choice.
CALDAVのために: 無料の忙しい質問REPORT、CalDAVサーバはCALDAV: カレンダータイムゾーン属性の価値を当てにしなければなりません、「浮いている期日」で予定されていたカレンダーコンポーネントか「浮いている時間」のときに日付としてUTC時間で適切なFREEBUSY期間の価値を計算するために定義されるなら。 CALDAV: カレンダータイムゾーンの特性が定義されないなら、CalDAVサーバは彼らの選択の時間帯を当てにするかもしれません。
7.4. Time Range Filtering
7.4. 時間範囲フィルタリング
Some of the reports defined in this section can include a time range filter that is used to restrict the set of calendar object resources returned to just those that overlap the specified time range. The time range filter can be applied to a calendar component as a whole, or to specific calendar component properties with DATE or DATE-TIME value types.
このセクションで定義されたレポートのいくつかがまさしく指定された時間範囲を重ね合わせるものに返されたカレンダーオブジェクトリソースのセットを制限するのに使用される時間範囲フィルタを含むことができます。 全体でカレンダーコンポーネント、または、DATEがある特定のカレンダーコンポーネント性質かDATE-タイム誌値のタイプに時間範囲フィルタを適用できます。
To determine whether a calendar object resource matches the time range filter element, the start and end times for the targeted component or property are determined and then compared to the requested time range. If there is an overlap with the requested time range, then the calendar object resource matches the filter element. The rules defined in [RFC2445] for determining the actual start and end times of calendar components MUST be used, and these are fully enumerated in Section 9.9 of this document.
次に、狙っているコンポーネントか特性のためにカレンダーオブジェクトリソースが時間範囲フィルタエレメント、始め、および終わりの回に合っているかどうか決定するのは、決定して要求された時間範囲と比較されています。 要求された時間範囲とのオーバラップがあれば、カレンダーオブジェクトリソースはフィルタエレメントに合っています。 カレンダーコンポーネントの実際の始めと終わりの倍を決定するために[RFC2445]で定義された規則を使用しなければなりません、そして、これらはこのドキュメントのセクション9.9で完全に列挙されます。
Daboo, et al. Standards Track [Page 32] RFC 4791 CalDAV March 2007
Daboo、他 規格は2007年のCalDAV行進のときにRFC4791を追跡します[32ページ]。
When such time range filtering is used, special consideration must be given to recurring calendar components, such as VEVENT and VTODO. The server MUST expand recurring components to determine whether any recurrence instances overlap the specified time range. If one or more recurrence instances overlap the time range, then the calendar object resource matches the filter element.
そのような時間範囲フィルタリングが使用されているとき、再発カレンダーコンポーネントに特別の配慮を与えなければなりません、VEVENTやVTODOのように。 サーバは、何か再発インスタンスが指定された時間範囲を重ね合わせるかどうか決定するために再発コンポーネントを広くしなければなりません。 1つ以上の再発インスタンスが時間範囲を重ね合わせるなら、カレンダーオブジェクトリソースはフィルタエレメントに合っています。
7.5. Searching Text: Collations
7.5. 探しているテキスト: 校合
Some of the reports defined in this section do text matches of character strings provided by the client and are compared to stored calendar data. Since iCalendar data is, by default, encoded in the UTF-8 charset and may include characters outside the US-ASCII charset range in some property and parameter values, there is a need to ensure that text matching follows well-defined rules.
このセクションで定義されたレポートのいくつかが、クライアントによって提供された文字列のマッチをテキストにして、保存されたカレンダーデータと比較されます。 iCalendarデータがデフォルトでUTF-8 charsetでコード化されて、米国-ASCII charset範囲の外に何らかの特性とパラメタ値でキャラクタを含むかもしれないので、テキストマッチングが明確な規則に従うのを保証する必要があります。
To deal with this, this specification makes use of the IANA Collation Registry defined in [RFC4790] to specify collations that may be used to carry out the text comparison operations with a well-defined rule.
これに対処するために、この仕様は明確な規則でテキスト比較操作を行うのに使用されるかもしれない校合を指定するために[RFC4790]で定義されたIANA Collation Registryを利用します。
The comparisons used in CalDAV are all "substring" matches, as per [RFC4790], Section 4.2. Collations supported by the server MUST support "substring" match operations.
CalDAVで使用される比較は[RFC4790]、セクション4.2に従ってすべて「サブストリング」マッチです。 サーバで後押しされている校合は「サブストリング」マッチ操作をサポートしなければなりません。
CalDAV servers are REQUIRED to support the "i;ascii-casemap" and "i;octet" collations, as described in [RFC4790], and MAY support other collations.
そして、CalDAVサーバが「i; ASCIIでcasemapすること」をサポートするREQUIREDである、「i; 同じくらい校合であって、中で同じくらい説明された八重奏[RFC4790]、および5月のサポート他の校合。
Servers MUST advertise the set of collations that they support via the CALDAV:supported-collation-set property defined on any resource that supports reports that use collations.
サーバはそれらがCALDAVを通してサポートする校合のセットの広告を出さなければなりません: 校合を使用するレポートをサポートするどんなリソースでも定義されたサポートしている照合セット所有地。
Clients MUST only use collations from the list advertised by the server.
クライアントはサーバによって広告に掲載されたリストから校合を使用するだけでよいです。
In the absence of a collation explicitly specified by the client, or if the client specifies the "default" collation identifier (as defined in [RFC4790], Section 3.1), the server MUST default to using "i;ascii-casemap" as the collation.
クライアントかそれともクライアントが「デフォルト」照合識別子を指定するかどうかによって([RFC4790]、セクション3.1で定義されるように)明らかに指定された照合がないとき、サーバは照合として「i; ASCIIでcasemapすること」を使用するのをデフォルトとしなければなりません。
Wildcards (as defined in [RFC4790], Section 3.2) MUST NOT be used in the collation identifier.
照合識別子でワイルドカード([RFC4790]、セクション3.2で定義されるように)を使用してはいけません。
If the client chooses a collation not supported by the server, the server MUST respond with a CALDAV:supported-collation precondition error response.
クライアントがサーバで後押しされていない照合を選ぶなら、サーバはCALDAVと共に反応しなければなりません: サポートしている照合前提条件誤り応答。
Daboo, et al. Standards Track [Page 33] RFC 4791 CalDAV March 2007
Daboo、他 規格は2007年のCalDAV行進のときにRFC4791を追跡します[33ページ]。
7.5.1. CALDAV:supported-collation-set Property
7.5.1. CALDAV: サポートしている照合セット所有地
Name: supported-collation-set
以下を命名してください。 サポートしている照合はセットしました。
Namespace: urn:ietf:params:xml:ns:caldav
名前空間: つぼ:ietf:params:xml:ナノ秒: caldav
Purpose: Identifies the set of collations supported by the server for text matching operations.
目的: テキストマッチング操作のためのサーバで後押しされている校合のセットを特定します。
Conformance: This property MUST be defined on any resource that supports a report that does text matching. 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 [RFC2518]).
順応: テキストマッチングをするレポートをサポートするどんなリソースでもこの特性を定義しなければなりません。 定義されていて、それを保護しなければならないか、そして、SHOULD NOT、PROPFIND DAVによって返されてください: allprop要求(.1セクション12.14[RFC2518]で定義されるように)。
Description: The CALDAV:supported-collation-set property contains zero or more CALDAV:supported-collation elements, which specify the collection identifiers of the collations supported by the server.
記述: CALDAV: サポートしている照合セット所有地は、より多くのCALDAV: ゼロかサポートしている照合要素を含んでいます。(要素はサーバで後押しされている校合に関する収集識別子を指定します)。
Definition:
定義:
<!ELEMENT supported-collation-set (supported-collation*)>
<!ELEMENT、サポートしている照合はセットしました。(サポートしている照合*)>。
<!ELEMENT supported-collation (#PCDATA)>
<!のELEMENTのサポートしている照合(#PCDATA)>。
Example:
例:
<C:supported-collation-set xmlns:C="urn:ietf:params:xml:ns:caldav"> <C:supported-collation>i;ascii-casemap</C:supported-collation> <C:supported-collation>i;octet</C:supported-collation> </C:supported-collation-set>
<C:supported-collation-set xmlns:C="urn:ietf:params:xml:ns:caldav"> <C:supported-collation>i;ascii-casemap</C:supported-collation> <C:supported-collation>i;octet</C:supported-collation> </C:supported-collation-set>
7.6. Partial Retrieval
7.6. Partial Retrieval
Some calendaring reports defined in this document allow partial retrieval of calendar object resources. A CalDAV client can specify what information to return in the body of a calendaring REPORT request.
Some calendaring reports defined in this document allow partial retrieval of calendar object resources. A CalDAV client can specify what information to return in the body of a calendaring REPORT request.
A CalDAV client can request particular WebDAV property values, all WebDAV property values, or a list of the names of the resource's WebDAV properties. A CalDAV client can also request calendar data to be returned and specify whether all calendar components and properties should be returned, or only particular ones. See CALDAV: calendar-data in Section 9.6.
A CalDAV client can request particular WebDAV property values, all WebDAV property values, or a list of the names of the resource's WebDAV properties. A CalDAV client can also request calendar data to be returned and specify whether all calendar components and properties should be returned, or only particular ones. See CALDAV: calendar-data in Section 9.6.
Daboo, et al. Standards Track [Page 34] RFC 4791 CalDAV March 2007
Daboo, et al. Standards Track [Page 34] RFC 4791 CalDAV March 2007
By default, the returned calendar data will include the component that defines the recurrence set, referred to as the "master component", as well as the components that define exceptions to the recurrence set, referred to as the "overridden components".
By default, the returned calendar data will include the component that defines the recurrence set, referred to as the "master component", as well as the components that define exceptions to the recurrence set, referred to as the "overridden components".
A CalDAV client that is only interested in the recurrence instances that overlap a specified time range can request to receive only the "master component", along with the "overridden components" that impact the specified time range, and thus, limit the data returned by the server (see CALDAV:limit-recurrence-set in Section 9.6.6). An overridden component impacts a time range if its current start and end times overlap the time range, or if the original start and end times -- the ones that would have been used if the instance were not overridden -- overlap the time range, or if it affects other instances that overlap the time range.
A CalDAV client that is only interested in the recurrence instances that overlap a specified time range can request to receive only the "master component", along with the "overridden components" that impact the specified time range, and thus, limit the data returned by the server (see CALDAV:limit-recurrence-set in Section 9.6.6). An overridden component impacts a time range if its current start and end times overlap the time range, or if the original start and end times -- the ones that would have been used if the instance were not overridden -- overlap the time range, or if it affects other instances that overlap the time range.
A CalDAV client with no support for recurrence properties (i.e., EXDATE, EXRULE, RDATE, and RRULE) and possibly VTIMEZONE components, or a client unwilling to perform recurrence expansion because of limited processing capability, can request to receive only the recurrence instances that overlap a specified time range as separate calendar components that each define exactly one recurrence instance (see CALDAV:expand in Section 9.6.5.)
A CalDAV client with no support for recurrence properties (i.e., EXDATE, EXRULE, RDATE, and RRULE) and possibly VTIMEZONE components, or a client unwilling to perform recurrence expansion because of limited processing capability, can request to receive only the recurrence instances that overlap a specified time range as separate calendar components that each define exactly one recurrence instance (see CALDAV:expand in Section 9.6.5.)
Finally, in the case of VFREEBUSY components, a CalDAV client can request to receive only the FREEBUSY property values that overlap a specified time range (see CALDAV:limit-freebusy-set in Section 9.6.7.)
Finally, in the case of VFREEBUSY components, a CalDAV client can request to receive only the FREEBUSY property values that overlap a specified time range (see CALDAV:limit-freebusy-set in Section 9.6.7.)
7.7. Non-Standard Components, Properties, and Parameters
7.7. Non-Standard Components, Properties, and Parameters
Servers MUST support the use of non-standard component, property, or parameter names in the CALDAV:calendar-data XML element in calendaring REPORT requests to allow clients to request that non- standard components, properties, and parameters be returned in the calendar data provided in the response.
Servers MUST support the use of non-standard component, property, or parameter names in the CALDAV:calendar-data XML element in calendaring REPORT requests to allow clients to request that non- standard components, properties, and parameters be returned in the calendar data provided in the response.
Servers MAY support the use of non-standard component, property, or parameter names in the CALDAV:comp-filter, CALDAV:prop-filter, and CALDAV:param-filter XML elements specified in the CALDAV:filter XML element of calendaring REPORT requests.
Servers MAY support the use of non-standard component, property, or parameter names in the CALDAV:comp-filter, CALDAV:prop-filter, and CALDAV:param-filter XML elements specified in the CALDAV:filter XML element of calendaring REPORT requests.
Servers MUST fail with the CALDAV:supported-filter precondition if a calendaring REPORT request uses a CALDAV:comp-filter, CALDAV:prop- filter, or CALDAV:param-filter XML element that makes reference to a non-standard component, property, or parameter name on which the server does not support queries.
Servers MUST fail with the CALDAV:supported-filter precondition if a calendaring REPORT request uses a CALDAV:comp-filter, CALDAV:prop- filter, or CALDAV:param-filter XML element that makes reference to a non-standard component, property, or parameter name on which the server does not support queries.
Daboo, et al. Standards Track [Page 35] RFC 4791 CalDAV March 2007
Daboo, et al. Standards Track [Page 35] RFC 4791 CalDAV March 2007
7.8. CALDAV:calendar-query REPORT
7.8. CALDAV:calendar-query REPORT
The CALDAV:calendar-query REPORT performs a search for all calendar object resources that match a specified filter. The response of this report will contain all the WebDAV properties and calendar object resource data specified in the request. In the case of the CALDAV: calendar-data XML element, one can explicitly specify the calendar components and properties that should be returned in the calendar object resource data that matches the filter.
The CALDAV:calendar-query REPORT performs a search for all calendar object resources that match a specified filter. The response of this report will contain all the WebDAV properties and calendar object resource data specified in the request. In the case of the CALDAV: calendar-data XML element, one can explicitly specify the calendar components and properties that should be returned in the calendar object resource data that matches the filter.
The format of this report is modeled on the PROPFIND method. The request and response bodies of the CALDAV:calendar-query REPORT use XML elements that are also used by PROPFIND. In particular, the request can include XML elements to request WebDAV properties to be returned. When that occurs, the response should follow the same behavior as PROPFIND with respect to the DAV:multistatus response elements used to return specific property results. For instance, a request to retrieve the value of a property that does not exist is an error and MUST be noted with a response XML element that contains a 404 (Not Found) status value.
The format of this report is modeled on the PROPFIND method. The request and response bodies of the CALDAV:calendar-query REPORT use XML elements that are also used by PROPFIND. In particular, the request can include XML elements to request WebDAV properties to be returned. When that occurs, the response should follow the same behavior as PROPFIND with respect to the DAV:multistatus response elements used to return specific property results. For instance, a request to retrieve the value of a property that does not exist is an error and MUST be noted with a response XML element that contains a 404 (Not Found) status value.
Support for the CALDAV:calendar-query REPORT is REQUIRED.
Support for the CALDAV:calendar-query REPORT is REQUIRED.
Marshalling:
Marshalling:
The request body MUST be a CALDAV:calendar-query XML element, as defined in Section 9.5.
The request body MUST be a CALDAV:calendar-query XML element, as defined in Section 9.5.
The request MAY include a Depth header. If no Depth header is included, Depth:0 is assumed.
The request MAY include a Depth header. If no Depth header is included, Depth:0 is assumed.
The response body for a successful request MUST be a DAV: multistatus XML element (i.e., the response uses the same format as the response for PROPFIND). In the case where there are no response elements, the returned DAV:multistatus XML element is empty.
The response body for a successful request MUST be a DAV: multistatus XML element (i.e., the response uses the same format as the response for PROPFIND). In the case where there are no response elements, the returned DAV:multistatus XML element is empty.
The response body for a successful CALDAV:calendar-query REPORT request MUST contain a DAV:response element for each iCalendar object that matched the search filter. Calendar data is being returned in the CALDAV:calendar-data XML element inside the DAV: propstat XML element.
The response body for a successful CALDAV:calendar-query REPORT request MUST contain a DAV:response element for each iCalendar object that matched the search filter. Calendar data is being returned in the CALDAV:calendar-data XML element inside the DAV: propstat XML element.
Preconditions:
Preconditions:
(CALDAV:supported-calendar-data): The attributes "content-type" and "version" of the CALDAV:calendar-data XML element (see
(CALDAV:supported-calendar-data): The attributes "content-type" and "version" of the CALDAV:calendar-data XML element (see
Daboo, et al. Standards Track [Page 36] RFC 4791 CalDAV March 2007
Daboo, et al. Standards Track [Page 36] RFC 4791 CalDAV March 2007
Section 9.6) specify a media type supported by the server for calendar object resources.
Section 9.6) specify a media type supported by the server for calendar object resources.
(CALDAV:valid-filter): The CALDAV:filter XML element (see Section 9.7) specified in the REPORT request MUST be valid. For instance, a CALDAV:filter cannot nest a <C:comp name="VEVENT"> element in a <C:comp name="VTODO"> element, and a CALDAV:filter cannot nest a <C:time-range start="..." end="..."> element in a <C:prop name="SUMMARY"> element.
(CALDAV:valid-filter): The CALDAV:filter XML element (see Section 9.7) specified in the REPORT request MUST be valid. For instance, a CALDAV:filter cannot nest a <C:comp name="VEVENT"> element in a <C:comp name="VTODO"> element, and a CALDAV:filter cannot nest a <C:time-range start="..." end="..."> element in a <C:prop name="SUMMARY"> element.
(CALDAV:supported-filter): The CALDAV:comp-filter (see Section 9.7.1), CALDAV:prop-filter (see Section 9.7.2), and CALDAV:param-filter (see Section 9.7.3) XML elements used in the CALDAV:filter XML element (see Section 9.7) in the REPORT request only make reference to components, properties, and parameters for which queries are supported by the server, i.e., if the CALDAV: filter element attempts to reference an unsupported component, property, or parameter, this precondition is violated. Servers SHOULD report the CALDAV:comp-filter, CALDAV:prop-filter, or CALDAV:param-filter for which it does not provide support.
(CALDAV:supported-filter): The CALDAV:comp-filter (see Section 9.7.1), CALDAV:prop-filter (see Section 9.7.2), and CALDAV:param-filter (see Section 9.7.3) XML elements used in the CALDAV:filter XML element (see Section 9.7) in the REPORT request only make reference to components, properties, and parameters for which queries are supported by the server, i.e., if the CALDAV: filter element attempts to reference an unsupported component, property, or parameter, this precondition is violated. Servers SHOULD report the CALDAV:comp-filter, CALDAV:prop-filter, or CALDAV:param-filter for which it does not provide support.
<!ELEMENT supported-filter (comp-filter*, prop-filter*, param-filter*)>
<!ELEMENT supported-filter (comp-filter*, prop-filter*, param-filter*)>
(CALDAV:valid-calendar-data): The time zone specified in the REPORT request MUST be a valid iCalendar object containing a single valid VTIMEZONE component.
(CALDAV:valid-calendar-data): The time zone specified in the REPORT request MUST be a valid iCalendar object containing a single valid VTIMEZONE component.
(CALDAV:min-date-time): Any XML element specifying a range of time MUST have its start or end DATE or DATE-TIME values greater than or equal to the value of the CALDAV:min-date-time property value (Section 5.2.6) on the calendar collections being targeted by the REPORT request;
(CALDAV:min-date-time): Any XML element specifying a range of time MUST have its start or end DATE or DATE-TIME values greater than or equal to the value of the CALDAV:min-date-time property value (Section 5.2.6) on the calendar collections being targeted by the REPORT request;
(CALDAV:max-date-time): Any XML element specifying a range of time MUST have its start or end DATE or DATE-TIME values less than or equal to the value of the CALDAV:max-date-time property value (Section 5.2.7) on the calendar collections being targeted by the REPORT request;
(CALDAV:max-date-time): Any XML element specifying a range of time MUST have its start or end DATE or DATE-TIME values less than or equal to the value of the CALDAV:max-date-time property value (Section 5.2.7) on the calendar collections being targeted by the REPORT request;
(CALDAV:supported-collation): Any XML attribute specifying a collation MUST specify a collation supported by the server as described in Section 7.5.
(CALDAV:supported-collation): Any XML attribute specifying a collation MUST specify a collation supported by the server as described in Section 7.5.
Daboo, et al. Standards Track [Page 37] RFC 4791 CalDAV March 2007
Daboo, et al. Standards Track [Page 37] RFC 4791 CalDAV March 2007
Postconditions:
Postconditions:
(DAV:number-of-matches-within-limits): The number of matching calendar object resources must fall within server-specific, predefined limits. For example, this condition might be triggered if a search specification would cause the return of an extremely large number of responses.
(DAV:number-of-matches-within-limits): The number of matching calendar object resources must fall within server-specific, predefined limits. For example, this condition might be triggered if a search specification would cause the return of an extremely large number of responses.
7.8.1. Example: Partial Retrieval of Events by Time Range
7.8.1. Example: Partial Retrieval of Events by Time Range
In this example, the client requests the server to return specific components and properties of the VEVENT components that overlap the time range from January 4, 2006, at 00:00:00 A.M. UTC to January 5, 2006, at 00:00:00 A.M. UTC. In addition, the DAV:getetag property is also requested and returned as part of the response. Note that the first calendar object returned is a recurring event whose first instance lies outside the requested time range, but whose third instance does overlap the time range. Note that due to the CALDAV: calendar-data element restrictions, the DTSTAMP property in VEVENT components has not been returned, and the only property returned in the VCALENDAR object is VERSION.
In this example, the client requests the server to return specific components and properties of the VEVENT components that overlap the time range from January 4, 2006, at 00:00:00 A.M. UTC to January 5, 2006, at 00:00:00 A.M. UTC. In addition, the DAV:getetag property is also requested and returned as part of the response. Note that the first calendar object returned is a recurring event whose first instance lies outside the requested time range, but whose third instance does overlap the time range. Note that due to the CALDAV: calendar-data element restrictions, the DTSTAMP property in VEVENT components has not been returned, and the only property returned in the VCALENDAR object is VERSION.
See Appendix B for the calendar data being targeted by this example.
See Appendix B for the calendar data being targeted by this example.
Daboo, et al. Standards Track [Page 38] RFC 4791 CalDAV March 2007
Daboo, et al. Standards Track [Page 38] RFC 4791 CalDAV March 2007
>> Request <<
>> Request <<
REPORT /bernard/work/ HTTP/1.1 Host: cal.example.com Depth: 1 Content-Type: application/xml; charset="utf-8" Content-Length: xxxx
REPORT /bernard/work/ HTTP/1.1 Host: cal.example.com Depth: 1 Content-Type: application/xml; charset="utf-8" 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/> <C:calendar-data> <C:comp name="VCALENDAR"> <C:prop name="VERSION"/> <C:comp name="VEVENT"> <C:prop name="SUMMARY"/> <C:prop name="UID"/> <C:prop name="DTSTART"/> <C:prop name="DTEND"/> <C:prop name="DURATION"/> <C:prop name="RRULE"/> <C:prop name="RDATE"/> <C:prop name="EXRULE"/> <C:prop name="EXDATE"/> <C:prop name="RECURRENCE-ID"/> </C:comp> <C:comp name="VTIMEZONE"/> </C:comp> </C:calendar-data> </D:prop> <C:filter> <C:comp-filter name="VCALENDAR"> <C:comp-filter name="VEVENT"> <C:time-range start="20060104T000000Z" end="20060105T000000Z"/> </C:comp-filter> </C:comp-filter> </C:filter> </C:calendar-query>
<?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/> <C:calendar-data> <C:comp name="VCALENDAR"> <C:prop name="VERSION"/> <C:comp name="VEVENT"> <C:prop name="SUMMARY"/> <C:prop name="UID"/> <C:prop name="DTSTART"/> <C:prop name="DTEND"/> <C:prop name="DURATION"/> <C:prop name="RRULE"/> <C:prop name="RDATE"/> <C:prop name="EXRULE"/> <C:prop name="EXDATE"/> <C:prop name="RECURRENCE-ID"/> </C:comp> <C:comp name="VTIMEZONE"/> </C:comp> </C:calendar-data> </D:prop> <C:filter> <C:comp-filter name="VCALENDAR"> <C:comp-filter name="VEVENT"> <C:time-range start="20060104T000000Z" end="20060105T000000Z"/> </C:comp-filter> </C:comp-filter> </C:filter> </C:calendar-query>
>> Response <<
>> Response <<
HTTP/1.1 207 Multi-Status Date: Sat, 11 Nov 2006 09:32:12 GMT Content-Type: application/xml; charset="utf-8" Content-Length: xxxx
HTTP/1.1 207 Multi-Status Date: Sat, 11 Nov 2006 09:32:12 GMT Content-Type: application/xml; charset="utf-8" Content-Length: xxxx
Daboo, et al. Standards Track [Page 39] RFC 4791 CalDAV March 2007
Daboo, et al. Standards Track [Page 39] RFC 4791 CalDAV March 2007
<?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/work/abcd2.ics</D:href> <D:propstat> <D:prop> <D:getetag>"fffff-abcd2"</D:getetag> <C:calendar-data>BEGIN:VCALENDAR VERSION:2.0 BEGIN:VTIMEZONE LAST-MODIFIED:20040110T032845Z TZID:US/Eastern BEGIN:DAYLIGHT DTSTART:20000404T020000 RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4 TZNAME:EDT TZOFFSETFROM:-0500 TZOFFSETTO:-0400 END:DAYLIGHT BEGIN:STANDARD DTSTART:20001026T020000 RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10 TZNAME:EST TZOFFSETFROM:-0400 TZOFFSETTO:-0500 END:STANDARD END:VTIMEZONE BEGIN:VEVENT DTSTART;TZID=US/Eastern:20060102T120000 DURATION:PT1H RRULE:FREQ=DAILY;COUNT=5 SUMMARY:Event #2 UID:00959BC664CA650E933C892C@example.com END:VEVENT BEGIN:VEVENT DTSTART;TZID=US/Eastern:20060104T140000 DURATION:PT1H RECURRENCE-ID;TZID=US/Eastern:20060104T120000 SUMMARY:Event #2 bis UID:00959BC664CA650E933C892C@example.com END:VEVENT BEGIN:VEVENT DTSTART;TZID=US/Eastern:20060106T140000 DURATION:PT1H RECURRENCE-ID;TZID=US/Eastern:20060106T120000 SUMMARY:Event #2 bis bis UID:00959BC664CA650E933C892C@example.com
<?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/work/abcd2.ics</D:href> <D:propstat> <D:prop> <D:getetag>"fffff-abcd2"</D:getetag> <C:calendar-data>BEGIN:VCALENDAR VERSION:2.0 BEGIN:VTIMEZONE LAST-MODIFIED:20040110T032845Z TZID:US/Eastern BEGIN:DAYLIGHT DTSTART:20000404T020000 RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4 TZNAME:EDT TZOFFSETFROM:-0500 TZOFFSETTO:-0400 END:DAYLIGHT BEGIN:STANDARD DTSTART:20001026T020000 RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10 TZNAME:EST TZOFFSETFROM:-0400 TZOFFSETTO:-0500 END:STANDARD END:VTIMEZONE BEGIN:VEVENT DTSTART;TZID=US/Eastern:20060102T120000 DURATION:PT1H RRULE:FREQ=DAILY;COUNT=5 SUMMARY:Event #2 UID:00959BC664CA650E933C892C@example.com END:VEVENT BEGIN:VEVENT DTSTART;TZID=US/Eastern:20060104T140000 DURATION:PT1H RECURRENCE-ID;TZID=US/Eastern:20060104T120000 SUMMARY:Event #2 bis UID:00959BC664CA650E933C892C@example.com END:VEVENT BEGIN:VEVENT DTSTART;TZID=US/Eastern:20060106T140000 DURATION:PT1H RECURRENCE-ID;TZID=US/Eastern:20060106T120000 SUMMARY:Event #2 bis bis UID:00959BC664CA650E933C892C@example.com
Daboo, et al. Standards Track [Page 40] RFC 4791 CalDAV March 2007
Daboo, et al. Standards Track [Page 40] RFC 4791 CalDAV March 2007
END:VEVENT END:VCALENDAR </C:calendar-data> </D:prop> <D:status>HTTP/1.1 200 OK</D:status> </D:propstat> </D:response> <D:response> <D:href>http://cal.example.com/bernard/work/abcd3.ics</D:href> <D:propstat> <D:prop> <D:getetag>"fffff-abcd3"</D:getetag> <C:calendar-data>BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Example Corp.//CalDAV Client//EN BEGIN:VTIMEZONE LAST-MODIFIED:20040110T032845Z TZID:US/Eastern BEGIN:DAYLIGHT DTSTART:20000404T020000 RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4 TZNAME:EDT TZOFFSETFROM:-0500 TZOFFSETTO:-0400 END:DAYLIGHT BEGIN:STANDARD DTSTART:20001026T020000 RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10 TZNAME:EST TZOFFSETFROM:-0400 TZOFFSETTO:-0500 END:STANDARD END:VTIMEZONE BEGIN:VEVENT DTSTART;TZID=US/Eastern:20060104T100000 DURATION:PT1H SUMMARY:Event #3 UID:DC6C50A017428C5216A2F1CD@example.com END:VEVENT END:VCALENDAR </C:calendar-data> </D:prop> <D:status>HTTP/1.1 200 OK</D:status> </D:propstat> </D:response> </D:multistatus>
END:VEVENT END:VCALENDAR </C:calendar-data> </D:prop> <D:status>HTTP/1.1 200 OK</D:status> </D:propstat> </D:response> <D:response> <D:href>http://cal.example.com/bernard/work/abcd3.ics</D:href> <D:propstat> <D:prop> <D:getetag>"fffff-abcd3"</D:getetag> <C:calendar-data>BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Example Corp.//CalDAV Client//EN BEGIN:VTIMEZONE LAST-MODIFIED:20040110T032845Z TZID:US/Eastern BEGIN:DAYLIGHT DTSTART:20000404T020000 RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4 TZNAME:EDT TZOFFSETFROM:-0500 TZOFFSETTO:-0400 END:DAYLIGHT BEGIN:STANDARD DTSTART:20001026T020000 RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10 TZNAME:EST TZOFFSETFROM:-0400 TZOFFSETTO:-0500 END:STANDARD END:VTIMEZONE BEGIN:VEVENT DTSTART;TZID=US/Eastern:20060104T100000 DURATION:PT1H SUMMARY:Event #3 UID:DC6C50A017428C5216A2F1CD@example.com END:VEVENT END:VCALENDAR </C:calendar-data> </D:prop> <D:status>HTTP/1.1 200 OK</D:status> </D:propstat> </D:response> </D:multistatus>
Daboo, et al. Standards Track [Page 41] RFC 4791 CalDAV March 2007
Daboo, et al. Standards Track [Page 41] RFC 4791 CalDAV March 2007
7.8.2. Example: Partial Retrieval of Recurring Events
7.8.2. Example: Partial Retrieval of Recurring Events
In this example, the client requests the server to return VEVENT components that overlap the time range from January 3, 2006, at 00: 00:00 A.M. UTC to January 5, 2006, at 00:00:00 A.M. UTC. Use of the CALDAV:limit-recurrence-set element causes the server to only return overridden recurrence components that overlap the time range specified in that element or that affect other instances that overlap the time range (e.g., in the case of a THISANDFUTURE behavior). In this example, the first overridden component in the matching resource is returned, but the second one is not.
In this example, the client requests the server to return VEVENT components that overlap the time range from January 3, 2006, at 00: 00:00 A.M. UTC to January 5, 2006, at 00:00:00 A.M. UTC. Use of the CALDAV:limit-recurrence-set element causes the server to only return overridden recurrence components that overlap the time range specified in that element or that affect other instances that overlap the time range (e.g., in the case of a THISANDFUTURE behavior). In this example, the first overridden component in the matching resource is returned, but the second one is not.
See Appendix B for the calendar data being targeted by this example.
See Appendix B for the calendar data being targeted by this example.
>> Request <<
>> Request <<
REPORT /bernard/work/ HTTP/1.1 Host: cal.example.com Depth: 1 Content-Type: application/xml; charset="utf-8" Content-Length: xxxx
REPORT /bernard/work/ HTTP/1.1 Host: cal.example.com Depth: 1 Content-Type: application/xml; charset="utf-8" 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> <C:calendar-data> <C:limit-recurrence-set start="20060103T000000Z" end="20060105T000000Z"/> </C:calendar-data> </D:prop> <C:filter> <C:comp-filter name="VCALENDAR"> <C:comp-filter name="VEVENT"> <C:time-range start="20060103T000000Z" end="20060105T000000Z"/> </C:comp-filter> </C:comp-filter> </C:filter> </C:calendar-query>
<?xml version="1.0" encoding="utf-8" ?> <C:calendar-query xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav"> <D:prop> <C:calendar-data> <C:limit-recurrence-set start="20060103T000000Z" end="20060105T000000Z"/> </C:calendar-data> </D:prop> <C:filter> <C:comp-filter name="VCALENDAR"> <C:comp-filter name="VEVENT"> <C:time-range start="20060103T000000Z" end="20060105T000000Z"/> </C:comp-filter> </C:comp-filter> </C:filter> </C:calendar-query>
>> Response <<
>> Response <<
HTTP/1.1 207 Multi-Status Date: Sat, 11 Nov 2006 09:32:12 GMT Content-Type: application/xml; charset="utf-8" Content-Length: xxxx
HTTP/1.1 207 Multi-Status Date: Sat, 11 Nov 2006 09:32:12 GMT Content-Type: application/xml; charset="utf-8" Content-Length: xxxx
Daboo, et al. Standards Track [Page 42] RFC 4791 CalDAV March 2007
Daboo, et al. Standards Track [Page 42] RFC 4791 CalDAV March 2007
<?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/work/abcd2.ics</D:href> <D:propstat> <D:prop> <D:getetag>"fffff-abcd2"</D:getetag> <C:calendar-data>BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Example Corp.//CalDAV Client//EN BEGIN:VTIMEZONE LAST-MODIFIED:20040110T032845Z TZID:US/Eastern BEGIN:DAYLIGHT DTSTART:20000404T020000 RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4 TZNAME:EDT TZOFFSETFROM:-0500 TZOFFSETTO:-0400 END:DAYLIGHT BEGIN:STANDARD DTSTART:20001026T020000 RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10 TZNAME:EST TZOFFSETFROM:-0400 TZOFFSETTO:-0500 END:STANDARD END:VTIMEZONE BEGIN:VEVENT DTSTAMP:20060206T001121Z DTSTART;TZID=US/Eastern:20060102T120000 DURATION:PT1H RRULE:FREQ=DAILY;COUNT=5 SUMMARY:Event #2 UID:00959BC664CA650E933C892C@example.com END:VEVENT BEGIN:VEVENT DTSTAMP:20060206T001121Z DTSTART;TZID=US/Eastern:20060104T140000 DURATION:PT1H RECURRENCE-ID;TZID=US/Eastern:20060104T120000 SUMMARY:Event #2 bis UID:00959BC664CA650E933C892C@example.com END:VEVENT END:VCALENDAR </C:calendar-data> </D:prop>
<?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/work/abcd2.ics</D:href> <D:propstat> <D:prop> <D:getetag>"fffff-abcd2"</D:getetag> <C:calendar-data>BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Example Corp.//CalDAV Client//EN BEGIN:VTIMEZONE LAST-MODIFIED:20040110T032845Z TZID:US/Eastern BEGIN:DAYLIGHT DTSTART:20000404T020000 RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4 TZNAME:EDT TZOFFSETFROM:-0500 TZOFFSETTO:-0400 END:DAYLIGHT BEGIN:STANDARD DTSTART:20001026T020000 RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10 TZNAME:EST TZOFFSETFROM:-0400 TZOFFSETTO:-0500 END:STANDARD END:VTIMEZONE BEGIN:VEVENT DTSTAMP:20060206T001121Z DTSTART;TZID=US/Eastern:20060102T120000 DURATION:PT1H RRULE:FREQ=DAILY;COUNT=5 SUMMARY:Event #2 UID:00959BC664CA650E933C892C@example.com END:VEVENT BEGIN:VEVENT DTSTAMP:20060206T001121Z DTSTART;TZID=US/Eastern:20060104T140000 DURATION:PT1H RECURRENCE-ID;TZID=US/Eastern:20060104T120000 SUMMARY:Event #2 bis UID:00959BC664CA650E933C892C@example.com END:VEVENT END:VCALENDAR </C:calendar-data> </D:prop>
Daboo, et al. Standards Track [Page 43] RFC 4791 CalDAV March 2007
Daboo, et al. Standards Track [Page 43] RFC 4791 CalDAV March 2007
<D:status>HTTP/1.1 200 OK</D:status> </D:propstat> </D:response> <D:response> <D:href>http://cal.example.com/bernard/work/abcd3.ics</D:href> <D:propstat> <D:prop> <D:getetag>"fffff-abcd3"</D:getetag> <C:calendar-data>BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Example Corp.//CalDAV Client//EN BEGIN:VTIMEZONE LAST-MODIFIED:20040110T032845Z TZID:US/Eastern BEGIN:DAYLIGHT DTSTART:20000404T020000 RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4 TZNAME:EDT TZOFFSETFROM:-0500 TZOFFSETTO:-0400 END:DAYLIGHT BEGIN:STANDARD DTSTART:20001026T020000 RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10 TZNAME:EST TZOFFSETFROM:-0400 TZOFFSETTO:-0500 END:STANDARD END:VTIMEZONE BEGIN:VEVENT ATTENDEE;PARTSTAT=ACCEPTED;ROLE=CHAIR:mailto:cyrus@example.com ATTENDEE;PARTSTAT=NEEDS-ACTION:mailto:lisa@example.com DTSTAMP:20060206T001220Z DTSTART;TZID=US/Eastern:20060104T100000 DURATION:PT1H LAST-MODIFIED:20060206T001330Z ORGANIZER:mailto:cyrus@example.com SEQUENCE:1 STATUS:TENTATIVE SUMMARY:Event #3 UID:DC6C50A017428C5216A2F1CD@example.com X-ABC-GUID:E1CX5Dr-0007ym-Hz@example.com END:VEVENT END:VCALENDAR </C:calendar-data> </D:prop> <D:status>HTTP/1.1 200 OK</D:status> </D:propstat>
<D:status>HTTP/1.1 200 OK</D:status> </D:propstat> </D:response> <D:response> <D:href>http://cal.example.com/bernard/work/abcd3.ics</D:href> <D:propstat> <D:prop> <D:getetag>"fffff-abcd3"</D:getetag> <C:calendar-data>BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Example Corp.//CalDAV Client//EN BEGIN:VTIMEZONE LAST-MODIFIED:20040110T032845Z TZID:US/Eastern BEGIN:DAYLIGHT DTSTART:20000404T020000 RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4 TZNAME:EDT TZOFFSETFROM:-0500 TZOFFSETTO:-0400 END:DAYLIGHT BEGIN:STANDARD DTSTART:20001026T020000 RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10 TZNAME:EST TZOFFSETFROM:-0400 TZOFFSETTO:-0500 END:STANDARD END:VTIMEZONE BEGIN:VEVENT ATTENDEE;PARTSTAT=ACCEPTED;ROLE=CHAIR:mailto:cyrus@example.com ATTENDEE;PARTSTAT=NEEDS-ACTION:mailto:lisa@example.com DTSTAMP:20060206T001220Z DTSTART;TZID=US/Eastern:20060104T100000 DURATION:PT1H LAST-MODIFIED:20060206T001330Z ORGANIZER:mailto:cyrus@example.com SEQUENCE:1 STATUS:TENTATIVE SUMMARY:Event #3 UID:DC6C50A017428C5216A2F1CD@example.com X-ABC-GUID:E1CX5Dr-0007ym-Hz@example.com END:VEVENT END:VCALENDAR </C:calendar-data> </D:prop> <D:status>HTTP/1.1 200 OK</D:status> </D:propstat>
Daboo, et al. Standards Track [Page 44] RFC 4791 CalDAV March 2007
Daboo, et al. Standards Track [Page 44] RFC 4791 CalDAV March 2007
</D:response> </D:multistatus>
</D:response> </D:multistatus>
7.8.3. Example: Expanded Retrieval of Recurring Events
7.8.3. Example: Expanded Retrieval of Recurring Events
In this example, the client requests the server to return VEVENT components that overlap the time range from January 2, 2006, at 00: 00:00 A.M. UTC to January 5, 2006, at 00:00:00 A.M. UTC and to return recurring calendar components expanded into individual recurrence instance calendar components. Use of the CALDAV:expand element causes the server to only return overridden recurrence instances that overlap the time range specified in that element.
In this example, the client requests the server to return VEVENT components that overlap the time range from January 2, 2006, at 00: 00:00 A.M. UTC to January 5, 2006, at 00:00:00 A.M. UTC and to return recurring calendar components expanded into individual recurrence instance calendar components. Use of the CALDAV:expand element causes the server to only return overridden recurrence instances that overlap the time range specified in that element.
See Appendix B for the calendar data being targeted by this example.
See Appendix B for the calendar data being targeted by this example.
>> Request <<
>> Request <<
REPORT /bernard/work/ HTTP/1.1 Host: cal.example.com Depth: 1 Content-Type: application/xml; charset="utf-8" Content-Length: xxxx
REPORT /bernard/work/ HTTP/1.1 Host: cal.example.com Depth: 1 Content-Type: application/xml; charset="utf-8" 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> <C:calendar-data> <C:expand start="20060103T000000Z" end="20060105T000000Z"/> </C:calendar-data> </D:prop> <C:filter> <C:comp-filter name="VCALENDAR"> <C:comp-filter name="VEVENT"> <C:time-range start="20060103T000000Z" end="20060105T000000Z"/> </C:comp-filter> </C:comp-filter> </C:filter> </C:calendar-query>
<?xml version="1.0" encoding="utf-8" ?> <C:calendar-query xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav"> <D:prop> <C:calendar-data> <C:expand start="20060103T000000Z" end="20060105T000000Z"/> </C:calendar-data> </D:prop> <C:filter> <C:comp-filter name="VCALENDAR"> <C:comp-filter name="VEVENT"> <C:time-range start="20060103T000000Z" end="20060105T000000Z"/> </C:comp-filter> </C:comp-filter> </C:filter> </C:calendar-query>
>> Response <<
>> Response <<
HTTP/1.1 207 Multi-Status Date: Sat, 11 Nov 2006 09:32:12 GMT Content-Type: application/xml; charset="utf-8" Content-Length: xxxx
HTTP/1.1 207 Multi-Status Date: Sat, 11 Nov 2006 09:32:12 GMT Content-Type: application/xml; charset="utf-8" Content-Length: xxxx
Daboo, et al. Standards Track [Page 45] RFC 4791 CalDAV March 2007
Daboo, et al. Standards Track [Page 45] RFC 4791 CalDAV March 2007
<?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/work/abcd2.ics</D:href> <D:propstat> <D:prop> <D:getetag>"fffff-abcd2"</D:getetag> <C:calendar-data>BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Example Corp.//CalDAV Client//EN BEGIN:VEVENT DTSTAMP:20060206T001121Z DTSTART:20060103T170000 DURATION:PT1H RECURRENCE-ID:20060103T170000 SUMMARY:Event #2 UID:00959BC664CA650E933C892C@example.com END:VEVENT BEGIN:VEVENT DTSTAMP:20060206T001121Z DTSTART:20060104T190000 DURATION:PT1H RECURRENCE-ID:20060104T170000 SUMMARY:Event #2 bis UID:00959BC664CA650E933C892C@example.com END:VEVENT END:VCALENDAR </C:calendar-data> </D:prop> <D:status>HTTP/1.1 200 OK</D:status> </D:propstat> </D:response> <D:response> <D:href>http://cal.example.com/bernard/work/abcd3.ics</D:href> <D:propstat> <D:prop> <D:getetag>"fffff-abcd3"</D:getetag> <C:calendar-data>BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Example Corp.//CalDAV Client//EN BEGIN:VEVENT ATTENDEE;PARTSTAT=ACCEPTED;ROLE=CHAIR:mailto:cyrus@example.com ATTENDEE;PARTSTAT=NEEDS-ACTION:mailto:lisa@example.com DTSTAMP:20060206T001220Z DTSTART:20060104T150000 DURATION:PT1H LAST-MODIFIED:20060206T001330Z
<?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/work/abcd2.ics</D:href> <D:propstat> <D:prop> <D:getetag>"fffff-abcd2"</D:getetag> <C:calendar-data>BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Example Corp.//CalDAV Client//EN BEGIN:VEVENT DTSTAMP:20060206T001121Z DTSTART:20060103T170000 DURATION:PT1H RECURRENCE-ID:20060103T170000 SUMMARY:Event #2 UID:00959BC664CA650E933C892C@example.com END:VEVENT BEGIN:VEVENT DTSTAMP:20060206T001121Z DTSTART:20060104T190000 DURATION:PT1H RECURRENCE-ID:20060104T170000 SUMMARY:Event #2 bis UID:00959BC664CA650E933C892C@example.com END:VEVENT END:VCALENDAR </C:calendar-data> </D:prop> <D:status>HTTP/1.1 200 OK</D:status> </D:propstat> </D:response> <D:response> <D:href>http://cal.example.com/bernard/work/abcd3.ics</D:href> <D:propstat> <D:prop> <D:getetag>"fffff-abcd3"</D:getetag> <C:calendar-data>BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Example Corp.//CalDAV Client//EN BEGIN:VEVENT ATTENDEE;PARTSTAT=ACCEPTED;ROLE=CHAIR:mailto:cyrus@example.com ATTENDEE;PARTSTAT=NEEDS-ACTION:mailto:lisa@example.com DTSTAMP:20060206T001220Z DTSTART:20060104T150000 DURATION:PT1H LAST-MODIFIED:20060206T001330Z
Daboo, et al. Standards Track [Page 46] RFC 4791 CalDAV March 2007
Daboo, et al. Standards Track [Page 46] RFC 4791 CalDAV March 2007
ORGANIZER:mailto:cyrus@example.com SEQUENCE:1 STATUS:TENTATIVE SUMMARY:Event #3 UID:DC6C50A017428C5216A2F1CD@example.com X-ABC-GUID:E1CX5Dr-0007ym-Hz@example.com END:VEVENT END:VCALENDAR </C:calendar-data> </D:prop> <D:status>HTTP/1.1 200 OK</D:status> </D:propstat> </D:response> </D:multistatus>
ORGANIZER:mailto:cyrus@example.com SEQUENCE:1 STATUS:TENTATIVE SUMMARY:Event #3 UID:DC6C50A017428C5216A2F1CD@example.com X-ABC-GUID:E1CX5Dr-0007ym-Hz@example.com END:VEVENT END:VCALENDAR </C:calendar-data> </D:prop> <D:status>HTTP/1.1 200 OK</D:status> </D:propstat> </D:response> </D:multistatus>
Daboo, et al. Standards Track [Page 47] RFC 4791 CalDAV March 2007
Daboo, et al. Standards Track [Page 47] RFC 4791 CalDAV March 2007
7.8.4. Example: Partial Retrieval of Stored Free Busy Components
7.8.4. Example: Partial Retrieval of Stored Free Busy Components
In this example, the client requests the server to return the VFREEBUSY components that have free busy information that overlap the time range from January 2, 2006, at 00:00:00 A.M. UTC (inclusively) to January 3, 2006, at 00:00:00 A.M. UTC (exclusively). Use of the CALDAV:limit-freebusy-set element causes the server to only return the FREEBUSY property values that overlap the time range specified in that element. Note that this is not an example of discovering when the calendar owner is busy.
In this example, the client requests the server to return the VFREEBUSY components that have free busy information that overlap the time range from January 2, 2006, at 00:00:00 A.M. UTC (inclusively) to January 3, 2006, at 00:00:00 A.M. UTC (exclusively). Use of the CALDAV:limit-freebusy-set element causes the server to only return the FREEBUSY property values that overlap the time range specified in that element. Note that this is not an example of discovering when the calendar owner is busy.
See Appendix B for the calendar data being targeted by this example.
See Appendix B for the calendar data being targeted by this example.
>> Request <<
>> Request <<
REPORT /bernard/work/ HTTP/1.1 Host: cal.example.com Depth: 1 Content-Type: application/xml; charset="utf-8" Content-Length: xxxx
REPORT /bernard/work/ HTTP/1.1 Host: cal.example.com Depth: 1 Content-Type: application/xml; charset="utf-8" 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> <C:calendar-data> <C:limit-freebusy-set start="20060102T000000Z" end="20060103T000000Z"/> </C:calendar-data> </D:prop> <C:filter> <C:comp-filter name="VCALENDAR"> <C:comp-filter name="VFREEBUSY"> <C:time-range start="20060102T000000Z" end="20060103T000000Z"/> </C:comp-filter> </C:comp-filter> </C:filter> </C:calendar-query>
<?xml version="1.0" encoding="utf-8" ?> <C:calendar-query xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav"> <D:prop> <C:calendar-data> <C:limit-freebusy-set start="20060102T000000Z" end="20060103T000000Z"/> </C:calendar-data> </D:prop> <C:filter> <C:comp-filter name="VCALENDAR"> <C:comp-filter name="VFREEBUSY"> <C:time-range start="20060102T000000Z" end="20060103T000000Z"/> </C:comp-filter> </C:comp-filter> </C:filter> </C:calendar-query>
Daboo, et al. Standards Track [Page 48] RFC 4791 CalDAV March 2007
Daboo, et al. Standards Track [Page 48] RFC 4791 CalDAV March 2007
>> Response <<
>> Response <<
HTTP/1.1 207 Multi-Status Date: Sat, 11 Nov 2006 09:32:12 GMT Content-Type: application/xml; charset="utf-8" Content-Length: xxxx
HTTP/1.1 207 Multi-Status Date: Sat, 11 Nov 2006 09:32:12 GMT Content-Type: application/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/work/abcd8.ics</D:href> <D:propstat> <D:prop> <D:getetag>"fffff-abcd8"</D:getetag> <C:calendar-data>BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Example Corp.//CalDAV Client//EN BEGIN:VFREEBUSY ORGANIZER;CN="Bernard Desruisseaux":mailto:bernard@example.com UID:76ef34-54a3d2@example.com DTSTAMP:20050530T123421Z DTSTART:20060101T100000Z DTEND:20060108T100000Z FREEBUSY;FBTYPE=BUSY-TENTATIVE:20060102T100000Z/20060102T120000Z END:VFREEBUSY END:VCALENDAR </C:calendar-data> </D:prop> <D:status>HTTP/1.1 200 OK</D:status> </D:propstat> </D:response> </D:multistatus>
<?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/work/abcd8.ics</D:href> <D:propstat> <D:prop> <D:getetag>"fffff-abcd8"</D:getetag> <C:calendar-data>BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Example Corp.//CalDAV Client//EN BEGIN:VFREEBUSY ORGANIZER;CN="Bernard Desruisseaux":mailto:bernard@example.com UID:76ef34-54a3d2@example.com DTSTAMP:20050530T123421Z DTSTART:20060101T100000Z DTEND:20060108T100000Z FREEBUSY;FBTYPE=BUSY-TENTATIVE:20060102T100000Z/20060102T120000Z END:VFREEBUSY END:VCALENDAR </C:calendar-data> </D:prop> <D:status>HTTP/1.1 200 OK</D:status> </D:propstat> </D:response> </D:multistatus>
Daboo, et al. Standards Track [Page 49] RFC 4791 CalDAV March 2007
Daboo, et al. Standards Track [Page 49] RFC 4791 CalDAV March 2007
7.8.5. Example: Retrieval of To-Dos by Alarm Time Range
7.8.5. Example: Retrieval of To-Dos by Alarm Time Range
In this example, the client requests the server to return the VTODO components that have an alarm trigger scheduled in the specified time range.
In this example, the client requests the server to return the VTODO components that have an alarm trigger scheduled in the specified time range.
See Appendix B for the calendar data being targeted by this example.
See Appendix B for the calendar data being targeted by this example.
>> Request <<
>> Request <<
REPORT /bernard/work/ HTTP/1.1 Host: cal.example.com Depth: 1 Content-Type: application/xml; charset="utf-8" Content-Length: xxxx
REPORT /bernard/work/ HTTP/1.1 Host: cal.example.com Depth: 1 Content-Type: application/xml; charset="utf-8" Content-Length: xxxx
<?xml version="1.0" encoding="utf-8" ?> <C:calendar-query xmlns:C="urn:ietf:params:xml:ns:caldav"> <D:prop xmlns:D="DAV:"> <D:getetag/> <C:calendar-data/> </D:prop> <C:filter> <C:comp-filter name="VCALENDAR"> <C:comp-filter name="VTODO"> <C:comp-filter name="VALARM"> <C:time-range start="20060106T100000Z" end="20060107T100000Z"/> </C:comp-filter> </C:comp-filter> </C:comp-filter> </C:filter> </C:calendar-query>
<?xml version="1.0" encoding="utf-8" ?> <C:calendar-query xmlns:C="urn:ietf:params:xml:ns:caldav"> <D:prop xmlns:D="DAV:"> <D:getetag/> <C:calendar-data/> </D:prop> <C:filter> <C:comp-filter name="VCALENDAR"> <C:comp-filter name="VTODO"> <C:comp-filter name="VALARM"> <C:time-range start="20060106T100000Z" end="20060107T100000Z"/> </C:comp-filter> </C:comp-filter> </C:comp-filter> </C:filter> </C:calendar-query>
Daboo, et al. Standards Track [Page 50] RFC 4791 CalDAV March 2007
Daboo, et al. Standards Track [Page 50] RFC 4791 CalDAV March 2007
>> Response <<
>> Response <<
HTTP/1.1 207 Multi-Status Date: Sat, 11 Nov 2006 09:32:12 GMT Content-Type: application/xml; charset="utf-8" Content-Length: xxxx
HTTP/1.1 207 Multi-Status Date: Sat, 11 Nov 2006 09:32:12 GMT Content-Type: application/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/work/abcd4.ics</D:href> <D:propstat> <D:prop> <D:getetag>"fffff-abcd4"</D:getetag> <C:calendar-data>BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Example Corp.//CalDAV Client//EN BEGIN:VTODO DTSTAMP:20060205T235300Z DUE;TZID=US/Eastern:20060106T120000 LAST-MODIFIED:20060205T235308Z SEQUENCE:1 STATUS:NEEDS-ACTION SUMMARY:Task #2 UID:E10BA47467C5C69BB74E8720@example.com BEGIN:VALARM ACTION:AUDIO TRIGGER;RELATED=START:-PT10M END:VALARM END:VTODO END:VCALENDAR </C:calendar-data> </D:prop> <D:status>HTTP/1.1 200 OK</D:status> </D:propstat> </D:response> </D:multistatus>
<?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/work/abcd4.ics</D:href> <D:propstat> <D:prop> <D:getetag>"fffff-abcd4"</D:getetag> <C:calendar-data>BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Example Corp.//CalDAV Client//EN BEGIN:VTODO DTSTAMP:20060205T235300Z DUE;TZID=US/Eastern:20060106T120000 LAST-MODIFIED:20060205T235308Z SEQUENCE:1 STATUS:NEEDS-ACTION SUMMARY:Task #2 UID:E10BA47467C5C69BB74E8720@example.com BEGIN:VALARM ACTION:AUDIO TRIGGER;RELATED=START:-PT10M END:VALARM END:VTODO END:VCALENDAR </C:calendar-data> </D:prop> <D:status>HTTP/1.1 200 OK</D:status> </D:propstat> </D:response> </D:multistatus>
7.8.6. Example: Retrieval of Event by UID
7.8.6. Example: Retrieval of Event by UID
In this example, the client requests the server to return the VEVENT component that has the UID property set to "DC6C50A017428C5216A2F1CD@example.com".
In this example, the client requests the server to return the VEVENT component that has the UID property set to "DC6C50A017428C5216A2F1CD@example.com".
See Appendix B for the calendar data being targeted by this example.
See Appendix B for the calendar data being targeted by this example.
Daboo, et al. Standards Track [Page 51] RFC 4791 CalDAV March 2007
Daboo, et al. Standards Track [Page 51] RFC 4791 CalDAV March 2007
>> Request <<
>> Request <<
REPORT /bernard/work/ HTTP/1.1 Host: cal.example.com Depth: 1 Content-Type: application/xml; charset="utf-8" Content-Length: xxxx
REPORT /bernard/work/ HTTP/1.1 Host: cal.example.com Depth: 1 Content-Type: application/xml; charset="utf-8" Content-Length: xxxx
<?xml version="1.0" encoding="utf-8" ?> <C:calendar-query xmlns:C="urn:ietf:params:xml:ns:caldav"> <D:prop xmlns:D="DAV:"> <D:getetag/> <C:calendar-data/> </D:prop> <C:filter> <C:comp-filter name="VCALENDAR"> <C:comp-filter name="VEVENT"> <C:prop-filter name="UID"> <C:text-match collation="i;octet" >DC6C50A017428C5216A2F1CD@example.com</C:text-match> </C:prop-filter> </C:comp-filter> </C:comp-filter> </C:filter> </C:calendar-query>
<?xml version="1.0" encoding="utf-8" ?> <C:calendar-query xmlns:C="urn:ietf:params:xml:ns:caldav"> <D:prop xmlns:D="DAV:"> <D:getetag/> <C:calendar-data/> </D:prop> <C:filter> <C:comp-filter name="VCALENDAR"> <C:comp-filter name="VEVENT"> <C:prop-filter name="UID"> <C:text-match collation="i;octet" >DC6C50A017428C5216A2F1CD@example.com</C:text-match> </C:prop-filter> </C:comp-filter> </C:comp-filter> </C:filter> </C:calendar-query>
>> Response <<
>> Response <<
HTTP/1.1 207 Multi-Status Date: Sat, 11 Nov 2006 09:32:12 GMT Content-Type: application/xml; charset="utf-8" Content-Length: xxxx
HTTP/1.1 207 Multi-Status Date: Sat, 11 Nov 2006 09:32:12 GMT Content-Type: application/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/work/abcd3.ics</D:href> <D:propstat> <D:prop> <D:getetag>"fffff-abcd3"</D:getetag> <C:calendar-data>BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Example Corp.//CalDAV Client//EN BEGIN:VTIMEZONE LAST-MODIFIED:20040110T032845Z TZID:US/Eastern BEGIN:DAYLIGHT
<?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/work/abcd3.ics</D:href> <D:propstat> <D:prop> <D:getetag>"fffff-abcd3"</D:getetag> <C:calendar-data>BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Example Corp.//CalDAV Client//EN BEGIN:VTIMEZONE LAST-MODIFIED:20040110T032845Z TZID:US/Eastern BEGIN:DAYLIGHT
Daboo, et al. Standards Track [Page 52] RFC 4791 CalDAV March 2007
Daboo, et al. Standards Track [Page 52] RFC 4791 CalDAV March 2007
DTSTART:20000404T020000 RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4 TZNAME:EDT TZOFFSETFROM:-0500 TZOFFSETTO:-0400 END:DAYLIGHT BEGIN:STANDARD DTSTART:20001026T020000 RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10 TZNAME:EST TZOFFSETFROM:-0400 TZOFFSETTO:-0500 END:STANDARD END:VTIMEZONE BEGIN:VEVENT ATTENDEE;PARTSTAT=ACCEPTED;ROLE=CHAIR:mailto:cyrus@example.com ATTENDEE;PARTSTAT=NEEDS-ACTION:mailto:lisa@example.com DTSTAMP:20060206T001220Z DTSTART;TZID=US/Eastern:20060104T100000 DURATION:PT1H LAST-MODIFIED:20060206T001330Z ORGANIZER:mailto:cyrus@example.com SEQUENCE:1 STATUS:TENTATIVE SUMMARY:Event #3 UID:DC6C50A017428C5216A2F1CD@example.com X-ABC-GUID:E1CX5Dr-0007ym-Hz@example.com END:VEVENT END:VCALENDAR </C:calendar-data> </D:prop> <D:status>HTTP/1.1 200 OK</D:status> </D:propstat> </D:response> </D:multistatus>
DTSTART:20000404T020000 RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4 TZNAME:EDT TZOFFSETFROM:-0500 TZOFFSETTO:-0400 END:DAYLIGHT BEGIN:STANDARD DTSTART:20001026T020000 RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10 TZNAME:EST TZOFFSETFROM:-0400 TZOFFSETTO:-0500 END:STANDARD END:VTIMEZONE BEGIN:VEVENT ATTENDEE;PARTSTAT=ACCEPTED;ROLE=CHAIR:mailto:cyrus@example.com ATTENDEE;PARTSTAT=NEEDS-ACTION:mailto:lisa@example.com DTSTAMP:20060206T001220Z DTSTART;TZID=US/Eastern:20060104T100000 DURATION:PT1H LAST-MODIFIED:20060206T001330Z ORGANIZER:mailto:cyrus@example.com SEQUENCE:1 STATUS:TENTATIVE SUMMARY:Event #3 UID:DC6C50A017428C5216A2F1CD@example.com X-ABC-GUID:E1CX5Dr-0007ym-Hz@example.com END:VEVENT END:VCALENDAR </C:calendar-data> </D:prop> <D:status>HTTP/1.1 200 OK</D:status> </D:propstat> </D:response> </D:multistatus>
7.8.7. Example: Retrieval of Events by PARTSTAT
7.8.7. Example: Retrieval of Events by PARTSTAT
In this example, the client requests the server to return the VEVENT components that have the ATTENDEE property with the value "mailto:lisa@example.com" and for which the PARTSTAT parameter is set to NEEDS-ACTION.
In this example, the client requests the server to return the VEVENT components that have the ATTENDEE property with the value "mailto:lisa@example.com" and for which the PARTSTAT parameter is set to NEEDS-ACTION.
See Appendix B for the calendar data being targeted by this example.
See Appendix B for the calendar data being targeted by this example.
Daboo, et al. Standards Track [Page 53] RFC 4791 CalDAV March 2007
Daboo, et al. Standards Track [Page 53] RFC 4791 CalDAV March 2007
>> Request <<
>> Request <<
REPORT /bernard/work/ HTTP/1.1 Host: cal.example.com Depth: 1 Content-Type: application/xml; charset="utf-8" Content-Length: xxxx
REPORT /bernard/work/ HTTP/1.1 Host: cal.example.com Depth: 1 Content-Type: application/xml; charset="utf-8" Content-Length: xxxx
<?xml version="1.0" encoding="utf-8" ?> <C:calendar-query xmlns:C="urn:ietf:params:xml:ns:caldav"> <D:prop xmlns:D="DAV:"> <D:getetag/> <C:calendar-data/> </D:prop> <C:filter> <C:comp-filter name="VCALENDAR"> <C:comp-filter name="VEVENT"> <C:prop-filter name="ATTENDEE"> <C:text-match collation="i;ascii-casemap" >mailto:lisa@example.com</C:text-match> <C:param-filter name="PARTSTAT"> <C:text-match collation="i;ascii-casemap" >NEEDS-ACTION</C:text-match> </C:param-filter> </C:prop-filter> </C:comp-filter> </C:comp-filter> </C:filter> </C:calendar-query>
<?xml version="1.0" encoding="utf-8" ?> <C:calendar-query xmlns:C="urn:ietf:params:xml:ns:caldav"> <D:prop xmlns:D="DAV:"> <D:getetag/> <C:calendar-data/> </D:prop> <C:filter> <C:comp-filter name="VCALENDAR"> <C:comp-filter name="VEVENT"> <C:prop-filter name="ATTENDEE"> <C:text-match collation="i;ascii-casemap" >mailto:lisa@example.com</C:text-match> <C:param-filter name="PARTSTAT"> <C:text-match collation="i;ascii-casemap" >NEEDS-ACTION</C:text-match> </C:param-filter> </C:prop-filter> </C:comp-filter> </C:comp-filter> </C:filter> </C:calendar-query>
>> Response <<
>> Response <<
HTTP/1.1 207 Multi-Status Date: Sat, 11 Nov 2006 09:32:12 GMT Content-Type: application/xml; charset="utf-8" Content-Length: xxxx
HTTP/1.1 207 Multi-Status Date: Sat, 11 Nov 2006 09:32:12 GMT Content-Type: application/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/work/abcd3.ics</D:href> <D:propstat> <D:prop> <D:getetag>"fffff-abcd3"</D:getetag> <C:calendar-data>BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Example Corp.//CalDAV Client//EN
<?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/work/abcd3.ics</D:href> <D:propstat> <D:prop> <D:getetag>"fffff-abcd3"</D:getetag> <C:calendar-data>BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Example Corp.//CalDAV Client//EN
Daboo, et al. Standards Track [Page 54] RFC 4791 CalDAV March 2007
Daboo, et al. Standards Track [Page 54] RFC 4791 CalDAV March 2007
BEGIN:VTIMEZONE LAST-MODIFIED:20040110T032845Z TZID:US/Eastern BEGIN:DAYLIGHT DTSTART:20000404T020000 RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4 TZNAME:EDT TZOFFSETFROM:-0500 TZOFFSETTO:-0400 END:DAYLIGHT BEGIN:STANDARD DTSTART:20001026T020000 RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10 TZNAME:EST TZOFFSETFROM:-0400 TZOFFSETTO:-0500 END:STANDARD END:VTIMEZONE BEGIN:VEVENT ATTENDEE;PARTSTAT=ACCEPTED;ROLE=CHAIR:mailto:cyrus@example.com ATTENDEE;PARTSTAT=NEEDS-ACTION:mailto:lisa@example.com DTSTAMP:20060206T001220Z DTSTART;TZID=US/Eastern:20060104T100000 DURATION:PT1H LAST-MODIFIED:20060206T001330Z ORGANIZER:mailto:cyrus@example.com SEQUENCE:1 STATUS:TENTATIVE SUMMARY:Event #3 UID:DC6C50A017428C5216A2F1CD@example.com X-ABC-GUID:E1CX5Dr-0007ym-Hz@example.com END:VEVENT END:VCALENDAR </C:calendar-data> </D:prop> <D:status>HTTP/1.1 200 OK</D:status> </D:propstat> </D:response> </D:multistatus>
BEGIN:VTIMEZONE LAST-MODIFIED:20040110T032845Z TZID:US/Eastern BEGIN:DAYLIGHT DTSTART:20000404T020000 RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4 TZNAME:EDT TZOFFSETFROM:-0500 TZOFFSETTO:-0400 END:DAYLIGHT BEGIN:STANDARD DTSTART:20001026T020000 RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10 TZNAME:EST TZOFFSETFROM:-0400 TZOFFSETTO:-0500 END:STANDARD END:VTIMEZONE BEGIN:VEVENT ATTENDEE;PARTSTAT=ACCEPTED;ROLE=CHAIR:mailto:cyrus@example.com ATTENDEE;PARTSTAT=NEEDS-ACTION:mailto:lisa@example.com DTSTAMP:20060206T001220Z DTSTART;TZID=US/Eastern:20060104T100000 DURATION:PT1H LAST-MODIFIED:20060206T001330Z ORGANIZER:mailto:cyrus@example.com SEQUENCE:1 STATUS:TENTATIVE SUMMARY:Event #3 UID:DC6C50A017428C5216A2F1CD@example.com X-ABC-GUID:E1CX5Dr-0007ym-Hz@example.com END:VEVENT END:VCALENDAR </C:calendar-data> </D:prop> <D:status>HTTP/1.1 200 OK</D:status> </D:propstat> </D:response> </D:multistatus>
7.8.8. Example: Retrieval of Events Only
7.8.8. Example: Retrieval of Events Only
In this example, the client requests the server to return all VEVENT components.
In this example, the client requests the server to return all VEVENT components.
See Appendix B for the calendar data being targeted by this example.
See Appendix B for the calendar data being targeted by this example.
Daboo, et al. Standards Track [Page 55] RFC 4791 CalDAV March 2007
Daboo, et al. Standards Track [Page 55] RFC 4791 CalDAV March 2007
>> Request <<
>> Request <<
REPORT /bernard/work/ HTTP/1.1 Host: cal.example.com Depth: 1 Content-Type: application/xml; charset="utf-8" Content-Length: xxxx
REPORT /bernard/work/ HTTP/1.1 Host: cal.example.com Depth: 1 Content-Type: application/xml; charset="utf-8" Content-Length: xxxx
<?xml version="1.0" encoding="utf-8" ?> <C:calendar-query xmlns:C="urn:ietf:params:xml:ns:caldav"> <D:prop xmlns:D="DAV:"> <D:getetag/> <C:calendar-data/> </D:prop> <C:filter> <C:comp-filter name="VCALENDAR"> <C:comp-filter name="VEVENT"/> </C:comp-filter> </C:filter> </C:calendar-query>
<?xml version="1.0" encoding="utf-8" ?> <C:calendar-query xmlns:C="urn:ietf:params:xml:ns:caldav"> <D:prop xmlns:D="DAV:"> <D:getetag/> <C:calendar-data/> </D:prop> <C:filter> <C:comp-filter name="VCALENDAR"> <C:comp-filter name="VEVENT"/> </C:comp-filter> </C:filter> </C:calendar-query>
>> Response <<
>> Response <<
HTTP/1.1 207 Multi-Status Date: Sat, 11 Nov 2006 09:32:12 GMT Content-Type: application/xml; charset="utf-8" Content-Length: xxxx
HTTP/1.1 207 Multi-Status Date: Sat, 11 Nov 2006 09:32:12 GMT Content-Type: application/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/work/abcd1.ics</D:href> <D:propstat> <D:prop> <D:getetag>"fffff-abcd1"</D:getetag> <C:calendar-data>BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Example Corp.//CalDAV Client//EN BEGIN:VTIMEZONE LAST-MODIFIED:20040110T032845Z TZID:US/Eastern BEGIN:DAYLIGHT DTSTART:20000404T020000 RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4 TZNAME:EDT TZOFFSETFROM:-0500 TZOFFSETTO:-0400
<?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/work/abcd1.ics</D:href> <D:propstat> <D:prop> <D:getetag>"fffff-abcd1"</D:getetag> <C:calendar-data>BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Example Corp.//CalDAV Client//EN BEGIN:VTIMEZONE LAST-MODIFIED:20040110T032845Z TZID:US/Eastern BEGIN:DAYLIGHT DTSTART:20000404T020000 RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4 TZNAME:EDT TZOFFSETFROM:-0500 TZOFFSETTO:-0400
Daboo, et al. Standards Track [Page 56] RFC 4791 CalDAV March 2007
Daboo, et al. Standards Track [Page 56] RFC 4791 CalDAV March 2007
END:DAYLIGHT BEGIN:STANDARD DTSTART:20001026T020000 RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10 TZNAME:EST TZOFFSETFROM:-0400 TZOFFSETTO:-0500 END:STANDARD END:VTIMEZONE BEGIN:VEVENT DTSTAMP:20060206T001102Z DTSTART;TZID=US/Eastern:20060102T100000 DURATION:PT1H SUMMARY:Event #1 Description:Go Steelers! UID:74855313FA803DA593CD579A@example.com END:VEVENT END:VCALENDAR </C:calendar-data> </D:prop> <D:status>HTTP/1.1 200 OK</D:status> </D:propstat> </D:response> <D:response> <D:href>http://cal.example.com/bernard/work/abcd2.ics</D:href> <D:propstat> <D:prop> <D:getetag>"fffff-abcd2"</D:getetag> <C:calendar-data>BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Example Corp.//CalDAV Client//EN BEGIN:VTIMEZONE LAST-MODIFIED:20040110T032845Z TZID:US/Eastern BEGIN:DAYLIGHT DTSTART:20000404T020000 RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4 TZNAME:EDT TZOFFSETFROM:-0500 TZOFFSETTO:-0400 END:DAYLIGHT BEGIN:STANDARD DTSTART:20001026T020000 RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10 TZNAME:EST TZOFFSETFROM:-0400 TZOFFSETTO:-0500 END:STANDARD
END:DAYLIGHT BEGIN:STANDARD DTSTART:20001026T020000 RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10 TZNAME:EST TZOFFSETFROM:-0400 TZOFFSETTO:-0500 END:STANDARD END:VTIMEZONE BEGIN:VEVENT DTSTAMP:20060206T001102Z DTSTART;TZID=US/Eastern:20060102T100000 DURATION:PT1H SUMMARY:Event #1 Description:Go Steelers! UID:74855313FA803DA593CD579A@example.com END:VEVENT END:VCALENDAR </C:calendar-data> </D:prop> <D:status>HTTP/1.1 200 OK</D:status> </D:propstat> </D:response> <D:response> <D:href>http://cal.example.com/bernard/work/abcd2.ics</D:href> <D:propstat> <D:prop> <D:getetag>"fffff-abcd2"</D:getetag> <C:calendar-data>BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Example Corp.//CalDAV Client//EN BEGIN:VTIMEZONE LAST-MODIFIED:20040110T032845Z TZID:US/Eastern BEGIN:DAYLIGHT DTSTART:20000404T020000 RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4 TZNAME:EDT TZOFFSETFROM:-0500 TZOFFSETTO:-0400 END:DAYLIGHT BEGIN:STANDARD DTSTART:20001026T020000 RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10 TZNAME:EST TZOFFSETFROM:-0400 TZOFFSETTO:-0500 END:STANDARD
Daboo, et al. Standards Track [Page 57] RFC 4791 CalDAV March 2007
Daboo, et al. Standards Track [Page 57] RFC 4791 CalDAV March 2007
END:VTIMEZONE BEGIN:VEVENT DTSTAMP:20060206T001121Z DTSTART;TZID=US/Eastern:20060102T120000 DURATION:PT1H RRULE:FREQ=DAILY;COUNT=5 SUMMARY:Event #2 UID:00959BC664CA650E933C892C@example.com END:VEVENT BEGIN:VEVENT DTSTAMP:20060206T001121Z DTSTART;TZID=US/Eastern:20060104T140000 DURATION:PT1H RECURRENCE-ID;TZID=US/Eastern:20060104T120000 SUMMARY:Event #2 bis UID:00959BC664CA650E933C892C@example.com END:VEVENT BEGIN:VEVENT DTSTAMP:20060206T001121Z DTSTART;TZID=US/Eastern:20060106T140000 DURATION:PT1H RECURRENCE-ID;TZID=US/Eastern:20060106T120000 SUMMARY:Event #2 bis bis UID:00959BC664CA650E933C892C@example.com END:VEVENT END:VCALENDAR </C:calendar-data> </D:prop> <D:status>HTTP/1.1 200 OK</D:status> </D:propstat> </D:response> <D:response> <D:href>http://cal.example.com/bernard/work/abcd3.ics</D:href> <D:propstat> <D:prop> <D:getetag>"fffff-abcd3"</D:getetag> <C:calendar-data>BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Example Corp.//CalDAV Client//EN BEGIN:VTIMEZONE LAST-MODIFIED:20040110T032845Z TZID:US/Eastern BEGIN:DAYLIGHT DTSTART:20000404T020000 RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4 TZNAME:EDT TZOFFSETFROM:-0500 TZOFFSETTO:-0400
END:VTIMEZONE BEGIN:VEVENT DTSTAMP:20060206T001121Z DTSTART;TZID=US/Eastern:20060102T120000 DURATION:PT1H RRULE:FREQ=DAILY;COUNT=5 SUMMARY:Event #2 UID:00959BC664CA650E933C892C@example.com END:VEVENT BEGIN:VEVENT DTSTAMP:20060206T001121Z DTSTART;TZID=US/Eastern:20060104T140000 DURATION:PT1H RECURRENCE-ID;TZID=US/Eastern:20060104T120000 SUMMARY:Event #2 bis UID:00959BC664CA650E933C892C@example.com END:VEVENT BEGIN:VEVENT DTSTAMP:20060206T001121Z DTSTART;TZID=US/Eastern:20060106T140000 DURATION:PT1H RECURRENCE-ID;TZID=US/Eastern:20060106T120000 SUMMARY:Event #2 bis bis UID:00959BC664CA650E933C892C@example.com END:VEVENT END:VCALENDAR </C:calendar-data> </D:prop> <D:status>HTTP/1.1 200 OK</D:status> </D:propstat> </D:response> <D:response> <D:href>http://cal.example.com/bernard/work/abcd3.ics</D:href> <D:propstat> <D:prop> <D:getetag>"fffff-abcd3"</D:getetag> <C:calendar-data>BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Example Corp.//CalDAV Client//EN BEGIN:VTIMEZONE LAST-MODIFIED:20040110T032845Z TZID:US/Eastern BEGIN:DAYLIGHT DTSTART:20000404T020000 RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4 TZNAME:EDT TZOFFSETFROM:-0500 TZOFFSETTO:-0400
Daboo, et al. Standards Track [Page 58] RFC 4791 CalDAV March 2007
Daboo, et al. Standards Track [Page 58] RFC 4791 CalDAV March 2007
END:DAYLIGHT BEGIN:STANDARD DTSTART:20001026T020000 RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10 TZNAME:EST TZOFFSETFROM:-0400 TZOFFSETTO:-0500 END:STANDARD END:VTIMEZONE BEGIN:VEVENT ATTENDEE;PARTSTAT=ACCEPTED;ROLE=CHAIR:mailto:cyrus@example.com ATTENDEE;PARTSTAT=NEEDS-ACTION:mailto:lisa@example.com DTSTAMP:20060206T001220Z DTSTART;TZID=US/Eastern:20060104T100000 DURATION:PT1H LAST-MODIFIED:20060206T001330Z ORGANIZER:mailto:cyrus@example.com SEQUENCE:1 STATUS:TENTATIVE SUMMARY:Event #3 UID:DC6C50A017428C5216A2F1CD@example.com X-ABC-GUID:E1CX5Dr-0007ym-Hz@example.com END:VEVENT END:VCALENDAR </C:calendar-data> </D:prop> <D:status>HTTP/1.1 200 OK</D:status> </D:propstat> </D:response> </D:multistatus>
END:DAYLIGHT BEGIN:STANDARD DTSTART:20001026T020000 RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10 TZNAME:EST TZOFFSETFROM:-0400 TZOFFSETTO:-0500 END:STANDARD END:VTIMEZONE BEGIN:VEVENT ATTENDEE;PARTSTAT=ACCEPTED;ROLE=CHAIR:mailto:cyrus@example.com ATTENDEE;PARTSTAT=NEEDS-ACTION:mailto:lisa@example.com DTSTAMP:20060206T001220Z DTSTART;TZID=US/Eastern:20060104T100000 DURATION:PT1H LAST-MODIFIED:20060206T001330Z ORGANIZER:mailto:cyrus@example.com SEQUENCE:1 STATUS:TENTATIVE SUMMARY:Event #3 UID:DC6C50A017428C5216A2F1CD@example.com X-ABC-GUID:E1CX5Dr-0007ym-Hz@example.com END:VEVENT END:VCALENDAR </C:calendar-data> </D:prop> <D:status>HTTP/1.1 200 OK</D:status> </D:propstat> </D:response> </D:multistatus>
7.8.9. Example: Retrieval of All Pending To-Dos
7.8.9. Example: Retrieval of All Pending To-Dos
In this example, the client requests the server to return all VTODO components that do not include a COMPLETED property and do not have a STATUS property value matching CANCELLED, i.e., VTODOs that still need to be worked on.
In this example, the client requests the server to return all VTODO components that do not include a COMPLETED property and do not have a STATUS property value matching CANCELLED, i.e., VTODOs that still need to be worked on.
See Appendix B for the calendar data being targeted by this example.
See Appendix B for the calendar data being targeted by this example.
Daboo, et al. Standards Track [Page 59] RFC 4791 CalDAV March 2007
Daboo, et al. Standards Track [Page 59] RFC 4791 CalDAV March 2007
>> Request <<
>> Request <<
REPORT /bernard/work/ HTTP/1.1 Host: cal.example.com Depth: 1 Content-Type: application/xml; charset="utf-8" Content-Length: xxxx
REPORT /bernard/work/ HTTP/1.1 Host: cal.example.com Depth: 1 Content-Type: application/xml; charset="utf-8" Content-Length: xxxx
<?xml version="1.0" encoding="utf-8" ?> <C:calendar-query xmlns:C="urn:ietf:params:xml:ns:caldav"> <D:prop xmlns:D="DAV:"> <D:getetag/> <C:calendar-data/> </D:prop> <C:filter> <C:comp-filter name="VCALENDAR"> <C:comp-filter name="VTODO"> <C:prop-filter name="COMPLETED"> <C:is-not-defined/> </C:prop-filter> <C:prop-filter name="STATUS"> <C:text-match negate-condition="yes">CANCELLED</C:text-match> </C:prop-filter> </C:comp-filter> </C:comp-filter> </C:filter> </C:calendar-query>
<?xml version="1.0" encoding="utf-8" ?> <C:calendar-query xmlns:C="urn:ietf:params:xml:ns:caldav"> <D:prop xmlns:D="DAV:"> <D:getetag/> <C:calendar-data/> </D:prop> <C:filter> <C:comp-filter name="VCALENDAR"> <C:comp-filter name="VTODO"> <C:prop-filter name="COMPLETED"> <C:is-not-defined/> </C:prop-filter> <C:prop-filter name="STATUS"> <C:text-match negate-condition="yes">CANCELLED</C:text-match> </C:prop-filter> </C:comp-filter> </C:comp-filter> </C:filter> </C:calendar-query>
>> Response <<
>> Response <<
HTTP/1.1 207 Multi-Status Date: Sat, 11 Nov 2006 09:32:12 GMT Content-Type: application/xml; charset="utf-8" Content-Length: xxxx
HTTP/1.1 207 Multi-Status Date: Sat, 11 Nov 2006 09:32:12 GMT Content-Type: application/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/work/abcd4.ics</D:href> <D:propstat> <D:prop> <D:getetag>"fffff-abcd4"</D:getetag> <C:calendar-data>BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Example Corp.//CalDAV Client//EN BEGIN:VTODO
<?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/work/abcd4.ics</D:href> <D:propstat> <D:prop> <D:getetag>"fffff-abcd4"</D:getetag> <C:calendar-data>BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Example Corp.//CalDAV Client//EN BEGIN:VTODO
Daboo, et al. Standards Track [Page 60] RFC 4791 CalDAV March 2007
Daboo, et al. Standards Track [Page 60] RFC 4791 CalDAV March 2007
DTSTAMP:20060205T235335Z DUE;VALUE=DATE:20060104 STATUS:NEEDS-ACTION SUMMARY:Task #1 UID:DDDEEB7915FA61233B861457@example.com BEGIN:VALARM ACTION:AUDIO TRIGGER;RELATED=START:-PT10M END:VALARM END:VTODO END:VCALENDAR </C:calendar-data> </D:prop> <D:status>HTTP/1.1 200 OK</D:status> </D:propstat> </D:response>
DTSTAMP:20060205T235335Z DUE;VALUE=DATE:20060104 STATUS:NEEDS-ACTION SUMMARY:Task #1 UID:DDDEEB7915FA61233B861457@example.com BEGIN:VALARM ACTION:AUDIO TRIGGER;RELATED=START:-PT10M END:VALARM END:VTODO END:VCALENDAR </C:calendar-data> </D:prop> <D:status>HTTP/1.1 200 OK</D:status> </D:propstat> </D:response>
<D:response> <D:href>http://cal.example.com/bernard/work/abcd5.ics</D:href> <D:propstat> <D:prop> <D:getetag>"fffff-abcd5"</D:getetag> <C:calendar-data>BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Example Corp.//CalDAV Client//EN BEGIN:VTODO DTSTAMP:20060205T235300Z DUE;VALUE=DATE:20060106 LAST-MODIFIED:20060205T235308Z SEQUENCE:1 STATUS:NEEDS-ACTION SUMMARY:Task #2 UID:E10BA47467C5C69BB74E8720@example.com BEGIN:VALARM ACTION:AUDIO TRIGGER;RELATED=START:-PT10M END:VALARM END:VTODO END:VCALENDAR </C:calendar-data> </D:prop> <D:status>HTTP/1.1 200 OK</D:status> </D:propstat> </D:response> </D:multistatus>
<D:response> <D:href>http://cal.example.com/bernard/work/abcd5.ics</D:href> <D:propstat> <D:prop> <D:getetag>"fffff-abcd5"</D:getetag> <C:calendar-data>BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Example Corp.//CalDAV Client//EN BEGIN:VTODO DTSTAMP:20060205T235300Z DUE;VALUE=DATE:20060106 LAST-MODIFIED:20060205T235308Z SEQUENCE:1 STATUS:NEEDS-ACTION SUMMARY:Task #2 UID:E10BA47467C5C69BB74E8720@example.com BEGIN:VALARM ACTION:AUDIO TRIGGER;RELATED=START:-PT10M END:VALARM END:VTODO END:VCALENDAR </C:calendar-data> </D:prop> <D:status>HTTP/1.1 200 OK</D:status> </D:propstat> </D:response> </D:multistatus>
Daboo, et al. Standards Track [Page 61] RFC 4791 CalDAV March 2007
Daboo, et al. Standards Track [Page 61] RFC 4791 CalDAV March 2007
7.8.10. Example: Attempt to Query Unsupported Property
7.8.10. Example: Attempt to Query Unsupported Property
In this example, the client requests the server to return all VEVENT components that include an X-ABC-GUID property with a value matching "ABC". However, the server does not support querying that non- standard property, and instead returns an error response.
In this example, the client requests the server to return all VEVENT components that include an X-ABC-GUID property with a value matching "ABC". However, the server does not support querying that non- standard property, and instead returns an error response.
See Appendix B for the calendar data being targeted by this example.
See Appendix B for the calendar data being targeted by this example.
>> Request <<
>> Request <<
REPORT /bernard/work/ HTTP/1.1 Host: cal.example.com Depth: 1 Content-Type: application/xml; charset="utf-8" Content-Length: xxxx
REPORT /bernard/work/ HTTP/1.1 Host: cal.example.com Depth: 1 Content-Type: application/xml; charset="utf-8" Content-Length: xxxx
<?xml version="1.0" encoding="utf-8" ?> <C:calendar-query xmlns:C="urn:ietf:params:xml:ns:caldav"> <D:prop xmlns:D="DAV:"> <D:getetag/> <C:calendar-data/> </D:prop> <C:filter> <C:comp-filter name="VCALENDAR"> <C:comp-filter name="VEVENT"> <C:prop-filter name="X-ABC-GUID"> <C:text-match>ABC</C:text-match> </C:prop-filter> </C:comp-filter> </C:comp-filter> </C:filter> </C:calendar-query>
<?xml version="1.0" encoding="utf-8" ?> <C:calendar-query xmlns:C="urn:ietf:params:xml:ns:caldav"> <D:prop xmlns:D="DAV:"> <D:getetag/> <C:calendar-data/> </D:prop> <C:filter> <C:comp-filter name="VCALENDAR"> <C:comp-filter name="VEVENT"> <C:prop-filter name="X-ABC-GUID"> <C:text-match>ABC</C:text-match> </C:prop-filter> </C:comp-filter> </C:comp-filter> </C:filter> </C:calendar-query>
>> Response <<
>> Response <<
HTTP/1.1 403 Forbidden Date: Sat, 11 Nov 2005 09:32:12 GMT Content-Type: application/xml; charset="utf-8" Content-Length: xxxx
HTTP/1.1 403 Forbidden Date: Sat, 11 Nov 2005 09:32:12 GMT Content-Type: application/xml; charset="utf-8" Content-Length: xxxx
<?xml version="1.0" encoding="utf-8" ?> <D:error> <C:supported-filter> <C:prop-filter name="X-ABC-GUID"/> </C:supported-filter> </D:error>
<?xml version="1.0" encoding="utf-8" ?> <D:error> <C:supported-filter> <C:prop-filter name="X-ABC-GUID"/> </C:supported-filter> </D:error>
Daboo, et al. Standards Track [Page 62] RFC 4791 CalDAV March 2007
Daboo, et al. Standards Track [Page 62] RFC 4791 CalDAV March 2007
7.9. CALDAV:calendar-multiget REPORT
7.9. CALDAV:calendar-multiget REPORT
The CALDAV:calendar-multiget REPORT is used to retrieve specific calendar object resources from within a collection, if the Request- URI is a collection, or to retrieve a specific calendar object resource, if the Request-URI is a calendar object resource. This report is similar to the CALDAV:calendar-query REPORT (see Section 7.8), except that it takes a list of DAV:href elements, instead of a CALDAV:filter element, to determine which calendar object resources to return.
The CALDAV:calendar-multiget REPORT is used to retrieve specific calendar object resources from within a collection, if the Request- URI is a collection, or to retrieve a specific calendar object resource, if the Request-URI is a calendar object resource. This report is similar to the CALDAV:calendar-query REPORT (see Section 7.8), except that it takes a list of DAV:href elements, instead of a CALDAV:filter element, to determine which calendar object resources to return.
Support for the CALDAV:calendar-multiget REPORT is REQUIRED.
Support for the CALDAV:calendar-multiget REPORT is REQUIRED.
Marshalling:
Marshalling:
The request body MUST be a CALDAV:calendar-multiget XML element (see Section 9.10). If the Request-URI is a collection resource, then the DAV:href elements MUST refer to calendar object resources within that collection, and they MAY refer to calendar object resources at any depth within the collection. As a result, the "Depth" header MUST be ignored by the server and SHOULD NOT be sent by the client. If the Request-URI refers to a non-collection resource, then there MUST be a single DAV:href element that is equivalent to the Request-URI.
The request body MUST be a CALDAV:calendar-multiget XML element (see Section 9.10). If the Request-URI is a collection resource, then the DAV:href elements MUST refer to calendar object resources within that collection, and they MAY refer to calendar object resources at any depth within the collection. As a result, the "Depth" header MUST be ignored by the server and SHOULD NOT be sent by the client. If the Request-URI refers to a non-collection resource, then there MUST be a single DAV:href element that is equivalent to the Request-URI.
The response body for a successful request MUST be a DAV: multistatus XML element.
The response body for a successful request MUST be a DAV: multistatus XML element.
The response body for a successful CALDAV:calendar-multiget REPORT request MUST contain a DAV:response element for each calendar object resource referenced by the provided set of DAV:href elements. Calendar data is being returned in the CALDAV:calendar- data element inside the DAV:prop element.
The response body for a successful CALDAV:calendar-multiget REPORT request MUST contain a DAV:response element for each calendar object resource referenced by the provided set of DAV:href elements. Calendar data is being returned in the CALDAV:calendar- data element inside the DAV:prop element.
In the case of an error accessing any of the provided DAV:href resources, the server MUST return the appropriate error status code in the DAV:status element of the corresponding DAV:response element.
In the case of an error accessing any of the provided DAV:href resources, the server MUST return the appropriate error status code in the DAV:status element of the corresponding DAV:response element.
Preconditions:
Preconditions:
(CALDAV:supported-calendar-data): The attributes "content-type" and "version" of the CALDAV:calendar-data XML elements (see Section 9.6) specify a media type supported by the server for calendar object resources.
(CALDAV:supported-calendar-data): The attributes "content-type" and "version" of the CALDAV:calendar-data XML elements (see Section 9.6) specify a media type supported by the server for calendar object resources.
(CALDAV:min-date-time): Any XML element specifying a range of time MUST have its start or end DATE or DATE-TIME values greater than
(CALDAV:min-date-time): Any XML element specifying a range of time MUST have its start or end DATE or DATE-TIME values greater than
Daboo, et al. Standards Track [Page 63] RFC 4791 CalDAV March 2007
Daboo, et al. Standards Track [Page 63] RFC 4791 CalDAV March 2007
or equal to the value of the CALDAV:min-date-time property value (Section 5.2.6) on the calendar collections being targeted by the REPORT request;
or equal to the value of the CALDAV:min-date-time property value (Section 5.2.6) on the calendar collections being targeted by the REPORT request;
(CALDAV:max-date-time): Any XML element specifying a range of time MUST have its start or end DATE or DATE-TIME values less than or equal to the value of the CALDAV:max-date-time property value (Section 5.2.7) on the calendar collections being targeted by the REPORT request;
(CALDAV:max-date-time): Any XML element specifying a range of time MUST have its start or end DATE or DATE-TIME values less than or equal to the value of the CALDAV:max-date-time property value (Section 5.2.7) on the calendar collections being targeted by the REPORT request;
Postconditions:
Postconditions:
None.
None.
7.9.1. Example: Successful CALDAV:calendar-multiget REPORT
7.9.1. Example: Successful CALDAV:calendar-multiget REPORT
In this example, the client requests the server to return specific properties of the VEVENT components referenced by specific URIs. In addition, the DAV:getetag property is also requested and returned as part of the response. Note that in this example, the resource at http://cal.example.com/bernard/work/mtg1.ics does not exist, resulting in an error status response.
In this example, the client requests the server to return specific properties of the VEVENT components referenced by specific URIs. In addition, the DAV:getetag property is also requested and returned as part of the response. Note that in this example, the resource at http://cal.example.com/bernard/work/mtg1.ics does not exist, resulting in an error status response.
See Appendix B for the calendar data being targeted by this example.
See Appendix B for the calendar data being targeted by this example.
>> Request <<
>> Request <<
REPORT /bernard/work/ HTTP/1.1 Host: cal.example.com Content-Type: application/xml; charset="utf-8" Content-Length: xxxx
REPORT /bernard/work/ HTTP/1.1 Host: cal.example.com Content-Type: application/xml; charset="utf-8" Content-Length: xxxx
<?xml version="1.0" encoding="utf-8" ?> <C:calendar-multiget xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav"> <D:prop> <D:getetag/> <C:calendar-data/> </D:prop> <D:href>/bernard/work/abcd1.ics</D:href> <D:href>/bernard/work/mtg1.ics</D:href> </C:calendar-multiget>
<?xml version="1.0" encoding="utf-8" ?> <C:calendar-multiget xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav"> <D:prop> <D:getetag/> <C:calendar-data/> </D:prop> <D:href>/bernard/work/abcd1.ics</D:href> <D:href>/bernard/work/mtg1.ics</D:href> </C:calendar-multiget>
>> Response <<
>> Response <<
HTTP/1.1 207 Multi-Status Date: Sat, 11 Nov 2006 09:32:12 GMT Content-Type: application/xml; charset="utf-8"
HTTP/1.1 207 Multi-Status Date: Sat, 11 Nov 2006 09:32:12 GMT Content-Type: application/xml; charset="utf-8"
Daboo, et al. Standards Track [Page 64] RFC 4791 CalDAV March 2007
Daboo, et al. Standards Track [Page 64] RFC 4791 CalDAV March 2007
Content-Length: xxxx
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/work/abcd1.ics</D:href> <D:propstat> <D:prop> <D:getetag>"fffff-abcd1"</D:getetag> <C:calendar-data>BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Example Corp.//CalDAV Client//EN BEGIN:VTIMEZONE LAST-MODIFIED:20040110T032845Z TZID:US/Eastern BEGIN:DAYLIGHT DTSTART:20000404T020000 RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4 TZNAME:EDT TZOFFSETFROM:-0500 TZOFFSETTO:-0400 END:DAYLIGHT BEGIN:STANDARD DTSTART:20001026T020000 RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10 TZNAME:EST TZOFFSETFROM:-0400 TZOFFSETTO:-0500 END:STANDARD END:VTIMEZONE BEGIN:VEVENT DTSTAMP:20060206T001102Z DTSTART;TZID=US/Eastern:20060102T100000 DURATION:PT1H SUMMARY:Event #1 Description:Go Steelers! UID:74855313FA803DA593CD579A@example.com END:VEVENT END:VCALENDAR </C:calendar-data> </D:prop> <D:status>HTTP/1.1 200 OK</D:status> </D:propstat> </D:response> <D:response> <D:href>http://cal.example.com/bernard/work/mtg1.ics</D:href> <D:status>HTTP/1.1 404 Not Found</D:status>
<?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/work/abcd1.ics</D:href> <D:propstat> <D:prop> <D:getetag>"fffff-abcd1"</D:getetag> <C:calendar-data>BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Example Corp.//CalDAV Client//EN BEGIN:VTIMEZONE LAST-MODIFIED:20040110T032845Z TZID:US/Eastern BEGIN:DAYLIGHT DTSTART:20000404T020000 RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4 TZNAME:EDT TZOFFSETFROM:-0500 TZOFFSETTO:-0400 END:DAYLIGHT BEGIN:STANDARD DTSTART:20001026T020000 RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10 TZNAME:EST TZOFFSETFROM:-0400 TZOFFSETTO:-0500 END:STANDARD END:VTIMEZONE BEGIN:VEVENT DTSTAMP:20060206T001102Z DTSTART;TZID=US/Eastern:20060102T100000 DURATION:PT1H SUMMARY:Event #1 Description:Go Steelers! UID:74855313FA803DA593CD579A@example.com END:VEVENT END:VCALENDAR </C:calendar-data> </D:prop> <D:status>HTTP/1.1 200 OK</D:status> </D:propstat> </D:response> <D:response> <D:href>http://cal.example.com/bernard/work/mtg1.ics</D:href> <D:status>HTTP/1.1 404 Not Found</D:status>
Daboo, et al. Standards Track [Page 65] RFC 4791 CalDAV March 2007
Daboo, et al. Standards Track [Page 65] RFC 4791 CalDAV March 2007
</D:response> </D:multistatus>
</D:response> </D:multistatus>
7.10. CALDAV:free-busy-query REPORT
7.10. CALDAV:free-busy-query REPORT
The CALDAV:free-busy-query REPORT generates a VFREEBUSY component containing free busy information for all the calendar object resources targeted by the request and that have the CALDAV:read-free- busy or DAV:read privilege granted to the current user.
The CALDAV:free-busy-query REPORT generates a VFREEBUSY component containing free busy information for all the calendar object resources targeted by the request and that have the CALDAV:read-free- busy or DAV:read privilege granted to the current user.
Only VEVENT components without a TRANSP property or with the TRANSP property set to OPAQUE, and VFREEBUSY components SHOULD be considered in generating the free busy time information.
Only VEVENT components without a TRANSP property or with the TRANSP property set to OPAQUE, and VFREEBUSY components SHOULD be considered in generating the free busy time information.
In the case of VEVENT components, the free or busy time type (FBTYPE) of the FREEBUSY properties in the returned VFREEBUSY component SHOULD be derived from the value of the TRANSP and STATUS properties, as outlined in the table below:
In the case of VEVENT components, the free or busy time type (FBTYPE) of the FREEBUSY properties in the returned VFREEBUSY component SHOULD be derived from the value of the TRANSP and STATUS properties, as outlined in the table below:
+---------------------------++------------------+ | VEVENT || VFREEBUSY | +-------------+-------------++------------------+ | TRANSP | STATUS || FBTYPE | +=============+=============++==================+ | | CONFIRMED || BUSY | | | (default) || | | OPAQUE +-------------++------------------+ | (default) | CANCELLED || FREE | | +-------------++------------------+ | | TENTATIVE || BUSY-TENTATIVE | | +-------------++------------------+ | | x-name || BUSY or | | | || x-name | +-------------+-------------++------------------+ | | CONFIRMED || | | TRANSPARENT | CANCELLED || FREE | | | TENTATIVE || | | | x-name || | +-------------+-------------++------------------+
+---------------------------++------------------+ | VEVENT || VFREEBUSY | +-------------+-------------++------------------+ | TRANSP | STATUS || FBTYPE | +=============+=============++==================+ | | CONFIRMED || BUSY | | | (default) || | | OPAQUE +-------------++------------------+ | (default) | CANCELLED || FREE | | +-------------++------------------+ | | TENTATIVE || BUSY-TENTATIVE | | +-------------++------------------+ | | x-name || BUSY or | | | || x-name | +-------------+-------------++------------------+ | | CONFIRMED || | | TRANSPARENT | CANCELLED || FREE | | | TENTATIVE || | | | x-name || | +-------------+-------------++------------------+
Duplicate busy time periods with the same FBTYPE parameter value SHOULD NOT be specified in the returned VFREEBUSY component. Servers SHOULD coalesce consecutive or overlapping busy time periods of the same type. Busy time periods with different FBTYPE parameter values MAY overlap.
Duplicate busy time periods with the same FBTYPE parameter value SHOULD NOT be specified in the returned VFREEBUSY component. Servers SHOULD coalesce consecutive or overlapping busy time periods of the same type. Busy time periods with different FBTYPE parameter values MAY overlap.
Support for the CALDAV:free-busy-query REPORT is REQUIRED.
Support for the CALDAV:free-busy-query REPORT is REQUIRED.
Daboo, et al. Standards Track [Page 66] RFC 4791 CalDAV March 2007
Daboo, et al. Standards Track [Page 66] RFC 4791 CalDAV March 2007
Marshalling:
Marshalling:
The request body MUST be a CALDAV:free-busy-query XML element (see Section 9.11), which MUST contain exactly one CALDAV:time-range XML element, as defined in Section 9.9.
The request body MUST be a CALDAV:free-busy-query XML element (see Section 9.11), which MUST contain exactly one CALDAV:time-range XML element, as defined in Section 9.9.
The request MAY include a Depth header. If no Depth header is included, Depth:0 is assumed.
The request MAY include a Depth header. If no Depth header is included, Depth:0 is assumed.
The response body for a successful request MUST be an iCalendar object that contains exactly one VFREEBUSY component that describes the busy time intervals for the calendar object resources containing VEVENT, or VFREEBUSY components that satisfy the Depth value and for which the current user is at least granted the CALDAV:read-free-busy privilege. If no calendar object resources are found to satisfy these conditions, a VFREEBUSY component with no FREEBUSY property MUST be returned. This report only returns busy time information. Free time information can be inferred from the returned busy time information.
The response body for a successful request MUST be an iCalendar object that contains exactly one VFREEBUSY component that describes the busy time intervals for the calendar object resources containing VEVENT, or VFREEBUSY components that satisfy the Depth value and for which the current user is at least granted the CALDAV:read-free-busy privilege. If no calendar object resources are found to satisfy these conditions, a VFREEBUSY component with no FREEBUSY property MUST be returned. This report only returns busy time information. Free time information can be inferred from the returned busy time information.
If the current user is not granted the CALDAV:read-free-busy or DAV:read privileges on the Request-URI, the CALDAV:free-busy-query REPORT request MUST fail and return a 404 (Not Found) status value. This restriction will prevent users from discovering URLs of resources for which they are only granted the CALDAV:read-free- busy privilege.
If the current user is not granted the CALDAV:read-free-busy or DAV:read privileges on the Request-URI, the CALDAV:free-busy-query REPORT request MUST fail and return a 404 (Not Found) status value. This restriction will prevent users from discovering URLs of resources for which they are only granted the CALDAV:read-free- busy privilege.
The CALDAV:free-busy-query REPORT request can only be run against a collection (either a regular collection or a calendar collection). An attempt to run the report on a calendar object resource MUST fail and return a 403 (Forbidden) status value.
The CALDAV:free-busy-query REPORT request can only be run against a collection (either a regular collection or a calendar collection). An attempt to run the report on a calendar object resource MUST fail and return a 403 (Forbidden) status value.
Preconditions:
Preconditions:
None.
None.
Postconditions:
Postconditions:
(DAV:number-of-matches-within-limits): The number of matching calendar object resources must fall within server-specific, predefined limits. For example, this postcondition might fail if the specified CALDAV:time-range would cause an extremely large number of calendar object resources to be considered in computing the response.
(DAV:number-of-matches-within-limits): The number of matching calendar object resources must fall within server-specific, predefined limits. For example, this postcondition might fail if the specified CALDAV:time-range would cause an extremely large number of calendar object resources to be considered in computing the response.
Daboo, et al. Standards Track [Page 67] RFC 4791 CalDAV March 2007
Daboo, et al. Standards Track [Page 67] RFC 4791 CalDAV March 2007
7.10.1. Example: Successful CALDAV:free-busy-query REPORT
7.10.1. Example: Successful CALDAV:free-busy-query REPORT
In this example, the client requests the server to return free busy information on the calendar collection /bernard/work/, between 9:00 A.M. and 5:00 P.M. EST (2:00 P.M. and 10:00 P.M. UTC) on the January 4, 2006. The server responds, indicating two busy time intervals of one hour, one of which is tentative.
In this example, the client requests the server to return free busy information on the calendar collection /bernard/work/, between 9:00 A.M. and 5:00 P.M. EST (2:00 P.M. and 10:00 P.M. UTC) on the January 4, 2006. The server responds, indicating two busy time intervals of one hour, one of which is tentative.
See Appendix B for the calendar data being targeted by this example.
See Appendix B for the calendar data being targeted by this example.
>> Request <<
>> Request <<
REPORT /bernard/work/ HTTP/1.1 Host: cal.example.com Depth: 1 Content-Type: application/xml; charset="utf-8" Content-Length: xxxx
REPORT /bernard/work/ HTTP/1.1 Host: cal.example.com Depth: 1 Content-Type: application/xml; charset="utf-8" Content-Length: xxxx
<?xml version="1.0" encoding="utf-8" ?> <C:free-busy-query xmlns:C="urn:ietf:params:xml:ns:caldav"> <C:time-range start="20060104T140000Z" end="20060105T220000Z"/> </C:free-busy-query>
<?xml version="1.0" encoding="utf-8" ?> <C:free-busy-query xmlns:C="urn:ietf:params:xml:ns:caldav"> <C:time-range start="20060104T140000Z" end="20060105T220000Z"/> </C:free-busy-query>
>> Response <<
>> Response <<
HTTP/1.1 200 OK Date: Sat, 11 Nov 2006 09:32:12 GMT Content-Type: text/calendar Content-Length: xxxx
HTTP/1.1 200 OK Date: Sat, 11 Nov 2006 09:32:12 GMT Content-Type: text/calendar Content-Length: xxxx
BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Example Corp.//CalDAV Server//EN BEGIN:VFREEBUSY DTSTAMP:20050125T090000Z DTSTART:20060104T140000Z DTEND:20060105T220000Z FREEBUSY;FBTYPE=BUSY-TENTATIVE:20060104T150000Z/PT1H FREEBUSY:20060104T190000Z/PT1H END:VFREEBUSY END:VCALENDAR
BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Example Corp.//CalDAV Server//EN BEGIN:VFREEBUSY DTSTAMP:20050125T090000Z DTSTART:20060104T140000Z DTEND:20060105T220000Z FREEBUSY;FBTYPE=BUSY-TENTATIVE:20060104T150000Z/PT1H FREEBUSY:20060104T190000Z/PT1H END:VFREEBUSY END:VCALENDAR
Daboo, et al. Standards Track [Page 68] RFC 4791 CalDAV March 2007
Daboo, et al. Standards Track [Page 68] RFC 4791 CalDAV March 2007
8. Guidelines
8. Guidelines
8.1. Client-to-Client Interoperability
8.1. Client-to-Client Interoperability
There are a number of actions clients can take that will be legal (the server will not return errors), but that can degrade interoperability with other client implementations accessing the same data. For example, a recurrence rule could be replaced with a set of recurrence dates, a single recurring event could be replaced with a set of independent resources to represent each recurrence, or the start/end time values can be translated from the original time zone to another time zone. Although this advice amounts to iCalendar interoperability best practices and is not limited only to CalDAV usage, interoperability problems are likely to be more evident in CalDAV use cases.
There are a number of actions clients can take that will be legal (the server will not return errors), but that can degrade interoperability with other client implementations accessing the same data. For example, a recurrence rule could be replaced with a set of recurrence dates, a single recurring event could be replaced with a set of independent resources to represent each recurrence, or the start/end time values can be translated from the original time zone to another time zone. Although this advice amounts to iCalendar interoperability best practices and is not limited only to CalDAV usage, interoperability problems are likely to be more evident in CalDAV use cases.
8.2. Synchronization Operations
8.2. Synchronization Operations
WebDAV already provides functionality required to synchronize a collection or set of collections, to make changes offline, and provides a simple way to resolve conflicts when reconnected. 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 some other WebDAV applications, CalDAV servers MUST support ETags, as specified in Section 5.3.4.
WebDAV already provides functionality required to synchronize a collection or set of collections, to make changes offline, and provides a simple way to resolve conflicts when reconnected. 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 some other WebDAV applications, CalDAV servers MUST support ETags, as specified in Section 5.3.4.
8.2.1. Use of Reports
8.2.1. Use of Reports
8.2.1.1. Restrict the Time Range
8.2.1.1. Restrict the Time Range
The reports provided in CalDAV can be used by clients to optimize their performance in terms of network bandwidth usage and resource consumption on the local client machine. Both are certainly major considerations for mobile or handheld devices with limited capacity, but they are also relevant to desktop client applications in cases where the calendar collections contain large amounts of data.
The reports provided in CalDAV can be used by clients to optimize their performance in terms of network bandwidth usage and resource consumption on the local client machine. Both are certainly major considerations for mobile or handheld devices with limited capacity, but they are also relevant to desktop client applications in cases where the calendar collections contain large amounts of data.
Typically, clients present calendar data to users in views that span a finite time interval, so whenever possible, clients should only retrieve calendar components from the server using CALDAV:calendar- query REPORT, combined with a CALDAV:time-range element, to limit the set of returned components to just those needed to populate the current view.
Typically, clients present calendar data to users in views that span a finite time interval, so whenever possible, clients should only retrieve calendar components from the server using CALDAV:calendar- query REPORT, combined with a CALDAV:time-range element, to limit the set of returned components to just those needed to populate the current view.
Daboo, et al. Standards Track [Page 69] RFC 4791 CalDAV March 2007
Daboo, et al. Standards Track [Page 69] RFC 4791 CalDAV March 2007
8.2.1.2. Synchronize by Time Range
8.2.1.2. Synchronize by Time Range
Typically in a calendar, historical data (events, to-dos, etc. that have completed prior to the current date) do not change, though they may be deleted. As a result, a client can speed up the synchronization process by only considering data for the present time and the future up to a reasonable limit (e.g., one week, one month). If the user then tries to examine a portion of the calendar outside the range that has been synchronized, the client can perform another synchronization operation on the new time interval being examined. This "just-in-time" synchronization can minimize bandwidth for common user interaction behaviors.
Typically in a calendar, historical data (events, to-dos, etc. that have completed prior to the current date) do not change, though they may be deleted. As a result, a client can speed up the synchronization process by only considering data for the present time and the future up to a reasonable limit (e.g., one week, one month). If the user then tries to examine a portion of the calendar outside the range that has been synchronized, the client can perform another synchronization operation on the new time interval being examined. This "just-in-time" synchronization can minimize bandwidth for common user interaction behaviors.
8.2.1.3. Synchronization Process
8.2.1.3. Synchronization Process
If a client wants to support calendar data synchronization, as opposed to downloading calendar data each time it is needed, the client needs to cache the calendar object resource's URI and ETag, along with the actual calendar data. While the URI remains static for the lifetime of the calendar object resource, the ETag will change with each successive change to the calendar object resource. Thus, to synchronize a local data cache with the server, the client can first fetch the URI/ETag pairs for the time interval being considered, and compare those results with the cached data. Any cached component whose ETag differs from that on the server needs to be refreshed.
If a client wants to support calendar data synchronization, as opposed to downloading calendar data each time it is needed, the client needs to cache the calendar object resource's URI and ETag, along with the actual calendar data. While the URI remains static for the lifetime of the calendar object resource, the ETag will change with each successive change to the calendar object resource. Thus, to synchronize a local data cache with the server, the client can first fetch the URI/ETag pairs for the time interval being considered, and compare those results with the cached data. Any cached component whose ETag differs from that on the server needs to be refreshed.
In order to properly detect the changes between the server and client data, the client will need to keep a record of which calendar object resources have been created, changed, or deleted since the last synchronization operation so that it can reconcile those changes with the data on the server.
In order to properly detect the changes between the server and client data, the client will need to keep a record of which calendar object resources have been created, changed, or deleted since the last synchronization operation so that it can reconcile those changes with the data on the server.
Here's an example of how to do that:
Here's an example of how to do that:
The client issues a CALDAV:calendar-query REPORT request for a specific time range and asks for only the DAV:getetag property to be returned:
The client issues a CALDAV:calendar-query REPORT request for a specific time range and asks for only the DAV:getetag property to be returned:
Daboo, et al. Standards Track [Page 70] RFC 4791 CalDAV March 2007
Daboo, et al. Standards Track [Page 70] RFC 4791 CalDAV March 2007
REPORT /bernard/work/ HTTP/1.1 Host: cal.example.com Depth: 1 Content-Type: application/xml; charset="utf-8" Content-Length: xxxx
REPORT /bernard/work/ HTTP/1.1 Host: cal.example.com Depth: 1 Content-Type: application/xml; charset="utf-8" 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:filter> <C:comp-filter name="VCALENDAR"> <C:comp-filter name="VEVENT"> <C:time-range start="20040902T000000Z" end="20040903T000000Z"/> </C:comp-filter> </C:comp-filter> </C:filter> </C:calendar-query>
<?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:filter> <C:comp-filter name="VCALENDAR"> <C:comp-filter name="VEVENT"> <C:time-range start="20040902T000000Z" end="20040903T000000Z"/> </C:comp-filter> </C:comp-filter> </C:filter> </C:calendar-query>
The client then uses the results to determine which calendar object resources have changed, been created, or deleted on the server, and how those relate to locally cached calendar object resources that may have changed, been created, or deleted. If the client determines that there are calendar object resources on the server that need to be fetched, the client issues a CALDAV:calendar-multiget REPORT request to fetch its calendar data:
The client then uses the results to determine which calendar object resources have changed, been created, or deleted on the server, and how those relate to locally cached calendar object resources that may have changed, been created, or deleted. If the client determines that there are calendar object resources on the server that need to be fetched, the client issues a CALDAV:calendar-multiget REPORT request to fetch its calendar data:
REPORT /bernard/work/ HTTP/1.1 Host: cal.example.com Content-Type: application/xml; charset="utf-8" Content-Length: xxxx
REPORT /bernard/work/ HTTP/1.1 Host: cal.example.com Content-Type: application/xml; charset="utf-8" Content-Length: xxxx
<?xml version="1.0" encoding="utf-8" ?> <C:calendar-multiget xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav"> <D:prop> <D:getetag/> <C:calendar-data/> </D:prop> <D:href>/bernard/work/abcd1.ics</D:href> <D:href>/bernard/work/mtg1.ics</D:href> </C:calendar-multiget>
<?xml version="1.0" encoding="utf-8" ?> <C:calendar-multiget xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav"> <D:prop> <D:getetag/> <C:calendar-data/> </D:prop> <D:href>/bernard/work/abcd1.ics</D:href> <D:href>/bernard/work/mtg1.ics</D:href> </C:calendar-multiget>
Daboo, et al. Standards Track [Page 71] RFC 4791 CalDAV March 2007
Daboo, et al. Standards Track [Page 71] RFC 4791 CalDAV March 2007
8.2.2. Restrict the Properties Returned
8.2.2. Restrict the Properties Returned
A client may not need all the calendar properties of a calendar object resource when presenting information to the user. Since some calendar property values can be large (e.g., ATTACH or ATTENDEE), a client can choose to restrict the calendar properties to be returned in a calendaring REPORT request to those it knows it will use.
A client may not need all the calendar properties of a calendar object resource when presenting information to the user. Since some calendar property values can be large (e.g., ATTACH or ATTENDEE), a client can choose to restrict the calendar properties to be returned in a calendaring REPORT request to those it knows it will use.
However, if a client needs to make a change to a calendar object resource, it can only change the entire calendar object resource via a PUT request. There is currently no way to incrementally make a change to a set of calendar properties of a calendar object resource. As a result, the client will have to get the entire calendar object resource that is being changed.
However, if a client needs to make a change to a calendar object resource, it can only change the entire calendar object resource via a PUT request. There is currently no way to incrementally make a change to a set of calendar properties of a calendar object resource. As a result, the client will have to get the entire calendar object resource that is being changed.
8.3. Use of Locking
8.3. Use of Locking
WebDAV locks can be used to prevent two clients that are modifying the same resource from either overwriting each others' changes (though that problem can also be solved by using ETags) or wasting time making changes that will conflict with another set of changes. In a multi-user calendar system, an interactive calendar client could lock an event while the user is editing the event, and unlock the event when the user finishes or cancels. Locks can also be used to prevent changes while data is being reorganized. For example, a calendar client might lock two calendar collections prior to moving a bunch of calendar resources from one to another.
WebDAV locks can be used to prevent two clients that are modifying the same resource from either overwriting each others' changes (though that problem can also be solved by using ETags) or wasting time making changes that will conflict with another set of changes. In a multi-user calendar system, an interactive calendar client could lock an event while the user is editing the event, and unlock the event when the user finishes or cancels. Locks can also be used to prevent changes while data is being reorganized. For example, a calendar client might lock two calendar collections prior to moving a bunch of calendar resources from one to another.
Clients are responsible for requesting a lock timeout period that is appropriate to the use case. When the user explicitly decides to reserve a resource and prevent other changes, a long timeout might be appropriate, but in cases where the client automatically decides to lock the resource, the timeout should be short (and the client can always refresh the lock should it need to). A short lock timeout means that if the client is unable to remove the lock, the other calendar users aren't prevented from making changes.
Clients are responsible for requesting a lock timeout period that is appropriate to the use case. When the user explicitly decides to reserve a resource and prevent other changes, a long timeout might be appropriate, but in cases where the client automatically decides to lock the resource, the timeout should be short (and the client can always refresh the lock should it need to). A short lock timeout means that if the client is unable to remove the lock, the other calendar users aren't prevented from making changes.
8.4. Finding Calendars
8.4. Finding Calendars
Much of the time, a calendar client (or agent) will discover a new calendar's location by being provided directly with the URL. For example, a user will type his or her own calendar location into client configuration information or copy and paste a URL from email into the calendar application. The client need only confirm that the URL points to a resource that is a calendar collection. The client may also be able to browse WebDAV collections to find calendar collections.
Much of the time, a calendar client (or agent) will discover a new calendar's location by being provided directly with the URL. For example, a user will type his or her own calendar location into client configuration information or copy and paste a URL from email into the calendar application. The client need only confirm that the URL points to a resource that is a calendar collection. The client may also be able to browse WebDAV collections to find calendar collections.
Daboo, et al. Standards Track [Page 72] RFC 4791 CalDAV March 2007
Daboo, et al. Standards Track [Page 72] RFC 4791 CalDAV March 2007
The choice of HTTP URLs means that calendar object resources are backward compatible with existing software, but does have the disadvantage that existing software does not usually know to look at the OPTIONS response to that URL to determine what can be done with it. This is somewhat of a barrier for WebDAV usage as well as with CalDAV usage. This specification does not offer a way through this other than making the information available in the OPTIONS response should this be requested.
The choice of HTTP URLs means that calendar object resources are backward compatible with existing software, but does have the disadvantage that existing software does not usually know to look at the OPTIONS response to that URL to determine what can be done with it. This is somewhat of a barrier for WebDAV usage as well as with CalDAV usage. This specification does not offer a way through this other than making the information available in the OPTIONS response should this be requested.
For calendar sharing and scheduling use cases, one might wish to find the calendar belonging to another user. If the other user has a calendar in the same repository, that calendar can be found by using the principal namespace required by WebDAV ACL support. For other cases, the authors have no universal solution, but implementers can consider whether to use vCard [RFC2426] or LDAP [RFC4511] standards together with calendar attributes [RFC2739].
For calendar sharing and scheduling use cases, one might wish to find the calendar belonging to another user. If the other user has a calendar in the same repository, that calendar can be found by using the principal namespace required by WebDAV ACL support. For other cases, the authors have no universal solution, but implementers can consider whether to use vCard [RFC2426] or LDAP [RFC4511] standards together with calendar attributes [RFC2739].
Because CalDAV requires servers to support WebDAV ACL [RFC3744], including principal namespaces, and with the addition of the CALDAV: calendar-home-set property, there are a couple options for CalDAV clients to find one's own calendar or another user's calendar.
Because CalDAV requires servers to support WebDAV ACL [RFC3744], including principal namespaces, and with the addition of the CALDAV: calendar-home-set property, there are a couple options for CalDAV clients to find one's own calendar or another user's calendar.
In this case, a DAV:principal-match REPORT is used to find a named property (the CALDAV:calendar-home-set) on the Principal-URL of the current user. Using this, a WebDAV client can learn "who am I" and "where are my calendars". The REPORT request body looks like this:
In this case, a DAV:principal-match REPORT is used to find a named property (the CALDAV:calendar-home-set) on the Principal-URL of the current user. Using this, a WebDAV client can learn "who am I" and "where are my calendars". The REPORT request body looks like this:
<?xml version="1.0" encoding="utf-8" ?> <D:principal-match xmlns:D="DAV:"> <D:self/> <D:prop> <C:calendar-home-set xmlns:C="urn:ietf:params:xml:ns:caldav"/> </D:prop> </D:principal-match>
<?xml version="1.0" encoding="utf-8" ?> <D:principal-match xmlns:D="DAV:"> <D:self/> <D:prop> <C:calendar-home-set xmlns:C="urn:ietf:params:xml:ns:caldav"/> </D:prop> </D:principal-match>
To find other users' calendars, the DAV:principal-property-search REPORT can be used to filter on some properties and return others. To search for a calendar owned by a user named "Laurie", the REPORT request body would look like this:
To find other users' calendars, the DAV:principal-property-search REPORT can be used to filter on some properties and return others. To search for a calendar owned by a user named "Laurie", the REPORT request body would look like this:
Daboo, et al. Standards Track [Page 73] RFC 4791 CalDAV March 2007
Daboo, et al. Standards Track [Page 73] RFC 4791 CalDAV March 2007
<?xml version="1.0" encoding="utf-8" ?> <D:principal-property-search xmlns:D="DAV:"> <D:property-search> <D:prop> <D:displayname/> </D:prop> <D:match>Laurie</D:match> </D:property-search> <D:prop> <C:calendar-home-set xmlns:C="urn:ietf:params:xml:ns:caldav"/> <D:displayname/> </D:prop> </D:principal-property-search>
<?xml version="1.0" encoding="utf-8" ?> <D:principal-property-search xmlns:D="DAV:"> <D:property-search> <D:prop> <D:displayname/> </D:prop> <D:match>Laurie</D:match> </D:property-search> <D:prop> <C:calendar-home-set xmlns:C="urn:ietf:params:xml:ns:caldav"/> <D:displayname/> </D:prop> </D:principal-property-search>
The server performs a case-sensitive or caseless search for a matching string subset of "Laurie" within the DAV:displayname property. Thus, the server might return "Laurie Dusseault", "Laurier Desruisseaux", or "Wilfrid Laurier" as matching DAV:displayname values, and return the calendars for each of these.
The server performs a case-sensitive or caseless search for a matching string subset of "Laurie" within the DAV:displayname property. Thus, the server might return "Laurie Dusseault", "Laurier Desruisseaux", or "Wilfrid Laurier" as matching DAV:displayname values, and return the calendars for each of these.
8.5. Storing and Using Attachments
8.5. Storing and Using Attachments
CalDAV clients MAY create attachments in calendar components either as inline or external. This section contains some guidelines for creating and managing attachments.
CalDAV clients MAY create attachments in calendar components either as inline or external. This section contains some guidelines for creating and managing attachments.
8.5.1. Inline Attachments
8.5.1. Inline Attachments
CalDAV clients MUST support inline attachments as specified in iCalendar [RFC2445]. CalDAV servers MUST support inline attachments, so clients can rely on being able to create attachments this way. On the other hand, inline attachments have some drawbacks:
CalDAV clients MUST support inline attachments as specified in iCalendar [RFC2445]. CalDAV servers MUST support inline attachments, so clients can rely on being able to create attachments this way. On the other hand, inline attachments have some drawbacks:
o Servers MAY impose limitations on the size of calendar object resources (i.e., refusing PUT requests of very large iCalendar objects). Servers that impose such limitations MUST use the CALDAV:max-resource-size property on a calendar collection to inform the client as to what the limitation is (see Section 5.2.5).
o Servers MAY impose limitations on the size of calendar object resources (i.e., refusing PUT requests of very large iCalendar objects). Servers that impose such limitations MUST use the CALDAV:max-resource-size property on a calendar collection to inform the client as to what the limitation is (see Section 5.2.5).
o Servers MAY impose storage quota limitations on calendar collections (See [RFC4331]).
o サーバはストレージ割当て制限をカレンダー収集に課すかもしれません([RFC4331]を見てください)。
o Any change to a calendar object resource containing an inline attachment requires the entire inline attachment to be re- uploaded.
o インライン付属を含むカレンダーオブジェクトリソースへのどんな変化も、全体のインライン付属が再アップロードされるのを必要とします。
Daboo, et al. Standards Track [Page 74] RFC 4791 CalDAV March 2007
Daboo、他 規格は2007年のCalDAV行進のときにRFC4791を追跡します[74ページ]。
o Clients synchronizing a changed calendar object resource have to download the entire calendar object resource, even if the attachment is unchanged.
o 変えられたカレンダーオブジェクトリソースを同期させるクライアントは全体のカレンダーオブジェクトリソースをダウンロードしなければなりません、付属が変わりがなくても。
8.5.2. External Attachments
8.5.2. 外部の付属
CalDAV clients SHOULD support downloading of external attachments referenced by arbitrary URI schemes, by either processing them directly, or by passing the attachment URI to a suitable "helper application" for processing, if such an application exists. CalDAV clients MUST support downloading of external attachments referenced by the "http" or "https" URI schemes. An external attachment could be:
CalDAVクライアントSHOULDは任意のURI体系によって参照をつけられる外部の付属のダウンロードをサポートします、そのような利用が存在しているなら直接、または処理のために適当な「支援アプリケーション」に付属URIを通過することによってそれらを処理することによって。 CalDAVクライアントは"http"か"https"URI体系によって参照をつけられる外部の付属のダウンロードをサポートしなければなりません。 外部の付属は以下の通りであるかもしれません。
o In a collection in the calendar collection containing the calendar object resource;
o カレンダーオブジェクトリソースを含むカレンダー収集における収集で。
o Somewhere else in the same repository that hosts the calendar collection; or
o 同じ倉庫の他のどこかでは、それがカレンダー収集を主催します。 または
o On an HTTP or FTP server elsewhere.
o ほかの場所のHTTPかFTPサーバに関して。
CalDAV servers MAY provide support for child collections in calendar collections. CalDAV servers MAY allow the MKCOL method to create child collections in calendar collections. Child collections of calendar collections MAY contain any type of resource except calendar collections that they MUST NOT contain. Some CalDAV servers won't allow child collections in calendar collections, and it may be possible on such a server to discover other locations where attachments can be stored.
CalDAVサーバはカレンダー収集における子供収集のサポートを提供するかもしれません。 CalDAVサーバはカレンダー収集における子供収集を作成するMKCOLメソッドを許容するかもしれません。 それらが含んではいけないカレンダー収集を除いて、カレンダー収集の子供収集はどんなタイプに関するリソースも含むかもしれません。 CalDAVサーバがカレンダー収集における子供収集、およびそれを許容しない或るものは、付属を保存できる他の位置を発見するためにそのようなサーバで可能であるかもしれません。
Clients are entirely responsible for maintaining reference consistency with calendar components that link to external attachments. A client deleting a calendar component with an external attachment might therefore also delete the attachment if that's appropriate; however, appropriateness can be very hard to determine. A new component might easily reference some pre-existing Web resource that is intended to have independent existence from the calendar component (the "attachment" could be a major proposal to be discussed in a meeting, for instance). Best practices will probably emerge and should probably be documented, but for now, clients should be wary of engaging in aggressive "cleanup" of external attachments. A client could involve the user in making decisions about removing unreferenced documents, or a client could be conservative in only deleting attachments it had created.
カレンダーコンポーネントがある参照の一貫性が外部の付属へのそのリンクであることを支持するのにクライアントは完全に責任感が強いです。 したがって、また、それが適切であるなら、外部の付属をもってカレンダーコンポーネントを削除するクライアントは付属を削除するかもしれません。 しかしながら、適切さは決定するのが非常に困難である場合があります。 新しいコンポーネントはカレンダーコンポーネントから独立している存在を持っていることを意図する何らかの先在のウェブリソースに容易に参照をつけるかもしれません(「付属」はaで議論するという例えば満たされる主要な提案であるかもしれません)。 最も良い習慣は、たぶん現れて、たぶん記録されるべきですが、当分クライアントは外部の付属の攻撃的な「クリーンアップ」に従事しているのに用心深いはずです。 クライアントは参照されないドキュメントを取り外すことに関する決定をするのにユーザにかかわることができましたか、またはクライアントがそれが作成した付属を削除するだけにおいて保守的であるかもしれません。
Also, clients are responsible for consistency of permissions when using external attachments. One reason for servers to support the
また、外部の付属を使用するとき、クライアントも許容の一貫性に責任があります。 サーバがサポートする1つの理由
Daboo, et al. Standards Track [Page 75] RFC 4791 CalDAV March 2007
Daboo、他 規格は2007年のCalDAV行進のときにRFC4791を追跡します[75ページ]。
storage of attachments within child collections of calendar collections is that ACL inheritance might make it easier to grant the same permissions to attachments that are granted on the calendar collection. Otherwise, it can be very difficult to keep permissions synchronized. With attachments stored on separate repositories, it can be impossible to keep permissions consistent -- the two repositories may not support the same permissions or have the same set of principals. Some systems have used tickets or other anonymous access control mechanisms to provide partially satisfactory solutions to these kinds of problems.
カレンダー収集の子供収集の中の付属のストレージはACL継承でカレンダー収集のときに認められる付属に同じ許容を承諾するのが、より簡単になるかもしれないということです。 さもなければ、許容を同時にさせ続けるのは非常に難しい場合があります。 付属が別々の倉庫の上に保存されている状態で、許容を一貫しているように保つのは不可能である場合があります--2つの倉庫には、同じ許容をサポートしないか、同じセットの主体がないかもしれません。 いくつかのシステムが、これらの種類の問題に満足な解決を部分的に提供するのにチケットか他の匿名のアクセス管理機構を使用しました。
8.6. Storing and Using Alarms
8.6. アラームを保存して、使用します。
Note that all CalDAV calendar collections (including those the user might treat as public or group calendars) can contain alarm information on events and to-dos. Users can synchronize a calendar between multiple devices and decide to have alarms execute on a different device than the device that created the alarm. Not all alarm action types are completely interoperable (e.g., those that name a sound file to play).
すべてのCalDAVカレンダー収集(ユーザが公衆を扱うかもしれないそれらかグループカレンダーを含んでいる)がイベントと大騒ぎのアラーム情報を含むことができることに注意してください。 ユーザは、アラームを作成したデバイスより、複数のデバイスの間のカレンダーを同期させて、アラームにa異なるところでデバイスを実行させると決めることができます。 すべての警報動作タイプがどんな完全に共同利用できるというわけではありません(例えば、プレーするためにサウンド・ファイルを命名するもの)。
When the action is AUDIO and the client is configured to execute the alarm, the client SHOULD play the suggested sound if it's available or play another sound, but SHOULD NOT rewrite the alarm just to replace the suggested sound with a sound that's locally available.
動作がAUDIOであり、クライアントがアラームを実行するために構成されるとき、クライアントSHOULDはそれが利用可能であるなら提案された音を揺らがせるか、または別の音を揺らがせますが、SHOULD NOTは、ただ提案された音を局所的に利用可能な音に取り替えるためにアラームを書き直します。
When the action is DISPLAY and the client is configured to execute the alarm, the client SHOULD execute a display alarm by displaying according to the suggested description or some reasonable replacement, but SHOULD NOT rewrite the alarm for its own convenience.
動作がDISPLAYであり、クライアントがアラームを実行するために構成されるとき、クライアントSHOULDは提案された記述か何らかの合理的な交換に従って表示することによって、ディスプレイアラームを実行しますが、SHOULD NOTはそれ自身の便宜のためのアラームを書き直します。
When the action is EMAIL and the client is incapable of sending email, it SHOULD ignore the alarm, but it MUST continue to synchronize the alarm itself.
いつ動作がメールであるか、そして、クライアントはメールを送ることができません、それ。SHOULDはアラームを無視しますが、それは、アラーム自体を同期させ続けなければなりません。
This specification makes no recommendations about executing alarms of type PROCEDURE, except to note that clients are advised to take care to avoid creating security holes by executing these.
この仕様はタイプに関するアラームを実行することに関する推薦状を全くPROCEDUREにしません、クライアントがこれらを実行することによってセキュリティー上の欠陥を生み出すのを避けるために注意するようにアドバイスされることに注意するのを除いて。
Non-interoperable alarm information (e.g., should somebody define a color to be used in a display alarm) should be put in non-standard properties inside the VALARM component in order to keep the basic alarm usable on all devices.
非共同利用できるアラーム情報(例えば、だれかがディスプレイアラームで使用されるために色を定義するべきです、)は、すべてのデバイスで使用可能に基本のアラームを保つためにVALARMの部品における標準的でない特性に入れられるべきです。
Clients that allow changes to calendar object resources MUST synchronize the alarm data that already exists in the resources.
カレンダーオブジェクトリソースへの変化を許すクライアントはリソースに既に存在するアラームデータを同期させなければなりません。
Daboo, et al. Standards Track [Page 76] RFC 4791 CalDAV March 2007
Daboo、他 規格は2007年のCalDAV行進のときにRFC4791を追跡します[76ページ]。
Clients MAY execute alarms that are downloaded in this fashion, possibly based on user preference. If a client is only doing read operations on a calendar and there is no risk of losing alarm information, then the client MAY discard alarm information.
クライアントはこんなやり方で、そして、ことによるとユーザー選択に基づいてダウンロードされるアラームを実行するかもしれません。 クライアントがしているだけであるならカレンダーで操作を読んで、損をしているアラーム情報のリスクが全くありません、そして、次に、クライアントはアラーム情報を捨ててもよいです。
This specification makes no attempt to provide multi-user alarms on group calendars or to find out for whom an alarm is intended. Addressing those issues might require extensions to iCalendar; for example, to store alarms per-user, or to indicate for which user a VALARM was intended. In the meantime, clients might maximize interoperability by generally not uploading alarm information to public, group, or resource calendars.
この仕様はグループカレンダーのアラームをマルチユーザに提供するか、または見つけるアラームが意図する試みを全くしません。 それらの問題を扱うのはiCalendarに拡大を必要とするかもしれません。 例えばアラームユーザを保存するか、またはVALARMがどのユーザに関して意図したかを示すために。 差し当たり、クライアントは一般にどんなアップロードアラーム情報でも公衆、グループ、またはリソースカレンダーに相互運用性を最大にしないかもしれません。
9. XML Element Definitions
9. XML要素定義
9.1. CALDAV:calendar XML Element
9.1. CALDAV: カレンダーXML要素
Name: calendar
以下を命名してください。 カレンダー
Namespace: urn:ietf:params:xml:ns:caldav
名前空間: つぼ:ietf:params:xml:ナノ秒: caldav
Purpose: Specifies the resource type of a calendar collection.
目的: カレンダー収集のリソースタイプを指定します。
Description: See Section 4.2.
記述: セクション4.2を見てください。
Definition:
定義:
<!ELEMENT calendar EMPTY>
<!ELEMENTカレンダーEMPTY>。
9.2. CALDAV:mkcalendar XML Element
9.2. CALDAV: mkcalendar XML要素
Name: mkcalendar
以下を命名してください。 mkcalendar
Namespace: urn:ietf:params:xml:ns:caldav
名前空間: つぼ:ietf:params:xml:ナノ秒: caldav
Purpose: Specifies a request that includes the WebDAV property values to be set for a calendar collection resource when it is created.
目的: それが作成されるとき、カレンダー収集リソースに設定されるためにWebDAV特性の値を含んでいる要求を指定します。
Description: See Section 5.3.1.
記述: セクション5.3.1を見てください。
Definition:
定義:
<!ELEMENT mkcalendar (DAV:set)>
<!ELEMENT mkcalendar(DAV: セット)>。
Daboo, et al. Standards Track [Page 77] RFC 4791 CalDAV March 2007
Daboo、他 規格は2007年のCalDAV行進のときにRFC4791を追跡します[77ページ]。
9.3. CALDAV:mkcalendar-response XML Element
9.3. CALDAV: mkcalendar-応答XML要素
Name: mkcalendar-response
以下を命名してください。 mkcalendar-応答
Namespace: urn:ietf:params:xml:ns:caldav
名前空間: つぼ:ietf:params:xml:ナノ秒: caldav
Purpose: Specifies a response body for a successful MKCALENDAR request.
目的: うまくいっているMKCALENDAR要求に応答本体を指定します。
Description: See Section 5.3.1.
記述: セクション5.3.1を見てください。
Definition:
定義:
<!ELEMENT mkcalendar-response ANY>
<!ELEMENT mkcalendar-応答いずれも>。
9.4. CALDAV:supported-collation XML Element
9.4. CALDAV: サポートしている照合XML要素
Name: supported-collation
以下を命名してください。 サポートしている照合
Namespace: urn:ietf:params:xml:ns:caldav
名前空間: つぼ:ietf:params:xml:ナノ秒: caldav
Purpose: Identifies a single collation via its collation identifier, as defined by [RFC4790].
目的: [RFC4790]によって定義されるように照合識別子でただ一つの照合を特定します。
Description: The CALDAV:supported-collation contains the text of a collation identifier, as described in Section 7.5.1.
記述: CALDAV: サポートしている照合はセクション7.5.1で説明されるように照合識別子のテキストを含んでいます。
Definition:
定義:
<!ELEMENT supported-collation (#PCDATA)> PCDATA value: collation identifier
<!のELEMENTのサポートしている照合(#PCDATA)>PCDATA価値: 照合識別子
9.5. CALDAV:calendar-query XML Element
9.5. CALDAV: カレンダー質問XML要素
Name: calendar-query
以下を命名してください。 カレンダー質問
Namespace: urn:ietf:params:xml:ns:caldav
名前空間: つぼ:ietf:params:xml:ナノ秒: caldav
Purpose: Defines a report for querying calendar object resources.
目的: カレンダーオブジェクトリソースについて質問するためのレポートを定義します。
Description: See Section 7.8.
記述: セクション7.8を見てください。
Definition:
定義:
<!ELEMENT calendar-query ((DAV:allprop | DAV:propname | DAV:prop)?, filter, timezone?)>
ELEMENTがカレンダーで質問する<!(DAV:allprop|DAV:propname|DAV: 支柱?)、フィルタ、タイムゾーン)?>。
Daboo, et al. Standards Track [Page 78] RFC 4791 CalDAV March 2007
Daboo、他 規格は2007年のCalDAV行進のときにRFC4791を追跡します[78ページ]。
9.6. CALDAV:calendar-data XML Element
9.6. CALDAV: カレンダーデータXML要素
Name: calendar-data
以下を命名してください。 カレンダーデータ
Namespace: urn:ietf:params:xml:ns:caldav
名前空間: つぼ:ietf:params:xml:ナノ秒: caldav
Purpose: Specified one of the following:
目的: 以下の指定された1つ:
1. A supported media type for calendar object resources when nested in the CALDAV:supported-calendar-data property;
1. CALDAVで入れ子にされると、サポートしているメディアはカレンダーオブジェクトリソースのためにタイプされます: サポートしているカレンダーデータの特性
2. The parts of a calendar object resource should be returned by a calendaring report;
2. calendaringレポートはカレンダーオブジェクトリソースの部分を返すべきです。
3. The content of a calendar object resource in a response to a calendaring report.
3. calendaringレポートへの応答におけるカレンダーオブジェクトリソースの内容。
Description: When nested in the CALDAV:supported-calendar-data property, the CALDAV:calendar-data XML element specifies a media type supported by the CalDAV server for calendar object resources.
記述: CALDAV: サポートしているカレンダーデータ所有地で入れ子にされると、カレンダーオブジェクトリソースのためにCalDAVサーバによってサポートされて、CALDAV: カレンダーデータXML要素はメディアタイプを指定します。
When used in a calendaring REPORT request, the CALDAV:calendar- data XML element specifies which parts of calendar object resources need to be returned in the response. If the CALDAV: calendar-data XML element doesn't contain any CALDAV:comp element, calendar object resources will be returned in their entirety.
calendaring REPORT要求で使用されると、CALDAV: カレンダーデータXML要素は、カレンダーオブジェクトリソースのどの部分が、応答で返される必要であるかを指定します。 CALDAVであるなら: カレンダーデータXML要素はどんなCALDAVも: コンピュータ要素を含んでいなくて、カレンダーオブジェクトリソースを全体として返すでしょう。
Finally, when used in a calendaring REPORT response, the CALDAV: calendar-data XML element specifies the content of a calendar object resource. Given that XML parsers normalize the two- character sequence CRLF (US-ASCII decimal 13 and US-ASCII decimal 10) to a single LF character (US-ASCII decimal 10), the CR character (US-ASCII decimal 13) MAY be omitted in calendar object resources specified in the CALDAV:calendar-data XML element. Furthermore, calendar object resources specified in the CALDAV: calendar-data XML element MAY be invalid per their media type specification if the CALDAV:calendar-data XML element part of the calendaring REPORT request did not specify required properties (e.g., UID, DTSTAMP, etc.), or specified a CALDAV:prop XML element with the "novalue" attribute set to "yes".
最終的にCALDAV calendaring REPORT応答に使用されると: カレンダーデータXML要素はカレンダーオブジェクトリソースの内容を指定します。 XMLパーサが2キャラクタシーケンスCRLF(米国-ASCIIの10進13と米国-ASCIIの10進10)を単独のLFキャラクタ(米国-ASCIIの10進10)に正常にするなら、CRキャラクタ(米国-ASCIIの10進13)はCALDAVで指定されたカレンダーオブジェクトリソースで省略されるかもしれません: カレンダーデータXML要素。 その上、カレンダーオブジェクトリソースはCALDAVで指定しました: カレンダーデータXML要素はCALDAV: calendaring REPORT要求のカレンダーデータXML要素部分が指定しなかったなら、タイプ仕様は、特性(例えば、UID、DTSTAMPなど)を必要としたか、またはCALDAVを指定しました: それらのメディアあたりの病人に、「はい」に設定された"novalue"属性がある支柱XML要素ということであるかもしれません。
Note: The CALDAV:calendar-data XML element is specified in requests and responses inside the DAV:prop XML element as if it were a WebDAV property. However, the CALDAV:calendar-data XML element is not a WebDAV property and, as such, is not returned in PROPFIND responses, nor used in PROPPATCH requests.
以下に注意してください。 CALDAV: カレンダーデータXML要素はDAVの中で要求と応答で指定されます: まるでそれがWebDAVの特性であるかのようにXML要素を支えてください。 しかしながら、CALDAV: カレンダーデータXML要素はそういうものとしてWebDAVの特性でなく、またPROPFIND応答で返されて、PROPPATCH要求で使用されません。
Daboo, et al. Standards Track [Page 79] RFC 4791 CalDAV March 2007
Daboo、他 規格は2007年のCalDAV行進のときにRFC4791を追跡します[79ページ]。
Note: The iCalendar data embedded within the CALDAV:calendar-data XML element MUST follow the standard XML character data encoding rules, including use of <, >, & etc. entity encoding or the use of a <![CDATA[ ... ]]> construct. In the later case, the iCalendar data cannot contain the character sequence "]]>", which is the end delimiter for the CDATA section.
以下に注意してください。 CALDAVの中で埋め込まれたiCalendarデータ: カレンダーデータXML要素は標準のXMLキャラクタデータ符号化規則に従わなければなりません、<[CDATA[…]]!>構造物の<の使用、>、&など実体コード化または使用を含んでいて。 「後の場合では、iCalendarデータはキャラクタシーケンスを含むことができない」、]、>、」、CDATA部への終わりのデリミタである。
Definition:
定義:
<!ELEMENT calendar-data EMPTY>
<!ELEMENTカレンダーデータEMPTY>。
when nested in the CALDAV:supported-calendar-data property to specify a supported media type for calendar object resources;
カレンダーオブジェクトリソースのためのサポートしているメディアタイプを指定するためにCALDAV: サポートしているカレンダーデータ所有地で入れ子にされると。
<!ELEMENT calendar-data (comp?, (expand | limit-recurrence-set)?, limit-freebusy-set?)>
<!ELEMENTカレンダーデータ(コンピュータ?、(広がってください| 限界再発はセットしました)--限界freebusyがセットしていたか、)>。
when nested in the DAV:prop XML element in a calendaring REPORT request to specify which parts of calendar object resources should be returned in the response;
DAVで入れ子にされたいつ: カレンダーオブジェクトリソースのどの部分が応答で返されるべきであるかを指定するというcalendaring REPORT要求でXML要素を支えてください。
<!ELEMENT calendar-data (#PCDATA)> PCDATA value: iCalendar object
<!ELEMENTカレンダーデータ(#PCDATA)>PCDATA価値: iCalendarオブジェクト
when nested in the DAV:prop XML element in a calendaring REPORT response to specify the content of a returned calendar object resource.
返されたカレンダーオブジェクトリソースの内容を指定するためにDAV: 支柱XML要素でcalendaring REPORT応答で入れ子にされると。
<!ATTLIST calendar-data content-type CDATA "text/calendar" version CDATA "2.0"> content-type value: a MIME media type version value: a version string
<!ATTLISTカレンダーデータcontent type CDATA「テキスト/カレンダー」バージョンCDATA、「2インチの>content type価値:」 MIMEメディアはバージョン値をタイプします: バージョンストリング
attributes can be used on all three variants of the CALDAV:calendar-data XML element.
CALDAVのすべての3つの異形の上で属性を使用できます: カレンダーデータXML要素。
9.6.1. CALDAV:comp XML Element
9.6.1. CALDAV: コンピュータXML要素
Name: comp
以下を命名してください。 コンピュータ
Namespace: urn:ietf:params:xml:ns:caldav
名前空間: つぼ:ietf:params:xml:ナノ秒: caldav
Purpose: Defines which component types to return.
目的: どのコンポーネント型を返したらよいかを定義します。
Daboo, et al. Standards Track [Page 80] RFC 4791 CalDAV March 2007
Daboo、他 規格は2007年のCalDAV行進のときにRFC4791を追跡します[80ページ]。
Description: The name value is a calendar component name (e.g., VEVENT).
記述: 名前値はカレンダーコンポーネント名(例えば、VEVENT)です。
Definition:
定義:
<!ELEMENT comp ((allprop | prop*), (allcomp | comp*))>
<!ELEMENTコンピュータ((allprop| 支柱*)、(allcomp| コンピュータ*))>。
<!ATTLIST comp name CDATA #REQUIRED> name value: a calendar component name
<!ATTLISTコンピュータ名前CDATA#REQUIRED>名前価値: カレンダーコンポーネント名
Note: The CALDAV:prop and CALDAV:allprop elements have the same name as the DAV:prop and DAV:allprop elements defined in [RFC2518]. However, the CALDAV:prop and CALDAV:allprop elements are defined in the "urn:ietf:params:xml:ns:caldav" namespace instead of the "DAV:" namespace.
以下に注意してください。 CALDAV: 支柱とCALDAV: allprop要素には、DAVと同じ名前があります: 支柱とDAV: [RFC2518]で定義されたallprop要素。 の代わりにする、しかしながら、CALDAV: 支柱とCALDAV: allprop要素が「つぼ:ietf:params:xml:ナノ秒: caldav」名前空間で定義される、「DAV:」 名前空間。
9.6.2. CALDAV:allcomp XML Element
9.6.2. CALDAV: allcomp XML要素
Name: allcomp
以下を命名してください。 allcomp
Namespace: urn:ietf:params:xml:ns:caldav
名前空間: つぼ:ietf:params:xml:ナノ秒: caldav
Purpose: Specifies that all components shall be returned.
目的: すべてのコンポーネントが返されると指定します。
Description: The CALDAV:allcomp XML element can be used when the client wants all types of components returned by a calendaring REPORT request.
記述: CALDAV: クライアントがcalendaring REPORT要求ですべてのタイプの成分を返して欲しいと、allcomp XML要素を使用できます。
Definition:
定義:
<!ELEMENT allcomp EMPTY>
<!ELEMENT allcomp EMPTY>。
9.6.3. CALDAV:allprop XML Element
9.6.3. CALDAV: allprop XML要素
Name: allprop
以下を命名してください。 allprop
Namespace: urn:ietf:params:xml:ns:caldav
名前空間: つぼ:ietf:params:xml:ナノ秒: caldav
Purpose: Specifies that all properties shall be returned.
目的: すべての資産が返されると指定します。
Description: The CALDAV:allprop XML element can be used when the client wants all properties of components returned by a calendaring REPORT request.
記述: CALDAV: クライアントがcalendaring REPORT要求でコンポーネントのすべての資産を返して欲しいと、allprop XML要素を使用できます。
Definition:
定義:
<!ELEMENT allprop EMPTY>
<!ELEMENT allprop EMPTY>。
Daboo, et al. Standards Track [Page 81] RFC 4791 CalDAV March 2007
Daboo、他 規格は2007年のCalDAV行進のときにRFC4791を追跡します[81ページ]。
Note: The CALDAV:allprop element has the same name as the DAV: allprop element defined in [RFC2518]. However, the CALDAV:allprop element is defined in the "urn:ietf:params:xml:ns:caldav" namespace instead of the "DAV:" namespace.
以下に注意してください。 CALDAV: allprop要素には、DAVと同じ名前があります: [RFC2518]で定義されたallprop要素。 の代わりにする、しかしながら、CALDAV: allprop要素が「つぼ:ietf:params:xml:ナノ秒: caldav」名前空間で定義される、「DAV:」 名前空間。
9.6.4. CALDAV:prop XML Element
9.6.4. CALDAV: 支柱XML要素
Name: prop
以下を命名してください。 支柱
Namespace: urn:ietf:params:xml:ns:caldav
名前空間: つぼ:ietf:params:xml:ナノ秒: caldav
Purpose: Defines which properties to return in the response.
目的: 応答でどの資産を返したらよいかを定義します。
Description: The "name" attribute specifies the name of the calendar property to return (e.g., ATTENDEE). The "novalue" attribute can be used by clients to request that the actual value of the property not be returned (if the "novalue" attribute is set to "yes"). In that case, the server will return just the iCalendar property name and any iCalendar parameters and a trailing ":" without the subsequent value data.
記述: 「名前」属性は返すカレンダー資産(例えば、ATTENDEE)の名前を指定します。 クライアントは、特性の実価が返されないよう要求するのに"novalue"属性を使用できます("novalue"属性が「はい」に設定されるなら)。 「その場合、サーバはまさしくiCalendar特性の名、どんなiCalendarパラメタも、および引きずることを返す」:、」 その後の値のデータなしで。
Definition:
定義:
<!ELEMENT prop EMPTY>
<!ELEMENT支柱EMPTY>。
<!ATTLIST prop name CDATA #REQUIRED novalue (yes | no) "no"> name value: a calendar property name novalue value: "yes" or "no"
<!ATTLISTが名前CDATA#REQUIRED novalueを支える、(はい| いいえ)「「>名は以下を評価しません」。 カレンダー特性の名前novalue価値: 「はい」か「いいえ」
Note: The CALDAV:prop element has the same name as the DAV:prop element defined in [RFC2518]. However, the CALDAV:prop element is defined in the "urn:ietf:params:xml:ns:caldav" namespace instead of the "DAV:" namespace.
以下に注意してください。 CALDAV: 支柱要素には、DAVと同じ名前があります: [RFC2518]で定義された支柱要素。 の代わりにする、しかしながら、CALDAV: 支柱要素が「つぼ:ietf:params:xml:ナノ秒: caldav」名前空間で定義される、「DAV:」 名前空間。
9.6.5. CALDAV:expand XML Element
9.6.5. CALDAV: XML要素を広げてください。
Name: expand
以下を命名してください。 広がってください。
Namespace: urn:ietf:params:xml:ns:caldav
名前空間: つぼ:ietf:params:xml:ナノ秒: caldav
Purpose: Forces the server to expand recurring components into individual recurrence instances.
目的: サーバに個々の再発インスタンスに再発コンポーネントを広くさせます。
Description: The CALDAV:expand XML element specifies that for a given calendaring REPORT request, the server MUST expand the recurrence set into calendar components that define exactly one
記述: CALDAV: 広がってください、XML要素は、与えられたcalendaring REPORT要求のために、サーバがちょうど1つを定義するカレンダーコンポーネントに再発セットを広くしなければならないと指定します。
Daboo, et al. Standards Track [Page 82] RFC 4791 CalDAV March 2007
Daboo、他 規格は2007年のCalDAV行進のときにRFC4791を追跡します[82ページ]。
recurrence instance, and MUST return only those whose scheduled time intersect a specified time range.
再発は、予定されている時間が交差するそれらだけを例証して、返さなければなりません。指定された時間範囲。
The "start" attribute specifies the inclusive start of the time range, and the "end" attribute specifies the non-inclusive end of the time range. Both attributes are specified as date with UTC time value. The value of the "end" attribute MUST be greater than the value of the "start" attribute.
「始め」属性は時間範囲の包括的な始まりを指定します、そして、「終わり」属性は時間範囲の非含んでいる端を指定します。 両方の属性は日付としてUTC時間的価値で指定されます。 「終わり」属性の値は「始め」属性の値より大きいに違いありません。
The server MUST use the same logic as defined for CALDAV:time- range to determine if a recurrence instance intersects the specified time range.
CALDAV: 時間範囲が、再発インスタンスが交差しているなら指定された時間が及ぶことを決定するのにサーバは定義されるのと同じ論理を使用しなければなりません。
Recurring components, other than the initial instance, MUST include a RECURRENCE-ID property indicating which instance they refer to.
初期のインスタンスを除いて、再発コンポーネントは彼らがどのインスタンスについて言及するかを示すRECURRENCE-IDの特性を含まなければなりません。
The returned calendar components MUST NOT use recurrence properties (i.e., EXDATE, EXRULE, RDATE, and RRULE) and MUST NOT have reference to or include VTIMEZONE components. Date and local time with reference to time zone information MUST be converted into date with UTC time.
返されたカレンダーコンポーネントが再発の特性(すなわち、EXDATE、EXRULE、RDATE、およびRRULE)を使用してはいけなくて、参照を持ってはいけない、または、インクルードVTIMEZONEの部品。 UTC時間で時間帯の情報に関して日付と現地時間を日付に変換しなければなりません。
Definition:
定義:
<!ELEMENT expand EMPTY>
<!ELEMENTはEMPTY>を広げます。
<!ATTLIST expand start CDATA #REQUIRED end CDATA #REQUIRED> start value: an iCalendar "date with UTC time" end value: an iCalendar "date with UTC time"
<!ATTLISTはスタートCDATA#REQUIRED終わりのCDATA#REQUIRED>スタート価値を広げます: iCalendar「UTC時間がある日付」終わりの価値: iCalendarは「UTC時間で、デートします」。
9.6.6. CALDAV:limit-recurrence-set XML Element
9.6.6. CALDAV: 限界再発セットXML要素
Name: limit-recurrence-set
以下を命名してください。 限界再発はセットしました。
Namespace: urn:ietf:params:xml:ns:caldav
名前空間: つぼ:ietf:params:xml:ナノ秒: caldav
Purpose: Specifies a time range to limit the set of "overridden components" returned by the server.
目的: サーバによって返された「くつがえされたコンポーネント」のセットを制限するために時間範囲を指定します。
Description: The CALDAV:limit-recurrence-set XML element specifies that for a given calendaring REPORT request, the server MUST return, in addition to the "master component", only the "overridden components" that impact a specified time range. An overridden component impacts a time range if its current start and end times overlap the time range, or if the original start and end
記述: CALDAV: 限界再発セットXML要素は、与えられたcalendaring REPORT要求のために、サーバが「マスターコンポーネント」に加えて指定された時間範囲に影響を与える「くつがえされたコンポーネント」だけ、を返さなければならないと指定します。 くつがえされたコンポーネントはその現在の始めと終わりの時代が時間範囲を重ね合わせるか、元の始めと終わりであるなら時間範囲に影響を与えます。
Daboo, et al. Standards Track [Page 83] RFC 4791 CalDAV March 2007
Daboo、他 規格は2007年のCalDAV行進のときにRFC4791を追跡します[83ページ]。
times -- the ones that would have been used if the instance were not overridden -- overlap the time range.
回(インスタンスがくつがえされなかったなら使用されたもの)は時間範囲を重ね合わせます。
The "start" attribute specifies the inclusive start of the time range, and the "end" attribute specifies the non-inclusive end of the time range. Both attributes are specified as date with UTC time value. The value of the "end" attribute MUST be greater than the value of the "start" attribute.
「始め」属性は時間範囲の包括的な始まりを指定します、そして、「終わり」属性は時間範囲の非含んでいる端を指定します。 両方の属性は日付としてUTC時間的価値で指定されます。 「終わり」属性の値は「始め」属性の値より大きいに違いありません。
The server MUST use the same logic as defined for CALDAV:time- range to determine if the current or original scheduled time of an "overridden" recurrence instance intersects the specified time range.
CALDAV: 時間範囲が、「くつがえされた」再発インスタンスの現在の、または、元の予定されている時間が交差しているなら指定された時間が及ぶことを決定するのにサーバは定義されるのと同じ論理を使用しなければなりません。
Overridden components that have a RANGE parameter on their RECURRENCE-ID property may specify one or more instances in the recurrence set, and some of those instances may fall within the specified time range or may have originally fallen within the specified time range prior to being overridden. If that is the case, the overridden component MUST be included in the results, as it has a direct impact on the interpretation of instances within the specified time range.
彼らのRECURRENCE-ID所有地に関するRANGEパラメタを持っているくつがえされたコンポーネントは再発セットにおける1つ以上のインスタンスを指定するかもしれません、そして、それらのインスタンスのいくつかが指定された時間範囲の中で当たったかもしれませんか、またはくつがえされる前に、元々、指定された時間範囲の中で当たったかもしれません。 それがそうであるなら、結果にくつがえされたコンポーネントを含まなければなりません、指定された時間範囲の中にインスタンスの解釈に直接的な衝撃を持っているとき。
Definition:
定義:
<!ELEMENT limit-recurrence-set EMPTY>
<!ELEMENT限界再発セットEMPTY>。
<!ATTLIST limit-recurrence-set start CDATA #REQUIRED end CDATA #REQUIRED> start value: an iCalendar "date with UTC time" end value: an iCalendar "date with UTC time"
<!ATTLIST限界再発セットスタートCDATA#REQUIREDはCDATA#REQUIRED>スタート価値を終わらせます: iCalendar「UTC時間がある日付」終わりの価値: iCalendarは「UTC時間で、デートします」。
9.6.7. CALDAV:limit-freebusy-set XML Element
9.6.7. CALDAV: 限界freebusyセットXML要素
Name: limit-freebusy-set
以下を命名してください。 限界freebusyはセットしました。
Namespace: urn:ietf:params:xml:ns:caldav
名前空間: つぼ:ietf:params:xml:ナノ秒: caldav
Purpose: Specifies a time range to limit the set of FREEBUSY values returned by the server.
目的: サーバによって返されたFREEBUSY値のセットを制限するために時間範囲を指定します。
Description: The CALDAV:limit-freebusy-set XML element specifies that for a given calendaring REPORT request, the server MUST only return the FREEBUSY property values of a VFREEBUSY component that intersects a specified time range.
記述: CALDAV: 限界freebusyセットXML要素は、与えられたcalendaring REPORT要求のために、サーバが交差するVFREEBUSYの部品のFREEBUSY特性の値に指定された時間範囲を返すだけでよいと指定します。
The "start" attribute specifies the inclusive start of the time range, and the "end" attribute specifies the non-inclusive end of
「始め」属性は時間範囲の包括的な始まり、および属性が非含んでいる終わりを指定する「終わり」を指定します。
Daboo, et al. Standards Track [Page 84] RFC 4791 CalDAV March 2007
Daboo、他 規格は2007年のCalDAV行進のときにRFC4791を追跡します[84ページ]。
the time range. Both attributes are specified as "date with UTC time" value. The value of the "end" attribute MUST be greater than the value of the "start" attribute.
時間範囲。 両方の属性は「UTC時間がある日付」値として指定されます。 「終わり」属性の値は「始め」属性の値より大きいに違いありません。
The server MUST use the same logic as defined for CALDAV:time- range to determine if a FREEBUSY property value intersects the specified time range.
CALDAV: 時間範囲が、FREEBUSY資産価値が交差しているなら指定された時間が及ぶことを決定するのにサーバは定義されるのと同じ論理を使用しなければなりません。
Definition:
定義:
<!ELEMENT limit-freebusy-set EMPTY>
<!ELEMENT限界freebusyセットEMPTY>。
<!ATTLIST limit-freebusy-set start CDATA #REQUIRED end CDATA #REQUIRED> start value: an iCalendar "date with UTC time" end value: an iCalendar "date with UTC time"
<!ATTLIST限界freebusyセットスタートCDATA#REQUIREDはCDATA#REQUIRED>スタート価値を終わらせます: iCalendar「UTC時間がある日付」終わりの価値: iCalendarは「UTC時間で、デートします」。
9.7. CALDAV:filter XML Element
9.7. CALDAV: フィルタXML要素
Name: filter
以下を命名してください。 フィルタ
Namespace: urn:ietf:params:xml:ns:caldav
名前空間: つぼ:ietf:params:xml:ナノ秒: caldav
Purpose: Specifies a filter to limit the set of calendar components returned by the server.
目的: サーバによって返されたカレンダーコンポーネントのセットを制限するためにフィルタを指定します。
Description: The CALDAV:filter XML element specifies the search filter used to limit the calendar components returned by a calendaring REPORT request.
記述: CALDAV: フィルタXML要素はcalendaring REPORT要求で返されたカレンダーコンポーネントを制限するのに使用される検索フィルタを指定します。
Definition:
定義:
<!ELEMENT filter (comp-filter)>
ELEMENTがフィルターにかける<!(コンピュータフィルタ)>。
9.7.1. CALDAV:comp-filter XML Element
9.7.1. CALDAV: コンピュータフィルタXML要素
Name: comp-filter
以下を命名してください。 コンピュータフィルタ
Namespace: urn:ietf:params:xml:ns:caldav
名前空間: つぼ:ietf:params:xml:ナノ秒: caldav
Purpose: Specifies search criteria on calendar components.
目的: カレンダーコンポーネントの検索評価基準を指定します。
Description: The CALDAV:comp-filter XML element specifies a query targeted at the calendar object (i.e., VCALENDAR) or at a specific calendar component type (e.g., VEVENT). The scope of the CALDAV:comp-filter XML element is the calendar object when used as a child of the CALDAV:filter XML element. The scope of the CALDAV:comp-filter XML element is the enclosing calendar component
記述: CALDAV: コンピュータフィルタXML要素はカレンダーオブジェクト(すなわち、VCALENDAR)において、または、特定のカレンダーコンポーネント型(例えば、VEVENT)において狙う質問を指定します。 CALDAVの範囲: CALDAVの子供のときに使用されると、コンピュータフィルタXML要素はカレンダーオブジェクトです: フィルタXML要素。 CALDAVの範囲: コンピュータフィルタXML要素は同封のカレンダーコンポーネントです。
Daboo, et al. Standards Track [Page 85] RFC 4791 CalDAV March 2007
Daboo、他 規格は2007年のCalDAV行進のときにRFC4791を追跡します[85ページ]。
when used as a child of another CALDAV:comp-filter XML element. A CALDAV:comp-filter is said to match if:
別のCALDAV: コンピュータフィルタXML要素の子供のときに使用されると。 CALDAV: コンピュータフィルタが合っていると言われている、:
* The CALDAV:comp-filter XML element is empty and the calendar object or calendar component type specified by the "name" attribute exists in the current scope;
* CALDAV: コンピュータフィルタXML要素は空です、そして、属性という「名前」によって指定されたカレンダーオブジェクトかカレンダーコンポーネント型が現在の範囲に存在しています。
or:
または、:
* The CALDAV:comp-filter XML element contains a CALDAV:is-not- defined XML element and the calendar object or calendar component type specified by the "name" attribute does not exist in the current scope;
* CALDAV: コンピュータフィルタXML要素はCALDAVを含んでいます: -属性という「名前」によって指定された定義されなかったXML要素とカレンダーオブジェクトかカレンダーコンポーネント型が現在の範囲に存在していないということです。
or:
または、:
* The CALDAV:comp-filter XML element contains a CALDAV:time-range XML element and at least one recurrence instance in the targeted calendar component is scheduled to overlap the specified time range, and all specified CALDAV:prop-filter and CALDAV:comp-filter child XML elements also match the targeted calendar component;
* CALDAV: 狙っているカレンダーコンポーネントにおける少なくとも1つの再発インスタンスが指定された時間範囲、およびすべての指定されたCALDAVを重ね合わせる予定です: コンピュータフィルタXML要素はCALDAV: 時間範囲XML要素を含んでいます、そして、また、CALDAV: 支柱フィルタとコンピュータフィルタ子供XML要素は狙っているカレンダーコンポーネントに合っています。
or:
または、:
* The CALDAV:comp-filter XML element only contains CALDAV:prop- filter and CALDAV:comp-filter child XML elements that all match the targeted calendar component.
* CALDAV: コンピュータフィルタXML要素はCALDAVを含むだけです: フィルタとCALDAVを支えてください: 狙っているカレンダーコンポーネントに合っているコンピュータフィルタ子供XML要素すべて。
Definition:
定義:
<!ELEMENT comp-filter (is-not-defined | (time-range?, prop-filter*, comp-filter*))>
ELEMENTがコンピュータでフィルターにかける<!(定義されない、|、(時間範囲?フィルタ*を支える、コンピュータフィルタ*)>。
<!ATTLIST comp-filter name CDATA #REQUIRED> name value: a calendar object or calendar component type (e.g., VEVENT)
<!ATTLISTコンピュータフィルタ名前CDATA#REQUIRED>名前価値: カレンダーオブジェクトかカレンダーコンポーネント型(例えば、VEVENT)
9.7.2. CALDAV:prop-filter XML Element
9.7.2. CALDAV: 支柱フィルタXML要素
Name: prop-filter
以下を命名してください。 支柱フィルタ
Namespace: urn:ietf:params:xml:ns:caldav
名前空間: つぼ:ietf:params:xml:ナノ秒: caldav
Purpose: Specifies search criteria on calendar properties.
目的: カレンダー所有地の検索評価基準を指定します。
Description: The CALDAV:prop-filter XML element specifies a query targeted at a specific calendar property (e.g., CATEGORIES) in the
記述: CALDAV: 支柱フィルタXML要素は特定のカレンダー性質をターゲットにした質問を指定します(例えば、CATEGORIES)。
Daboo, et al. Standards Track [Page 86] RFC 4791 CalDAV March 2007
Daboo、他 規格は2007年のCalDAV行進のときにRFC4791を追跡します[86ページ]。
scope of the enclosing calendar component. A calendar property is said to match a CALDAV:prop-filter if:
同封のカレンダーコンポーネントの範囲。 カレンダーの特性がCALDAV: 支柱フィルタを合わせると言われている、:
* The CALDAV:prop-filter XML element is empty and a property of the type specified by the "name" attribute exists in the enclosing calendar component;
* CALDAV: 支柱フィルタXML要素はありません、そして、属性という「名前」によって指定されたタイプの特性は同封のカレンダーコンポーネントで存在しています。
or:
または、:
* The CALDAV:prop-filter XML element contains a CALDAV:is-not- defined XML element and no property of the type specified by the "name" attribute exists in the enclosing calendar component;
* CALDAV: 支柱フィルタXML要素はCALDAVを含んでいます: -定義されなかったXML要素を指定しますが、属性という「名前」によって指定されなかったタイプのどんな特性も同封のカレンダーコンポーネントで存在しているということです。
or:
または、:
* The CALDAV:prop-filter XML element contains a CALDAV:time-range XML element and the property value overlaps the specified time range, and all specified CALDAV:param-filter child XML elements also match the targeted property;
* CALDAV: 支柱フィルタXML要素はCALDAVを含んでいます: 時間範囲XML要素と資産価値は指定された時間範囲、およびすべての指定されたCALDAVを重ね合わせます: また、param-フィルタ子供XML要素は狙っている特性に合っています。
or:
または、:
* The CALDAV:prop-filter XML element contains a CALDAV:text-match XML element and the property value matches it, and all specified CALDAV:param-filter child XML elements also match the targeted property;
* CALDAV: 支柱フィルタXML要素はCALDAVを含んでいます: テキストマッチXML要素と資産価値はそれ、およびすべての指定されたCALDAVに合っています: また、param-フィルタ子供XML要素は狙っている特性に合っています。
Definition:
定義:
<!ELEMENT prop-filter (is-not-defined | ((time-range | text-match)?, param-filter*))>
ELEMENTが支柱でフィルターにかける<!(定義されない、| (時間範囲| テキストマッチ?)、paramフィルタ*)>。
<!ATTLIST prop-filter name CDATA #REQUIRED> name value: a calendar property name (e.g., ATTENDEE)
<!ATTLIST支柱フィルタ名前CDATA#REQUIRED>名前価値: カレンダー特性の名(例えば、出席者)
9.7.3. CALDAV:param-filter XML Element
9.7.3. CALDAV: param-フィルタXML要素
Name: param-filter
以下を命名してください。 param-フィルタ
Namespace: urn:ietf:params:xml:ns:caldav
名前空間: つぼ:ietf:params:xml:ナノ秒: caldav
Purpose: Limits the search to specific parameter values.
目的: 検索を特定のパラメタ値に制限します。
Description: The CALDAV:param-filter XML element specifies a query targeted at a specific calendar property parameter (e.g., PARTSTAT) in the scope of the calendar property on which it is
記述: CALDAV: param-フィルタXML要素はそれがそうであるカレンダーの特性の範囲で特定のカレンダー特性のパラメタで狙う質問(例えば、PARTSTAT)を指定します。
Daboo, et al. Standards Track [Page 87] RFC 4791 CalDAV March 2007
Daboo、他 規格は2007年のCalDAV行進のときにRFC4791を追跡します[87ページ]。
defined. A calendar property parameter is said to match a CALDAV: param-filter if:
定義にされる。 カレンダー特性のパラメタはCALDAVを合わせると言われています: param-フィルタ、:
* The CALDAV:param-filter XML element is empty and a parameter of the type specified by the "name" attribute exists on the calendar property being examined;
* CALDAV: param-フィルタXML要素は空です、そして、属性という「名前」によって指定されたタイプのパラメタは調べられるカレンダー所有地の上に存在しています。
or:
または、:
* The CALDAV:param-filter XML element contains a CALDAV:is-not- defined XML element and no parameter of the type specified by the "name" attribute exists on the calendar property being examined;
* CALDAV: param-フィルタXML要素はCALDAVを含んでいます: -定義されなかったXML要素を指定しますが、属性という「名前」によって指定されなかったタイプのどんなパラメタも調べられるカレンダー所有地の上に存在しているということです。
Definition:
定義:
<!ELEMENT param-filter (is-not-defined | text-match?)>
<!ELEMENT param-フィルタ(定義されない、|、テキストマッチ)?>。
<!ATTLIST param-filter name CDATA #REQUIRED> name value: a property parameter name (e.g., PARTSTAT)
<!ATTLIST param-フィルタ名前CDATA#REQUIRED>名前価値: 特性のパラメタ名(例えば、PARTSTAT)
9.7.4. CALDAV:is-not-defined XML Element
9.7.4. CALDAV:、定義されない、XML要素
Name: is-not-defined
以下を命名してください。 定義されません。
Namespace: urn:ietf:params:xml:ns:caldav
名前空間: つぼ:ietf:params:xml:ナノ秒: caldav
Purpose: Specifies that a match should occur if the enclosing component, property, or parameter does not exist.
目的: 同封コンポーネント、特性、またはパラメタが存在していないならマッチが現れるはずであると指定します。
Description: The CALDAV:is-not-defined XML element specifies that a match occurs if the enclosing component, property, or parameter value specified in a calendaring REPORT request does not exist in the calendar data being tested.
記述: CALDAV:、定義されない、XML要素は、calendaring REPORT要求で指定された同封コンポーネント、特性、またはパラメタ値がテストされるカレンダーデータに存在していないならマッチが現れると指定します。
Definition:
定義:
<!ELEMENT is-not-defined EMPTY>
<!ELEMENT、定義されない、EMPTY>。
9.7.5. CALDAV:text-match XML Element
9.7.5. CALDAV: テキストマッチXML要素
Name: text-match
以下を命名してください。 テキストマッチ
Namespace: urn:ietf:params:xml:ns:caldav
名前空間: つぼ:ietf:params:xml:ナノ秒: caldav
Purpose: Specifies a substring match on a property or parameter value.
目的: 所有地かパラメタ値でサブストリングマッチを指定します。
Daboo, et al. Standards Track [Page 88] RFC 4791 CalDAV March 2007
Daboo、他 規格は2007年のCalDAV行進のときにRFC4791を追跡します[88ページ]。
Description: The CALDAV:text-match XML element specifies text used for a substring match against the property or parameter value specified in a calendaring REPORT request.
記述: CALDAV: テキストマッチXML要素はサブストリングマッチに特性に対して使用されるテキストかcalendaring REPORT要求で指定されたパラメタ値を指定します。
The "collation" attribute is used to select the collation that the server MUST use for character string matching. In the absence of this attribute, the server MUST use the "i;ascii-casemap" collation.
「照合」属性は、サーバが文字列マッチングに使用しなければならない照合を選択するのに使用されます。 この属性がないとき、サーバは「i; ASCIIでcasemapする」照合を使用しなければなりません。
The "negate-condition" attribute is used to indicate that this test returns a match if the text matches when the attribute value is set to "no", or return a match if the text does not match, if the attribute value is set to "yes". For example, this can be used to match components with a STATUS property not set to CANCELLED.
「状態を否定する、」 属性値があるとき、テキストマッチが「いいえ」にセットするか、またはテキストが合っていないならマッチを返すなら、属性はこのテストがマッチを返すのを示すのに使用されます、属性値が「はい」に設定されるなら。 例えば、CANCELLEDに設定されなかったSTATUSの特性にコンポーネントを合わせるのにこれを使用できます。
Definition:
定義:
<!ELEMENT text-match (#PCDATA)> PCDATA value: string
<!ELEMENTテキストマッチ(#PCDATA)>PCDATA価値: ストリング
<!ATTLIST text-match collation CDATA "i;ascii-casemap" negate-condition (yes | no) "no">
<!ATTLISTテキストマッチの照合CDATA、「i、; 状態を否定している(はい| いいえ)ASCII-casemap、「">"がありません。
9.8. CALDAV:timezone XML Element
9.8. CALDAV: タイムゾーンXML要素
Name: timezone
以下を命名してください。 タイムゾーン
Namespace: urn:ietf:params:xml:ns:caldav
名前空間: つぼ:ietf:params:xml:ナノ秒: caldav
Purpose: Specifies the time zone component to use when determining the results of a report.
目的: レポートの結果を決定するとき使用する時間帯のコンポーネントを指定します。
Description: The CALDAV:timezone XML element specifies that for a given calendaring REPORT request, the server MUST rely on the specified VTIMEZONE component instead of the CALDAV:calendar- timezone property of the calendar collection, in which the calendar object resource is contained to resolve "date" values and "date with local time" values (i.e., floating time) to "date with UTC time" values. The server will require this information to determine if a calendar component scheduled with "date" values or "date with local time" values intersects a CALDAV:time-range specified in a CALDAV:calendar-query REPORT.
記述: CALDAV: タイムゾーンXML要素は、与えられたcalendaring REPORT要求のために、サーバはCALDAVの代わりに指定されたVTIMEZONEの部品を当てにしなければなりません: カレンダー収集のカレンダータイムゾーンの特性と指定します。(そこでは、カレンダーオブジェクトリソースが、「日付」値を決議して、(すなわち、浮いている時間)から「UTC時間がある日付」への値と値の「現地時間で、日付を入れる」ために含まれています)。 サーバは、「日付」値か「現地時間がある日付」値で予定されていたカレンダーコンポーネントが交差しているなら、CALDAV: 時間範囲はCALDAVで指定しました: カレンダー質問REPORTを決定するためにこの情報を必要とするでしょう。
Note: The iCalendar data embedded within the CALDAV:timezone XML element MUST follow the standard XML character data encoding rules, including use of <, >, & etc. entity encoding or the use of a <![CDATA[ ... ]]> construct. In the later case, the
以下に注意してください。 CALDAVの中で埋め込まれたiCalendarデータ: タイムゾーンXML要素は標準のXMLキャラクタデータ符号化規則に従わなければなりません、<[CDATA[…]]!>構造物の<の使用、>、&など実体コード化または使用を含んでいて。 後の場合で
Daboo, et al. Standards Track [Page 89] RFC 4791 CalDAV March 2007
Daboo、他 規格は2007年のCalDAV行進のときにRFC4791を追跡します[89ページ]。
iCalendar data cannot contain the character sequence "]]>", which is the end delimiter for the CDATA section.
「iCalendarデータはキャラクタシーケンスを含むことができない」] >、」、CDATA部への終わりのデリミタである。
Definition:
定義:
<!ELEMENT timezone (#PCDATA)> PCDATA value: an iCalendar object with exactly one VTIMEZONE
<!ELEMENTタイムゾーン(#PCDATA)>PCDATA価値: ちょうど1VTIMEZONEがあるiCalendarオブジェクト
9.9. CALDAV:time-range XML Element
9.9. CALDAV: 時間範囲XML要素
Name: time-range
以下を命名してください。 時間範囲
Namespace: urn:ietf:params:xml:ns:caldav
名前空間: つぼ:ietf:params:xml:ナノ秒: caldav
Purpose: Specifies a time range to limit the set of calendar components returned by the server.
目的: サーバによって返されたカレンダーコンポーネントのセットを制限するために時間範囲を指定します。
Description: The CALDAV:time-range XML element specifies that for a given calendaring REPORT request, the server MUST only return the calendar object resources that, depending on the context, have a component or property whose value intersects a specified time range.
記述: CALDAV: 時間範囲XML要素は、与えられたcalendaring REPORT要求のために、サーバが文脈によって、コンポーネントを持っているカレンダーオブジェクトリソースか値が交差する特性に指定された時間範囲を返すだけでよいと指定します。
The "start" attribute specifies the inclusive start of the time range, and the "end" attribute specifies the non-inclusive end of the time range. Both attributes MUST be specified as "date with UTC time" value. Time ranges open at one end can be specified by including only one attribute; however, at least one attribute MUST always be present in the CALDAV:time-range element. If either the "start" or "end" attribute is not specified in the CALDAV:time- range XML element, assume "-infinity" and "+infinity" as their value, respectively. If both "start" and "end" are present, the value of the "end" attribute MUST be greater than the value of the "start" attribute.
「始め」属性は時間範囲の包括的な始まりを指定します、そして、「終わり」属性は時間範囲の非含んでいる端を指定します。 「UTC時間がある日付」値として両方の属性を指定しなければなりません。 1つの属性だけを含んでいることによって、片端で開いている時間範囲を指定できます。 しかしながら、少なくとも1つの属性がCALDAVにいつも存在していなければなりません: 時間範囲要素。 それぞれそれらの値としての「どちらもである、「始め」か「終わり」属性はCALDAVで指定されません: 範囲XML要素を調節してください、そして、」 + 「無限」と無限を仮定してください。」 「始め」と「終わり」の両方が存在しているなら、「終わり」属性の値は「始め」属性の値より大きいに違いありません。
Time range tests MUST consider every recurrence instance when testing the time range condition; if any one instance matches, then the test returns true. Testing recurrence instances requires the server to infer an effective value for DTSTART, DTEND, DURATION, and DUE properties for an instance based on the recurrence patterns and any overrides.
時間範囲状態をテストするとき、時間範囲テストはあらゆる再発インスタンスを考えなければなりません。 何かインスタンスが合っているなら、テストは本当に戻ります。 再発インスタンスをテストするのは、再発パターンとどんなオーバーライドにも基づくインスタンスのためのDTSTART、DTEND、DURATION、およびDUEの特性のために実効値を推論するためにサーバを必要とします。
A VEVENT component overlaps a given time range if the condition for the corresponding component state specified in the table below is satisfied. Note that, as specified in [RFC2445], the DTSTART property is REQUIRED in the VEVENT component. The conditions depend on the presence of the DTEND and DURATION properties in the VEVENT component. Furthermore, the value of the DTEND property
以下のテーブルで指定された対応するコンポーネント状態のための状態が満たされているなら、VEVENTの部品は与えられた時間範囲を重ね合わせます。 DTSTARTの特性が[RFC2445]で指定されるようにVEVENTの部品でREQUIREDであることに注意してください。 状態はVEVENTの部品における、DTENDとDURATIONの特性の存在に依存します。 その上、DTEND属性の価値
Daboo, et al. Standards Track [Page 90] RFC 4791 CalDAV March 2007
Daboo、他 規格は2007年のCalDAV行進のときにRFC4791を追跡します[90ページ]。
MUST be later in time than the value of the DTSTART property. The duration of a VEVENT component with no DTEND and DURATION properties is 1 day (+P1D) when the DTSTART is a DATE value, and 0 seconds when the DTSTART is a DATE-TIME value.
時間内に値より遅く、DTSTARTの特性があるに違いありません。 DTSTARTがDATE-タイム誌値であるときに、DTENDとDURATIONの特性のないVEVENTの部品の持続時間はDTSTARTがDATE値と、0秒である1日(+ P1D)です。
+---------------------------------------------------------------+ | VEVENT has the DTEND property? | | +-----------------------------------------------------------+ | | VEVENT has the DURATION property? | | | +-------------------------------------------------------+ | | | DURATION property value is greater than 0 seconds? | | | | +---------------------------------------------------+ | | | | DTSTART property is a DATE-TIME value? | | | | | +-----------------------------------------------+ | | | | | Condition to evaluate | +---+---+---+---+-----------------------------------------------+ | Y | N | N | * | (start < DTEND AND end > DTSTART) | +---+---+---+---+-----------------------------------------------+ | N | Y | Y | * | (start < DTSTART+DURATION AND end > DTSTART) | | | +---+---+-----------------------------------------------+ | | | N | * | (start <= DTSTART AND end > DTSTART) | +---+---+---+---+-----------------------------------------------+ | N | N | N | Y | (start <= DTSTART AND end > DTSTART) | +---+---+---+---+-----------------------------------------------+ | N | N | N | N | (start < DTSTART+P1D AND end > DTSTART) | +---+---+---+---+-----------------------------------------------+
+---------------------------------------------------------------+ | VEVENTには、DTENDの特性がありますか? | | +-----------------------------------------------------------+ | | VEVENTには、DURATIONの特性がありますか? | | | +-------------------------------------------------------+ | | | DURATION資産価値は0秒以上ですか? | | | | +---------------------------------------------------+ | | | | DTSTARTの特性はDATE-タイム誌値ですか? | | | | | +-----------------------------------------------+ | | | | | 評価する状態| +---+---+---+---+-----------------------------------------------+ | Y| N| N| * | (スタート<DTEND AND終わりの>DTSTART) | +---+---+---+---+-----------------------------------------------+ | N| Y| Y| * | (スタート<DTSTART+DURATION AND終わりの>DTSTART) | | | +---+---+-----------------------------------------------+ | | | N| * | (DTSTART AND終わりの>スタート<=DTSTART) | +---+---+---+---+-----------------------------------------------+ | N| N| N| Y| (DTSTART AND終わりの>スタート<=DTSTART) | +---+---+---+---+-----------------------------------------------+ | N| N| N| N| (スタート<DTSTART+P1D AND終わりの>DTSTART) | +---+---+---+---+-----------------------------------------------+
A VTODO component is said to overlap a given time range if the condition for the corresponding component state specified in the table below is satisfied. The conditions depend on the presence of the DTSTART, DURATION, DUE, COMPLETED, and CREATED properties in the VTODO component. Note that, as specified in [RFC2445], the DUE value MUST be a DATE-TIME value equal to or after the DTSTART value if specified.
以下のテーブルで指定された対応するコンポーネント状態のための状態が満たされているなら、VTODOの部品は与えられた時間範囲を重ね合わせると言われます。 状態はVTODOの部品でDTSTART、DURATION、DUE、COMPLETED、およびCREATEDの特性の存在に依存します。 指定されるならDUE値が[RFC2445]で指定されるように値かDTSTART値の後に等しいDATE-タイム誌値でなければならないことに注意してください。
Daboo, et al. Standards Track [Page 91] RFC 4791 CalDAV March 2007
Daboo、他 規格は2007年のCalDAV行進のときにRFC4791を追跡します[91ページ]。
+-------------------------------------------------------------------+ | VTODO has the DTSTART property? | | +---------------------------------------------------------------+ | | VTODO has the DURATION property? | | | +-----------------------------------------------------------+ | | | VTODO has the DUE property? | | | | +-------------------------------------------------------+ | | | | VTODO has the COMPLETED property? | | | | | +---------------------------------------------------+ | | | | | VTODO has the CREATED property? | | | | | | +-----------------------------------------------+ | | | | | | Condition to evaluate | +---+---+---+---+---+-----------------------------------------------+ | Y | Y | N | * | * | (start <= DTSTART+DURATION) AND | | | | | | | ((end > DTSTART) OR | | | | | | | (end >= DTSTART+DURATION)) | +---+---+---+---+---+-----------------------------------------------+ | Y | N | Y | * | * | ((start < DUE) OR (start <= DTSTART)) | | | | | | | AND | | | | | | | ((end > DTSTART) OR (end >= DUE)) | +---+---+---+---+---+-----------------------------------------------+ | Y | N | N | * | * | (start <= DTSTART) AND (end > DTSTART) | +---+---+---+---+---+-----------------------------------------------+ | N | N | Y | * | * | (start < DUE) AND (end >= DUE) | +---+---+---+---+---+-----------------------------------------------+ | N | N | N | Y | Y | ((start <= CREATED) OR (start <= COMPLETED))| | | | | | | AND | | | | | | | ((end >= CREATED) OR (end >= COMPLETED))| +---+---+---+---+---+-----------------------------------------------+ | N | N | N | Y | N | (start <= COMPLETED) AND (end >= COMPLETED) | +---+---+---+---+---+-----------------------------------------------+ | N | N | N | N | Y | (end > CREATED) | +---+---+---+---+---+-----------------------------------------------+ | N | N | N | N | N | TRUE | +---+---+---+---+---+-----------------------------------------------+
+-------------------------------------------------------------------+ | VTODOには、DTSTARTの特性がありますか? | | +---------------------------------------------------------------+ | | VTODOには、DURATIONの特性がありますか? | | | +-----------------------------------------------------------+ | | | VTODOには、DUEの特性がありますか? | | | | +-------------------------------------------------------+ | | | | VTODOには、COMPLETEDの特性がありますか? | | | | | +---------------------------------------------------+ | | | | | VTODOには、CREATEDの特性がありますか? | | | | | | +-----------------------------------------------+ | | | | | | 評価する状態| +---+---+---+---+---+-----------------------------------------------+ | Y| Y| N| * | * | (スタート<=DTSTART+持続時間) AND| | | | | | | (| | | | | | | (終わりの>DTSTART)か(終わり>=DTSTART+持続時間)) | +---+---+---+---+---+-----------------------------------------------+ | Y| N| Y| * | * | ((スタート<支払われるべきもの)か(スタート<=DTSTART)) | | | | | | | AND| | | | | | | ((終わりの>DTSTART)か(終わり>=支払われるべきもの)) | +---+---+---+---+---+-----------------------------------------------+ | Y| N| N| * | * | (スタート<=DTSTART) そして、(終わりの>DTSTART)| +---+---+---+---+---+-----------------------------------------------+ | N| N| Y| * | * | (スタート<支払われるべきもの) そして、(終わりの>=支払われるべきもの)| +---+---+---+---+---+-----------------------------------------------+ | N| N| N| Y| Y| ((=が作成したスタート<)か(=が完成したスタート<))| | | | | | | AND| | | | | | | ((=が作成した終わりの>)か(=が完成した終わりの>))| +---+---+---+---+---+-----------------------------------------------+ | N| N| N| Y| N| (<=が終了した始め) そして、(=が完成した終わりの>)| +---+---+---+---+---+-----------------------------------------------+ | N| N| N| N| Y| (>が作成した終わり) | +---+---+---+---+---+-----------------------------------------------+ | N| N| N| N| N| 本当| +---+---+---+---+---+-----------------------------------------------+
A VJOURNAL component overlaps a given time range if the condition for the corresponding component state specified in the table below is satisfied. The conditions depend on the presence of the DTSTART property in the VJOURNAL component and on whether the DTSTART is a DATE-TIME or DATE value. The effective "duration" of a VJOURNAL component is 1 day (+P1D) when the DTSTART is a DATE value, and 0 seconds when the DTSTART is a DATE-TIME value.
以下のテーブルで指定された対応するコンポーネント状態のための状態が満たされているなら、VJOURNALの部品は与えられた時間範囲を重ね合わせます。 状態はVJOURNALの部品における、DTSTARTの特性の存在と、そして、DTSTARTがDATE-タイム誌かそれともDATE値であるかに依存します。 DTSTARTがDATE-タイム誌値であるときに、VJOURNALの部品の有効な「持続時間」はDTSTARTがDATE値と、0秒である1日(+ P1D)です。
Daboo, et al. Standards Track [Page 92] RFC 4791 CalDAV March 2007
Daboo、他 規格は2007年のCalDAV行進のときにRFC4791を追跡します[92ページ]。
+----------------------------------------------------+ | VJOURNAL has the DTSTART property? | | +------------------------------------------------+ | | DTSTART property is a DATE-TIME value? | | | +--------------------------------------------+ | | | Condition to evaluate | +---+---+--------------------------------------------+ | Y | Y | (start <= DTSTART) AND (end > DTSTART) | +---+---+--------------------------------------------+ | Y | N | (start < DTSTART+P1D) AND (end > DTSTART) | +---+---+--------------------------------------------+ | N | * | FALSE | +---+---+--------------------------------------------+
+----------------------------------------------------+ | VJOURNALには、DTSTARTの特性がありますか? | | +------------------------------------------------+ | | DTSTARTの特性はDATE-タイム誌値ですか? | | | +--------------------------------------------+ | | | 評価する状態| +---+---+--------------------------------------------+ | Y| Y| (スタート<=DTSTART) そして、(終わりの>DTSTART)| +---+---+--------------------------------------------+ | Y| N| (スタート<DTSTART+P1D) そして、(終わりの>DTSTART)| +---+---+--------------------------------------------+ | N| * | 誤る| +---+---+--------------------------------------------+
A VFREEBUSY component overlaps a given time range if the condition for the corresponding component state specified in the table below is satisfied. The conditions depend on the presence in the VFREEBUSY component of the DTSTART and DTEND properties, and any FREEBUSY properties in the absence of DTSTART and DTEND. Any DURATION property is ignored, as it has a special meaning when used in a VFREEBUSY component.
以下のテーブルで指定された対応するコンポーネント状態のための状態が満たされているなら、VFREEBUSYの部品は与えられた時間範囲を重ね合わせます。 状態はDTSTARTとDTENDが不在のときDTSTARTのVFREEBUSYの部品、DTEND所有地、およびどんなFREEBUSY所有地でも存在に依存します。 VFREEBUSYの部品に使用されると格別の意味があるとき、どんなDURATIONの特性も無視されます。
When only FREEBUSY properties are used, each period in each FREEBUSY property is compared against the time range, irrespective of the type of free busy information (free, busy, busy-tentative, busy-unavailable) represented by the property.
FREEBUSYの特性だけが使用されているとき、それぞれのFREEBUSY所有地の各期間は時間範囲に対してたとえられます、特性によって表された無料の忙しい情報(自由で、忙しくて、あくせく一時的で、あくせく入手できない)のタイプの如何にかかわらず。
+------------------------------------------------------+ | VFREEBUSY has both the DTSTART and DTEND properties? | | +--------------------------------------------------+ | | VFREEBUSY has the FREEBUSY property? | | | +----------------------------------------------+ | | | Condition to evaluate | +---+---+----------------------------------------------+ | Y | * | (start <= DTEND) AND (end > DTSTART) | +---+---+----------------------------------------------+ | N | Y | (start < freebusy-period-end) AND | | | | (end > freebusy-period-start) | +---+---+----------------------------------------------+ | N | N | FALSE | +---+---+----------------------------------------------+
+------------------------------------------------------+ | VFREEBUSYには、DTSTARTとDTENDの特性の両方がありますか? | | +--------------------------------------------------+ | | VFREEBUSYには、FREEBUSYの特性がありますか? | | | +----------------------------------------------+ | | | 評価する状態| +---+---+----------------------------------------------+ | Y| * | (スタート<=DTEND) そして、(終わりの>DTSTART)| +---+---+----------------------------------------------+ | N| Y| (スタート<freebusy期間の終了) AND| | | | (終わりの>freebusy期間の始め) | +---+---+----------------------------------------------+ | N| N| 誤る| +---+---+----------------------------------------------+
A VALARM component is said to overlap a given time range if the following condition holds:
以下の条件が成立するなら、VALARMの部品は与えられた時間範囲を重ね合わせると言われます:
(start <= trigger-time) AND (end > trigger-time)
(引き金<=時間を始めます) AND(終わりの>引き金時間)
Daboo, et al. Standards Track [Page 93] RFC 4791 CalDAV March 2007
Daboo、他 規格は2007年のCalDAV行進のときにRFC4791を追跡します[93ページ]。
A VALARM component can be defined such that it triggers repeatedly. Such a VALARM component is said to overlap a given time range if at least one of its triggers overlaps the time range.
VALARMの部品はそれが繰り返して引き金となる定義されたそのようなものであるかもしれません。 少なくとも引き金の1つが時間範囲を重ね合わせるなら、そのようなVALARMの部品は与えられた時間範囲を重ね合わせると言われます。
The calendar properties COMPLETED, CREATED, DTEND, DTSTAMP, DTSTART, DUE, and LAST-MODIFIED overlap a given time range if the following condition holds:
以下の条件が成立するなら、カレンダーの特性のCOMPLETED、CREATED、DTEND、DTSTAMP、DTSTART、DUE、およびLAST-MODIFIEDは与えられた時間範囲を重ね合わせます:
(start <= date-time) AND (end > date-time)
(<=日付-時間を始めます) AND(終わりの>日付-時間)
Note that if DTEND is not present in a VEVENT, but DURATION is, then the test should instead operate on the 'effective' DTEND, i.e., DTSTART+DURATION. Similarly, if DUE is not present in a VTODO, but DTSTART and DURATION are, then the test should instead operate on the 'effective' DUE, i.e., DTSTART+DURATION.
次に、DTENDがVEVENTに存在していませんが、DURATIONが存在しているなら、テストが代わりに、'有効な'DTEND(すなわち、DTSTART+DURATION)を作動させるべきであることに注意してください。 そして、同様に、DUEがVTODOに存在していませんが、DTSTARTとDURATIONが存在しているなら、テストは代わりに、'有効な'DUE(すなわち、DTSTART+DURATION)を作動させるべきです。
The semantic of CALDAV:time-range is not defined for any other calendar components and properties.
CALDAVの意味: 時間範囲はいかなる他のカレンダーコンポーネントと特性のためにも定義されません。
Definition:
定義:
<!ELEMENT time-range EMPTY>
<!ELEMENT時間範囲EMPTY>。
<!ATTLIST time-range start CDATA #IMPLIED end CDATA #IMPLIED> start value: an iCalendar "date with UTC time" end value: an iCalendar "date with UTC time"
<!ATTLIST時間範囲スタートCDATA#IMPLIEDはCDATA#IMPLIED>スタート価値を終わらせます: iCalendar「UTC時間がある日付」終わりの価値: iCalendarは「UTC時間で、デートします」。
9.10. CALDAV:calendar-multiget XML Element
9.10. CALDAV: カレンダー-multiget XML要素
Name: calendar-multiget
以下を命名してください。 カレンダー-multiget
Namespace: urn:ietf:params:xml:ns:caldav
名前空間: つぼ:ietf:params:xml:ナノ秒: caldav
Purpose: CalDAV report used to retrieve specific calendar object resources.
目的: CalDAVレポートは以前はよく特定のカレンダーオブジェクトリソースを検索していました。
Description: See Section 7.9.
記述: セクション7.9を見てください。
Definition:
定義:
<!ELEMENT calendar-multiget ((DAV:allprop | DAV:propname | DAV:prop)?, DAV:href+)>
<!ELEMENTカレンダー-multiget(DAV:allprop|DAV:propname|DAV: 支柱?)、DAV: href+、)>。
Daboo, et al. Standards Track [Page 94] RFC 4791 CalDAV March 2007
Daboo、他 規格は2007年のCalDAV行進のときにRFC4791を追跡します[94ページ]。
9.11. CALDAV:free-busy-query XML Element
9.11. CALDAV: 無料の忙しい質問XML要素
Name: free-busy-query
以下を命名してください。 無料の忙しい質問
Namespace: urn:ietf:params:xml:ns:caldav
名前空間: つぼ:ietf:params:xml:ナノ秒: caldav
Purpose: CalDAV report used to generate a VFREEBUSY to determine busy time over a specific time range.
目的: CalDAVレポートは、特定の時間範囲で繁忙期を決定するために以前はよくVFREEBUSYを生成していました。
Description: See Section 7.10.
記述: セクション7.10を見てください。
Definition:
定義:
<!ELEMENT free-busy-query (time-range)>
<!のELEMENTの無料の忙しい質問(時間範囲)>。
10. Internationalization Considerations
10. 国際化問題
CalDAV allows internationalized strings to be stored and retrieved for the description of calendar collections (see Section 5.2.1).
CalDAVは、国際化しているストリングがカレンダー収集の記述のために保存されて、検索されるのを許容します(セクション5.2.1を見てください)。
The CALDAV:calendar-query REPORT (Section 7.8) includes a text searching option controlled by the CALDAV:text-match element, and details of character handling are covered in the description of that element (see Section 9.7.5).
CALDAV: カレンダー質問REPORT(セクション7.8)はCALDAV: テキストマッチ要素によって制御されたテキスト探すオプションを含んで、キャラクタ取り扱いの詳細はその要素の記述でカバーされています(セクション9.7.5を見てください)。
11. Security Considerations
11. セキュリティ問題
HTTP protocol transactions are sent in the clear over the network unless protection from snooping is negotiated. This can be accomplished by use of TLS, as defined in [RFC2818]. In particular, HTTP Basic authentication MUST NOT be used unless TLS is in effect.
詮索からの保護を交渉しない場合、ネットワークの上の明確でHTTPプロトコルトランザクションを送ります。 [RFC2818]で定義されるようにTLSの使用でこれを達成できます。 TLSが有効でない場合、特に、HTTP Basic認証を使用してはいけません。
Servers MUST take adequate precautions to ensure that malicious clients cannot consume excessive server resources (CPU, memory, disk, etc.) through carefully crafted reports. For example, a client could upload an event with a recurrence rule that specifies a recurring event occurring every second for the next 100 years, which would result in approximately 3 x 10^9 instances! A report that asks for recurrences to be expanded over that range would likely constitute a denial-of-service attack on the server.
サーバは、悪意があるクライアントが慎重に作られたレポートを通して過度のサーバリソース(CPU、メモリ、ディスクなど)を消費できないのを保証するために適切な注意を払わなければなりません。 例えば、クライアントは毎秒およそ3x10の^9インスタンスをもたらすだろう次の100年間起こる繰り返し起こる事柄を指定する再発規則でイベントをアップロードできるでしょう! 再発がその範囲で広げられるように頼んだレポートはサーバでおそらくサービス不能攻撃を構成するでしょう。
When creating new resources (including calendar collections), clients MUST ensure that the resource name (the last path segment of the resource URI) assigned to the new resource does not expose any data from within the iCalendar resource itself or information about the nature of a calendar collection. This is required to ensure that the presence of a specific iCalendar component or nature of components in a collection cannot be inferred based on the name of a resource.
新しいリソースを作成するとき(カレンダー収集を含んでいて)、クライアントは、新しいリソースに割り当てられたリソース名(リソースURIの最後の経路セグメント)がiCalendarリソース自体からのどんなデータかカレンダー収集の本質の情報も暴露しないのを保証しなければなりません。 これが、リソースの名前に基づいて収集における、コンポーネントの特定のiCalendarの部品か本質の存在を推論できないのを保証するのに必要です。
Daboo, et al. Standards Track [Page 95] RFC 4791 CalDAV March 2007
Daboo、他 規格は2007年のCalDAV行進のときにRFC4791を追跡します[95ページ]。
When rolling up free-busy information, more information about a user's events is exposed if busy periods overlap or are adjacent (this tells the client requesting the free-busy information that the calendar owner has at least two events, rather than knowing only that the calendar owner has one or more events during the busy period). Thus, a conservative approach to calendar data privacy would have servers always coalesce such busy periods when they are the same type.
自由に忙しい情報を巻くとき、忙しい期間が重なるか、または隣接しているなら(これは、忙しい期間カレンダー所有者には1つ以上のイベントしかないのを知っているよりカレンダー所有者に少なくとも2つのイベントがむしろあると自由に忙しい情報を要求するクライアントに言います)、ユーザのイベントに関する詳しい情報は暴露されます。 したがって、カレンダーデータプライバシーへの保守的なアプローチで、サーバはそれらが同じタイプであるそのような忙しい期間をいつも合体させるでしょう。
Procedure alarms are a known security risk for either clients or servers to handle, particularly when the alarm was created by another agent. Clients and servers are not required to execute such procedure alarms.
手順アラームはクライアントかサーバのどちらかが扱う知られているセキュリティリスクです、特にアラームが別のエージェントによって作成されたとき。 クライアントとサーバは、そのような手順アラームを実行するのに必要ではありません。
Security considerations described in iCalendar [RFC2445] and iTIP [RFC2446] are also applicable to CalDAV.
また、iCalendar[RFC2445]とiTIP[RFC2446]で説明されたセキュリティ問題もCalDAVに適切です。
Beyond these, CalDAV does not raise any security considerations that are not present in HTTP [RFC2616] and WebDAV [RFC2518], [RFC3253], [RFC3744].
これらを超えて、CalDAVはHTTP[RFC2616]とWebDAV[RFC2518]でどんな存在していないセキュリティ問題も提起しません、[RFC3253]、[RFC3744。]
12. IANA Considerations
12. IANA問題
This document uses one new URN to identify a new XML namespace. The URN conforms to a registry mechanism described in [RFC3688].
このドキュメントは、新しいXML名前空間を特定するのに1新しいURNを使用します。 URNは[RFC3688]で説明された登録メカニズムに従います。
12.1. Namespace Registration
12.1. 名前空間登録
Registration request for the CalDAV namespace:
CalDAV名前空間を求める登録要求:
URI: urn:ietf:params:xml:ns:caldav
URI: つぼ:ietf:params:xml:ナノ秒: caldav
Registrant Contact: See the "Authors' Addresses" section of this document.
記入者接触: このドキュメントの「作者のアドレス」セクションを見てください。
XML: None. Namespace URIs do not represent an XML specification.
XML: なし。 名前空間URIはXML仕様を表しません。
13. Acknowledgements
13. 承認
The authors would like to thank the following individuals for contributing their ideas and support for writing this specification: Michael Arick, Mario Bonin, Chris Bryant, Scott Carr, Andre Courtemanche, Mike Douglass, Ted Hardie, Marten den Haring, Jeffrey Harris, Sam Hartman, Helge Hess, Jeff McCullough, Alexey Melnikov, Dan Mosedale, Brian Moseley, Francois Perrault, Kervin L. Pierre, Julian F. Reschke, Wilfredo Sanchez Vega, Mike Shaver, Jari Urpalainen, Simon Vaillancourt, and Jim Whitehead.
作者は彼らのこの仕様を書く考えとサポートを寄付して頂いて、以下の個人に感謝したがっています: マイケルArick、マリオ・ボニンクリスブライアント、スコット・カー、アンドレCourtemanche、マイク・ダグラス、テッド・ハーディー、Martenはヘリング、ジェフリー・ハリス、サム・ハートマン、ヘルガ・ヘス、ジェフ・マッカラック、Alexeyメリニコフ、ダンMosedale、ブライアン・モーズリー、フランソア・ペロー、Kervin L.ピアー、ジュリアンF.Reschke、ウィルフレド・サンチェス・ベガ、マイクShaver、ヤリUrpalainen、サイモンVaillancourt、およびジム・ホワイトヘッドを穴に追い込みます。
Daboo, et al. Standards Track [Page 96] RFC 4791 CalDAV March 2007
Daboo、他 規格は2007年のCalDAV行進のときにRFC4791を追跡します[96ページ]。
The authors would also like to thank the Calendaring and Scheduling Consortium for advice with this specification, and for organizing interoperability testing events to help refine it.
また、この仕様があるアドバイスと、相互運用性テストイベントが、それを精製するのを助けるのを組織化して頂いて、作者はCalendaringとScheduling Consortiumに感謝したがっています。
14. References
14. 参照
14.1. Normative References
14.1. 引用規格
[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March 1997.
[RFC2119] ブラドナー、S.、「Indicate Requirement LevelsへのRFCsにおける使用のためのキーワード」、BCP14、RFC2119、1997年3月。
[RFC2246] Dierks, T. and C. Allen, "The TLS Protocol Version 1.0", RFC 2246, January 1999.
[RFC2246] Dierks、T.、およびC.アレン、「TLSは1999年1月にバージョン1インチ、RFC2246について議定書の中で述べます」。
[RFC2445] Dawson, F. and Stenerson, D., "Internet Calendaring and Scheduling Core Object Specification (iCalendar)", RFC 2445, November 1998.
[RFC2445] ドーソンとF.とStenerson、D.、「インターネットCalendaringとスケジューリングはオブジェクト仕様(iCalendar)の芯を取る」RFC2445、1998年11月。
[RFC2446] Silverberg, S., Mansour, S., Dawson, F., and R. Hopson, "iCalendar Transport-Independent Interoperability Protocol (iTIP) Scheduling Events, BusyTime, To-dos and Journal Entries", RFC 2446, November 1998.
[RFC2446] シルバーバーグ、S.、マンスール、S.、ドーソン、F.、およびR.ホプソン、「イベント、BusyTime、大騒ぎ、および仕訳記入の計画をするiCalendarの輸送から独立している相互運用性プロトコル(iTIP)」、RFC2446(1998年11月)。
[RFC2518] Goland, Y., Whitehead, E., Faizi, A., Carter, S., and D. Jensen, "HTTP Extensions for Distributed Authoring -- WEBDAV", RFC 2518, February 1999.
[RFC2518] Goland、Y.、ホワイトヘッド、E.、Faizi、A.、カーター、S.、およびD.ジェンセン、「分配されたオーサリングのためのHTTP拡大--、WEBDAV、」、RFC2518(1999年2月)
[RFC2616] Fielding, R., Gettys, J., Mogul, J., Frystyk, H., Masinter, L., Leach, P., and T. Berners- Lee, "Hypertext Transfer Protocol -- HTTP/1.1", RFC 2616, June 1999.
[RFC2616]フィールディング、R.、Gettys、J.、ムガール人、J.、Frystyk、H.、Masinter、L.、リーチ、P.、およびT.Bernersリー、「HTTP/1.1インチ、RFC2616、1999年ハイパーテキスト転送プロトコル--6月。」
[RFC2818] Rescorla, E., "HTTP Over TLS", RFC 2818, May 2000.
[RFC2818] Rescorla, E., "HTTP Over TLS", RFC 2818, May 2000.
[RFC3253] Clemm, G., Amsden, J., Ellison, T., Kaler, C., and J. Whitehead, "Versioning Extensions to WebDAV (Web Distributed Authoring and Versioning)", RFC 3253, March 2002.
[RFC3253] Clemm, G., Amsden, J., Ellison, T., Kaler, C., and J. Whitehead, "Versioning Extensions to WebDAV (Web Distributed Authoring and Versioning)", RFC 3253, March 2002.
[RFC3688] Mealling, M., "The IETF XML Registry", BCP 81, RFC 3688, January 2004.
[RFC3688] Mealling, M., "The IETF XML Registry", BCP 81, RFC 3688, January 2004.
Daboo, et al. Standards Track [Page 97] RFC 4791 CalDAV March 2007
Daboo, et al. Standards Track [Page 97] RFC 4791 CalDAV March 2007
[RFC3744] Clemm, G., Reschke, J., Sedlar, E., and J. Whitehead, "Web Distributed Authoring and Versioning (WebDAV) Access Control Protocol", RFC 3744, May 2004.
[RFC3744] Clemm, G., Reschke, J., Sedlar, E., and J. Whitehead, "Web Distributed Authoring and Versioning (WebDAV) Access Control Protocol", RFC 3744, May 2004.
[RFC4346] Dierks, T. and E. Rescorla, "The Transport Layer Security (TLS) Protocol Version 1.1", RFC 4346, April 2006.
[RFC4346] Dierks, T. and E. Rescorla, "The Transport Layer Security (TLS) Protocol Version 1.1", RFC 4346, April 2006.
[RFC4790] Newman, C., Duerst, M., and A. Gulbrandsen, "Internet Application Protocol Collation Registry", RFC 4790, March 2007.
[RFC4790] Newman, C., Duerst, M., and A. Gulbrandsen, "Internet Application Protocol Collation Registry", RFC 4790, March 2007.
[W3C.REC-xml-20060816] Paoli, J., Maler, E., Yergeau, F., Sperberg- McQueen, C., and T. Bray, "Extensible Markup Language (XML) 1.0 (Fourth Edition)", World Wide Web Consortium Recommendation REC-xml- 20060816, August 2006, <http://www.w3.org/TR/2006/REC-xml-20060816>.
[W3C.REC-xml-20060816] Paoli, J., Maler, E., Yergeau, F., Sperberg- McQueen, C., and T. Bray, "Extensible Markup Language (XML) 1.0 (Fourth Edition)", World Wide Web Consortium Recommendation REC-xml- 20060816, August 2006, <http://www.w3.org/TR/2006/REC-xml-20060816>.
14.2. Informative References
14.2. Informative References
[RFC2426] Dawson, F. and T. Howes, "vCard MIME Directory Profile", RFC 2426, September 1998.
[RFC2426] Dawson, F. and T. Howes, "vCard MIME Directory Profile", RFC 2426, September 1998.
[RFC2739] Small, T., Hennessy, D., and F. Dawson, "Calendar Attributes for vCard and LDAP", RFC 2739, January 2000.
[RFC2739] Small, T., Hennessy, D., and F. Dawson, "Calendar Attributes for vCard and LDAP", RFC 2739, January 2000.
[RFC4331] Korver, B. and L. Dusseault, "Quota and Size Properties for Distributed Authoring and Versioning (DAV) Collections", RFC 4331, February 2006.
[RFC4331] Korver, B. and L. Dusseault, "Quota and Size Properties for Distributed Authoring and Versioning (DAV) Collections", RFC 4331, February 2006.
[RFC4511] Sermersheim, J., "Lightweight Directory Access Protocol (LDAP): The Protocol", RFC 4511, June 2006.
[RFC4511] Sermersheim, J., "Lightweight Directory Access Protocol (LDAP): The Protocol", RFC 4511, June 2006.
[rfc2518bis] Dusseault, L., "HTTP Extensions for Distributed Authoring - WebDAV", Work in Progress, December 2006.
[rfc2518bis] Dusseault, L., "HTTP Extensions for Distributed Authoring - WebDAV", Work in Progress, December 2006.
Daboo, et al. Standards Track [Page 98] RFC 4791 CalDAV March 2007
Daboo, et al. Standards Track [Page 98] RFC 4791 CalDAV March 2007
Appendix A. CalDAV Method Privilege Table (Normative)
Appendix A. CalDAV Method Privilege Table (Normative)
The following table extends the WebDAV Method Privilege Table specified in Appendix B of [RFC3744].
The following table extends the WebDAV Method Privilege Table specified in Appendix B of [RFC3744].
+------------+------------------------------------------------------+ | METHOD | PRIVILEGES | +------------+------------------------------------------------------+ | MKCALENDAR | DAV:bind | | REPORT | DAV:read or CALDAV:read-free-busy (on all referenced | | | resources) | +------------+------------------------------------------------------+
+------------+------------------------------------------------------+ | METHOD | PRIVILEGES | +------------+------------------------------------------------------+ | MKCALENDAR | DAV:bind | | REPORT | DAV:read or CALDAV:read-free-busy (on all referenced | | | resources) | +------------+------------------------------------------------------+
Appendix B. Calendar Collections Used in the Examples
Appendix B. Calendar Collections Used in the Examples
This appendix shows the calendar object resources contained in the calendar collection queried in the examples throughout this document.
This appendix shows the calendar object resources contained in the calendar collection queried in the examples throughout this document.
The content of the calendar collection is being shown as if it were returned by a CALDAV:calendar-query REPORT request designed to return all the calendar data in the collection:
The content of the calendar collection is being shown as if it were returned by a CALDAV:calendar-query REPORT request designed to return all the calendar data in the collection:
>> Request <<
>> Request <<
REPORT /bernard/work/ HTTP/1.1 Host: cal.example.com Depth: 1 Content-Type: application/xml; charset="utf-8" Content-Length: xxxx
REPORT /bernard/work/ HTTP/1.1 Host: cal.example.com Depth: 1 Content-Type: application/xml; charset="utf-8" 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/> <C:calendar-data/> </D:prop> <C:filter> <C:comp-filter name="VCALENDAR"/> </C:filter> </C:calendar-query>
<?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/> <C:calendar-data/> </D:prop> <C:filter> <C:comp-filter name="VCALENDAR"/> </C:filter> </C:calendar-query>
>> Response <<
>> Response <<
HTTP/1.1 207 Multi-Status Content-Type: application/xml; charset="utf-8" Content-Length: xxxx
HTTP/1.1 207 Multi-Status Content-Type: application/xml; charset="utf-8" Content-Length: xxxx
Daboo, et al. Standards Track [Page 99] RFC 4791 CalDAV March 2007
Daboo, et al. Standards Track [Page 99] RFC 4791 CalDAV March 2007
<?xml version="1.0" encoding="utf-8" ?> <D:multistatus xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav">
<?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/work/abcd1.ics</D:href> <D:propstat> <D:prop> <D:getetag>"fffff-abcd1"</D:getetag> <C:calendar-data>BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Example Corp.//CalDAV Client//EN BEGIN:VTIMEZONE LAST-MODIFIED:20040110T032845Z TZID:US/Eastern BEGIN:DAYLIGHT DTSTART:20000404T020000 RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4 TZNAME:EDT TZOFFSETFROM:-0500 TZOFFSETTO:-0400 END:DAYLIGHT BEGIN:STANDARD DTSTART:20001026T020000 RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10 TZNAME:EST TZOFFSETFROM:-0400 TZOFFSETTO:-0500 END:STANDARD END:VTIMEZONE BEGIN:VEVENT DTSTAMP:20060206T001102Z DTSTART;TZID=US/Eastern:20060102T100000 DURATION:PT1H SUMMARY:Event #1 Description:Go Steelers! UID:74855313FA803DA593CD579A@example.com END:VEVENT END:VCALENDAR </C:calendar-data> </D:prop> <D:status>HTTP/1.1 200 OK</D:status> </D:propstat> </D:response>
<D:response> <D:href>http://cal.example.com/bernard/work/abcd1.ics</D:href> <D:propstat> <D:prop> <D:getetag>"fffff-abcd1"</D:getetag> <C:calendar-data>BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Example Corp.//CalDAV Client//EN BEGIN:VTIMEZONE LAST-MODIFIED:20040110T032845Z TZID:US/Eastern BEGIN:DAYLIGHT DTSTART:20000404T020000 RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4 TZNAME:EDT TZOFFSETFROM:-0500 TZOFFSETTO:-0400 END:DAYLIGHT BEGIN:STANDARD DTSTART:20001026T020000 RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10 TZNAME:EST TZOFFSETFROM:-0400 TZOFFSETTO:-0500 END:STANDARD END:VTIMEZONE BEGIN:VEVENT DTSTAMP:20060206T001102Z DTSTART;TZID=US/Eastern:20060102T100000 DURATION:PT1H SUMMARY:Event #1 Description:Go Steelers! UID:74855313FA803DA593CD579A@example.com END:VEVENT END:VCALENDAR </C:calendar-data> </D:prop> <D:status>HTTP/1.1 200 OK</D:status> </D:propstat> </D:response>
<D:response> <D:href>http://cal.example.com/bernard/work/abcd2.ics</D:href> <D:propstat>
<D:response> <D:href>http://cal.example.com/bernard/work/abcd2.ics</D:href> <D:propstat>
Daboo, et al. Standards Track [Page 100] RFC 4791 CalDAV March 2007
Daboo, et al. Standards Track [Page 100] RFC 4791 CalDAV March 2007
<D:prop> <D:getetag>"fffff-abcd2"</D:getetag> <C:calendar-data>BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Example Corp.//CalDAV Client//EN BEGIN:VTIMEZONE LAST-MODIFIED:20040110T032845Z TZID:US/Eastern BEGIN:DAYLIGHT DTSTART:20000404T020000 RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4 TZNAME:EDT TZOFFSETFROM:-0500 TZOFFSETTO:-0400 END:DAYLIGHT BEGIN:STANDARD DTSTART:20001026T020000 RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10 TZNAME:EST TZOFFSETFROM:-0400 TZOFFSETTO:-0500 END:STANDARD END:VTIMEZONE BEGIN:VEVENT DTSTAMP:20060206T001121Z DTSTART;TZID=US/Eastern:20060102T120000 DURATION:PT1H RRULE:FREQ=DAILY;COUNT=5 SUMMARY:Event #2 UID:00959BC664CA650E933C892C@example.com END:VEVENT BEGIN:VEVENT DTSTAMP:20060206T001121Z DTSTART;TZID=US/Eastern:20060104T140000 DURATION:PT1H RECURRENCE-ID;TZID=US/Eastern:20060104T120000 SUMMARY:Event #2 bis UID:00959BC664CA650E933C892C@example.com END:VEVENT END:VCALENDAR </C:calendar-data> </D:prop> <D:status>HTTP/1.1 200 OK</D:status> </D:propstat> </D:response>
<D:prop> <D:getetag>"fffff-abcd2"</D:getetag> <C:calendar-data>BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Example Corp.//CalDAV Client//EN BEGIN:VTIMEZONE LAST-MODIFIED:20040110T032845Z TZID:US/Eastern BEGIN:DAYLIGHT DTSTART:20000404T020000 RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4 TZNAME:EDT TZOFFSETFROM:-0500 TZOFFSETTO:-0400 END:DAYLIGHT BEGIN:STANDARD DTSTART:20001026T020000 RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10 TZNAME:EST TZOFFSETFROM:-0400 TZOFFSETTO:-0500 END:STANDARD END:VTIMEZONE BEGIN:VEVENT DTSTAMP:20060206T001121Z DTSTART;TZID=US/Eastern:20060102T120000 DURATION:PT1H RRULE:FREQ=DAILY;COUNT=5 SUMMARY:Event #2 UID:00959BC664CA650E933C892C@example.com END:VEVENT BEGIN:VEVENT DTSTAMP:20060206T001121Z DTSTART;TZID=US/Eastern:20060104T140000 DURATION:PT1H RECURRENCE-ID;TZID=US/Eastern:20060104T120000 SUMMARY:Event #2 bis UID:00959BC664CA650E933C892C@example.com END:VEVENT END:VCALENDAR </C:calendar-data> </D:prop> <D:status>HTTP/1.1 200 OK</D:status> </D:propstat> </D:response>
<D:response> <D:href>http://cal.example.com/bernard/work/abcd3.ics</D:href>
<D:response> <D:href>http://cal.example.com/bernard/work/abcd3.ics</D:href>
Daboo, et al. Standards Track [Page 101] RFC 4791 CalDAV March 2007
Daboo, et al. Standards Track [Page 101] RFC 4791 CalDAV March 2007
<D:propstat> <D:prop> <D:getetag>"fffff-abcd3"</D:getetag> <C:calendar-data>BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Example Corp.//CalDAV Client//EN BEGIN:VTIMEZONE LAST-MODIFIED:20040110T032845Z TZID:US/Eastern BEGIN:DAYLIGHT DTSTART:20000404T020000 RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4 TZNAME:EDT TZOFFSETFROM:-0500 TZOFFSETTO:-0400 END:DAYLIGHT BEGIN:STANDARD DTSTART:20001026T020000 RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10 TZNAME:EST TZOFFSETFROM:-0400 TZOFFSETTO:-0500 END:STANDARD END:VTIMEZONE BEGIN:VEVENT ATTENDEE;PARTSTAT=ACCEPTED;ROLE=CHAIR:mailto:cyrus@example.com ATTENDEE;PARTSTAT=NEEDS-ACTION:mailto:lisa@example.com DTSTAMP:20060206T001220Z DTSTART;TZID=US/Eastern:20060104T100000 DURATION:PT1H LAST-MODIFIED:20060206T001330Z ORGANIZER:mailto:cyrus@example.com SEQUENCE:1 STATUS:TENTATIVE SUMMARY:Event #3 UID:DC6C50A017428C5216A2F1CD@example.com END:VEVENT END:VCALENDAR </C:calendar-data> </D:prop> <D:status>HTTP/1.1 200 OK</D:status> </D:propstat> </D:response>
<D:propstat> <D:prop> <D:getetag>"fffff-abcd3"</D:getetag> <C:calendar-data>BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Example Corp.//CalDAV Client//EN BEGIN:VTIMEZONE LAST-MODIFIED:20040110T032845Z TZID:US/Eastern BEGIN:DAYLIGHT DTSTART:20000404T020000 RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4 TZNAME:EDT TZOFFSETFROM:-0500 TZOFFSETTO:-0400 END:DAYLIGHT BEGIN:STANDARD DTSTART:20001026T020000 RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10 TZNAME:EST TZOFFSETFROM:-0400 TZOFFSETTO:-0500 END:STANDARD END:VTIMEZONE BEGIN:VEVENT ATTENDEE;PARTSTAT=ACCEPTED;ROLE=CHAIR:mailto:cyrus@example.com ATTENDEE;PARTSTAT=NEEDS-ACTION:mailto:lisa@example.com DTSTAMP:20060206T001220Z DTSTART;TZID=US/Eastern:20060104T100000 DURATION:PT1H LAST-MODIFIED:20060206T001330Z ORGANIZER:mailto:cyrus@example.com SEQUENCE:1 STATUS:TENTATIVE SUMMARY:Event #3 UID:DC6C50A017428C5216A2F1CD@example.com END:VEVENT END:VCALENDAR </C:calendar-data> </D:prop> <D:status>HTTP/1.1 200 OK</D:status> </D:propstat> </D:response>
<D:response> <D:href>http://cal.example.com/bernard/work/abcd4.ics</D:href> <D:propstat> <D:prop>
<D:response> <D:href>http://cal.example.com/bernard/work/abcd4.ics</D:href> <D:propstat> <D:prop>
Daboo, et al. Standards Track [Page 102] RFC 4791 CalDAV March 2007
Daboo, et al. Standards Track [Page 102] RFC 4791 CalDAV March 2007
<D:getetag>"fffff-abcd4"</D:getetag> <C:calendar-data>BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Example Corp.//CalDAV Client//EN BEGIN:VTODO DTSTAMP:20060205T235335Z DUE;VALUE=DATE:20060104 STATUS:NEEDS-ACTION SUMMARY:Task #1 UID:DDDEEB7915FA61233B861457@example.com BEGIN:VALARM ACTION:AUDIO TRIGGER;RELATED=START:-PT10M END:VALARM END:VTODO END:VCALENDAR </C:calendar-data> </D:prop> <D:status>HTTP/1.1 200 OK</D:status> </D:propstat> </D:response>
<D:getetag>"fffff-abcd4"</D:getetag> <C:calendar-data>BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Example Corp.//CalDAV Client//EN BEGIN:VTODO DTSTAMP:20060205T235335Z DUE;VALUE=DATE:20060104 STATUS:NEEDS-ACTION SUMMARY:Task #1 UID:DDDEEB7915FA61233B861457@example.com BEGIN:VALARM ACTION:AUDIO TRIGGER;RELATED=START:-PT10M END:VALARM END:VTODO END:VCALENDAR </C:calendar-data> </D:prop> <D:status>HTTP/1.1 200 OK</D:status> </D:propstat> </D:response>
<D:response> <D:href>http://cal.example.com/bernard/work/abcd5.ics</D:href> <D:propstat> <D:prop> <D:getetag>"fffff-abcd5"</D:getetag> <C:calendar-data>BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Example Corp.//CalDAV Client//EN BEGIN:VTODO DTSTAMP:20060205T235300Z DUE;VALUE=DATE:20060106 LAST-MODIFIED:20060205T235308Z SEQUENCE:1 STATUS:NEEDS-ACTION SUMMARY:Task #2 UID:E10BA47467C5C69BB74E8720@example.com BEGIN:VALARM ACTION:AUDIO TRIGGER;RELATED=START:-PT10M END:VALARM END:VTODO END:VCALENDAR </C:calendar-data> </D:prop> <D:status>HTTP/1.1 200 OK</D:status> </D:propstat>
<D:response> <D:href>http://cal.example.com/bernard/work/abcd5.ics</D:href> <D:propstat> <D:prop> <D:getetag>"fffff-abcd5"</D:getetag> <C:calendar-data>BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Example Corp.//CalDAV Client//EN BEGIN:VTODO DTSTAMP:20060205T235300Z DUE;VALUE=DATE:20060106 LAST-MODIFIED:20060205T235308Z SEQUENCE:1 STATUS:NEEDS-ACTION SUMMARY:Task #2 UID:E10BA47467C5C69BB74E8720@example.com BEGIN:VALARM ACTION:AUDIO TRIGGER;RELATED=START:-PT10M END:VALARM END:VTODO END:VCALENDAR </C:calendar-data> </D:prop> <D:status>HTTP/1.1 200 OK</D:status> </D:propstat>
Daboo, et al. Standards Track [Page 103] RFC 4791 CalDAV March 2007
Daboo, et al. Standards Track [Page 103] RFC 4791 CalDAV March 2007
</D:response>
</D:response>
<D:response> <D:href>http://cal.example.com/bernard/work/abcd6.ics</D:href> <D:propstat> <D:prop> <D:getetag>"fffff-abcd6"</D:getetag> <C:calendar-data>BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Example Corp.//CalDAV Client//EN BEGIN:VTODO COMPLETED:20051223T122322Z DTSTAMP:20060205T235400Z DUE;VALUE=DATE:20051225 LAST-MODIFIED:20060205T235308Z SEQUENCE:1 STATUS:COMPLETED SUMMARY:Task #3 UID:E10BA47467C5C69BB74E8722@example.com END:VTODO END:VCALENDAR </C:calendar-data> </D:prop> <D:status>HTTP/1.1 200 OK</D:status> </D:propstat> </D:response>
<D:response> <D:href>http://cal.example.com/bernard/work/abcd6.ics</D:href> <D:propstat> <D:prop> <D:getetag>"fffff-abcd6"</D:getetag> <C:calendar-data>BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Example Corp.//CalDAV Client//EN BEGIN:VTODO COMPLETED:20051223T122322Z DTSTAMP:20060205T235400Z DUE;VALUE=DATE:20051225 LAST-MODIFIED:20060205T235308Z SEQUENCE:1 STATUS:COMPLETED SUMMARY:Task #3 UID:E10BA47467C5C69BB74E8722@example.com END:VTODO END:VCALENDAR </C:calendar-data> </D:prop> <D:status>HTTP/1.1 200 OK</D:status> </D:propstat> </D:response>
<D:response> <D:href>http://cal.example.com/bernard/work/abcd7.ics</D:href> <D:propstat> <D:prop> <D:getetag>"fffff-abcd7"</D:getetag> <C:calendar-data>BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Example Corp.//CalDAV Client//EN BEGIN:VTODO DTSTAMP:20060205T235600Z DUE;VALUE=DATE:20060101 LAST-MODIFIED:20060205T235308Z SEQUENCE:1 STATUS:CANCELLED SUMMARY:Task #4 UID:E10BA47467C5C69BB74E8725@example.com END:VTODO END:VCALENDAR </C:calendar-data> </D:prop> <D:status>HTTP/1.1 200 OK</D:status>
<D:response> <D:href>http://cal.example.com/bernard/work/abcd7.ics</D:href> <D:propstat> <D:prop> <D:getetag>"fffff-abcd7"</D:getetag> <C:calendar-data>BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Example Corp.//CalDAV Client//EN BEGIN:VTODO DTSTAMP:20060205T235600Z DUE;VALUE=DATE:20060101 LAST-MODIFIED:20060205T235308Z SEQUENCE:1 STATUS:CANCELLED SUMMARY:Task #4 UID:E10BA47467C5C69BB74E8725@example.com END:VTODO END:VCALENDAR </C:calendar-data> </D:prop> <D:status>HTTP/1.1 200 OK</D:status>
Daboo, et al. Standards Track [Page 104] RFC 4791 CalDAV March 2007
Daboo, et al. Standards Track [Page 104] RFC 4791 CalDAV March 2007
</D:propstat> </D:response>
</D:propstat> </D:response>
<D:response> <D:href>http://cal.example.com/bernard/work/abcd8.ics</D:href> <D:propstat> <D:prop> <D:getetag>"fffff-abcd8"</D:getetag> <C:calendar-data>BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Example Corp.//CalDAV Client//EN BEGIN:VFREEBUSY ORGANIZER;CN="Bernard Desruisseaux":mailto:bernard@example.com UID:76ef34-54a3d2@example.com DTSTAMP:20050530T123421Z DTSTART:20060101T000000Z DTEND:20060108T000000Z FREEBUSY:20050531T230000Z/20050601T010000Z FREEBUSY;FBTYPE=BUSY-TENTATIVE:20060102T100000Z/20060102T120000Z FREEBUSY:20060103T100000Z/20060103T120000Z FREEBUSY:20060104T100000Z/20060104T120000Z FREEBUSY;FBTYPE=BUSY-UNAVAILABLE:20060105T100000Z/20060105T120000Z FREEBUSY:20060106T100000Z/20060106T120000Z END:VFREEBUSY END:VCALENDAR </C:calendar-data> </D:prop> <D:status>HTTP/1.1 200 OK</D:status> </D:propstat> </D:response>
<D:response> <D:href>http://cal.example.com/bernard/work/abcd8.ics</D:href> <D:propstat> <D:prop> <D:getetag>"fffff-abcd8"</D:getetag> <C:calendar-data>BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Example Corp.//CalDAV Client//EN BEGIN:VFREEBUSY ORGANIZER;CN="Bernard Desruisseaux":mailto:bernard@example.com UID:76ef34-54a3d2@example.com DTSTAMP:20050530T123421Z DTSTART:20060101T000000Z DTEND:20060108T000000Z FREEBUSY:20050531T230000Z/20050601T010000Z FREEBUSY;FBTYPE=BUSY-TENTATIVE:20060102T100000Z/20060102T120000Z FREEBUSY:20060103T100000Z/20060103T120000Z FREEBUSY:20060104T100000Z/20060104T120000Z FREEBUSY;FBTYPE=BUSY-UNAVAILABLE:20060105T100000Z/20060105T120000Z FREEBUSY:20060106T100000Z/20060106T120000Z END:VFREEBUSY END:VCALENDAR </C:calendar-data> </D:prop> <D:status>HTTP/1.1 200 OK</D:status> </D:propstat> </D:response>
</D:multistatus>
</D:multistatus>
Daboo, et al. Standards Track [Page 105] RFC 4791 CalDAV March 2007
Daboo, et al. Standards Track [Page 105] RFC 4791 CalDAV March 2007
Authors' Addresses
Authors' Addresses
Cyrus Daboo Apple Inc. 1 Infinite Loop Cupertino, CA 95014 USA
Cyrus Daboo Apple Inc. 1 Infinite Loop Cupertino, CA 95014 USA
EMail: cyrus@daboo.name URI: http://www.apple.com/
EMail: cyrus@daboo.name URI: http://www.apple.com/
Bernard Desruisseaux Oracle Corporation 600 Blvd. de Maisonneuve West Suite 1900 Montreal, QC H3A 3J2 CANADA
Bernard Desruisseaux Oracle Corporation 600 Blvd. de Maisonneuve West Suite 1900 Montreal, QC H3A 3J2 CANADA
EMail: bernard.desruisseaux@oracle.com URI: http://www.oracle.com/
EMail: bernard.desruisseaux@oracle.com URI: http://www.oracle.com/
Lisa Dusseault CommerceNet 169 University Ave. Palo Alto, CA 94301 USA
Lisa Dusseault CommerceNet 169 University Ave. Palo Alto, CA 94301 USA
EMail: ldusseault@commerce.net URI: http://commerce.net/
EMail: ldusseault@commerce.net URI: http://commerce.net/
Daboo, et al. Standards Track [Page 106] RFC 4791 CalDAV March 2007
Daboo, et al. Standards Track [Page 106] RFC 4791 CalDAV March 2007
Full Copyright Statement
Full Copyright Statement
Copyright (C) The IETF Trust (2007).
Copyright (C) The IETF Trust (2007).
This document is subject to the rights, licenses and restrictions contained in BCP 78, and except as set forth therein, the authors retain all their rights.
This document is subject to the rights, licenses and restrictions contained in BCP 78, and except as set forth therein, the authors retain all their rights.
This document and the information contained herein are provided on an "AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY, THE IETF TRUST AND THE INTERNET ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
This document and the information contained herein are provided on an "AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY, THE IETF TRUST AND THE INTERNET ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
Intellectual Property
Intellectual Property
The IETF takes no position regarding the validity or scope of any Intellectual Property Rights or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; nor does it represent that it has made any independent effort to identify any such rights. Information on the procedures with respect to rights in RFC documents can be found in BCP 78 and BCP 79.
The IETF takes no position regarding the validity or scope of any Intellectual Property Rights or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; nor does it represent that it has made any independent effort to identify any such rights. Information on the procedures with respect to rights in RFC documents can be found in BCP 78 and BCP 79.
Copies of IPR disclosures made to the IETF Secretariat and any assurances of licenses to be made available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementers or users of this specification can be obtained from the IETF on-line IPR repository at http://www.ietf.org/ipr.
Copies of IPR disclosures made to the IETF Secretariat and any assurances of licenses to be made available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementers or users of this specification can be obtained from the IETF on-line IPR repository at http://www.ietf.org/ipr.
The IETF invites any interested party to bring to its attention any copyrights, patents or patent applications, or other proprietary rights that may cover technology that may be required to implement this standard. Please address the information to the IETF at ietf-ipr@ietf.org.
The IETF invites any interested party to bring to its attention any copyrights, patents or patent applications, or other proprietary rights that may cover technology that may be required to implement this standard. Please address the information to the IETF at ietf-ipr@ietf.org.
Acknowledgement
Acknowledgement
Funding for the RFC Editor function is currently provided by the Internet Society.
Funding for the RFC Editor function is currently provided by the Internet Society.
Daboo, et al. Standards Track [Page 107]
Daboo, et al. Standards Track [Page 107]
一覧
スポンサーリンク