RFC4709 日本語訳
4709 Mounting Web Distributed Authoring and Versioning (WebDAV)Servers. J. Reschke. October 2006. (Format: TXT=23672 bytes) (Status: INFORMATIONAL)
プログラムでの自動翻訳です。
英語原文
Network Working Group J. Reschke Request for Comments: 4709 greenbytes Category: Informational October 2006
Reschkeがコメントのために要求するワーキンググループJ.をネットワークでつないでください: 4709greenbytes Category: 情報の2006年10月
Mounting Web Distributed Authoring and Versioning (WebDAV) Servers
上がっているウェブ分配されたオーサリングとVersioning(WebDAV)サーバ
Status of This Memo
このメモの状態
This memo provides information for the Internet community. It does not specify an Internet standard of any kind. Distribution of this memo is unlimited.
このメモはインターネットコミュニティのための情報を提供します。 それはどんな種類のインターネット標準も指定しません。 このメモの分配は無制限です。
Copyright Notice
版権情報
Copyright (C) The Internet Society (2006).
Copyright(C)インターネット協会(2006)。
Abstract
要約
In current Web browsers, there is no uniform way to specify that a user clicking on a link will be presented with an editable view of a Web Distinguished Authoring and Versioning (WebDAV) server. For example, it is frequently desirable to be able to click on a link and have this link open a window that can handle drag-and-drop interaction with the resources of a WebDAV server.
現在のウェブブラウザには、ウェブDistinguished AuthoringとVersioning(WebDAV)サーバの編集可能な意見がリンク先をクリックしているユーザに与えられると指定するどんな一定の方法もありません。例えば、リンク先をクリックして、このリンクにWebDAVサーバに関するリソースとのドラッグ・アンド・ドロップ相互作用を扱うことができる窓を開けさせることができるのは、頻繁に望ましいです。
This document specifies a mechanism and a document format that enables WebDAV servers to send "mounting" information to a WebDAV client. The mechanism is designed to work on any platform and with any combination of browser and WebDAV client, relying solely on the well-understood dispatch of documents through their MIME type.
このドキュメントはWebDAVサーバが「取り付けている」情報をWebDAVクライアントに送るのを可能にするメカニズムとドキュメント・フォーマットを指定します。 メカニズムはどんなプラットホームとブラウザとWebDAVクライアントのどんな組み合わせでも働くように設計されています、唯一それらのMIMEの種類を通したドキュメントのよく理解されている発信に依存して。
Reschke Informational [Page 1] RFC 4709 Mounting WebDAV Servers October 2006
WebDAVサーバ2006年10月に上がるReschkeの情報[1ページ]のRFC4709
Table of Contents
目次
1. Introduction ....................................................2 2. Terminology .....................................................3 3. Format ..........................................................3 3.1. dm:mount ...................................................4 3.2. dm:url .....................................................4 3.3. dm:open ....................................................4 3.4. dm:username ................................................4 4. Example .........................................................4 5. Internationalization Considerations .............................5 6. IANA Considerations .............................................6 6.1. MIME Type Registration .....................................6 7. Security Considerations .........................................8 8. Acknowledgements ................................................8 9. References ......................................................9 9.1. Normative References .......................................9 9.2. Informative References .....................................9 Appendix A. Alternative Approaches ...............................10 A.1. ...Through HTML/CSS Extensions ............................10 A.2. ...Through Custom URI Schemes .............................10 Appendix B. Implementations ......................................10 B.1. Example Implementation for Webfolder Client ...............10 B.2. Xythos ....................................................14
1. 序論…2 2. 用語…3 3. 形式…3 3.1dm: 上がってください…4 3.2dm: url…4 3.3dm: 開いてください…4 3.4dm: ユーザ名…4 4. 例…4 5. 国際化問題…5 6. IANA問題…6 6.1. MIMEの種類登録…6 7. セキュリティ問題…8 8. 承認…8 9. 参照…9 9.1. 標準の参照…9 9.2. 有益な参照…9付録A.代替手段にアプローチします…10 A.1。 ...HTML/CSS拡張子で…10 A.2。 ...習慣上URI体系…10 付録B.実装…10 B.1。 Webfolderクライアントのための例の実装…10 B.2。 Xythos…14
1. Introduction
1. 序論
By definition, a Web Distributed Authoring and Versioning (WebDAV) server ([RFC2518]) is an HTTP server as well ([RFC2616]). Most WebDAV servers can be (at least partly) operated from an HTML-based user interface in a web browser. However, it is frequently desirable to be able to switch from an HTML-based view to a presentation provided by a native WebDAV client, directly supporting the authoring features defined in WebDAV and related specifications.
定義上、ウェブDistributed AuthoringとVersioning(WebDAV)サーバ([RFC2518])はまた、HTTPサーバ([RFC2616])です。 ウェブブラウザでHTMLベースのユーザーインタフェースからほとんどのWebDAVサーバを操作できます(少なくとも一部)。 しかしながら、HTMLベースの視点からネイティブのWebDAVクライアントによって提供されたプレゼンテーションに切り替わることができるのは頻繁に望ましいです、オーサリングがWebDAVで定義された特徴と関連する仕様であると直接サポートして。
This document specifies a platform-neutral mechanism based on the dispatch of documents through their MIME type. For completeness, Appendix A lists other approaches that have been implemented in existing clients.
このドキュメントはそれらのMIMEの種類を通したドキュメントの発信に基づくプラットホーム中立のメカニズムを指定します。 完全性のために、Appendix Aは既存のクライアントで実装された他のアプローチを記載します。
For example, many educational institutions use WebDAV servers as a mechanism for sharing documents among students. Each student owns a separate collection structure on a WebDAV server, often called his/ her "locker". Ideally, when users click on a link in an HTML page provided by the university (perhaps by their university Web portal), an editable view of their locker will appear.
例えば、共有するためのメカニズムが学生の中に記録するように多くの学園がWebDAVサーバを使用します。 各学生は、WebDAVサーバで別々の収集構造を所有して、彼の/をしばしば彼女の「ロッカー」と呼びました。 ユーザが大学(恐らく彼らの大学ウェブ入り口のそばの)によって提供された1HTML形式のページをリンク先をクリックするとき、理想的に、彼らのロッカーの編集可能な視点は現れるでしょう。
Reschke Informational [Page 2] RFC 4709 Mounting WebDAV Servers October 2006
WebDAVサーバ2006年10月に上がるReschkeの情報[2ページ]のRFC4709
2. Terminology
2. 用語
The terminology used here follows that in the WebDAV Distributed Authoring Protocol specification [RFC2518].
ここで使用された用語はWebDAV Distributed Authoringプロトコル仕様[RFC2518]でそれに続きます。
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]で説明されるように本書では解釈されることであるべきですか?
This document uses XML DTD fragments ([XML]) as a purely notational convention. In particular:
このドキュメントは純粋に記号法のコンベンションとしてXML DTD断片([XML])を使用します。 特に:
o Element names use the namespace "http://purl.org/NET/webdav/mount". When an XML element type in this namespace is referenced in this document outside of the context of an XML fragment, the string "dm:" will be prefixed to the element name.
o 要素名は名前空間" http://purl.org/NET/webdav/mount "を使用します。 この名前空間におけるXML要素型が本書では参照をつけられるとき、XML断片の文脈の外部、ストリングは「以下をdmします」。 要素名へ前に置かれるでしょう。
o Element ordering is irrelevant.
o 要素注文は無関係です。
o Extension elements/attributes (elements/attributes not already defined as valid child elements) may be added anywhere, except when explicitly stated otherwise.
o 別の方法で明らかに述べられている時を除いて、拡大要素/属性(既に有効な子供要素と定義されなかった要素/属性)はどこでも加えられるかもしれません。
3. Format
3. 形式
A WebDAV mount request is encoded in a specific XML format ([XML]) with a well-defined MIME type (see Section 6.1). The MIME type allows user agents to dispatch the content to a handler specific to the system's WebDAV client.
WebDAVマウント要求は明確なMIMEの種類で特定のXML形式([XML])でコード化されます(セクション6.1を見てください)。 MIMEの種類で、ユーザエージェントはシステムのWebDAVクライアントにとって、特定の操作者に内容を派遣できます。
The elements defined below use the namespace "http://purl.org/NET/webdav/mount".
要素は使用の下で名前空間" http://purl.org/NET/webdav/mount "を定義しました。
<!ELEMENT mount (url, open?, username?) >
ELEMENTが取り付ける<!(url、戸外?、ユーザ名)? >。
<!ELEMENT url (#PCDATA) > <!-- PCDATA value: scheme ":" hier-part, as defined in Section 3 of [RFC3986] -->
<!ELEMENT url(#PCDATA)><!--PCDATA値: 「計画してください」:、」 [RFC3986]の中で定義されるとしてのhier部分のセクション3-->。
<!ELEMENT open (#PCDATA) > <!-- PCDATA value: path, as defined in Section 3 of [RFC3986] -->
<!のELEMENTの開いている(#PCDATA)><!--PCDATA値: [RFC3986]のセクション3で定義されるような経路、>。
<!ELEMENT username (#PCDATA) >
<!ELEMENTユーザ名(#PCDATA) >。
Reschke Informational [Page 3] RFC 4709 Mounting WebDAV Servers October 2006
WebDAVサーバ2006年10月に上がるReschkeの情報[3ページ]のRFC4709
3.1. dm:mount
3.1. dm: 上がってください。
The <dm:mount> element acts as a container for all the remaining elements defined by this protocol.
<dm: このプロトコルによって定義されたすべての残っている要素のためのコンテナとして>要素条例を取り付けてください。
3.2. dm:url
3.2. dm: url
The mandatory <dm:url> element provides the HTTP URL of the WebDAV collection that should be mounted by the client.
義務的な<dm: url>要素はクライアントによって仕掛けられるべきであるWebDAV収集のHTTP URLを提供します。
3.3. dm:open
3.3. dm: 開いてください。
The optional <dm:open> element instructs the client to display the specified child collection; its URL is computed by concatenating this element's value with the URL obtained from the <dm:url> (Section 3.2) element (see Section 7 for a discussion about why this element only supports displaying collections rather than opening arbitrary documents).
任意の<dm: 開いている>要素は、指定された子供収集を表示するようクライアントに命令します。 URLは<dmからURLを得ていてこの要素の値を連結することによって、計算されます: url>(セクション3.2)要素(この要素が任意のドキュメントを開くよりむしろ収集を表示にサポートするだけである理由についての議論に関してセクション7を見ます)。
3.4. dm:username
3.4. dm: ユーザ名
The server can use the optional <dm:username> element to specify the name of the currently authenticated principal. A client can use this value to select a matching mount point (different users may have mounted the URL with different credentials under different local mount points) or to provide a meaningful default for authentication against the server. It is common that a browser and WebDAV client do not share HTTP connections, so including this information in the mount document increases usability.
サーバは任意の<dmを使用できます: 現在認証された主体の名前を指定するユーザ名>要素。 クライアントは、合っているマウントポイント(異なったユーザは異なったローカルのマウントポイントの下における異なった資格証明書でURLを取り付けたかもしれない)を選択するか、またはサーバに対して認証のための重要なデフォルトを提供するのにこの値を使用できます。ブラウザとWebDAVクライアントがしたがって、マウントにこの情報を含む接続がユーザビリティを増強すると記録するHTTPを共有しないのは、一般的です。
Implementation Note: If a <dm:username> element is present, public caching of the document should be disallowed. Thus, appropriate 'Vary' or 'Cache-Control' headers are needed in the server response.
実装注意: <dm: ユーザ名>要素が存在しているなら、ドキュメントの公共のキャッシュは禁じられるべきです。 したがって、'異なってください'か'キャッシュで制御してください'という適切なヘッダーがサーバ応答で必要です。
4. Example
4. 例
In the example below, the client first retrieves a representation of a WebDAV collection using a generic Web browser (1). The returned HTML content contains a hyperlink that identifies the "davmount" document in the format defined in Section 3 (2). The user follows this link (3), which causes the server to return the "davmount" document to the user's browser (4). The browser in turn passes the content to the application that was registered to handle the "application/davmount+xml" MIME type, usually the default WebDAV client on the client's system.
以下の例では、クライアントは、最初に、ジェネリックウェブブラウザ(1)を使用することでWebDAV収集の表現を検索します。 返されたHTML内容はセクション3(2)で定義された書式で"davmount"ドキュメントを特定するハイパーリンクを含んでいます。 ユーザはこのリンク(3)の後をつけます。(サーバはそれで、"davmount"ドキュメントをユーザのブラウザ(4)に返します)。 ブラウザは順番に登録されたアプリケーションに内容を通過します。クライアントのシステムの上で「アプリケーション/davmount+xml」MIMEの種類、通常デフォルトWebDAVクライアントを扱うために。
Reschke Informational [Page 4] RFC 4709 Mounting WebDAV Servers October 2006
WebDAVサーバ2006年10月に上がるReschkeの情報[4ページ]のRFC4709
(1) Client retrieves representation of WebDAV collection "/user42/ inbox/".
(1) クライアントはWebDAV収集"/user42/ inbox/"の表現を検索します。
GET /user42/inbox/ HTTP/1.1 Host: www.example.com
/user42/inbox/ HTTP/1.1ホストを手に入れてください: www.example.com
(2) Server returns representation.
(2) サーバは表現を返します。
HTTP/1.1 200 OK Content-Type: text/html Content-Length: xxx
HTTP/1.1 200はコンテントタイプを承認します: html Contentテキスト/長さ: xxx
.. <a href="?action=davmount">View this collection in your WebDAV client</a> ..
.. 「<a href=?」 動作がdavmountと等しい、「>View、あなたのWebDAVクライアント</a>でのこの収集、」
(note that the example shows only that part of the HTML page that contains the relevant link)
(例が関連リンクを含むHTML形式のページのその部分だけを示しているというメモ)
(3) Client follows link to "davmount" document
(3) クライアントは"davmount"ドキュメントへのリンクの後をつけます。
GET /user42/inbox/?action=davmount HTTP/1.1 Host: www.example.com
/user42/inbox/を手に入れてください--動作はdavmount HTTP/1.1ホストと等しいです: www.example.com
(4) Server returns "davmount" document
(4) サーバは"davmount"ドキュメントを返します。
HTTP/1.1 200 OK Content-Type: application/davmount+xml Content-Length: xxx Cache-Control: private
HTTP/1.1 200はコンテントタイプを承認します: アプリケーション/davmount+xml Content長さ: xxx Cache-コントロール: 個人的
<dm:mount xmlns:dm="http://purl.org/NET/webdav/mount"> <dm:url>http://www.example.com/user42/</dm:url> <dm:open>inbox/</dm:open> </dm:mount>
<dm: xmlns: dm=を取り付けてください、「 http://purl.org/NET/webdav/mount 、「><dm: url>http://www.example.com/user42/</dm: url><dm: >受信トレイ/</dmを開いてください: ></dmを開いてください: >を取り付けてください」
5. Internationalization Considerations
5. 国際化問題
This document does not introduce any new internationalization considerations beyond those discussed in [RFC2518], Section 16.
このドキュメントは[RFC2518]、セクション16で議論したものを超えてどんな新しい国際化問題も紹介しません。
Reschke Informational [Page 5] RFC 4709 Mounting WebDAV Servers October 2006
WebDAVサーバ2006年10月に上がるReschkeの情報[5ページ]のRFC4709
6. IANA Considerations
6. IANA問題
6.1. MIME Type Registration
6.1. MIMEの種類登録
Type name:
型名:
application
アプリケーション
Subtype name:
Subtypeは以下を命名します。
davmount+xml
davmount+xml
Required parameters:
必要なパラメタ:
none
なし
Optional parameters:
任意のパラメタ:
"charset": This parameter has identical semantics to the charset parameter of the "application/xml" media type as specified in [RFC3023].
"charset": このパラメタは[RFC3023]の指定されるとしての「アプリケーション/xml」メディアタイプのcharsetパラメタに同じ意味論を持っています。
Encoding considerations:
問題をコード化します:
Identical to those of "application/xml" as described in [RFC3023], Section 3.2.
[RFC3023]、セクション3.2で説明される「アプリケーション/xml」のものと同じです。
Security considerations:
セキュリティ問題:
As defined in this specification. In addition, as this media type uses the "+xml" convention, it shares the same security considerations as described in [RFC3023], Section 10.
この仕様に基づき定義されるように。 「このメディアとして、さらに、用途をタイプしてください、」 +は」 コンベンションをxmlして、[RFC3023]で説明されるのと同じセキュリティ問題を共有します、セクション10。
Interoperability considerations:
相互運用性問題:
There are no known interoperability issues.
相互運用性問題は知られていません。
Published specification:
広められた仕様:
This specification.
この仕様。
Applications that use this media type:
このメディアタイプを使用するアプリケーション:
SAP Netweaver Knowledge Management, Xythos Drive.
Netweaverナレッジ・マネジメントを徐々に破壊してください、そして、Xythosは運転します。
Reschke Informational [Page 6] RFC 4709 Mounting WebDAV Servers October 2006
WebDAVサーバ2006年10月に上がるReschkeの情報[6ページ]のRFC4709
Additional information:
追加情報:
Magic number(s):
マジックナンバー(s):
As specified for "application/xml" in [RFC3023], Section 3.2.
[RFC3023]の「アプリケーション/xml」に指定されるように、セクション3.2です。
File extension(s):
ファイル拡張子(s):
.davmount
.davmount
Fragment identifiers:
部分識別子:
As specified for "application/xml" in [RFC3023], Section 5.
[RFC3023]の「アプリケーション/xml」に指定されるように、セクション5です。
Base URI:
URIを基礎づけてください:
As specified in [RFC3023], Section 6.
[RFC3023]で指定されるように、セクション6です。
Macintosh file type code(s):
マッキントッシュファイルタイプは(s)をコード化します:
TEXT
テキスト
Person & email address to contact for further information:
詳細のために連絡する人とEメールアドレス:
Julian Reschke <julian.reschke@greenbytes.de>
ジュリアン Reschke <julian.reschke@greenbytes.de 、gt。
Intended usage:
意図している用法:
COMMON
一般的
Restrictions on usage:
用法における制限:
None.
なし。
Author:
以下を書いてください。
Julian Reschke
ジュリアンReschke
Change controller:
コントローラを変えてください:
IESG
IESG
Reschke Informational [Page 7] RFC 4709 Mounting WebDAV Servers October 2006
WebDAVサーバ2006年10月に上がるReschkeの情報[7ページ]のRFC4709
7. Security Considerations
7. セキュリティ問題
All security considerations connected to HTTP/WebDAV and XML apply for this specification as well, namely, [RFC2518] (Section 17) and [RFC3470] (Section 7).
すなわち、HTTP/WebDAVとXMLに接続されたすべてのセキュリティ問題がまた、この仕様のために、[RFC2518](セクション17)と[RFC3470](セクション7)を当てはまります。
In addition, client implementers must be careful when implementing the <dm:open> element (see Section 3.3). It MUST NOT be used to initiate any action beyond displaying the contents of a WebDAV collection (supporting "opening" documents could be abused to trick a user into letting the operating system's shell execute arbitrary content, possibly running it as an executable program).
<がdmであると実装するとき、さらに、クライアントimplementersは慎重でなければなりません: 開いている>要素(セクション3.3を見ます)。 WebDAV収集のコンテンツを表示することを超えてどんな動作も開始するのにそれを使用してはいけません(ユーザがオペレーティングシステムのシェルに任意の内容を実行させるようにだますために「開いている」ドキュメントを支えるのを乱用できました、ことによると実行可能プログラムとしてそれを実行して)。
The OPTIONAL <dm:username> element defined in Section 3.4 allows the inclusion of user names into mount documents. However in some cases, user name information is considered to be security sensitive. Should this be the case, parties generating mount documents are advised to either not to include user names, or to use access control to restrict access to the information as desired.
OPTIONAL<dm: セクション3.4で定義されたユーザ名>要素はユーザ名の包含をマウントドキュメントに許容します。 しかしながら、いくつかの場合、ユーザ名前情報がセキュリティ敏感であると考えられます。 これがそうであるなら、マウントドキュメントを作るパーティーは、ユーザ名を含んでいないか、または望まれているようにアクセスを情報に制限するのにアクセスコントロールを使用するようにどちらかにアドバイスされます。
8. Acknowledgements
8. 承認
This document has benefited from thoughtful discussion by Emile Baizel, Spencer Dawkins, Lisa Dusseault, Stefan Eissing, Joe Gregorio, Michal Gregr, Russ Housley, Jim Luther, Jaroslav Mazanec, and Jim Whitehead.
このドキュメントはエイミールBaizel、スペンサー・ダウキンズ、リサDusseault、ステファンEissing、ジョー・グレゴリオ、ミハル・グレーグル、ラスHousley、ジム・ルター、ヤロスラフMazanec、およびジム・ホワイトヘッドによる思慮に富む議論の利益を得ました。
Reschke Informational [Page 8] RFC 4709 Mounting WebDAV Servers October 2006
WebDAVサーバ2006年10月に上がるReschkeの情報[8ページ]のRFC4709
9. References
9. 参照
9.1. Normative References
9.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月。
[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.バーナーズ・リー、「HTTP/1.1インチ、RFC2616、1999年ハイパーテキスト転送プロトコル--6月。」
[RFC3023] Murata, M., St.Laurent, S., and D. Kohn, "XML Media Types", RFC 3023, January 2001.
[RFC3023] ムラタとM.と聖ローラン、S.とD.コーン、「XMLメディアタイプ」、RFC3023、2001年1月。
[RFC3986] Berners-Lee, T., Fielding, R., and L. Masinter, "Uniform Resource Identifier (URI): Generic Syntax", STD 66, RFC 3986, January 2005.
[RFC3986] バーナーズ・リー、T.、フィールディング、R.、およびL.Masinter、「Uniform Resource Identifier(URI):」 「ジェネリック構文」、STD66、RFC3986、2005年1月。
[XML] Bray, T., Paoli, J., Sperberg-McQueen, C., Maler, E., and F. Yergeau, "Extensible Markup Language (XML) 1.0 (Fourth Edition)", W3C REC-xml-20060816, August 2006, <http://www.w3.org/TR/2006/REC-xml-20060816>.
T.、パオリ、J.、Sperberg-マックィーン、C.、Maler、E.、およびF.Yergeau、「拡張マークアップ言語(XML)1.0(第4版)」を[XML]は、いななかせます、W3C REC-xml-20060816、2006年8月、<http://www.w3.org/TR/2006/REC-xml-20060816>。
9.2. Informative References
9.2. 有益な参照
[RFC3470] Hollenbeck, S., Rose, M., and L. Masinter, "Guidelines for the Use of Extensible Markup Language (XML) within IETF Protocols", RFC 3470, BCP 70, January 2003.
[RFC3470] Hollenbeck、S.、ローズ、M.、およびL.Masinter、「IETFプロトコルの中の拡張マークアップ言語(XML)の使用のためのガイドライン」、RFC3470、BCP70(2003年1月)。
[WEBARCH] Walsh, N. and I. Jacobs, "Architecture of the World Wide Web, Volume One", W3C REC-webarch-20041215, December 2004, <http://www.w3.org/TR/2004/REC-webarch-20041215/>.
[WEBARCH]ウォルシュ、N.とI.ジェイコブズ、「World Wide Web、第1巻のアーキテクチャ」W3C REC-webarch-20041215、2004年12月、<http://www.w3.org/TR/2004/REC-webarch-20041215/>。
Reschke Informational [Page 9] RFC 4709 Mounting WebDAV Servers October 2006
WebDAVサーバ2006年10月に上がるReschkeの情報[9ページ]のRFC4709
Appendix A. Alternative Approaches
付録A.代替的アプローチ
A.1. ...Through HTML/CSS Extensions
A.1。 ...HTML/CSS拡張子で
Microsoft Internet Explorer implements a Cascading Style Sheet (CSS) extension that allows switching to its own WebDAV client ("Webfolder", see <http://msdn.microsoft.com/workshop/author/ behaviors/reference/behaviors/anchor.asp>). However, at the time of this writing, this extension was not implemented by any other user agent.
Microsoft Internet Explorerは、Cascadingがそれ自身のWebDAVクライアントに切り替わるのを許容するスタイルシート(CSS)拡大であると実装します("Webfolder"、<http://msdn.microsoft.com/ワークショップ/作者/振舞い/参照/振舞い/anchor.asp>を見てください)。 しかしながら、この書くこと時点で、この拡大はいかなる他のユーザエージェントによっても実装されませんでした。
A.2. ...Through Custom URI Schemes
A.2。 ...習慣上URI体系
The "kio" library of the "K Desktop Enviroment" (<http://www.kde.org/>) uses the URI scheme "webdav" to dispatch to the system's WebDAV client. This URI scheme is not registered, nor is it supported on other platforms. Furthermore, the W3C's "Architecture of the World Wide Web, Volume One" explicitly advises against defining new schemes when existing schemes can be used:
「KデスクトップEnviroment」(<http://www.kde.org/>)の"kio"ライブラリは、システムのWebDAVクライアントに急ぐのにURI体系"webdav"を使用します。 このURI体系は登録されていません、そして、それは他のプラットホームでサポートされません。その上、W3C's「WWWのアーキテクチャ、第1巻」に既存の体系を使用できるとき新しい体系を定義しないように明らかにアドバイスします:
A specification SHOULD reuse an existing URI scheme (rather than create a new one) when it provides the desired properties of identifiers and their relation to resources.
A仕様SHOULDが既存のURI体系を再利用する、(むしろ、新しいもの) それがいつ識別子の必要な資産を提供するか、そして、リソースとの彼らの関係を作成するより。
(See [WEBARCH], Section 2.4.)
([WEBARCH]、セクション2.4を見てください。)
Appendix B. Implementations
付録B.実装
B.1. Example Implementation for Webfolder Client
B.1。 Webfolderクライアントのための例の実装
The figure below shows a sample implementation of a dispatcher for the application/davmount+xml datatype, suited for Win32 systems and the Microsoft "Webfolder" client.
以下の図はWin32システムに合うアプリケーション/davmount+xmlデータ型式とマイクロソフトの"Webfolder"クライアントのために発送者のサンプル実装を示しています。
// sample implementation of application/davmount+xml // dispatcher for Windows Webfolder client // // to install/uninstall: // wscript davmount.js // // to open the webfolder: // wscript davmount.js filename // (where filename refers to an XML document with MIME type // application/davmount+xml)
Windows Webfolderクライアント////がインストールするか、またはアンインストールするアプリケーション/davmount+xml//発送者の//サンプル実装: webfolderを開く// wscript davmount.js // //: //wscript davmount.jsファイル名//(ファイル名がMIMEの種類// application/davmount+xmlと共にXMLドキュメントを呼ぶところ)
var EXTENSION = ".davmount"; var MIMETYPE = "application/davmount+xml"; var REGKW = "WebDAV.mount";
var EXTENSIONは".davmount"と等しいです。 var MIMETYPEは「アプリケーション/davmount+xml」と等しいです。 var REGKWは"WebDAV.mount"と等しいです。
Reschke Informational [Page 10] RFC 4709 Mounting WebDAV Servers October 2006
WebDAVサーバ2006年10月に上がるReschkeの情報[10ページ]のRFC4709
var NS = "xmlns:m='http://purl.org/NET/webdav/mount";
var NS=「xmlns: m=' http://purl.org/NET/webdav/mount 」'。
// remove keys/entries from the registry
//は登録からキー/エントリーを取り除きます。
function regdel(shell, key) { try { var x = shell.RegRead(key); try { shell.RegDelete(key); } catch(e) { WScript.Echo("Error removing key " + key + ": " + e); } } catch(e) { // entry not present } }
機能regdel(シェル、キー)「トライ、var xはshell.RegRead(主要な)と等しいです; 試みてください、shell.RegDelete(主要な);、(e)を捕らえてください、WScript.Echo、(「誤りの取り外しは」 + キー+を合わせる」:、「+ e);、(e) 現在でない//エントリーを捕らえてください、」
// methods for registering/unregistering the handler
操作者を登録するか、または非登録するための//メソッド
function install() {
機能インストール()
var WshShell = new ActiveXObject("WScript.Shell"); if (WshShell == null) { WScript.Echo("Couldn't instantiate WScript.Shell object"); return 2; }
var WshShellは新しいActiveXObject("WScript.Shell")と等しいです。 (WshShell=ヌル)WScript.Echo(「WScript.Shellオブジェクトを例示できなかった」)(リターン2)
var fso = new ActiveXObject("Scripting.FileSystemObject");
var fsoは新しいActiveXObjectと等しいです("Scripting.FileSystemObject")。
var RegExt = "HKCR\\" + EXTENSION + "\\"; var RegMimeType = "HKCR\\MIME\\DataBase\\Content Type\\" + MIMETYPE + "\\"; var RegKw = "HKCR\\" + REGKW + "\\";
「var RegExt=「HKCR\\」+拡大+」\\、」、。 「var RegMimeTypeは「」 + HKCR\\MIME\\データベース\\content type\\MIMETYPE+」\\と等しいです」。 「var RegKwは「」 + HKCR\\REGKW+」\\と等しいです」。
var extension = null; try { extension = WshShell.RegRead(RegMimeType + "Extension"); } catch (e) { }
var拡張子はヌルと等しいです。 トライ、拡大=WshShell.RegRead(RegMimeType+「拡大」);、(e)を捕らえてください。{ }
if (extension == null) { var but = WshShell.popup("Install the dispatcher for mime type " + MIMETYPE + "?", 0, MIMETYPE + " installation", 4);
(拡大=ヌル)である、varにもかかわらず、=WshShell.popup(+ 「パントマイムタイプのための発送者をインストールしてください」MIMETYPE+“?"、0、MIMETYPE+「インストール」、4)。
Reschke Informational [Page 11] RFC 4709 Mounting WebDAV Servers October 2006
WebDAVサーバ2006年10月に上がるReschkeの情報[11ページ]のRFC4709
if (but == 6) { try { WshShell.RegWrite(RegExt, REGKW); WshShell.RegWrite(RegExt + "Content Type", MIMETYPE); WshShell.RegWrite(RegMimeType + "Extension", EXTENSION); WshShell.RegWrite(RegKw, "WebDAV Mount Request"); WshShell.RegWrite(RegKw + "DefaultIcon\\", "shell32.dll,103"); var path = fso.getAbsolutePathName("davmount.js"); WshShell.RegWrite(RegKw + "shell\\open\\command\\", "%SystemRoot%\\system32\\wscript.exe /nologo \"" + path + "\" \"%1\"", "REG_EXPAND_SZ"); } catch (e) { WScript.Echo("Error writing to registry"); return 1; }
しかし..試みる..content type..拡大..取り付ける..要求..経路..砲弾を浴びせる..開く..コマンド..経路..レッジ..広げる..捕らえるWScript.Echo(「登録への誤り書くこと」)(リターン1)
return 0; } else { return 1; } } else { var but = WshShell.popup("Remove the dispatcher for mime type " + MIMETYPE + "?", 0, MIMETYPE + " installation", 4);
リターン0。 ほか、リターン1。 } ほか、varにもかかわらず、=WshShell.popup(+ 「パントマイムタイプのための発送者を免職してください」MIMETYPE+“?"、0、MIMETYPE+「インストール」、4)。
if (but == 6) { regdel(WshShell, RegExt + "Content Type"); regdel(WshShell, RegExt); regdel(WshShell, RegKw + "shell\\open\\command\\"); regdel(WshShell, RegKw + "DefaultIcon\\"); regdel(WshShell, RegKw); regdel(WshShell, RegMimeType + "Extension"); regdel(WshShell, RegMimeType); return 0; } else { return 1; } } }
(=6だけ)がほかに、(WshShell、RegExt+「content type」); regdel(WshShell、RegExt); regdel(WshShell、RegKw+は「\開いている\\コマンド\\\に砲弾を浴びせる」); regdel(WshShell、RegKw+「DefaultIcon\\」); regdel(WshShell、RegKw); regdel(WshShell、RegMimeType+「拡大」); regdel(WshShell、RegMimeType)(リターン0)をregdelする、リターン1。 }
if (WScript.Arguments.length == 0) { // install/uninstall WScript.Quit(install());
(WScript.Arguments.length=0)である、// install/uninstall WScript.Quit、(())をインストールしてください。
Reschke Informational [Page 12] RFC 4709 Mounting WebDAV Servers October 2006
WebDAVサーバ2006年10月に上がるReschkeの情報[12ページ]のRFC4709
} else { // try to invoke Webfolder
ほか、Webfolderを呼び出す//トライ
var inp = new ActiveXObject("MSXML2.DOMDocument"); var furi = encodeURI(WScript.Arguments(0)); if (! inp.load(furi)) { WScript.Echo("Can't read from '" + WScript.Arguments(0) + "'!"); WScript.Quit(2); }
var inpは新しいActiveXObjectと等しいです("MSXML2.DOMDocument")。 var furiがencodeURIと等しい、(WScript.Arguments(0))。 (inp.load(furi))です。WScript.Echo、(「読むことができない'、「+ WScript.Arguments(0)+、「」、)、; WScript.Quit(2);、'、」
inp.setProperty("SelectionLanguage", "XPath"); inp.setProperty("SelectionNamespaces", "xmlns:m='http://purl.org/NET/webdav/mount'");
inp.setProperty("SelectionLanguage"、"XPath")。 inp.setProperty(「SelectionNamespaces」、「xmlns: m=' http://purl.org/NET/webdav/mount '」)。
var n1 = inp.selectSingleNode("/m:mount/m:url"); var n2 = inp.selectSingleNode("/m:mount/m:open");
var n1はinp.selectSingleNode(「/m: マウント/m: url」)と等しいです。 var n2はinp.selectSingleNodeと等しいです(「/m: マウント/m: 開いてください」)。
if (n1 == null) { WScript.Echo("<url> element missing."); WScript.Quit(2); }
(n1=ヌル)WScript.Echo(「<url>要素の取り逃がす」)(WScript.Quit(2))
var ie = new ActiveXObject("InternetExplorer.Application");
var ieは新しいActiveXObjectと等しいです("InternetExplorer.Application")。
ie.Navigate("about:blank"); var doc = ie.Document;
ie.Navigate(「: およそ空白」)。 var docはie.Documentと等しいです。
var folder = doc.createElement("span"); folder.addBehavior("#default#httpFolder");
varフォルダーはdoc.createElementと等しいです(「わたってください」)。 folder.addBehavior(「#デフォルト#httpFolder」)。
var result = folder.navigate(n1.text + (n2 == null ? "" : n2.text));
var結果がfolder.navigateと等しい、(n1.text+、(n2=ヌル?、「「:、n2.text)、;、」
// close the window again when there was no <open> element if (n2 == null) ie.Quit();
どんな<の開いている>要素も(n2=ヌル)ie.Quit()であるならなかったとき、//は再び窓を閉じます。
if (result != "OK") { if (result == "PROTOCOL_NOT_SUPPORTED") { WScript.Echo("This site doesn't seem to support WebDAV."); WScript.Quit(1); } else { WScript.Echo("Unexpected status: " + result); WScript.Quit(2); } }
なってください!(= 「OK」)ほかの(結果=「どんな_もサポートしなかったプロトコル_」)WScript.Echo(「このサイトはWebDAVをサポートするように思えません」。)(WScript.Quit(1))である、WScript.Echo(「予期していなかった状態:」 + 結果)(WScript.Quit(2))
Reschke Informational [Page 13] RFC 4709 Mounting WebDAV Servers October 2006
WebDAVサーバ2006年10月に上がるReschkeの情報[13ページ]のRFC4709
}
}
B.2. Xythos
B.2。 Xythos
The "Xythos Drive" WebDAV client for WebDAV supports this specification starting with version 4.4.
WebDAVのための「Xythosドライブ」WebDAVクライアントはバージョン4.4から始まるこの仕様をサポートします。
Author's Address
作者のアドレス
Julian F. Reschke greenbytes GmbH Hafenweg 16 Muenster, NW 48155 Germany
ジュリアンF.Reschke greenbytes GmbH Hafenweg16Muenster、NW48155ドイツ
Phone: +49 251 2807760 Fax: +49 251 2807761 EMail: julian.reschke@greenbytes.de URI: http://greenbytes.de/tech/webdav/
以下に電話をしてください。 +49 251 2807760Fax: +49 251 2807761 メール: julian.reschke@greenbytes.de ユリ: http://greenbytes.de/tech/webdav/
Reschke Informational [Page 14] RFC 4709 Mounting WebDAV Servers October 2006
WebDAVサーバ2006年10月に上がるReschkeの情報[14ページ]のRFC4709
Full Copyright Statement
完全な著作権宣言文
Copyright (C) The Internet Society (2006).
Copyright(C)インターネット協会(2006)。
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.
このドキュメントはBCP78に含まれた権利、ライセンス、および制限を受けることがあります、そして、そこに詳しく説明されるのを除いて、作者は彼らのすべての権利を保有します。
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.
このドキュメントと「そのままで」という基礎と貢献者、その人が代表する組織で提供するか、または後援されて、インターネット協会とインターネット・エンジニアリング・タスク・フォースはすべての保証を放棄します、と急行ORが含意したということであり、他を含んでいて、ここに含まれて、情報の使用がここに侵害しないどんな保証も少しもまっすぐになるという情報か市場性か特定目的への適合性のどんな黙示的な保証。
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はどんなIntellectual Property Rightsの正当性か範囲、実装に関係すると主張されるかもしれない他の権利、本書では説明された技術の使用またはそのような権利の下におけるどんなライセンスも利用可能であるかもしれない、または利用可能でないかもしれない範囲に関しても立場を全く取りません。 または、それはそれを表しません。どんなそのような権利も特定するどんな独立している取り組みも作りました。 BCP78とBCP79でRFCドキュメントの権利に関する手順に関する情報を見つけることができます。
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倉庫からこの仕様のimplementersかユーザによるそのような所有権の使用のために許可を得ることができます。
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 provided by the IETF Administrative Support Activity (IASA).
RFC Editor機能のための基金はIETF Administrative Support Activity(IASA)によって提供されます。
Reschke Informational [Page 15]
Reschke情報です。[15ページ]
一覧
スポンサーリンク