Network Working Group J. Rosenberg Request for Comments: 3858 dynamicsoft Category: Standards Track August 2004
An Extensible Markup Language (XML) Based Format for Watcher Information
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.
この文書は、インターネットコミュニティのためのインターネット標準トラックプロトコルを指定し、改善のための議論と提案を要求します。このプロトコルの標準化状態と状態への「インターネット公式プロトコル標準」(STD 1)の最新版を参照してください。このメモの配布は無制限です。
Copyright Notice
著作権表示
Copyright (C) The Internet Society (2004).
著作権(C)インターネット協会(2004)。
Abstract
抽象
Watchers are defined as entities that request (i.e., subscribe to) information about a resource. There is fairly complex state associated with these subscriptions. The union of the state for all subscriptions to a particular resource is called the watcher information for that resource. This state is dynamic, changing as subscribers come and go. As a result, it is possible, and indeed useful, to subscribe to the watcher information for a particular resource. In order to enable this, a format is needed to describe the state of watchers on a resource. This specification describes an Extensible Markup Language (XML) document format for such state.
ウォッチャー(すなわち、にサブスクライブ)リソースに関する情報を要求するエンティティとして定義されます。これらのサブスクリプションに関連付けられてかなり複雑な状態があります。特定のリソースへのすべてのサブスクリプションの状態の労働組合は、そのリソースのウォッチャー情報と呼ばれています。この状態は、ダイナミックである加入者が来て、行くように変更します。その結果、特定のリソースのためのウォッチャ情報に加入することは可能で、実際に有用です。これを可能にするために、フォーマットは、リソース上のウォッチャの状態を記述するために必要とされます。この仕様は、このような状態のための拡張マークアップ言語(XML)ドキュメントフォーマットを記述する。
Table of Contents
目次
1. Introduction ................................................ 2 2. Terminology ............................................... 2 3. Structure of Watcher Information ........................... 2 4. Computing Watcher Lists from the Document .................. 5 5. Example .................................................... 6 6. XML Schema ................................................. 6 7. Security Considerations .................................... 8 8. IANA Considerations ........................................ 9 8.1. application/watcherinfo+xml MIME Registration ......... 9 8.2. URN Sub-Namespace Registration for urn:ietf:params:xml:ns:watcherinfo .................... 10 9. Normative References ....................................... 10 10. Informative References ..................................... 11
11. Acknowledgements ........................................... 11 12. Contributors ............................................... 12 13. Author's Address ........................................... 13 14. Full Copyright Statement ................................... 14
Watchers are defined as entities that request (i.e., subscribe to) information about a resource, using the SIP event framework, RFC 3265 [1]. There is fairly complex state associated with these subscriptions. This state includes the identity of the subscriber, the state of the subscription, and so on. The union of the state for all subscriptions to a particular resource is called the watcher information for that resource. This state is dynamic, changing as subscribers come and go. As a result, it is possible, and indeed useful, to subscribe to the watcher information for a particular resource. An important application of this is the ability for a user to find out the set of subscribers to their presentity [11]. This would allow the user to provide an authorization decision for the subscription.
ウォッチャーは、SIPイベント・フレームワークを使用して、リソースに関する情報(すなわち、へ購読)要求エンティティとして定義され、RFC 3265 [1]。これらのサブスクリプションに関連付けられてかなり複雑な状態があります。この状態はように、加入者の身元、サブスクリプションの状態などが含まれます。特定のリソースへのすべてのサブスクリプションの状態の労働組合は、そのリソースのウォッチャー情報と呼ばれています。この状態は、ダイナミックである加入者が来て、行くように変更します。その結果、特定のリソースのためのウォッチャ情報に加入することは可能で、実際に有用です。これの重要な用途は、彼らのプレゼン[11]への加入者のセットを見つけるために、ユーザのための機能です。これは、ユーザーがサブスクリプションの承認決定を提供することができるようになります。
To support subscriptions to watcher information, two components are needed. The first is the definition of a SIP event template-package for watcher information. The other is the definition of a data format to represent watcher information. The former is specified in [2], and the latter is specified here.
情報をウォッチャにサブスクリプションをサポートするために、二つの成分が必要とされています。最初は、ウォッチャ情報のためのSIPイベントテンプレートパッケージの定義です。他のウォッチャ情報を表現するデータ形式の定義です。前者は[2]で指定され、後者はここで指定されています。
In this document, the key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" are to be interpreted as described in BCP 14, RFC 2119 [3] and indicate requirement levels for compliant implementations.
この文書では、キーワード "MUST"、 "MUST NOT"、 "REQUIRED"、 "NOT SHALL"、 "推奨"、 "すべきではない" "べきである" "ないものと"、 "MAY"、および "オプション" BCP 14、RFC 2119に記載されているように、[3]に解釈されるべきであり、対応する実装の要求レベルを示します。
This document also uses the terms subscriber, watcher, subscription, notification, watcherinfo subscription, watcherinfo subscriber, and watcherinfo notification with the meanings described in [2].
この文書はまた、用語加入者、ウォッチャー、サブスクリプション、通知、watcherinfoサブスクリプション、watcherinfo加入者、及び[2]に記載の意味を持つwatcherinfo通知を使用します。
Watcher information is an XML document [4] that MUST be well-formed and SHOULD be valid. Watcher information documents MUST be based on XML 1.0 and MUST be encoded using UTF-8. This specification makes use of XML namespaces for identifying watcherinfo documents and document fragments. The namespace URI for elements defined by this specification is a URN [5], using the namespace identifier 'ietf' defined by [6] and extended by [7]. This URN is:
ウォッチャ情報は、十分に形成されなければならないと有効であるべきであることをXML文書[4]です。ウォッチャー情報文書はXML 1.0に基づいていなければならないとUTF-8を使用してエンコードされなければなりません。この仕様はwatcherinfo文書と文書の断片を識別するためのXML名前空間を使用しています。この仕様によって定義された要素の名前空間URIは、名前空間識別子「IETF」[6]で定義され、[7]によって拡張を使用して、URN [5]です。このURNは以下のとおりです。
urn:ietf:params:xml:ns:watcherinfo
URN:IETF:のparams:XML:NS:watcherinfo
A watcher information document begins with the root element tag "watcherinfo". It consists of any number of "watcher-list" sub-elements, each of which is a list of watchers for a particular resource. Other elements from different namespaces MAY be present for the purposes of extensibility; elements or attributes from unknown namespaces MUST be ignored. There are two attributes associated with the "watcherinfo" element, both of which MUST be present:
ウォッチャ情報文書は、ルート要素タグ「watcherinfo」で始まります。これは、特定のリソースに対するウォッチャのリストである各々が「ウォッチャーリスト」サブ要素の任意の数で構成されています。異なる名前空間から他の要素は、拡張性の目的のために存在しているかもしれません。未知の名前空間からの要素や属性を無視しなければなりません。存在しなければならない、どちらも「watcherinfo」要素に関連付けられた2つの属性があります:
version: This attribute allows the recipient of watcherinfo documents to properly order them. Versions start at 0, and increment by one for each new document sent to a watcherinfo subscriber. Versions are scoped within a watcherinfo subscription. Versions MUST be representable using a 32 bit integer. However, versions do not wrap.
バージョン:この属性はwatcherinfo文書の受信者はそれらを適切に注文することができます。バージョンは0から始まり、そしてwatcherinfo加入者に送信されたそれぞれの新しい文書のための一つの増分。バージョンはwatcherinfoサブスクリプション内スコープされています。バージョンは、32ビットの整数を使用して表現していなければなりません。ただし、バージョンは折り返されません。
state: This attribute indicates whether the document contains the full watcherinfo state, or whether it contains only information on those watchers which have changed since the previous document (partial).
状態:この属性は、文書がフルwatcherinfo状態が含まれているかどうかを示す、またはそれは前の文書(部分)以降に変更されたものウォッチャーに関する情報のみが含まれているかどうか。
Each "watcher-list" element contains a list of "watcher" elements, each of which describes a watcher on a particular resource. Other elements from different namespaces MAY be present for the purposes of extensibility; elements or attributes from unknown namespaces MUST be ignored. There are two attributes associated with the "watcher-list" element, both of which MUST be present:
各「ウォッチャーリスト」要素は、特定のリソース上のウォッチャーが記載されてそれぞれが「ウォッチャー」要素のリストを含みます。異なる名前空間から他の要素は、拡張性の目的のために存在しているかもしれません。未知の名前空間からの要素や属性を無視しなければなりません。存在しなければならない、どちらも「ウォッチャーリスト」要素に関連付けられた2つの属性があります:
resource: This attribute contains a URI for the resource being watched by that list of watchers. It is mandatory.
リソース:この属性は、ウォッチャーのリストによって監視されているリソースのURIが含まれています。それが必須です。
package: This attribute contains a token indicating the event package for which watcher information on that resource is being provided. It is mandatory.
パッケージ:この属性は、そのリソースのウォッチャ情報が提供されている対象のイベントパッケージを示すトークンが含まれています。それが必須です。
The "watcher" element describes a watcher in the watcher list. The value of the "watcher" element is a URI for the watcher. This URI SHOULD be the authenticated identity of the watcher as determined by the server processing the subscription. As such, this URI will usually be an address-of-record (for example, sip:joe@example.com) as opposed to a device address (for example, sip:joe@192.0.2.3). There are three mandatory attributes which MUST be present: id: A unique identifier for the subscription described by the watcher element. The id MUST be representable using the grammar for token as specified by RFC 3261 [8]. It MUST be unique across all other watchers reported in documents sent in notifications for a particular watcherinfo subscription.
「ウォッチャー」の要素は、ウォッチャーリストの中ウォッチャーを説明しています。 「ウォッチャー」要素の値は、ウォッチャーのURIです。サブスクリプションを処理するサーバーによって決定される。このURIは、ウォッチャーの認証されたアイデンティティであるべきです。デバイスアドレスとは対照的に(例えば、SIP:joe@192.0.2.3):このように、このURIは、通常、アドレス・オブ・レコード(joe@example.com例えば、SIP)をあろう。 ID:ウォッチャー要素によって記述スクリプションの一意の識別子存在しなければならない3つの必須属性があります。 RFC 3261で指定されたIDがトークンのための文法を使用して表現していなければなりません[8]。これは、特定のwatcherinfoサブスクリプションの通知で送信された文書で報告された他のすべてのウォッチャーで一意である必要があります。
status: The status of the subscription. The meaning of the various statuses are defined in the watcher information event package [2].
状況:サブスクリプションの状態。各種ステータスの意味は、ウォッチャ情報イベント・パッケージで定義されている[2]。
event: The event which caused the transition to the current status. The events are defined in the watcher information event package [2].
イベント:現在の状態への遷移を引き起こしたイベント。イベントは、ウォッチャ情報イベント・パッケージで定義されている[2]。
There are also some optional, informative attributes of the watcher element. These are:
ウォッチャー要素のいくつかのオプション、有益な属性もあります。これらは:
display-name: A textual representation of the name of the subscriber.
表示名:加入者の名前のテキスト表現。
expiration: The amount of time, in seconds from the current time, that the subscription will expire.
有効期限:現在の時刻からの時間(秒単位)、サブスクリプションの有効期限が切れること。
duration-subscribed: The amount of time, expressed in seconds, between the time the SUBSCRIBE which created the subscription was received, and the current time.
期間加入:秒で表される時間の量は、時間の間にサブスクリプションを受信した作成したSUBSCRIBE、および現在の時刻。
The xml:lang attribute MAY be used with the "watcher" element to specify the language of the "display-name".
XML:lang属性は、「表示名」の言語を指定するには、「ウォッチャー」の要素で使用されるかもしれません。
The number of watchers present for each resource, and the set of resources listed, depends on the type of data being provided, and to whom.
各リソースのための本ウォッチャの数、および列挙されたリソースのセットは、誰に提供されるデータのタイプに依存します。
For example, consider a presence system using watcher information. In one scenario, a user, A, subscribes to the presence of another user, B. A would like to find out about the status of their subscription. To do so, A subscribes to the watcher information for B's presence. A does not have authorization to learn the status of all watchers for B's presence. As a result, the watcher information sent to A will contain only one watcher - A themself.
例えば、ウォッチャ情報を用いて、プレゼンスシステムを考えます。 1つのシナリオでは、ユーザー、Aは、他のユーザの存在のために、B. Aは自分のサブスクリプションの状態を知るためにサブスクライブしたいと思います。そのためには、AはBの存在について、ウォッチャ情報にサブスクライブします。 AはBの存在のために、すべてのウォッチャーの状況を学ぶための許可を持っていません。結果として、Aに送信されたウォッチャ情報は、唯一のウォッチャーを含むことになる - その人自身を。
In another scenario, a user, B, wishes to learn the set of people who have subscribed to B's presence. To do this, B subscribes to the watcher information for B's presence. Here, B is authorized to see all the watchers of B's presence. As a result, the watcher information sent to B will contain all watchers of B's presence.
別のシナリオでは、ユーザーは、Bは、Bの存在に加入している人たちのセットを学ぶことを望みます。これを行うには、BはBの存在について、ウォッチャ情報にサブスクライブします。ここで、BはBの存在のすべてのウォッチャーを見るために許可されています。その結果、Bに送信されたウォッチャ情報はBの存在のすべてのウォッチャーが含まれています。
In the case where an administrator wishes to learn the current status in the system, the watcher information could contain all watchers for all resources.
管理者は、システム内の現在の状況を学ぶしたい場合は、ウォッチャ情報は、すべてのリソースのすべてのウォッチャーを含めることができます。
Typically, the watcherinfo NOTIFY will only contain information about those watchers whose state has changed. To construct a coherent view of the total state of all watchers, a watcherinfo subscriber will need to combine NOTIFYs received over time. The watcherinfo subscriber maintains a table for each watcher list it receives information about. Each watcher list is uniquely identified by the URI in the "resource" attribute of the "watcher-list" element. Each table contains a row for each watcher in that watcher list. Each row is indexed by the unique ID for that watcher. It is conveyed in the "id" attribute of the "watcher" element. The contents of each row contain the state of that watcher as conveyed in the "watcher" element. The tables are also associated with a version number. The version number MUST be initialized with the value of the "version" attribute from the "watcherinfo" element in the first document received. Each time a new document is received, the value of the local version number, and the "version" attribute in the new document, are compared. If the value in the new document is one higher than the local version number, the local version number is increased by one, and the document is processed. If the value in the document is more than one higher than the local version number, the local version number is set to the value in the new document, the document is processed, and the watcherinfo subscriber SHOULD generate a refresh request to trigger a full state notification. If the value in the document is less than the local version, the document is discarded without processing.
典型的には、watcherinfoのみ状態変化したものウォッチャーに関する情報を含むことになるNOTIFY。すべてのウォッチャーの合計状態のコヒーレントなビューを構築するために、watcherinfo加入者は、時間をかけて受け取ったのNOTIFYを結合する必要があります。 watcherinfo加入者は、それが情報を受信した各ウォッチャーリストのテーブルを維持します。各ウォッチャーリストは独自に「ウォッチャーリスト」要素の「リソース」属性にURIによって識別されます。各テーブルは、ウォッチャーリスト内の各ウォッチャの行を含んでいます。各行は、そのウォッチャーのためのユニークなIDによってインデックスされます。それは、「ウォッチャー」要素の「id」属性に搬送されます。 「ウォッチャー」要素に搬送される各列の内容は、ウォッチャの状態を含みます。テーブルもバージョン番号に関連付けられています。バージョン番号は、受信した最初の文書で「watcherinfo」要素から「バージョン」属性の値で初期化されなければなりません。新しいドキュメントが受信されるたびに、新しい文書内のローカルバージョン番号、および「バージョン」属性の値は、比較されます。新しい文書の値がローカルのバージョン番号より1高い場合、ローカルのバージョン番号が1増加され、ドキュメントが処理されます。文書内の値がローカルのバージョン番号より以上高い場合、ローカルのバージョン番号が新しい文書内の値に設定され、文書が処理され、watcherinfo加入者は、完全な状態をトリガーするためにリフレッシュ要求を生成する必要があります通知。文書内の値がローカルのバージョンよりも小さい場合は、文書が処理せずに廃棄されます。
The processing of the watcherinfo document depends on whether it contains full or partial state. If it contains full state, indicated by the value of the "state" attribute in the "watcherinfo" element, the contents of all tables associated with this watcherinfo subscription are flushed. They are re-populated from the document. A new table is created for each "watcher-list" element, and a new row in each table is created for each "watcher" element. If the watcherinfo contains partial state, as indicated by the value of the "state" attribute in the "watcherinfo" element, the document is used to update the existing tables. For each "watcher-list" element, the watcherinfo subscriber checks to see if a table exists for that list. This check is done by comparing the URI in the "resource" attribute of the "watcher-list" element with the URI associated with the table. If a table doesn't exist for that list, one is created. For each "watcher" element in the list, the watcherinfo subscriber checks to see whether a row exists for that watcher. This check is done by comparing the ID in the "id" attribute of the "watcher" element with the ID associated with the row. If the watcher doesn't exist in the table, a row is added, and its state is set to the information from that "watcher" element. If the watcher does exist, its state is updated to be the information from that "watcher" element. If a row is updated or created, such that its state is now terminated, that entry MAY be removed from the table at any time.
watcherinfo文書の処理は、それが完全または部分的な状態が含まれているかどうかに依存します。それは完全な状態が含まれている場合は、「watcherinfo」要素の「状態」属性の値によって示され、このwatcherinfoサブスクリプションに関連するすべてのテーブルの内容がフラッシュされます。これらは、文書から再移入されます。新しいテーブルは、各「ウォッチャーリスト」の要素のために作成され、各テーブルに新しい行がそれぞれ「ウォッチャー」要素のために作成されます。 watcherinfoが部分状態が含まれている場合、「watcherinfo」要素の「状態」属性の値によって示されるように、ドキュメントは、既存のテーブルを更新するために使用されます。各「ウォッチャーリスト」要素について、watcherinfo加入者は、テーブルがそのリストに対して存在するかどうかを確認します。このチェックは、テーブルに関連付けられているURIを持つ「ウォッチャーリスト」要素の「リソース」属性にURIを比較することによって行われます。表はそのリストのために存在しない場合は、1が作成されます。リスト内の各「ウォッチャー」要素については、watcherinfo加入者行がそのウォッチャーに対して存在するかどうかをチェックします。このチェックは、行に関連付けられたIDを有する「ウォッチャー」要素の「ID」属性にIDを比較することによって行われます。ウォッチャーがテーブルに存在しない場合、行が追加され、その状態はその「ウォッチャー」要素からの情報に設定されています。ウォッチャーが存在する場合、その状態はその「ウォッチャー」要素からの情報に更新されます。行が更新または作成されている場合は、その状態が今終了したように、そのエントリは、いつでもテーブルから除去することができます。
The following is an example of watcher information for a presentity, who is a professor. There are two watchers, userA and userB.
以下は、教授であるプレゼンティティに対するウォッチャ情報の一例です。 2つのウォッチャー、ユーザAとユーザーBがあります。
<?xml version="1.0"?> <watcherinfo xmlns="urn:ietf:params:xml:ns:watcherinfo" version="0" state="full"> <watcher-list resource="sip:professor@example.net" package="presence"> <watcher status="active" id="8ajksjda7s" duration-subscribed="509" event="approved" >sip:userA@example.net</watcher> <watcher status="pending" id="hh8juja87s997-ass7" display-name="Mr. Subscriber" event="subscribe">sip:userB@example.org</watcher> </watcher-list> </watcherinfo>
<xmlのバージョン= "1.0"?> <watcherinfoのxmlns = "壷:IETF:のparams:XML:NS:watcherinfo" バージョン= "0" の状態= "フル"> <ウォッチャーリストリソース= "一口:例@教授.NET "パッケージ= "存在"> <ウォッチャーは、ステータス= "アクティブ" ID = "8ajksjda7s" は期間加入= "509" イベント= "":userA@example.net </ウォッチャー> <ウォッチャーステータス=> SIP" 承認しました。「ID = "hh8juja87s997-ass7" 表示名= "ミスター加入" イベントは= "" 購読保留> SIP:userB@example.org </ウォッチャー> </ウォッチャーリスト> </ watcherinfo>
The following is the schema definition of the watcherinfo document format:
次はwatcherinfo文書形式のスキーマ定義であります:
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:ietf:params:xml:ns:watcherinfo" xmlns:tns="urn:ietf:params:xml:ns:watcherinfo" > <!-- This import brings in the XML language attribute xml:lang--> <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/03/xml.xsd" /> <xs:element name="watcherinfo"> <xs:complexType> <xs:sequence> <xs:element ref="tns:watcher-list" minOccurs="0" maxOccurs="unbounded"/> <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> <xs:attribute name="version" type="xs:nonNegativeInteger"
<XS:スキーマのxmlns:XS = "http://www.w3.org/2001/XMLSchema" のtargetNamespace = "URN:IETF:paramsは:XML:NS:watcherinfo" のxmlns:TNSは=「URN:IETF:paramsは:XML :NS:watcherinfo "> < - このインポートは、XML言語の属性xmlにもたらします:!LANG - > <XS:インポート名前空間= "http://www.w3.org/XML/1998/namespace" のschemaLocation =" http://www.w3.org/2001/03/xml.xsd "/> <XS:要素名= "watcherinfo"> <XS:complexTypeの> <XS:配列> <XS:要素REF =" TNS:ウォッチャー-list」のminOccurs = "0" のmaxOccurs = "無制限" /> <XS:任意の名前空間= "##他" のprocessContents = "緩い" のminOccurs = "0" のmaxOccurs = "無制限" /> </ XS:シーケンス> < XS:属性名= "バージョン" タイプ= "XS:NonNegativeIntegerの"
use="required"/> <xs:attribute name="state" use="required"> <xs:simpleType> <xs:restriction base="xs:string"> <xs:enumeration value="full"/> <xs:enumeration value="partial"/> </xs:restriction> </xs:simpleType> </xs:attribute> </xs:complexType> </xs:element> <xs:element name="watcher-list"> <xs:complexType> <xs:sequence> <xs:element ref="tns:watcher" minOccurs="0" maxOccurs= "unbounded"/> <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> <xs:attribute name="resource" type="xs:anyURI" use="required"/> <xs:attribute name="package" type="xs:string" use="required"/> </xs:complexType> </xs:element> <xs:element name="watcher"> <xs:complexType> <xs:simpleContent> <xs:extension base="xs:anyURI"> <xs:attribute name="display-name" type="xs:string"/> <xs:attribute name="status" use="required"> <xs:simpleType> <xs:restriction base="xs:string"> <xs:enumeration value="pending"/> <xs:enumeration value="active"/> <xs:enumeration value="waiting"/> <xs:enumeration value="terminated"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="event" use="required"> <xs:simpleType> <xs:restriction base="xs:string"> <xs:enumeration value="subscribe"/> <xs:enumeration value="approved"/> <xs:enumeration value="deactivated"/> <xs:enumeration value="probation"/> <xs:enumeration value="rejected"/> <xs:enumeration value="timeout"/> <xs:enumeration value="giveup"/>
= "必須" /> <XS使用:属性名= "状態" 使用を= "必要"> <XS:単純> <XS:制限ベース= "XS:文字列"> <XS:列挙値= "フル" /> <XS:列挙値= "部分" /> </ XS:制限> </ XS:単純> </ XS:属性> </ XS:complexTypeの> </ XS:要素> <XS:要素名= "watcher-リスト "> <XS:complexTypeの> <XS:配列> <XS:要素REF =" TNS:ウォッチャー "のminOccurs = "0" のmaxOccurs = "無制限"/> <XS:任意の名前空間= "##その他" のprocessContents =" LAX "のminOccurs = "0" のmaxOccurs = "無制限"/> </ XS:シーケンス> <XS:属性名= "リソース" タイプ= "XS:必要anyURIの"=使用 ""/> <XS:属性名="パッケージ」タイプ= "XS:文字列" 使用= "必須" /> </ XS:complexTypeの> </ XS:要素> <XS:要素名= "ウォッチャー"> <XS:complexTypeの> <XS:simpleContentを> <XS :増設ベースは= "XS:anyURIの"> <XS:属性名= "表示名" タイプ= "XS:文字列" /> <XS:属性名= "ステータス" の使用は= "必要"> <XS:単純> <XS:制限ベース= "XS:文字列が"> <XS:列挙値= "保留" /> <XS:列挙値= "アクティブ" /> <XS:列挙値= "待機" /> <XS :列挙値= "終了" /> </ XS:制限> </ XS:単純> </ XS:属性> <XS:属性名= "イベント" 使用= "必要"> <XS:単純> <XS:制限ベース= "XS:文字列"> <XS:列挙値= "購読" /> <XS:列挙値は= "承認" /> <XS:列挙値= "無効" /> <XS:列挙値= "執行猶予"列挙値= /> <XS" タイムアウト "/> <XS列挙値は=" 拒否 "/> <XS:列挙値=" "GIVEUP />
<xs:enumeration value="noresource"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="expiration" type="xs:unsignedLong"/> <xs:attribute name="id" type="xs:string" use="required"/> <xs:attribute name="duration-subscribed" type="xs:unsignedLong"/> <xs:attribute ref="xml:lang"/> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> </xs:schema>
<XS:列挙値= "NORESOURCE" /> </ XS:制限> </ XS:単純> </ XS:属性> <XS:属性名= "期限切れ" タイプ= "XS:なunsignedLong" /> <XS:使用= "必要" /> <XS:属性名= "期間、加入" タイプ= "XS:なunsignedLong" /> <XS:属性REF = "XML::= "文字列XS" を名= "ID" タイプをlang属性を「/> </ XS:拡張> </ XS:simpleContentを> </ XS:complexTypeの> </ XS:要素> </ XS:スキーマ>
Watcher information is sensitive information. The protocol used to distribute it SHOULD ensure privacy, message integrity, and authentication. Furthermore, the protocol should provide access controls which restrict who can see who elses watcher information.
ウォッチャー情報は機密情報です。プロトコルは、プライバシー、メッセージの整合性、および認証を確実にしなければならない配布するために使用しました。さらに、プロトコルは、ウォッチャ情報をよそ者を確認できるユーザーを制限するアクセス制御を提供すべきです。
This document registers a new MIME type, application/watcherinfo+xml, and registers a new XML namespace.
この文書は、新しいMIMEタイプ、アプリケーション/ watcherinfo + XMLを登録し、新しいXML名前空間を登録します。
MIME media type name: application
MIMEメディアタイプ名:application
MIME subtype name: watcherinfo+xml
MIMEサブタイプ名:watcherinfo + xmlの
Mandatory parameters: none
必須パラメータ:なし
Optional parameters: Same as charset parameter application/xml as specified in RFC 3023 [9].
オプションのパラメータ:[9] RFC 3023で指定されるように、application / xmlのcharsetパラメータと同じ。
Encoding considerations: Same as encoding considerations of application/xml as specified in RFC 3023 [9].
符号化の考慮事項:アプリケーション/ XMLの符号化の考慮と同じRFC 3023に指定されている[9]。
Security considerations: See Section 10 of RFC 3023 [9] and Section 7 of this specification.
セキュリティの考慮事項:RFC 3023のセクション10 [9]、この仕様のセクション7を参照してください。
Interoperability considerations: none.
相互運用性に関する注意事項:なし。
Published specification: This document.
公開された仕様:このドキュメント。
Applications which use this media type: This document type has been used to support subscriber authorization functions for SIP-based presence [10] [2].
このドキュメントタイプはSIPベースの存在について加入者認証機能をサポートするために使用されている[10] [2]:このメディアタイプを使用するアプリケーション。
Additional Information: Magic Number: None
追加情報:マジックナンバー:なし
File Extension: .wif or .xml
ファイル拡張子:.wifまたは.xml
Macintosh file type code: "TEXT"
Macintoshのファイルタイプコード:「TEXT」
Personal and email address for further information: Jonathan Rosenberg, <jdrosen@jdrosen.net>
詳しくは、個人やメールアドレス:ジョナサン・ローゼンバーグ、<jdrosen@jdrosen.net>
Intended usage: COMMON
意図している用法:COMMON
Author/Change controller: The IETF.
著者/変更コントローラ:IETF。
8.2. URN Sub-Namespace Registration for urn:ietf:params:xml:ns:watcherinfo
8.2. 骨壷のためのURNサブ名前空間の登録:IETF:のparams:XML:NS:watcherinfo
This section registers a new XML namespace, as per the guidelines in [7].
このセクションでは、[7]のガイドラインに従って、新しいXML名前空間を登録します。
URI: The URI for this namespace is urn:ietf:params:xml:ns:watcherinfo.
URI:IETF::のparams:XML:NS:watcherinfoこの名前空間のURIはURNです。
Registrant Contact: IETF, SIMPLE working group, <simple@ietf.org>, Jonathan Rosenberg <jdrosen@jdrosen.net>.
登録者連絡先:IETF、SIMPLEワーキンググループ、<simple@ietf.org>、ジョナサン・ローゼンバーグ<jdrosen@jdrosen.net>。
XML:
XML:
BEGIN <?xml version="1.0"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.0//EN" "http://www.w3.org/TR/xhtml-basic/xhtml-basic10.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html;charset=iso-8859-1"/> <title>Watcher Information Namespace</title> </head> <body> <h1>Namespace for Watcher Information</h1> <h2>urn:ietf:params:xml:ns:watcherinfo</h2> <p>See <a href="ftp://ftp.rfc-editor.org/in-notes/rfc3858.txt"> RFC3858</a>.</p>
</body> </html> END
</ body> </ html>このEND
[1] Roach, A. B., "Session Initiation Protocol (SIP)-Specific Event Notification", RFC 3265, June 2002.
[1]ローチ、A. B.、 "セッション開始プロトコル(SIP)特異的イベント通知"、RFC 3265、2002年6月。
[2] Rosenberg, J., "A Watcher Information Event Template-Package for the Session Initiation Protocol (SIP)", RFC 3857, August 2004.
[2]ローゼンバーグ、J.、RFC 3857、2004年8月 "セッション開始プロトコル(SIP)のためのウォッチャー情報イベントテンプレート・パッケージ"。
[3] Bradner, S., "Key Words for Use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March 1997.
[3]ブラドナーのは、S.は、BCP 14、RFC 2119、1997年3月の "RFCsにおける使用のためのレベルを示すために"。
[4] T. Bray, J. Paoli, and C. M. Sperberg-McQueen, "Extensible Markup language (XML) 1.0 (second edition)," W3C Recommendation REC-xml-20001006, World Wide Web Consortium (W3C), Oct. 2000. Available at http://www.w3.org/XML/.
[4] T.ブレイ、J.パオリ、及びCM Sperberg-マックイーン、 "拡張マークアップ言語(XML)1.0(第2版)、" W3C勧告REC-XML-20001006、ワールドワイドウェブコンソーシアム(W3C)、2000年10月。http://www.w3.org/XML/利用可能。
[5] Moats, R., "URN Syntax", RFC 2141, May 1997.
[5]堀、R.、 "URN構文"、RFC 2141、1997年5月を。
[6] Moats, R., "A URN Namespace for IETF Documents", RFC 2648, August 1999.
[6]堀、R.、 "IETF文書のURN名前空間"、RFC 2648、1999年8月。
[7] Mealling, M., "The IETF XML Registry", BCP 81, RFC 3688, January 2004.
[7] Mealling、M.、 "IETF XMLレジストリ"、BCP 81、RFC 3688、2004年1月。
[8] Rosenberg, J., Schulzrinne, H., Camarillo, G., Johnston, A., Peterson, J., Sparks, R., Handley, M., and E. Schooler, "SIP: Session Initiation Protocol", RFC 3261, June 2002.
[8]ローゼンバーグ、J.、Schulzrinneと、H.、カマリロ、G.、ジョンストン、A.、ピーターソン、J.、スパークス、R.、ハンドレー、M.、およびE.学生、 "SIP:セッション開始プロトコル" 、RFC 3261、2002年6月。
[9] Murata, M., Laurent, S., and D. Kohn, "XML Media Types", RFC 3023, January 2001.
[9]村田、M.、ローラン、S.、およびD.コーン、 "XMLのメディアタイプ"、RFC 3023、2001年1月。
[10] Rosenberg, J., "A Presence Event Package for the Session Initiation Protocol (SIP)", RFC 3856, August 2004.
[10]ローゼンバーグ、J.、 "セッション開始プロトコルのためのプレゼンスイベントパッケージ(SIP)"、RFC 3856、2004年8月。
[11] Day, M., Rosenberg, J., and H. Sugano, "A Model for Presence and Instant Messaging", RFC 2778, February 2000.
[11]日、M.、ローゼンバーグ、J.、およびH.菅野、 "プレゼンスとインスタントメッセージングのためのモデル"、RFC 2778、2000年2月。
The authors would like to thank Sean Olson, Steve Donovan, and Cullen Jennings for their detailed comments and assistance with the XML schema.
著者は、XMLスキーマでその詳細なコメントと援助のためにショーン・オルソン、スティーブ・ドノバン、とカレンジェニングスに感謝したいと思います。
The following people were part of the original design team that developed the first version of this specification:
次の人はこの仕様の最初のバージョンを開発したオリジナルデザインチームの一部でした:
Dean Willis dynamicsoft 5100 Tennyson Parkway, Suite 1200 Plano, Texas 75024
ディーンウィリスdynamicsoft 5100テニソンパークウェイ、スイート1200プラノ、テキサス75024
EMail: dwillis@dynamicsoft.com
メールアドレス:dwillis@dynamicsoft.com
Robert Sparks dynamicsoft 5100 Tennyson Parkway, Suite 1200 Plano, Texas 75024
ロバート・スパークスdynamicsoft 5100テニソンパークウェイ、スイート1200プラノ、テキサス75024
EMail: rsparks@dynamicsoft.com
メールアドレス:rsparks@dynamicsoft.com
Ben Campbell
ベン・キャンベル
EMail: ben@nostrum.com
メールアドレス:ben@nostrum.com
Henning Schulzrinne Columbia University M/S 0401 1214 Amsterdam Ave. New York, NY 10027-7003
ヘニングSchulzrinneとコロンビア大学のM / S 0401 1214アムステルダムアベニュー。ニューヨーク、NY 10027-7003
EMail: schulzrinne@cs.columbia.edu
メールアドレス:schulzrinne@cs.columbia.edu
Jonathan Lennox Columbia University M/S 0401 1214 Amsterdam Ave. New York, NY 10027-7003
ジョナサンレノックスコロンビア大学M / S 0401 1214アムステルダムアベニュー。ニューヨーク、NY 10027-7003
EMail: lennox@cs.columbia.edu
メールアドレス:lennox@cs.columbia.edu
Christian Huitema Microsoft Corporation One Microsoft Way Redmond, WA 98052-6399
クリスチャンのHuitemaマイクロソフト社1つのマイクロソフト道、レドモンド、WA 98052-6399
EMail: huitema@microsoft.com
メールアドレス:huitema@microsoft.com
Bernard Aboba Microsoft Corporation One Microsoft Way Redmond, WA 98052-6399
バーナードAbobaマイクロソフト社1つのマイクロソフト道、レドモンド、WA 98052-6399
EMail: bernarda@microsoft.com
メールアドレス:bernarda@microsoft.com
David Gurle Reuters Corporation
デビッド・グルロイター・コーポレーション
EMail: David.Gurle@reuters.com
メールアドレス:David.Gurle@reuters.com
Jonathan Lennox contributed the text for the DTD and its usage that were part of earlier versions of this specification.
ジョナサン・レノックスは、この仕様の以前のバージョンの一部であったDTDとその使用のためのテキストを拠出しました。
Jonathan Rosenberg dynamicsoft 600 Lanidex Plaza Parsippany, NJ 07054
ジョナサン・ローゼンバーグdynamicsoft 600 Lanidexプラザパーシッパニー、NJ 07054
EMail: jdrosen@dynamicsoft.com
メールアドレス:jdrosen@dynamicsoft.com
Copyright (C) The Internet Society (2004). 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.
著作権(C)インターネット協会(2004)。この文書では、BCP 78に含まれる権利と許可と制限の適用を受けており、その中の記載を除いて、作者は彼らのすべての権利を保有します。
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 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.
この文書とここに含まれている情報は、基礎とCONTRIBUTOR「そのまま」、ORGANIZATION HE / SHEが表すまたはインターネットソサエティおよびインターネット・エンジニアリング・タスク・フォース放棄すべての保証、明示または、(もしあれば)後援ISに設けられています。黙示、情報の利用は、特定の目的に対する権利または商品性または適合性の黙示の保証を侵害しない任意の保証含むがこれらに限定されません。
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.
IETFは、本書またはそのような権限下で、ライセンスがたりないかもしれない程度に記載された技術の実装や使用に関係すると主張される可能性があります任意の知的財産権やその他の権利の有効性または範囲に関していかなる位置を取りません利用可能です。またそれは、それがどのような権利を確認する独自の取り組みを行ったことを示すものでもありません。 RFC文書の権利に関する手続きの情報は、BCP 78および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.
IPRの開示のコピーが利用できるようにIETF事務局とライセンスの保証に行われた、または本仕様の実装者または利用者がそのような所有権の使用のための一般的なライセンスまたは許可を取得するために作られた試みの結果を得ることができますhttp://www.ietf.org/iprのIETFのオンライン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.
IETFは、その注意にこの標準を実装するために必要とされる技術をカバーすることができる任意の著作権、特許または特許出願、またはその他の所有権を持ってすべての利害関係者を招待します。 ietf-ipr@ietf.orgのIETFに情報を記述してください。
Acknowledgement
謝辞
Funding for the RFC Editor function is currently provided by the Internet Society.
RFC Editor機能のための基金は現在、インターネット協会によって提供されます。