Internet Engineering Task Force (IETF) A. Bryan Request for Comments: 5854 T. Tsujikawa Category: Standards Track N. McNab ISSN: 2070-1721 P. Poeml MirrorBrain June 2010
The Metalink Download Description Format
Abstract
抽象
This document specifies Metalink, an XML-based download description format. Metalink describes download locations (mirrors), cryptographic hashes, and other information. Clients can transparently use this information to reliably transfer files.
この文書は、メタリンク、XMLベースのダウンロードの記述形式を指定します。メタリンクは、ダウンロード場所(ミラー)、暗号化ハッシュ、およびその他の情報について説明します。クライアントは、透過的に確実にファイルを転送するために、この情報を使用することができます。
Status of This Memo
このメモのステータス
This is an Internet Standards Track document.
これは、インターネット標準化過程文書です。
This document is a product of the Internet Engineering Task Force (IETF). It represents the consensus of the IETF community. It has received public review and has been approved for publication by the Internet Engineering Steering Group (IESG). Further information on Internet Standards is available in Section 2 of RFC 5741.
このドキュメントはインターネットエンジニアリングタスクフォース(IETF)の製品です。これは、IETFコミュニティの総意を表しています。これは、公開レビューを受けており、インターネットエンジニアリング運営グループ(IESG)によって公表のために承認されています。インターネット標準の詳細については、RFC 5741のセクション2で利用可能です。
Information about the current status of this document, any errata, and how to provide feedback on it may be obtained at http://www.rfc-editor.org/info/rfc5854.
このドキュメントの現在の状態、任意の正誤表、そしてどのようにフィードバックを提供するための情報がhttp://www.rfc-editor.org/info/rfc5854で取得することができます。
Copyright Notice
著作権表示
Copyright (c) 2010 IETF Trust and the persons identified as the document authors. All rights reserved.
著作権(C)2010 IETF信託とドキュメントの作成者として特定の人物。全著作権所有。
This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (http://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Simplified BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified BSD License.
この文書では、BCP 78と、この文書の発行日に有効なIETFドキュメント(http://trustee.ietf.org/license-info)に関連IETFトラストの法律の規定に従うものとします。彼らは、この文書に関してあなたの権利と制限を説明するように、慎重にこれらの文書を確認してください。コードコンポーネントは、トラスト法規定のセクションで説明4.eおよび簡体BSDライセンスで説明したように、保証なしで提供されているよう簡体BSDライセンスのテキストを含める必要があり、この文書から抽出されました。
Table of Contents
目次
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.1. Examples . . . . . . . . . . . . . . . . . . . . . . . . . 4 1.2. Namespace and Version . . . . . . . . . . . . . . . . . . 5 1.3. Notational Conventions . . . . . . . . . . . . . . . . . . 5 2. Metalink Documents . . . . . . . . . . . . . . . . . . . . . . 6 3. Common Metalink Constructs . . . . . . . . . . . . . . . . . . 7 3.1. Text Constructs . . . . . . . . . . . . . . . . . . . . . 7 3.2. Date Constructs . . . . . . . . . . . . . . . . . . . . . 8 4. Metalink Element Definitions . . . . . . . . . . . . . . . . . 8 4.1. Container Elements . . . . . . . . . . . . . . . . . . . . 8 4.1.1. The "metalink:metalink" Element . . . . . . . . . . . 8 4.1.2. The "metalink:file" Element . . . . . . . . . . . . . 9 4.1.3. The "metalink:pieces" Element . . . . . . . . . . . . 12 4.2. Metadata Elements . . . . . . . . . . . . . . . . . . . . 12 4.2.1. The "metalink:copyright" Element . . . . . . . . . . . 12 4.2.2. The "metalink:description" Element . . . . . . . . . . 13 4.2.3. The "metalink:generator" Element . . . . . . . . . . . 13 4.2.4. The "metalink:hash" Element . . . . . . . . . . . . . 14 4.2.5. The "metalink:identity" Element . . . . . . . . . . . 15 4.2.6. The "metalink:language" Element . . . . . . . . . . . 15 4.2.7. The "metalink:logo" Element . . . . . . . . . . . . . 16 4.2.8. The "metalink:metaurl" Element . . . . . . . . . . . . 16 4.2.9. The "metalink:origin" Element . . . . . . . . . . . . 18 4.2.10. The "metalink:os" Element . . . . . . . . . . . . . . 18 4.2.11. The "metalink:published" Element . . . . . . . . . . . 18 4.2.12. The "metalink:publisher" Element . . . . . . . . . . . 18 4.2.13. The "metalink:signature" Element . . . . . . . . . . . 19 4.2.14. The "metalink:size" Element . . . . . . . . . . . . . 20 4.2.15. The "metalink:updated" Element . . . . . . . . . . . . 20 4.2.16. The "metalink:url" Element . . . . . . . . . . . . . . 20 4.2.17. The "metalink:version" Element . . . . . . . . . . . . 21 5. Extending Metalink . . . . . . . . . . . . . . . . . . . . . . 21 5.1. Extensions from Non-Metalink Vocabularies . . . . . . . . 21 5.2. Extensions to the Metalink Vocabulary . . . . . . . . . . 21 5.3. Processing Foreign Markup . . . . . . . . . . . . . . . . 22 5.4. Extension Elements . . . . . . . . . . . . . . . . . . . . 22 5.4.1. Simple Extension Elements . . . . . . . . . . . . . . 22 5.4.2. Structured Extension Elements . . . . . . . . . . . . 23 6. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 23 6.1. XML Namespace Registration . . . . . . . . . . . . . . . . 23 6.2. application/metalink4+xml MIME type . . . . . . . . . . . 23 7. Security Considerations . . . . . . . . . . . . . . . . . . . 24 7.1. Digital Signatures . . . . . . . . . . . . . . . . . . . . 25 7.2. URIs and IRIs . . . . . . . . . . . . . . . . . . . . . . 26 7.3. Spoofing . . . . . . . . . . . . . . . . . . . . . . . . . 26 7.4. Cryptographic Hashes . . . . . . . . . . . . . . . . . . . 26
8. References . . . . . . . . . . . . . . . . . . . . . . . . . . 27 8.1. Normative References . . . . . . . . . . . . . . . . . . . 27 8.2. Informative References . . . . . . . . . . . . . . . . . . 28 Appendix A. Acknowledgements and Contributors . . . . . . . . . . 30 Appendix B. RELAX NG Compact Schema . . . . . . . . . . . . . . . 31 Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Metalink is a document format based on Extensible Markup Language (XML) that describes a file or list of files to be downloaded from a server. Metalinks can list a number of files, each with an extensible set of attached metadata. Each listed file can have a description, multiple cryptographic hashes, and a list of Uniform Resource Identifiers (URIs) from which it is available.
メタリンクは、サーバからダウンロードするファイルまたはファイルのリストを説明するExtensible Markup Language(XML)に基づいて、文書形式です。メタリンクは、添付のメタデータの拡張可能なセットで、それぞれのファイルの数を一覧表示することができます。各リストされたファイルには、説明、複数の暗号化ハッシュ、およびそれが利用可能であるから、URI(Uniform Resource Identifier)のリストを持つことができます。
Often, identical copies of a file are accessible in multiple locations on the Internet over a variety of protocols, such as File Transfer Protocol (FTP), Hypertext Transfer Protocol (HTTP), and Peer-to-Peer (P2P). In some cases, users are shown a list of these multiple download locations (mirror servers) and must manually select one based on geographical location, priority, or bandwidth. This is done to distribute the load across multiple servers, and to give human users the opportunity to choose a download location that they expect to work best for them.
多くの場合、ファイルの同一のコピーは、そのようなファイル転送プロトコル(FTP)、ハイパーテキスト転送プロトコル(HTTP)、ピアツーピア(P2P)などのプロトコル、さまざまな上、インターネット上の複数の場所にアクセスできます。いくつかのケースでは、ユーザーがこれらの複数のダウンロード場所(ミラーサーバ)のリストを示している、手動で地理的位置、優先順位、または帯域幅に基づいていずれかを選択しなければなりません。これは、複数のサーバー間で負荷を分散するために、人間のユーザーに、彼らは彼らのために最善を動作することを期待ダウンロード場所を選択する機会を与えるために行われます。
At times, individual servers can be slow, outdated, or unreachable, but this cannot be determined until the download has been initiated. This can lead to the user canceling the download and needing to restart it. During downloads, errors in transmission can corrupt the file. There are no easy ways to repair these files. For large downloads, this can be especially troublesome. Any of the number of problems that can occur during a download lead to frustration on the part of users, and bandwidth wasted with retransmission.
時には、個々のサーバは、遅い時代遅れ、または到達不能であることができるが、ダウンロードが開始されるまでこれを決定することができません。これは、ダウンロードをキャンセルして再起動する必要がユーザーにつながることができます。ダウンロード時には、ファイルが破損する可能性があり、伝送中のエラー。これらのファイルを修復する簡単な方法はありません。大規模なダウンロードについては、これは特に面倒なことができます。再送信を無駄にユーザーの一部にフラストレーションにダウンロードリード中に発生する可能性がある問題の数、および帯域幅のいずれか。
Knowledge about availability of a download on mirror servers can be acquired and maintained by the operators of the origin server or by a third party. This knowledge, together with cryptographic hashes, digital signatures, and more, can be stored in a machine-readable Metalink file. The Metalink file can transfer this knowledge to the user agent, which can peruse it in automatic ways or present the information to a human user. User agents can fall back to alternate mirrors if the current one has an issue. Thereby, clients are enabled to work their way to a successful download under adverse circumstances. All this can be done transparently to the human user and the download is much more reliable and efficient. In contrast, a traditional HTTP redirect to one mirror conveys only comparatively minimal information -- a referral to a single server, and there is no provision in the HTTP protocol to handle failures.
ミラーサーバー上のダウンロードの利用可能性についての知識を取得し、オリジンサーバのオペレータによって、または第三者によって維持することができます。この知識は、一緒に暗号ハッシュ、デジタル署名、および複数と、機械可読メタリンクファイルに格納することができます。メタリンクファイルは、自動方法でそれを閲覧または人間のユーザに情報を提示することができるユーザエージェント、この知識を転送することができます。現在の問題を持っている場合、ユーザーエージェントは、別のミラーにフォールバックすることができます。これにより、クライアントは不利な状況下でのダウンロードが成功への道を動作するように有効になっています。このすべてが人間のユーザに対して透過的に行うことができ、ダウンロードがはるかに信頼性が高く、効率的です。対照的に、伝統的なHTTPは一つのミラーにリダイレクトのみ比較的最小限の情報を伝える - 単一サーバへの参照を、そして障害を処理するためのHTTPプロトコルにおける規定はありません。
Other features that some clients provide include multi-source downloads, where chunks of a file are downloaded from multiple mirrors (and optionally, Peer-to-Peer) simultaneously, which frequently results in a faster download. Metalinks can leverage HTTP, FTP, and Peer-to-Peer protocols together, because regardless of the protocol over which the Metalink was obtained, it can make a resource accessible through other protocols. If the Metalink was obtained from a trusted source, included verification metadata can solve trust issues when downloading files from replica servers operated by third parties. Metalinks also provide structured information about downloads that can be indexed by search engines.
一部のクライアントが提供するその他の機能は、頻繁に高速ダウンロードになり、同時にファイルのチャンクが複数のミラーからダウンロードされたマルチソースのダウンロード、(必要に応じてと、ピア・ツー・ピア)を含みます。かかわらず、メタリンクを得た上でプロトコルの、それは他のプロトコルを介したリソースにアクセスすることができますので、メタリンクは、HTTP、FTP、およびピアツーピアプロトコルを一緒に活用することができます。メタリンクは、信頼できるソースから入手した場合は、第三者が運営するレプリカサーバからファイルをダウンロードする際の検証メタデータは信頼の問題を解決することができます含まれていました。メタリンクは、検索エンジンでインデックス化することができますダウンロードに関する構造化された情報を提供しています。
A brief, Metalink Document that describes a single file:
単一のファイルを記述する簡単な、Metalinkのドキュメント:
<?xml version="1.0" encoding="UTF-8"?> <metalink xmlns="urn:ietf:params:xml:ns:metalink"> <file name="example.ext"> <size>14471447</size> <url>ftp://ftp.example.com/example.ext</url> <url>http://example.com/example.ext</url> <metaurl mediatype="torrent"> http://example.com/example.ext.torrent</metaurl> </file> </metalink>
<?xml version = "1.0" エンコード= "UTF-8"?> <メタリンクのxmlns = "壷:IETF:のparams:XML:NS:メタリンク"> <ファイル名= "example.ext"> <サイズ> 14471447 < /サイズ> <URL> ftp://ftp.example.com/example.ext </ URL> <URL> http://example.com/example.ext </ URL> <metaurl MEDIATYPE = "急流"> HTTP ://example.com/example.ext.torrent </ metaurl> </ファイル> </メタリンク>
A more extensive Metalink Document that describes two files:
2つのファイルを記述し、より広範なメタリンクドキュメント:
<?xml version="1.0" encoding="UTF-8"?> <metalink xmlns="urn:ietf:params:xml:ns:metalink"> <published>2009-05-15T12:23:23Z</published> <file name="example.ext"> <size>14471447</size> <identity>Example</identity> <version>1.0</version> <language>en</language> <description> A description of the example file for download. </description> <hash type="sha-256">f0ad929cd259957e160ea442eb80986b5f01...</hash> <url location="de" priority="1">ftp://ftp.example.com/example.ext</url>
<?xml version = "1.0" エンコード= "UTF-8"?> <メタリンクのxmlns = "壷:IETF:のparams:XML:NS:メタリンク"> <公表> 2009-05-15T12:23:23Z </公表> <ファイル名= "example.ext"> <サイズ> 14471447 </サイズ> <アイデンティティ>例</アイデンティティ> <バージョン> 1.0 </ version>の<言語>専用</言語> <説明>の説明ダウンロード用のサンプルファイル。 </記述> <ハッシュタイプ= "SHA-256"> f0ad929cd259957e160ea442eb80986b5f01 ... </ハッシュ> <URL場所= "脱" 優先度= "1"> ftp://ftp.example.com/example.ext </ URL>
<url location="fr" priority="1">http://example.com/example.ext</url> <metaurl mediatype="torrent" priority="2">http://example.com/example.ext.torrent</metaurl> </file> <file name="example2.ext"> <size>14471447</size> <identity>Example2</identity> <version>1.0</version> <language>en</language> <description> Another description for a second file. </description> <hash type="sha-256">2f548ce50c459a0270e85a7d63b2383c5523...</hash> <url location="de" priority="1">ftp://ftp.example.com/example2.ext</url> <url location="fr" priority="1">http://example.com/example2.ext</url> <metaurl mediatype="torrent" priority="2">http://example.com/example2.ext.torrent</metaurl> </file> </metalink>
<URLの場所= "FR" 優先順位= "1"> http://example.com/example.ext </ URL> <metaurl MEDIATYPE = "トレント" 優先度= "2"> http://example.com/example .ext.torrent </ metaurl> </ファイル> <ファイル名= "example2.ext"> <サイズ> 14471447 </サイズ> <アイデンティティ>例2 </アイデンティティ> <バージョン> 1.0 </ version>の<言語>エン</言語> <説明>第二のファイルの別の記述。 </記述> <ハッシュタイプ= "SHA-256"> 2f548ce50c459a0270e85a7d63b2383c5523 ... </ハッシュ> <URL場所= "脱" 優先度= "1"> ftp://ftp.example.com/example2.ext </ URL> <URLロケーション= "FR" 優先順位= "1"> http://example.com/example2.ext </ URL> <metaurl MEDIATYPE = "トレント" 優先度= "2"> http://example.com /example2.ext.torrent </ metaurl> </ファイル> </メタリンク>
The XML Namespaces URI [REC-xml-names] for the XML data format described in this specification is:
XML名前空間URI [REC-XML-NAMES]本明細書に記述されたXMLデータ・フォーマットのためのものです:
urn:ietf:params:xml:ns:metalink
URN:IETF:のparams:XML:NS:メタリンク
For convenience, this data format may be referred to as "Metalink", which this specification uses internally.
便宜のために、このデータ・フォーマットは、本明細書が内部使用する、「メタリンク」と呼ぶことができます。
This specification describes conformance of Metalink Documents. Additionally, it places some requirements on Metalink Processors.
この仕様は、Metalinkの文書の適合性を説明しています。さらに、それはMetalinkのプロセッサ上でいくつかの要件を課します。
This specification uses the namespace prefix "metalink:" for the Namespace URI identified in Section 1.2, above. Note that the choice of namespace prefix is arbitrary and not semantically significant.
名前空間のURIは、セクション1.2で特定され、上記:この仕様は名前空間接頭辞「メタリンク」を使用しています。名前空間接頭辞の選択は任意と意味的に重要ではないことに注意してください。
Metalink is specified using terms from the XML Infoset [REC-xml-infoset]. However, this specification uses a shorthand for two common terms: the phrase "Information Item" is omitted when naming Element Information Items and Attribute Information Items. Therefore, when this specification uses the term "element," it is referring to an Element Information Item in Infoset terms. Likewise, when it uses the term "attribute," it is referring to an Attribute Information Item.
メタリンクは、XML情報セット[REC-XML-情報セット]から用語を使用して指定されます。しかし、この仕様は2つの一般的な用語の省略形を使用しています:フレーズ「情報項目」が省略されている要素情報項目を命名し、情報項目属性とき。したがって、この仕様は用語を使用しています「要素、」それはインフォセット用語で要素情報項目を参照しています。同様に、それは用語「属性」と、それは属性情報項目を参照しているを使用する場合。
Some sections of this specification are illustrated with fragments of a non-normative RELAX NG Compact schema [RELAX-NG]. However, the text of this specification provides the definition of conformance. A complete schema appears in Appendix B.
本明細書のいくつかのセクションでは、非標準RELAX NGコンパクトスキーマ[RELAX-NG]のフラグメントと示されています。しかし、この仕様のテキストは、適合性の定義を提供します。完全なスキーマは、付録Bに表示されます
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 BCP 14, [RFC2119], as scoped to those conformance targets.
この文書のキーワード "MUST"、 "MUST NOT"、 "REQUIRED"、、、、 "べきではない" "べきである" "ないもの" "ものとし"、 "推奨"、 "MAY"、および "OPTIONAL" はありますBCP 14、[RFC2119]に記載されているように、それらの適合性ターゲットを対象として、解釈されます。
This specification describes Metalink Documents.
この仕様は、Metalinkのドキュメントを記述しています。
A Metalink Document describes a file or group of files, how to access them, and metadata that identifies them. Its root is the metalink: metalink element.
Metalinkのドキュメントは、それらにアクセスする方法を、ファイルまたはファイルのグループを説明し、メタデータ、それらを識別します。メタリンク要素:そのルートはメタリンクです。
namespace metalink = "urn:ietf:params:xml:ns:metalink" start = metalinkMetalink
名前空間のメタリンク= "壷:IETF:のparams:XML:NS:Metalinkの" スタート= metalinkMetalink
Metalink Documents are specified in terms of the XML Information Set, serialized as XML 1.0 [REC-xml] and identified with the "application/ metalink4+xml" media type.
Metalinkのドキュメントは、XML情報セットの観点で指定されたXML 1.0 [REC-XML]としてシリアライズおよび「アプリケーション/ metalink4 + xml」でメディアタイプで識別されます。
Metalink Documents MUST be well-formed XML. This specification does not define a Document Type Definition (DTD) for Metalink Documents, and hence it does not require them to be valid (in the sense used by XML).
MetalinkのドキュメントはXMLを整形式でなければなりません。この仕様は、Metalinkのドキュメントのための文書型定義(DTD)を定義していない、したがって、それは(XMLで使用される意味で)有効であるためにそれらを必要としません。
Metalink allows the use of Internationalized Resource Identifiers (IRIs), encoded according to [RFC3987]. Every URI [RFC3986] is also an IRI, so a URI may be used wherever an IRI is named below. There is one special consideration: when an IRI that is not also a URI is given for dereferencing, it MUST be mapped to a URI using the steps in Section 3.1 of [RFC3987].
メタリンクは、[RFC3987]に従って符号化、国際化リソース識別子(のIRI)の使用を可能にします。すべてのURI [RFC3986]もIRIので、IRIは以下の命名されている場所URIを使用することができます。 1点の特別な配慮がある。また、URIではないIRIを逆参照するために与えられたとき、それは[RFC3987]のセクション3.1の手順を使用してURIにマッピングされなければなりません。
Any element defined by this specification MAY have an xml:lang attribute, whose content indicates the natural language for the element and its descendents. The language context is only significant for elements and attributes declared to be "Language-Sensitive" by this specification. Requirements regarding the content and interpretation of xml:lang are specified in XML 1.0 [REC-xml], Section 2.12.
lang属性、その内容は要素とその子孫のための自然言語を示しています。この仕様で定義された任意の要素は、XMLを持っているかもしれません。言語の文脈では、この仕様書による「ランゲージ・センシティブ」であると宣言要素と属性のための唯一の重要です。 XMLの内容および解釈についての要件:langはXML 1.0 [REC-XML]、2.12節で指定されています。
metalinkCommonAttributes = attribute xml:lang { metalinkLanguageTag }?, undefinedAttribute*
metalinkCommonAttributes =属性xml:langの{metalinkLanguageTag}?undefinedAttribute *
All leading and trailing whitespace is part of the element content and MUST NOT be ignored. Consequently, it is disallowed for elements where the defined type does not allow whitespace, such as dates, integers, or IRIs. Some XML-generating implementations erroneously insert whitespace around values by default, and such implementations will generate invalid Metalink Documents.
すべての先頭と末尾の空白は、要素の内容の一部であり、無視してはなりません。したがって、このような日付、整数、虹彩などの定義されたタイプは空白が許可されていない要素のために禁止されています。いくつかのXML生成の実装が誤ってデフォルトで値の周りに空白を挿入して、そのような実装は、無効なMetalinkのドキュメントを生成します。
Metalink Documents that do not follow this specification are invalid and SHOULD NOT be used by Metalink Processors.
この仕様に従わないMetalinkのドキュメントは無効であり、Metalinkのプロセッサで使用することはできません。
Metalink is an extensible format. See Section 5 of this document for a full description of how Metalink Documents can be extended.
メタリンクは、拡張可能なフォーマットです。 Metalinkのドキュメントを拡張することができる方法の完全な説明については、本書の第5章を参照してください。
Many Metalink elements share common structures. This section defines those structures and their requirements for convenient reference by the appropriate element definitions.
多くのメタリンク要素は、共通の構造を共有しています。このセクションでは、適切な要素の定義によりそれらの構造と便利な参照のための要件を定義します。
When an element is identified as being a particular kind of construct, it inherits the corresponding requirements from that construct's definition in this section.
要素は、構築物の特定の種類であると識別された場合、このセクションでその構築物の定義から対応する要求を継承します。
A Text construct contains human-readable text, usually short in length.
テキスト構築物は、人間が読めるテキスト、長さが通常は短いが含まれています。
metalinkTextConstruct = metalinkCommonAttributes, text
metalinkTextConstruct = metalinkCommonAttributesテキスト
For example, a metalink:description with text content:
たとえば、メタリンク:テキストコンテンツとの記述:
... <description> A description of the example file for download. </description> ...
... <説明>ダウンロード用のサンプルファイルの記述。 </記述> ...
The content of the Text construct MUST NOT contain child elements. Such text is intended to be presented to humans in a readable fashion. Thus, whitespace could be collapsed (including line breaks), and text could be displayed using typographic techniques such as justification and proportional fonts.
テキスト構築物の内容は、子要素を含めることはできません。このようなテキストが読める形で人間に提示されることを意図しています。このように、空白は(改行を含む)崩壊することができ、テキストは、そのような正当化とプロポーショナルフォントとして活版印刷技術を使用して表示することができます。
A Date construct is an element whose content MUST conform to the "date-time" production in [RFC3339]. In addition, an uppercase "T" character MUST be used to separate date and time, and an uppercase "Z" character MUST be present in the absence of a numeric time zone offset.
日付構築物は、その内容は、[RFC3339]で「日時」の生産に従わなければなりません要素です。また、大文字の「T」の文字は、別個の日時に使用する必要があり、大文字「Z」の文字がオフセット数値の時間帯が存在しない場合に存在しなければなりません。
metalinkDateConstruct = metalinkCommonAttributes, xsd:dateTime
metalinkDateConstruct = metalinkCommonAttributes、XSD:dateTimeの
Such date values happen to be compatible with the following specifications: [ISO.8601.1988], [NOTE-datetime-19980827], and [REC-xmlschema-2-20041028].
[ISO.8601.1988]、[NOTE-日時-19980827]、および[REC-XMLSCHEMA-2から20041028]:このような日付の値は、以下の仕様に適合するように起こります。
Example Date constructs:
例日付構文:
... <updated>2010-05-01T12:15:02Z</updated> ... <updated>2010-05-01T12:15:02.25Z</updated> ... <updated>2010-05-01T12:15:02+01:00</updated> ... <updated>2010-05-01T12:15:02.25+01:00</updated> ...
15:02Z </更新> ... <更新>は2010-05-01T12:15:02.25Z </更新> ... <更新> 2010-05-01T12 ... 2010-05-01T12 <更新> :15:02 + 01:00 </更新> ... <更新> 2010-05-01T12:15:02.25 + 01:00 </更新します> ...
The "metalink:metalink" element is the document (i.e., top-level) element of a Metalink Document, acting as a container for metadata and data associated with the listed files. It contains one or more metalink:file child elements that consist of Metadata elements.
「メタリンク:メタリンク」要素は、メタデータと表示されたファイルに関連付けられたデータのためのコンテナとして機能する文書メタリンクドキュメントの(すなわち、最上位)素子です。メタデータの要素で構成されたファイルの子要素:これは、1つ以上のメタリンクが含まれています。
metalinkMetalink = element metalink:metalink { metalinkCommonAttributes, (metalinkFile+ & metalinkGenerator? & metalinkOrigin?
metalinkMetalink =メタリンク要素:メタリンク{metalinkCommonAttributes(metalinkFile +&metalinkGenerator&metalinkOrigin?
& metalinkPublished? & metalinkUpdated? & extensionElement*) }
&MetalinkPublished? &MetalinkUpdated? &ExtensionElement *)}
The following child elements are defined by this specification (note that the presence of some of these elements is required):
次の子要素はこの仕様で定義されている(これらの要素のいくつかの存在が必要であることに注意してください):
o metalink:metalink elements MUST contain one or more metalink:file elements.
メタリンクO:ファイルの要素:メタリンク要素は、一つ以上のメタリンクを含まなければなりません。
o metalink:metalink elements MAY contain exactly one metalink: generator element and MUST NOT contain more than one such element.
Oのメタリンク:発電要素と、複数のそのような要素を含めることはできません:Metalinkの要素は正確に一つのメタリンクを含むかもしれません。
o metalink:metalink elements SHOULD contain exactly one metalink: origin element and MUST NOT contain more than one such element.
メタリンクO:Metalinkの要素は、1つのメタリンク含まれている必要があります元の要素をし、複数のそのような要素を含めることはできません。
o metalink:metalink elements MAY contain exactly one metalink: published element and MUST NOT contain more than one such element.
メタリンクO:公表要素と、複数のそのような要素を含めることはできません:Metalinkの要素は、1つのメタリンクを含むかもしれません。
o metalink:metalink elements MAY contain exactly one metalink: updated element and MUST NOT contain more than one such element.
メタリンクO:updated要素と、複数のそのような要素を含めることはできません:Metalinkの要素は、1つのメタリンクを含むかもしれません。
Experience teaches that downloads providing textual content are, in general, more useful than those that do not. Some applications (one example is full-text indexers) require a minimum amount of text to function reliably and predictably. Metalink publishers should be aware of this. It is RECOMMENDED that each metalink:file element contain a non-empty metalink:description element, a non-empty metalink:identity element, a non-empty metalink:version element, and a non-empty metalink:publisher element when these elements are present. However, the absence of metalink:description, metalink: identity, metalink:version, and metalink:publisher is not an error, and Metalink Processors MUST NOT fail to function correctly as a consequence of such an absence.
経験は、テキストコンテンツを提供するダウンロードは、一般的には、そうでないものよりも有用であることを教示しています。いくつかの用途(一例では、フルテキスト・インデクサである)を確実かつ予測機能するテキストの最小量を必要とします。メタリンクの出版社はこのことを認識する必要があります。 description要素、非空のメタリンク:アイデンティティ要素、非空のメタリンク:バージョン要素、および非空のメタリンク:これらの要素があるパブリッシャ要素ファイル要素、空ではないメタリンクが含まれています。各メタリンクがあることを推奨します存在。ただし、メタリンクの有無:説明、メタリンク:アイデンティティ、メタリンク:バージョン、およびメタリンク:パブリッシャーはエラーではありません、とMetalinkのプロセッサは、このような不在の結果として正しく機能しなくてはなりません。
The "metalink:file" element represents an individual file, acting as a container for metadata and data associated with the file. Each unique file described in a Metalink Document MUST have its own metalink:file element.
「メタリンク:ファイル」要素は、ファイルに関連付けられたメタデータとデータのコンテナとして機能し、個々のファイルを表します。ファイルの要素:Metalinkのドキュメントに記述されている各一意のファイルには、独自のメタリンクを持たなければなりません。
All metalink:url elements contained in each metalink:file element SHOULD lead to identical files. That is, each metalink:url element should be an alternative location for the same file and each metalink:metaurl element should provide metadata to retrieve the same file in another way, such as a Peer-to-Peer network. Refer to Sections 4.2.8 and 4.2.16 for more information.
すべてのメタリンク:各メタリンクに含まれるURLの要素:ファイル要素は、同一のファイルにつながるはず。すなわち、各メタリンクである:URL要素は、同じファイルの別の場所と各メタリンクにすべきである:metaurl要素は、ピア・ツー・ピアネットワークなどの別の方法で同一のファイルを取得するためにメタデータを提供すべきです。詳細については、セクション4.2.8と4.2.16を参照してください。
metalinkFile = element metalink:file { metalinkCommonAttributes, attribute name { text }, (metalinkCopyright? & metalinkDescription? & metalinkHash* & metalinkIdentity? & metalinkLanguage* & metalinkLogo? & metalinkMetaURL* & metalinkOS* & metalinkPieces* & metalinkPublisher? & metalinkSignature? & metalinkSize? & metalinkURL* & metalinkVersion? & extensionElement*) }
metalinkFile =要素のメタリンク:ファイル{metalinkCommonAttributes、(} metalinkCopyright&metalinkDescription&metalinkHash *&metalinkIdentity&metalinkLanguage *&metalinkLogo&metalinkMetaURL *&メタリンク*&metalinkPiecesを名前{テキストを属性*&metalinkPublisher&metalinkSignature&metalinkSize?????? ?&metalinkURL *&metalinkVersion?&extensionElement *)}
This specification assigns no significance to the order of metalink: file elements or to the order of metalink:url or metalink:metaurl elements. Significance is determined by the value of the "priority" attribute of the metalink:url or metalink:metaurl elements.
ファイルの要素やメタリンクのために:URLまたはメタリンク:metaurl要素この仕様では、メタリンクの順序には意味が割り当てられていません。 URLまたはメタリンク:metaurl要素意義は、メタリンクの「優先度」属性の値によって決定されます。
The following child elements are defined by this specification (the presence of some of them is required):
次の子要素は、(それらのいくつかの存在が必要とされる)この仕様で定義されています。
o metalink:file elements MAY contain exactly one metalink:copyright element and MUST NOT contain more than one such element.
Oメタリンク:著作権の要素と、複数のそのような要素を含めることはできません:ファイル要素は正確に一つのメタリンクを含むかもしれません。
o metalink:file elements MAY contain exactly one metalink: description element and MUST NOT contain more than one such element.
Oのメタリンク:description要素と、複数のそのような要素を含めることはできません:ファイル要素は正確に一つのメタリンクを含むかもしれません。
o metalink:file elements MAY contain exactly one metalink:identity element and MUST NOT contain more than one such element.
Oのメタリンク:アイデンティティの要素と、複数のそのような要素を含めることはできません:ファイル要素は正確に一つのメタリンクを含むかもしれません。
o metalink:file elements MAY contain one or more metalink:hash elements.
メタリンクO:ハッシュ要素:ファイルの要素は、一つ以上のメタリンクを含むかもしれません。
o metalink:file elements MAY contain one or more metalink:language elements.
メタリンクO:言語要素:ファイルの要素は、一つ以上のメタリンクを含むかもしれません。
o metalink:file elements MAY contain exactly one metalink:logo element and MUST NOT contain more than one such element.
Oのメタリンク:ロゴ要素と、複数のそのような要素を含めることはできません:ファイル要素は正確に一つのメタリンクを含むかもしれません。
o metalink:file elements MAY contain one or more metalink:os element.
メタリンクO:OSの要素:ファイルの要素は、一つ以上のメタリンクを含むかもしれません。
o metalink:file elements MUST contain at least one metalink:url element or at least one metalink:metaurl element. Typically, metalink:file elements contain more than one metalink:url element to provide multiple download sources.
Oメタリンク:url要素または少なくとも一つのメタリンク:metaurl要素ファイル要素は少なくとも一つのメタリンクを含まなければなりません。一般的に、メタリンク:複数のダウンロード源を提供するために、url要素:ファイルの要素は、複数のメタリンクが含まれています。
o metalink:file elements MAY contain one or more metalink:pieces elements.
メタリンクO:作品の要素:ファイルの要素は、一つ以上のメタリンクを含むかもしれません。
o metalink:file elements MAY contain exactly one metalink:publisher element and MUST NOT contain more than one such element.
Oのメタリンク:パブリッシャー要素と、複数のそのような要素を含めることはできません:ファイル要素は正確に一つのメタリンクを含むかもしれません。
o metalink:file elements MAY contain one or more metalink:signature elements.
メタリンクO:署名要素:ファイルの要素は、一つ以上のメタリンクを含むかもしれません。
o metalink:file elements SHOULD contain exactly one metalink:size element and MUST NOT contain more than one such element.
メタリンクO:ファイルの要素は、1つのメタリンク含まれている必要がありますサイズの要素をし、複数のそのような要素を含めることはできません。
o metalink:file elements MAY contain exactly one metalink:version element and MUST NOT contain more than one such element.
Oのメタリンク:バージョン要素と、複数のそのような要素を含めることはできません:ファイル要素は正確に一つのメタリンクを含むかもしれません。
metalink:file elements MUST have a "name" attribute, which contains the local file name to which the downloaded file will be written. Hence, if a Metalink Document contains multiple metalink:file elements, the value of the "name" attribute MUST be unique for each.
メタリンク:ファイルの要素は、ダウンロードしたファイルが書かれるローカルのファイル名が含まれている「name」属性を持っている必要があります。 Metalinkのドキュメントに複数のメタリンクが含まれている場合はこのため、:ファイル要素を、「名前」属性の値は、それぞれ一意である必要があります。
Directory information can also be contained in a "path/file" format only, as in:
のようにディレクトリ情報はまた、唯一の「パス/ファイル」形式に含まれていることができます。
<file name="debian-amd64/sarge/Contents-amd64.gz">
<ファイル名= "はdebian-AMD64 / sargeの/内容-amd64.gz">
In this example, a subdirectory "debian-amd64/sarge/" will be created and a file named "Contents-amd64.gz" will be created inside it.
この例では、サブディレクトリ「はdebian-AMD64 / sargeの/」は作成され、「コンテンツ・amd64.gz」という名前のファイルがその中に作成されます。
Security Note: The path MUST NOT contain any directory traversal directives or information. The path MUST be relative. The path MUST NOT begin with a "/", "./", or "../"; contain "/../"; or end with "/..".
セキュリティ上の注意:パスは、任意のディレクトリトラバーサルの指令や情報を含めることはできません。パスは、相対的でなければなりません。パスは「/」、「./」、または「../」で始めてはいけません。 「/../」が含まれています。またはで終わります「/ ..」。
The "metalink:pieces" element acts as a container for a list of cryptographic hashes of contiguous, non-overlapping pieces of the file. The cryptographic hashes MUST be listed in the same order as the corresponding pieces appear in the file, starting at the beginning of the file. Metalink Documents MAY contain one or multiple metalink:pieces container elements, if each "type" attribute of metalink:pieces has a unique value.
「メタリンク:作品」要素は、ファイルの連続、非重複部分の暗号ハッシュのリストのコンテナとして機能します。該当する作品は、ファイルの先頭から、ファイルに表示される暗号化ハッシュは同じ順序でリストされなければなりません。作品のユニークな値を持つ:メタリンクの各「タイプ」属性があれば、作品のコンテナ要素:Metalinkのドキュメントは、一つまたは複数のメタリンクを含むかもしれません。
metalinkPieces = element metalink:pieces { attribute length { xsd:positiveInteger }, attribute type { text }, metalinkHash+ }
metalinkPieces =エレメントメタリンク:片{属性長{XSD:POSITIVEINTEGER}、属性タイプ{テキスト}、metalinkHash +}
metalink:pieces elements MUST have a "type" attribute.
メタリンク:作品の要素は、「タイプ」属性を持たなければなりません。
The Internet Assigned Numbers Authority (IANA) registry named "Hash Function Textual Names" defines values for hash types. See Section 7.4 for security implications.
「ハッシュ関数テキスト名」という名前のIANA(Internet Assigned Numbers Authority)のレジストリは、ハッシュタイプの値を定義します。セキュリティへの影響については、セクション7.4を参照してください。
metalink:pieces elements MUST have a "length" attribute, which is a positive integer that describes the length of the pieces of the file in octets. The whole file is divided into non-overlapping pieces of this length, starting from the beginning of the file. That is, every piece MUST be the same size, apart from the last piece, which is the remainder. The last piece extends to the end of the file, and it therefore MAY be shorter than the other pieces.
メタリンク:片要素は、オクテット内のファイルの断片の長さを説明する正の整数である「長さ」属性を持っている必要があります。全体のファイルは、ファイルの先頭から、この長さの非重複部分に分割されます。つまり、すべての部分は離れて余りある最後のピース、から、同じサイズでなければなりません。最後のピースは、ファイルの最後に延びており、それゆえ他の部分よりも短くてもよいです。
The "metalink:copyright" element is a Text construct that conveys a human-readable copyright for a file. It is Language-Sensitive.
「メタリンク:著作権」要素は、ファイルのために人間が読める著作権を伝えるテキスト構築物です。これは、言語と小文字が区別されます。
metalinkCopyright = element metalink:copyright { metalinkTextConstruct }
metalinkCopyright =エレメントメタリンク:著作権{metalinkTextConstruct}
The "metalink:description" element is a Text construct that conveys a human-readable file description. It is Language-Sensitive.
「メタリンク:説明」要素は、人間が読めるファイルの説明を伝えるテキスト構築物です。これは、言語と小文字が区別されます。
metalinkDescription = element metalink:description { metalinkTextConstruct }
メタリンク説明=エレメントのメタリンク:説明{メタリンクテキストコンストラクト}
The "metalink:generator" element's content identifies the generating agent name and version used to generate a Metalink Document, for debugging and other purposes.
「メタリンク:ジェネレータ」要素の内容は、デバッグやその他の目的のために、Metalinkのドキュメントを生成するために使用される発生剤の名前とバージョンを識別します。
metalinkGenerator = element metalink:generator { metalinkTextConstruct }
metalinkGenerator =メタリンク要素:発生} {metalinkTextConstruct
The metalink:generator element's content is defined below in ABNF notation [RFC5234].
メタリンク:発電要素のコンテンツは、ABNF表記[RFC5234]で以下に定義されます。
token = 1*<any CHAR except CTLs or separators> separators = "(" / ")" / "<" / ">" / "@" / "," / ";" / ":" / "\" / DQUOTE / "/" / "[" / "]" / "?" / "=" / "{" / "}" / SP / HTAB agent = token ["/" agent-version] agent-version = token
トークン= 1 * <的CTLまたはセパレータを除く任意のCHAR>セパレータ= "(" / ")" / "<" / ">" / "@" / "" / ";" / ":" / "\" / DQUOTE / "/" / "[" / "]" / "?" / "=" / "{" / "}" / SP / HTAB剤=トークン[ "/" エージェントバージョン]エージェントバージョン=トークン
Examples:
例:
... <generator>MirrorBrain/2.11</generator> ... <generator>MirrorManager/1.2.11</generator> ... <generator>metalinktools/0.3.6</generator> ... <generator>MetalinkEditor/1.2.0</generator> ...
... <発電> MirrorBrain / 2.11 </ジェネレータ> ... <ジェネレータ> MirrorManager / 1.2.11 </ジェネレータ> ... <ジェネレータ> metalinktools / 0.3.6 </ジェネレータ> ... <発電> MetalinkEditor /1.2.0 </ジェネレータ> ...
Although any token character MAY appear in an agent-version, this token SHOULD only be used for a version identifier (i.e., successive versions of the same agent SHOULD only differ in the agent-version portion of the agent value).
任意のトークンの文字がエージェントバージョンに現れるかもしれないが、このトークンは唯一のバージョン識別子のために使用されるべきである(すなわち、同じ薬剤の連続的なバージョンは、エージェント値のエージェントバージョンの部分が異なるべきです)。
The "metalink:hash" element is a Text construct that conveys a cryptographic hash for a file. All hashes are encoded in lowercase hexadecimal format. Hashes are used to verify the integrity of a complete file or portion of a file to determine if the file has been transferred without any errors.
「メタリンク:ハッシュ」要素は、ファイルの暗号化ハッシュを伝えるテキスト構築物です。すべてのハッシュは小文字の16進数形式で符号化されます。ハッシュは、ファイルがエラーなしで転送されたかどうかを判断するために、ファイルの完全なファイルまたは一部の整合性を検証するために使用されています。
metalinkHash = element metalink:hash { attribute type { text }?, text }
metalinkHash =エレメントメタリンク:ハッシュ{属性タイプ{テキスト}?テキスト}
Metalink Documents MAY contain one or multiples hashes of a complete file. metalink:hash elements with a "type" attribute MUST contain a hash of the complete file. In this example, both SHA-1 and SHA-256 hashes of the complete file are included.
Metalinkのドキュメントは、完全なファイルの一つまたは倍数のハッシュを含むかもしれません。メタリンク:「タイプ」属性を持つハッシュ要素は、完全なファイルのハッシュを含まなければなりません。この例では、完全なファイルの両方のSHA-1、SHA-256ハッシュが含まれます。
... <hash type="sha-1">a97fcf6ba9358f8a6f62beee4421863d3e52b080</hash> <hash type="sha-256">fc87941af7fd7f03e53b34af393f4c14923d74...</hash> ...
... <ハッシュタイプ= "SHA-1"> a97fcf6ba9358f8a6f62beee4421863d3e52b080 </ハッシュ> <ハッシュタイプ= "SHA-256"> fc87941af7fd7f03e53b34af393f4c14923d74 ... </ハッシュ> ...
Metalink Documents MAY also contain hashes for individual pieces of a file. metalink:hash elements that are inside a metalink:pieces container element have a hash for that specific piece or chunk of the file, and are of the same hash type as the metalink:pieces element in which they are contained. Metalink Documents MAY contain one or multiple metalink:pieces container elements, if each "type" attribute of metalink:pieces has a unique value.
Metalinkのドキュメントは、ファイルの個々の部分のためのハッシュを含むかもしれません。メタリンク:メタリンク内にあるハッシュ要素:片コンテナ要素は、ファイルの特定のピースまたはチャンクのハッシュを有し、メタリンクと同一のハッシュタイプのものである:それらが含まれている片素子。作品のユニークな値を持つ:メタリンクの各「タイプ」属性があれば、作品のコンテナ要素:Metalinkのドキュメントは、一つまたは複数のメタリンクを含むかもしれません。
metalink:hash elements without a "type" attribute MUST contain a hash for that specific piece or chunk of the file and MUST be listed in the same order as the corresponding pieces appear in the file, starting at the beginning of the file. The size of the piece is equal to the value of the "length" attribute of the metalink:pieces element, apart from the last piece, which is the remainder. See Section 4.1.3.2 for more information on the size of pieces.
メタリンク:「タイプ」属性のないハッシュ要素は、ファイルの特定の部分またはチャンクのハッシュを含まなければならないし、対応する部分は、ファイルの先頭から、ファイルに現れるのと同じ順序でリストされなければなりません。片要素、離れて余りある最後のピース、から:ピースのサイズは、メタリンクの「長さ」属性の値に等しいです。ピースのサイズの詳細については、セクション4.1.3.2を参照してください。
In this example, SHA-1 and SHA-256 hashes of the complete file are included, along with four SHA-1 piece hashes.
この例では、完全なファイルのSHA-1、SHA-256ハッシュは、4つのSHA-1個のハッシュと共に、含まれています。
... <hash type="sha-1">a97fcf6ba9358f8a6f62beee4421863d3e52b080</hash> <hash type="sha-256">fc87941af7fd7f03e53b34af393f4c14923d74...</hash> <pieces length="1048576" type="sha-1"> <hash>d96b9a4b92a899c2099b7b31bddb5ca423bb9b30</hash> <hash>10d68f4b1119014c123da2a0a6baf5c8a6d5ba1e</hash> <hash>3e84219096435c34e092b17b70a011771c52d87a</hash> <hash>67183e4c3ab892d3ebe8326b7d79eb62d077f487</hash> </pieces> ...
... <ハッシュタイプ= "SHA-1"> a97fcf6ba9358f8a6f62beee4421863d3e52b080 </ハッシュ> <ハッシュタイプ= "SHA-256"> fc87941af7fd7f03e53b34af393f4c14923d74 ... </ハッシュ> <片長さ= "1048576" タイプ= "SHA-1" > <ハッシュ> d96b9a4b92a899c2099b7b31bddb5ca423bb9b30 </ハッシュ> <ハッシュ> 10d68f4b1119014c123da2a0a6baf5c8a6d5ba1e </ハッシュ> <ハッシュ> 3e84219096435c34e092b17b70a011771c52d87a </ハッシュ> <ハッシュ> 67183e4c3ab892d3ebe8326b7d79eb62d077f487 </ハッシュ> </作品> ...
metalink:hash elements MUST have a "type" attribute, if and only if it contains a hash of the complete file. The IANA registry named "Hash Function Textual Names" defines values for hash types. metalink:hash elements MUST NOT have a "type" attribute, if they are inside a metalink:pieces container element. See Section 7.4 for security implications.
メタリンク:ハッシュ要素は、それが完全なファイルのハッシュが含まれている場合にのみ、「type」属性を持たなければなりません。 「ハッシュ関数テキスト名」という名前のIANAレジストリは、ハッシュタイプの値を定義します。作品コンテナ要素:メタリンク:彼らはメタリンク内にあるかどうかハッシュの要素は、「type」属性を持ってはいけません。セキュリティへの影響については、セクション7.4を参照してください。
The "metalink:identity" element is a Text construct that conveys a human-readable identity for a file. For example, the identity of Firefox 3.5 would be "Firefox".
「メタリンク:アイデンティティ」要素は、ファイルのための人間が読めるのアイデンティティを伝えるテキスト構築物です。例えば、Firefox 3.5のアイデンティティは「Firefoxの」だろう。
metalinkIdentity = element metalink:identity { metalinkTextConstruct }
metalinkIdentity =エレメントメタリンク:同一{metalinkTextConstruct}
The "metalink:language" element is a Text construct that conveys a code for the language of a file, per [RFC5646].
「メタリンク:言語」要素は[RFC5646]あたりに、ファイルの言語のコードを伝えるテキスト構築物です。
Multiple metalink:language elements are allowed, for instance, to describe a file such as an binary installation program that provides multiple language options, a movie with multiple language tracks, or a document in multiple languages.
複数のメタリンク:言語要素は、このような複数の言語オプション、複数の言語トラックと映画、または複数の言語で文書を提供したバイナリのインストールプログラムのファイルを記述するために、例えば、許可されています。
metalinkLanguage = element metalink:language { metalinkTextConstruct }
メタリンク言語=エレメントメタリンク:言語{メタリンクテキストコンストラクト}
The "metalink:logo" element's content is an IRI reference [RFC3987] that identifies an image that provides visual identification for a file.
「メタリンク:ロゴ」要素の内容は、ファイルの視覚的な識別を提供する画像を識別するIRI参照[RFC3987]です。
metalinkLogo = element metalink:logo { metalinkCommonAttributes, (metalinkUri) }
metalinkLogo =メタリンク要素:ロゴ{metalinkCommonAttributes(metalinkUri)}
The image SHOULD have an aspect ratio of one (horizontal) to one (vertical) and SHOULD be suitable for presentation at a small size.
画像は、(垂直)を一度に(水平)1のアスペクト比を有するべきであり、小型でプレゼンテーションに適していなければなりません。
The "metalink:metaurl" element contains the IRI of a metadata file, also known as a metainfo file, about a resource to download. For example, this could be the IRI of a BitTorrent .torrent file, a Metalink Document, or other type of metadata file. Note that the information in the metalink:hash element does not apply to these metadata files but to the files that are described by them.
「メタリンク:metaurl」要素は、ダウンロードするためのリソースについて、また、メタ情報ファイルとして知られているメタデータファイルのIRIが含まれています。例えば、これは、BitTorrentの.torrentファイルのIRI、Metalinkのドキュメント、またはメタデータファイルの他のタイプである可能性があります。ハッシュ要素これらのメタデータファイルではなく、それらによって記述されているファイルには適用されません:メタリンクの情報があることに注意してください。
metalinkMetaURL = element metalink:metaurl { metalinkCommonAttributes, attribute priority { xsd:positiveInteger { maxInclusive = "999999"}}?, attribute mediatype { text }, attribute name { text }?, (metalinkUri) }
metalinkMetaURLは=エレメントメタリンク:metaurl {metalinkCommonAttributes、属性優先{XSD:POSITIVEINTEGER {maxInclusiveを= "999999"}} ?, MEDIATYPE {テキスト}属性、テキスト{}?(metalinkUri)属性名}
metalink:metaurl elements MAY have a priority attribute. Values MUST be positive integers between 1 and 999999. Lower values indicate a higher priority. metalink:metaurl elements without a priority attribute are considered to have the lowest priority, i.e., 999999. The priority values of metalink:metaurl and metalink:url elements are compared and those with the lowest values, starting with 1, are used first. Multiple metalink:metaurl and metalink:url elements MAY have the same priority, i.e., one BitTorrent .torrent file and three FTP URIs could have priority="1". See also the "priority" attribute of the metalink:url element.
メタリンク:metaurl要素は優先順位属性を持っているかもしれません。 1と999999低い値は、より高い優先度を示すの間の値は正の整数でなければなりません。メタリンク:metaurlとメタリンク:priority属性無しmetaurl要素はメタリンクの、すなわち、999999優先値、最も低い優先順位を有すると考えられるURLの要素を比較し、最小値を有するものであり、1から始まる、最初に使用されています。複数のメタリンク:metaurlとメタリンク:URL要素が同じ優先順位を持っているかもしれません、すなわち、1つのBitTorrentの.torrentファイルと3つのFTP URIは=「1」の優先度を持つことができます。 URL要素:また、メタリンクの「優先度」属性を参照してください。
metalink:metaurl elements MUST have a "mediatype" attribute that indicates the Multipurpose Internet Mail Extensions (MIME) media type [RFC4288] of the metadata file available at the IRI. In the case of BitTorrent as specified in [BITTORRENT], the value "torrent" is REQUIRED. Types without "/" are reserved. Currently, "torrent" is the only reserved value.
メタリンク:metaurl要素はIRIで入手可能なメタデータファイルのMIME(Multipurpose Internet Mail Extensions)のメディアタイプ[RFC4288]を示し、「MEDIATYPE」属性を持たなければなりません。 【ビットトレント]で指定されるようにビットトレントの場合には、値「急流」が必要です。 「/」なしのタイプが予約されています。現在、「急流は、」唯一の予約値です。
Values for this attribute are defined below in ABNF notation [RFC5234].
この属性の値は、ABNF表記[RFC5234]で以下に定義されます。
media-type = (type-name "/" subtype-name) / media-reserved media-reserved = "torrent" type-name = <Defined in Section 4.2 of RFC 4288> subtype-name = <Defined in Section 4.2 of RFC 4288>
RFCのセクション4.2で定義されているメディアタイプ=(型名「/」サブタイプ名)/メディア予約メディア予約=「急流」タイプ名= <RFC 4288のセクション4.2で定義>サブタイプ名= < 4288>
metalink:metaurl elements MAY have a "name" attribute that indicates a specific file in a BitTorrent .torrent file or a Metalink Document that describes multiple files.
メタリンク:metaurl要素は、BitTorrentの.torrentファイルや複数のファイルを記述するメタリンクドキュメント内の特定のファイルを示す「名前」属性を持っているかもしれません。
Directory information can also be contained in a "path/file" format only, as in:
のようにディレクトリ情報はまた、唯一の「パス/ファイル」形式に含まれていることができます。
<metaurl mediatype="torrent" name="debian-amd64/sarge/Contents-amd64.gz">
<metaurl MEDIATYPE = "急流" 名前= "はdebian-AMD64 / sargeの/内容-amd64.gz">
In this example, a file named "Contents-amd64.gz" is indicated, in a "debian-amd64/sarge/" subdirectory. The path MUST NOT contain any directory traversal directives or information. The path MUST be relative. The path MUST NOT begin with a "/", "./", or "../"; contain "/../"; or end with "/..".
この例では、「コンテンツ・amd64.gz」という名前のファイルには、「はdebian-AMD64 / sargeの/」サブディレクトリに、示されています。パスは、任意のディレクトリトラバーサルの指令や情報を含めることはできません。パスは、相対的でなければなりません。パスは「/」、「./」、または「../」で始めてはいけません。 「/../」が含まれています。またはで終わります「/ ..」。
The "metalink:origin" element is an IRI where the Metalink Document was originally published. If the dynamic attribute of metalink: origin is "true", then updated versions of the Metalink can be found at this IRI.
「メタリンク:起源」要素は、Metalinkのドキュメントが最初に出版されたIRIです。メタリンクの動的属性場合:原点は「真」である、メタリンクの更新後のバージョンは、このIRIで見つけることができます。
metalinkOrigin = element metalink:origin { metalinkCommonAttributes, attribute dynamic { xsd:boolean }?, (metalinkUri) }
metalinkOrigin =エレメントメタリンク:起源{metalinkCommonAttributes、動的{XSD属性:ブールを}?(metalinkUri)}
The metalink:origin element MAY have a "dynamic" attribute, set to "true" or "false", which tells if a Metalink at the origin IRI will contain dynamic updated information or if it is static and not likely to be updated.
メタリンク:原点要素は、Metalinkの原点にIRIは、動的更新された情報が含まれていますかそれが更新される可能性が高い静的およびでない場合場合告げる「true」または「false」に設定された「ダイナミック」属性を有していてもよいです。
The "metalink:os" element is a Text construct that conveys an Operating System that a file is suitable for. The IANA registry named "Operating System Names" defines values for OS types.
「メタリンク:OS」要素は、ファイルが適しているオペレーティングシステムを伝えるテキスト構築物です。 「オペレーティングシステム名」という名前のIANAレジストリは、OSの種類の値を定義します。
metalinkOS = element metalink:os { metalinkTextConstruct }
METALINK =エレメントメタリンク:{S} metalinkTextConstruct
The "metalink:published" element is a Date construct indicating an instant in time associated with an event early in the life cycle of the entry.
「メタリンク:発行の」要素は、初期のエントリのライフサイクルのイベントに関連付けられた時間内の瞬間を示す日付構築物です。
metalinkPublished = element metalink:published { metalinkDateConstruct }
metalinkPublished =エレメントメタリンク:公開{metalinkDateConstruct}
Typically, metalink:published will be associated with the initial creation or first availability of the resource. The metalink:updated element is used when a Metalink Document has been updated after initial publication.
一般的に、メタリンク:公表は、初期作成やリソースの最初の利用可能性に関連付けられます。メタリンク:Metalinkのドキュメントは、最初の出版後に更新されたときに更新要素が使用されています。
The "metalink:publisher" element contains a human-readable group or other entity that has published the file described in the Metalink Document and an IRI for more information.
「メタリンク:パブリッシャー」要素は、より多くの情報のためのメタリンクドキュメントおよびIRIで説明したファイルを公開している人間が読めるグループまたは他のエンティティが含まれています。
metalinkPublisher = element metalink:publisher { metalinkCommonAttributes, attribute name { text }, attribute url { metalinkUri }? }
metalinkPublisher =要素のメタリンク:パブリッシャー{metalinkCommonAttributesは、名前{テキスト}、属性のURL {metalinkUriを}属性? }
The metalink:publisher element MUST have a "name" attribute that indicates the human-readable name of the publisher.
メタリンク:パブリッシャー要素は、出版社の人間が読める名前を示す「名前」属性を持たなければなりません。
The metalink:publisher element MAY have a "url" attribute whose value MUST be an IRI reference [RFC3987].
メタリンク:パブリッシャー要素は、その値がIRI参照[RFC3987]でなければならない「URL」属性を持っているかもしれません。
The "metalink:signature" element is a Text construct that conveys a digital signature for a file described in a Metalink Document. Digital signatures verify that a file is from the entity that has signed it.
「メタリンク:署名」要素は、メタリンク文献に記載されたファイルのデジタル署名を伝えるテキスト構築物です。デジタル署名は、ファイルがそれに署名したエンティティからのものであることを確認します。
Support in Metalink Processors for digital signatures included in this element is OPTIONAL. Note that the signing of Metalink Documents, as opposed to a digital signature of a file described in a Metalink Document, is covered in Section 7.1.
この要素に含まれるデジタル署名のためのMetalinkのプロセッサでサポートはオプションです。メタリンク文書の署名が、メタリンク文献に記載されたファイルのデジタル署名とは対照的に、セクション7.1で説明されていることに留意されたいです。
metalinkSignature = element metalink:signature { attribute mediatype { text }, metalinkTextConstruct }
metalinkSignature =エレメントメタリンク:署名{属性MEDIATYPE {テキスト}} metalinkTextConstruct
Example with an OpenPGP signature [RFC4880]:
OpenPGPの署名[RFC4880]と実施例:
<signature mediatype="application/pgp-signature"> -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux)
iEYEABECAAYFAkrxdXQACgkQeOEcayedXJHqFwCfd1p/HhRf/iDvYhvFbTrQPz+p p3oAoO9lKHoOqOE0EMB3zmMcLoYUrNkg =ggAf -----END PGP SIGNATURE----- </signature>
metalink:signature elements MUST have a "mediatype" attribute that indicates the MIME media type [RFC4288] of the included digital signature.
メタリンク:署名要素が含まれるデジタル署名のMIMEメディアタイプ[RFC4288]を示し、「MEDIATYPE」属性を持たなければなりません。
Values for this attribute are defined below in ABNF notation [RFC5234].
この属性の値は、ABNF表記[RFC5234]で以下に定義されます。
media-type = type-name "/" subtype-name type-name = <Defined in Section 4.2 of RFC 4288> subtype-name = <Defined in Section 4.2 of RFC 4288>
メディアタイプ=型名「/」サブタイプ名型名= <RFC 4288のセクション4.2で定義>サブタイプ名= <RFC 4288のセクション4.2で定義されています>
The "metalink:size" element indicates the length of the linked content in octets. This is the content length of the representation returned when the IRI is mapped to a URI and dereferenced. Note that the "metalink:size" element MUST override the actual content length of the representation as reported by the underlying protocol, and those that do not match MUST be discarded by Metalink Processors. This value MUST be a non-negative integer.
「メタリンク:サイズ」要素は、オクテットでリンクされたコンテンツの長さを示します。これは、IRIは、URIにマッピングされ、逆参照されたときに表現のコンテンツ長が返されます。基礎となるプロトコルによって報告され、一致しないものは、メタリンクプロセッサによって廃棄されなければならないので、「サイズメタリンク」要素表現の実際のコンテンツ長を上書きしなければならないことに留意されたいです。この値は、負でない整数でなければなりません。
metalinkSize = element metalink:size { xsd:nonNegativeInteger }
metalinkSize =エレメントのメタリンク:サイズ{XSD:NonNegativeIntegerの}
The "metalink:updated" element is a Date construct indicating the most recent instant in time when a Metalink was modified in a way the publisher considers significant. Therefore, not all modifications necessarily result in a changed metalink:updated value.
「メタリンク:更新された」要素は、メタリンクは、出版社が重大な考慮の方法で変更されたときの時間の中で最も最近の瞬間を示す日付構築物です。更新された値:したがって、すべての変更は、必ずしも変更メタリンクをもたらしません。
metalinkUpdated = element metalink:updated { metalinkDateConstruct }
メタリンク更新=エレメントメタリンク:更新{メタリンク日付コンストラクト}
Publishers MAY change the value of this element over time.
出版社は、時間の経過とともに、この要素の値を変更することがあります。
The "metalink:url" element contains a file IRI. Most metalink:file container elements will contain multiple metalink:url elements, and each one SHOULD be a valid alternative to download the same file.
「メタリンク:URL」要素は、ファイルIRIが含まれています。ほとんどのメタリンク:URL要素、およびそれぞれが同じファイルをダウンロードするための有効な代替する必要があります。ファイルコンテナ要素は、複数のメタリンクが含まれます。
The metalink:url elements SHOULD be resolvable and, if resolvable, SHOULD lead to identical files.
メタリンク:URL要素は解決可能であるべきで、、解決可能な場合には、同一のファイルにつながるはず。
Metalink Processors MUST filter out invalid files obtained from "metalink:url" elements by using information in the metalink:size element and metalink:hash elements.
メタリンク内の情報を使用して要素:Metalinkのプロセッサは、「URLメタリンク」:から取得した不正なファイルをフィルタリングしなければならない大きさの要素とメタリンク:ハッシュの要素を。
metalinkURL = element metalink:url { metalinkCommonAttributes, attribute location { xsd:string { minLength = "2" maxLength="2"} }?, attribute priority { xsd:positiveInteger { maxInclusive = "999999"}}?, (metalinkUri) }
metalinkURL =エレメントメタリンク:URL {metalinkCommonAttributes、場所属性{XSD:列{はminLength = "2" のmaxLength = "2"}}?属性優先{XSD:POSITIVEINTEGER {maxInclusiveを= "999999"}}?(metalinkUri)}
metalink:url elements MAY have a priority attribute. Values MUST be positive integers between 1 and 999999. Lower values indicate a higher priority. metalink:url elements without a priority attribute are considered to have the lowest priority, i.e., 999999. Multiple metalink:url elements can have the same priority, i.e., ten different mirrors could have priority="1".
メタリンク:URL要素は、優先順位の属性を持っているかもしれません。 1と999999低い値は、より高い優先度を示すの間の値は正の整数でなければなりません。メタリンク:=「1」URL要素が同じ優先順位を有することができ、すなわち、10枚の異なるミラーが優先順位を有することができる:priority属性なしのURL要素は、すなわち、999999複数のメタリンク、最も低い優先度を有すると考えられます。
metalink:url elements MAY have a "location" attribute, which is a [ISO3166-1] alpha-2 two letter country code for the geographical location of the physical server an IRI is used to access.
メタリンク:URL要素は、IRIは、アクセスに使用されている物理サーバの地理的位置について[ISO3166-1]アルファ2 2文字の国コードである「場所」属性を有していてもよいです。
The "metalink:version" element is a Text construct that conveys a human-readable version for a file. The version of Firefox 3.5 would be "3.5".
「メタリンク:バージョン」要素は、ファイルのための人間が読めるバージョンを伝えるテキスト構築物です。 Firefoxの3.5のバージョンは「3.5」になります。
metalinkVersion = element metalink:version { metalinkTextConstruct }
metalinkVersion =エレメントメタリンク:バージョン{metalinkTextConstruct}
This specification describes Metalink's XML vocabulary.
この仕様は、メタリンクのXMLボキャブラリを記述する。
The Metalink namespace is reserved for future forward-compatible revisions of Metalink. Future versions of this specification could add new elements and attributes to the Metalink markup vocabulary.
メタリンクの名前空間は、メタリンクの将来の上位互換性の修正のために予約されています。この仕様の将来のバージョンでは、メタリンクのマークアップ語彙に新しい要素や属性を追加することができます。
Software written to conform to this version of the specification will not be able to process such markup correctly and, in fact, will not be able to distinguish it from markup error. For the purposes of this discussion, unrecognized markup from the Metalink vocabulary will be considered "foreign markup".
このバージョンの仕様に準拠するように書かれたソフトウェアは、実際には、マークアップエラーからそれを区別することはできません、正確なマークアップを処理することはできないだろう。この議論の目的のために、メタリンクの語彙から認識されていないマークアップは、「外国人のマークアップ」とみなされます。
Metalink Processors that encounter foreign markup in a location that is legal according to this specification MUST ignore such foreign markup, in particular they MUST NOT stop processing or signal an error. It might be the case that the Metalink Processor is able to process the foreign markup correctly and does so. Otherwise, such markup is termed "unknown foreign markup".
この仕様によれば合法である位置に外来マークアップが発生したメタリンクプロセッサは、特に、それらが処理を停止したり、エラーを通知してはいけません、このような外国のマークアップを無視しなければなりません。これは、メタリンクプロセッサが正しく外国マークアップを処理することが可能であり、そうする場合があります。そうでなければ、そのようなマークアップは、「未知の外国マークアップ」と呼ばれています。
When unknown foreign markup is encountered as a child of metalink: file, metalink:metalink, Metalink Processors MAY bypass the markup and any textual content and MUST NOT change their behavior as a result of the markup's presence.
ファイル、メタリンク:不明な外国のマークアップは、メタリンクの子として検出されるとメタリンク、メタリンクプロセッサは、マークアップし、任意のテキストコンテンツをバイパスかもしれなくて、マークアップの存在の結果として、彼らの行動を変更してはなりません。
Metalink allows foreign markup anywhere in a Metalink document, except where it is explicitly forbidden. Child elements of metalink: file and metalink:metalink are considered Metadata elements and are described below. The role of other foreign markup is undefined by this specification.
メタリンクは、それが明示的に禁止されている場合を除いて、Metalinkのドキュメントの任意の場所で外国マークアップすることができます。メタリンクの子要素:ファイルとメタリンク:メタリンクは、メタデータ要素とみなされ、以下で説明されています。他の外国のマークアップの役割は、この仕様で定義されていません。
A Simple Extension element MUST NOT have any attributes or child elements. The element MAY contain character data or be empty. Simple Extension elements are not Language-Sensitive.
単純な拡張要素は、任意の属性や子要素を持ってはいけません。要素は、文字データが含まれているか、空でもよいです。単純な拡張要素は、言語と小文字は区別されません。
simpleExtensionElement = element * - metalink:* { text }
simpleExtensionElement =エレメント* - メタリンク:* {テキスト}
The element can be interpreted as a simple property (or name/value pair) of the parent element that encloses it. The pair consisting of the namespace URI of the element and the local name of the element can be interpreted as the name of the property. The character data content of the element can be interpreted as the value of the property. If the element is empty, then the property value can be interpreted as an empty string.
要素は、それを囲む親要素の単純なプロパティ(または名前/値のペア)として解釈することができます。要素の名前空間URIのペア要素のローカル名は、プロパティの名前として解釈することができます。要素の文字データコンテンツは、プロパティの値として解釈することができます。要素が空の場合、プロパティの値が空の文字列として解釈することができます。
The root element of a Structured Extension element MUST have at least one attribute or child element. It MAY have attributes, it MAY contain well-formed XML content (including character data), or it MAY be empty. Structured Extension elements are Language-Sensitive.
構造化拡張要素のルート要素は、少なくとも1つの属性または子要素を持たなければなりません。それは(文字データを含む)整形式のXMLコンテンツを含んでいてもよく、またはそれは空であってもよいし、属性を持っているかもしれません。構造化拡張要素は、言語と小文字が区別されます。
structuredExtensionElement = element * - metalink:* { (attribute * { text }+, (text|anyElement)*) | (attribute * { text }*, (text?, anyElement+, (text|anyElement)*)) }
structuredExtensionElement =エレメント* - メタリンク:* {(属性* {テキスト} +、(テキスト|除き、anyelement)*)| (属性* {テキスト} *、(テキスト?,除き、anyelement +、(テキスト|除き、anyelement)*))}
The structure of a Structured Extension element, including the order of its child elements, could be significant.
その子要素の順序を含む構造化拡張要素の構造は、重要である可能性があります。
This specification does not provide an interpretation of a Structured Extension element. The syntax of the XML contained in the element (and an interpretation of how the element relates to its containing element) is defined by the specification of the Metalink extension.
この仕様は、構造化された拡張要素の解釈を提供していません。要素(要素がそれを含む素子に関する方法の解釈)に含まれるXMLの構文は、メタリンク拡張の仕様によって定義されます。
This document makes use of the XML registry specified in [RFC3688]. Accordingly, IANA has made the following registration:
この文書では、[RFC3688]で指定されたXMLレジストリを使用しています。したがって、IANAは、以下の登録をしました。
Registration request for the Metalink namespace:
メタリンクの名前空間の登録要求:
URI: urn:ietf:params:xml:ns:metalink
URI:URN:IETF:のparams:XML:NS:メタリンク
Registrant Contact: See the "Authors' Addresses" section of this document.
登録者連絡先:このドキュメントの「著者のアドレス」を参照してください。
XML: None. Namespace URIs do not represent an XML specification.
XML:なし。名前空間URIはXMLの仕様を示すものではありません。
A Metalink Document, when serialized as XML 1.0, can be identified with the following media type:
XML 1.0としてシリアルMetalinkのドキュメントは、次のメディアタイプを識別することができます。
Type name: application
型名:アプリケーション
Subtype name: metalink4+xml
サブタイプ名:metalink4 + xmlの
Required parameters: None.
必須パラメータ:なし。
Optional parameters:
オプションのパラメータ:
"charset": This parameter has semantics identical to the charset parameter of the "application/xml" media type as specified in [RFC3023].
「文字セット」は:このパラメータは、[RFC3023]で指定されるように、「アプリケーション/ XML」メディアタイプのcharsetパラメータと同じ意味を有します。
Encoding considerations: Identical to those of "application/xml" as described in [RFC3023], Section 3.2.
符号化の考慮事項:[RFC3023]に記載されているように、「アプリケーション/ XML」のものと同一、セクション3.2。
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: File transfer applications.
このメディアタイプを使用するアプリケーション:ファイル転送アプリケーション。
Additional information:
追加情報:
Magic number(s): None.
マジックナンバー(S):なし。
File extension: .meta4
ファイル拡張子:.meta4
Macintosh File Type code: TEXT
Macintoshのファイルタイプコード:TEXT
Person and email address to contact for further information: Anthony Bryan <anthonybryan@gmail.com>
Personと詳細のために連絡する電子メールアドレス:アンソニー・ブライアン<anthonybryan@gmail.com>
Intended usage: COMMON
意図している用法:COMMON
Restrictions on usage: None.
使用に関する制限:なし。
Author: Anthony Bryan <anthonybryan@gmail.com>
著者:アンソニー・ブライアン<anthonybryan@gmail.com>
Change controller: IESG
変更コントローラ:IESG
Because Metalink is an XML-based format, existing XML security mechanisms can be used to secure its content.
メタリンクは、XMLベースのフォーマットであるため、既存のXMLのセキュリティメカニズムは、そのコンテンツを保護するために使用することができます。
Publishers of Metalink Documents may have sound reasons for signing otherwise-unprotected content. For example, a merchant might digitally sign a Metalink that lists a file download to verify its origin. Other merchants may wish to sign and encrypt Metalink Documents that list digital songs that have been purchased. Many other examples are conceivable.
メタリンクドキュメントの出版社は、そうでない場合は、保護されていないコンテンツに署名するための妥当な理由を有することができます。例えば、商人はデジタルでその起源を確認するために、ファイルのダウンロードを一覧表示メタリンクに署名することがあります。他の商人は、購入されたデジタル楽曲をリストMetalinkの文書に署名し、暗号化したい場合があります。他の多くの例が考えられます。
Publishers are encouraged to offer Metalink documents via authenticated HTTP under Transport Layer Security (TLS) as specified in [RFC2818]. The choice of a secure content layer rests entirely with the content providers.
パブリッシャーは、[RFC2818]で指定されたトランスポート層セキュリティ(TLS)の下で、認証済みHTTP経由でMetalinkのドキュメントを提供することが奨励されています。セキュアなコンテンツ層の選択は、コンテンツプロバイダと完全にかかっています。
Publishers are also encouraged to include digital signatures of the files within the Metalink Documents, if they are available, as described in Section 4.2.13.
彼らが利用可能な場合、セクション4.2.13で説明したように出版社はまた、メタリンクドキュメント内のファイルのデジタル署名を含めることをお勧めします。
Normally, a publisher is in the best position to know how strong the protective signing ought to be on their content. Thus, a publisher can choose weak or strong cryptography, and a Metalink Processor SHOULD normally accept that. There are potential applications where the Metalink Processor chooses to reject weak cryptography, but that is not envisioned as the common use case.
通常、出版社はどのように強力な保護署名がその内容になるはず知るための最良の位置にあります。このように、出版社は弱いか強力な暗号化を選択することができ、およびメタリンクプロセッサは、通常、それを受け入れる必要があります。 Metalinkのプロセッサは、弱い暗号を拒否することを選択したが、それは一般的な使用例として想定されていない潜在的なアプリケーションがあります。
The root of a Metalink Document (i.e., metalink:metalink) or any metalink:file element MAY have an Enveloped Signature, as described by XML-Signature and Syntax Processing [REC-xmldsig-core].
メタリンクドキュメント(すなわち、メタリンク:メタリンク)の根または任意のメタリンク:XML署名および構文処理[REC-XMLDSIGコア]によって記載されるようにファイルの要素は、エンベロープ署名があるかもしれません。
Although signing and verifying signatures are both OPTIONAL, an implementation that supports either feature SHOULD implement RSA with a minimum key size of 2048 with SHA-256.
署名と検証署名はどちらもオプションであるが、いずれかの機能をサポートする実装では、SHA-256 2048の最小キーサイズでRSAを実装する必要があります。
Metalink Processors that support verifying signatures MUST reject Metalink Documents with invalid signatures.
検証署名をサポートMetalinkのプロセッサは、無効な署名とMetalinkのドキュメントを拒絶しなければなりません。
Metalink Processors MUST NOT reject a Metalink Document containing such a signature because they are not capable of verifying it; they MUST continue processing and MAY inform the user of their failure to validate the signature.
メタリンクプロセッサは、彼らはそれを検証することができないので、そのような署名を含むメタリンク文書を拒絶してはいけません。彼らは、処理を継続しなければならないし、署名を検証するために彼らの失敗をユーザに通知することができます。
In other words, the presence of an element with the namespace URI "http://www.w3.org/2000/09/xmldsig#" and a local name of "Signature" as a child of the document element MUST NOT cause a Metalink Processor to fail merely because of its presence.
つまり、ドキュメント要素の子として名前空間URI「http://www.w3.org/2000/09/xmldsig#」と「署名」のローカル名を持つ要素の存在を引き起こしてはなりませんメタリンクのプロセッサは、単に、その存在の失敗します。
Other elements in a Metalink Document MUST NOT be signed unless their definitions explicitly specify such a capability.
それらの定義が明示的にそのような機能を指定しない限り、Metalinkのドキュメント内の他の要素は、署名してはなりません。
Section 6.5.1 of [REC-xmldsig-core] requires support for Canonical XML [REC-xml-c14n]. However, many - implementers do not use it because signed XML documents - enclosed in other XML documents have their signatures - broken. Thus, Metalink Processors that verify signed Metalink Documents MUST be able to canonicalize with the exclusive XML canonicalization method identified by the URI "http://www.w3.org/2001/10/xml-exc-c14n#", as specified in Exclusive XML Canonicalization [REC-xml-exc-c14n].
[REC-XMLDSIG-コア]のセクション6.5.1 [REC-XML-C14N] CanonicalのXMLのサポートが必要です。しかし、多くの - 署名したXMLドキュメントので、実装者がそれを使用していない - 他のXML文書に囲まれた自分の署名を持っている - 壊れました。で指定されるようにこのように、署名されたメタリンクドキュメントを検証メタリンクプロセッサは、「http://www.w3.org/2001/10/xml-exc-c14n#」URIによって識別される排他的XML正則化法を用いて正規化することができなければなりません独占XML正則[REC-XML-EXC-C14N]。
Section 4.4.2 of [REC-xmldsig-core] requires support for Digital Signature Algorithm (DSA) signatures and recommends support for RSA signatures. However, because of the much greater popularity in the market of RSA versus DSA, Metalink Processors that verify signed Metalink Documents MUST be able to verify RSA signatures, but do not need be able to verify DSA signatures. Due to security issues that can arise if the keying material for message authentication code (MAC) authentication is not handled properly, Metalink Documents SHOULD NOT use MACs for signatures.
[REC-XMLDSIGコア]のセクション4.4.2は、デジタル署名アルゴリズム(DSA)署名のサポートを必要とRSA署名のサポートをお勧めします。しかし、DSA対RSAの市場ではるかに大きな人気を、署名Metalinkのドキュメントを確認するMetalinkのプロセッサは、RSA署名を検証できなければならないが、DSA署名を検証することができ必要はありません。メッセージ認証コード(MAC)認証用の鍵材料が適切に処理されていない場合に発生する可能性があり、セキュリティ上の問題に、メタリンクドキュメントを署名にMACを使用しないでください。
Metalink Processors handle URIs and IRIs. See Section 7 of [RFC3986] and Section 8 of [RFC3987] for security considerations related to their handling and use.
メタリンクプロセッサはURIとアイリスを扱います。彼らの取り扱いと使用に関連するセキュリティ上の考慮事項については、[RFC3986]と[RFC3987]のセクション8のセクション7を参照してください。
There is potential for spoofing attacks where the attacker publishes Metalink Documents with false information. Malicious publishers might create Metalink Documents containing inaccurate information anywhere in the document. Unaware downloaders could be deceived into downloading malicious or worthless content. Malicious publishers could attempt a distributed denial-of-service attack by inserting unrelated IRIs into Metalink Documents.
攻撃者が虚偽の情報をメタリンクドキュメントを公開するスプーフィング攻撃の可能性があります。悪質な出版社は、ドキュメント内の任意の場所に不正確な情報を含むメタリンクドキュメントを作成することがあります。気づかないダウンローダは、悪意のあるまたは価値のないコンテンツをダウンロードするにだまされる可能性があります。悪質な出版社はMetalinkのドキュメントに無関係な絞りを挿入することにより、分散型サービス拒否攻撃を試みることができます。
Digital signatures address the issue of spoofing.
デジタル署名は、なりすましの問題に対処します。
Currently, some of the hash types defined in the IANA registry named "Hash Function Textual Names" are considered insecure. These include the whole Message Digest family of algorithms that are not suitable for cryptographically strong verification. Malicious parties could provide files that appear to be identical to another file because of a collision, i.e., the weak cryptographic hashes of the intended file and a substituted malicious file could match.
現在、「ハッシュ関数テキスト名」という名前のIANAレジストリで定義されたハッシュタイプのいくつかは、安全でないと考えられています。これらは、暗号強度の高い検証するのに適していないアルゴリズムの全体のメッセージダイジェストファミリが含まれます。悪意のある当事者がために衝突、他のファイルと同一であることが表示されるファイルを提供することができ、すなわち、意図したファイルと置換悪質なファイルの弱い暗号ハッシュが一致する可能性があります。
Metalink Generators and Processors MUST support "sha-256", which is SHA-256, as specified in [FIPS-180-3], and MAY support stronger hashes.
メタリンクジェネレータ及びプロセッサは、[FIPS-180-3]で指定された、より強いハッシュをサポートし得るので、SHA-256である、「SHA-256」をサポートしなければなりません。
If a Metalink Document contains hashes, it SHOULD include "sha-256", which is SHA-256, or stronger. It MAY also include other hashes from the IANA registry named "Hash Function Textual Names".
Metalinkのドキュメントは、ハッシュが含まれている場合は、SHA-256である「SHA-256」、またはより強力なを含むべきです。また、「ハッシュ関数テキスト名」という名前のIANAレジストリから他のハッシュを含むかもしれません。
[BITTORRENT] Cohen, B., "The BitTorrent Protocol Specification", BITTORRENT 11031, February 2008, <http://www.bittorrent.org/beps/bep_0003.html>.
[BitTorrentの]コーエン、B.、 "BitTorrentのプロトコル仕様"、BitTorrentの11031、2008年2月、<http://www.bittorrent.org/beps/bep_0003.html>。
[FIPS-180-3] National Institute of Standards and Technology (NIST), "Secure Hash Standard (SHS)", FIPS PUB 180-3, October 2008.
[FIPS-180-3]国立標準技術研究所(NIST)、 "セキュアハッシュ規格(SHS)"、FIPS PUB 180-3の、2008年10月。
[ISO3166-1] International Organization for Standardization, "ISO 3166- 1:2006. Codes for the representation of names of countries and their subdivisions -- Part 1: Country codes", November 2006.
[ISO3166-1]標準化、国際機関「ISO 3166- 1:2006年の国とその下位区分の名前の表現のためのコード - 第1部:国コード」、2006年11月。
[REC-xml] Yergeau, F., Paoli, J., Bray, T., Sperberg-McQueen, C., and E. Maler, "Extensible Markup Language (XML) 1.0 (Fifth Edition)", W3C REC-xml-20081126, November 2008, <http://www.w3.org/TR/2008/REC-xml-20081126/>.
[REC-XML] Yergeau、F.、パオリ、J.、ブレイ、T.、Sperberg-マックィーン、C.、およびE. MALER、 "拡張マークアップ言語(XML)1.0(第5版)"、W3C REC-XML -20081126、2008年11月、<http://www.w3.org/TR/2008/REC-xml-20081126/>。
[REC-xml-c14n] Boyer, J., "Canonical XML Version 1.0", W3C REC REC-xml-c14n-20010315, March 2001, <http://www.w3.org/TR/2001/REC-xml-c14n-20010315>.
[REC-XML-C14N]ボイヤー、J.、 "標準的なXMLバージョン1.0"、W3C REC REC-XML-C14N-20010315、2001年3月、<http://www.w3.org/TR/2001/REC-xml -c14n-20010315>。
[REC-xml-exc-c14n] Eastlake, D., Boyer, J., and J. Reagle, "Exclusive XML Canonicalization Version 1.0", W3C REC REC-xml-exc-c14n-20020718, July 2002, <http://www.w3.org/TR/2002/REC-xml-exc-c14n-20020718/>.
[REC-XML-EXC-C14N]イーストレイク、D.、ボイヤー、J.、およびJ. Reagle、 "独占XML正規化バージョン1.0"、W3C REC REC-XML-EXC-C14N-20020718、2002年7月、<のhttp: //www.w3.org/TR/2002/REC-xml-exc-c14n-20020718/>。
[REC-xml-infoset] Cowan, J. and R. Tobin, "XML Information Set (Second Edition)", W3C REC-xml-infoset-20040204, February 2004, <http://www.w3.org/TR/2004/REC-xml-infoset-20040204/>.
[REC-XML-インフォセット]コーワン、J.とR.トビン、 "XML情報セット(第二版)"、W3C REC-XML-インフォセット-20040204、2004年2月、<http://www.w3.org/TR / 2004 / REC-XML-インフォセット-20040204 />。
[REC-xml-names] Hollander, D., Bray, T., Tobin, R., and A. Layman, "Namespaces in XML 1.0 (Third Edition)", W3C REC-xml-names-20091208, December 2009, <http://www.w3.org/TR/2009/REC-xml-names-20091208/>.
[REC-XML-名]オランダ、D.、ブレイ、T.、トービン、R.、およびA.素人、 "XML 1.0での名前空間(第3版)"、W3C REC-XML-名-20091208、2009年12月、 <http://www.w3.org/TR/2009/REC-xml-names-20091208/>。
[REC-xmldsig-core] Solo, D., Reagle, J., and D. Eastlake, "XML-Signature Syntax and Processing (Second Edition)", W3C REC-xmldsig- core-20080610, June 2008, <http://www.w3.org/TR/2008/REC-xmldsig-core-20080610/>.
[REC-XMLDSIGコア]ソロ、D.、Reagle、J.、およびD.イーストレーク、 "XML-署名構文および処理(第二版)"、W3C REC-xmldsig-コア20080610 2008年6月、<HTTP: //www.w3.org/TR/2008/REC-xmldsig-core-20080610/>。
[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March 1997.
[RFC2119]ブラドナーの、S.、 "要件レベルを示すためにRFCsにおける使用のためのキーワード"、BCP 14、RFC 2119、1997年3月。
[RFC2818] Rescorla, E., "HTTP Over TLS", RFC 2818, May 2000.
[RFC2818]レスコラ、E.、 "TLSオーバーHTTP"、RFC 2818、2000年5月。
[RFC3023] Murata, M., St. Laurent, S., and D. Kohn, "XML Media Types", RFC 3023, January 2001.
[RFC3023]村田、M.、サンローラン、S.、およびD.コーン、 "XMLのメディアタイプ"、RFC 3023、2001年1月。
[RFC3339] Klyne, G. and C. Newman, "Date and Time on the Internet: Timestamps", RFC 3339, July 2002.
[RFC3339] Klyne、G.とC.ニューマン、 "インターネット上の日付と時刻:タイムスタンプ"、RFC 3339、2002年7月。
[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、 "ユニフォームリソース識別子(URI):汎用構文"、STD 66、RFC 3986、2005年1月。
[RFC3987] Duerst, M. and M. Suignard, "Internationalized Resource Identifiers (IRIs)", RFC 3987, January 2005.
[RFC3987] Duerst、M.およびM. Suignard、 "国際化リソース識別Fiers(IRI)"、RFC 3987、2005年1月。
[RFC4288] Freed, N. and J. Klensin, "Media Type Specifications and Registration Procedures", BCP 13, RFC 4288, December 2005.
[RFC4288]解放され、N.とJ. Klensin、 "メディアタイプの仕様と登録手順"、BCP 13、RFC 4288、2005年12月。
[RFC5234] Crocker, D., Ed. and P. Overell, "Augmented BNF for Syntax Specifications: ABNF", STD 68, January 2008.
[RFC5234]クロッカー、D.、エド。そして、P. Overell、 "構文仕様のための増大しているBNF:ABNF"、STD 68、2008年1月。
[RFC5646] Phillips, A. and M. Davis, "Tags for Identifying Languages", BCP 47, RFC 5646, September 2009.
[RFC5646]フィリップス、A.とM.デイヴィス、 "言語を識別するためのタグ"、BCP 47、RFC 5646、2009年9月。
[ISO.8601.1988] International Organization for Standardization, "Data elements and interchange formats - Information interchange - Representation of dates and times", ISO Standard 8601, June 1988.
[ISO.8601.1988]国際標準化機構、「データ要素と交換フォーマット - 情報交換 - 日付と時刻の表現」、ISO規格8601、1988年6月。
[NOTE-datetime-19980827] Wolf, M. and C. Wicksteed, "Date and Time Formats", W3C NOTE-datetime-19980827, August 1998, <http://www.w3.org/TR/1998/NOTE-datetime-19980827>.
[NOTE-日時-19980827]ウルフ、M.とC.ウィックスティード、 "日付と時刻の形式"、W3C NOTE-日時-19980827、1998年8月、<http://www.w3.org/TR/1998/NOTE-日時-19980827>。
[REC-xmlschema-2-20041028] Malhotra, A. and P. Biron, "XML Schema Part 2: Datatypes Second Edition", W3C REC-xmlschema-2-20041028, October 2004, <http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/>.
[REC-XMLSCHEMA-2-20041028]マルホトラ、A.、およびP.ビロン、 "XMLスキーマパート2:データ型第二版"、W3C REC-XMLSCHEMA-2-20041028、2004年10月、<のhttp://www.w3。 ORG / TR / 2004 / REC-XMLSCHEMA-2から20041028 />。
[RELAX-NG] Clark, J., "RELAX NG Compact Syntax", December 2001, <http ://www.oasis-open.org/committees/relax-ng/ compact-20021121.html>.
[RELAX-NGを]クラーク、J.、 "NGコンパクト構文をRELAX"、2001年12月、<のhttp://www.oasis-open.org/committees/relax-ng/コンパクト-20021121.html>。
[RFC3688] Mealling, M., "The IETF XML Registry", BCP 81, RFC 3688, January 2004.
[RFC3688] Mealling、M.、 "IETF XMLレジストリ"、BCP 81、RFC 3688、2004年1月。
[RFC4287] Nottingham, M. and R. Sayre, "The Atom Syndication Format", RFC 4287, December 2005.
[RFC4287]ノッティンガム、M.とR.セイヤー、 "Atom配信フォーマット"、RFC 4287、2005年12月。
[RFC4880] Callas, J., Donnerhacke, L., Finney, H., Shaw, D., and R. Thayer, "OpenPGP Message Format", RFC 4880, November 2007.
[RFC4880]カラス、J.、Donnerhacke、L.、フィニー、H.、ショー、D.、およびR.セイヤー、 "OpenPGPのメッセージフォーマット"、RFC 4880、2007年11月。
Appendix A. Acknowledgements and Contributors
付録A.謝辞と協力者
The layout and shape of this document relies heavily on work pioneered in the Atom Syndication Format as specified in [RFC4287].
このドキュメントのレイアウトや形状は、[RFC4287]で指定されているAtom配信フォーマットに開拓し、作業に大きく依存しています。
The content and concepts within are a product of the Metalink community. Key contributors provided early implementations: A. Bram Neijt, Hampus Wessman, Darius Liktorius, Manuel Subredu, Michael Burford, Giorgio Maone, Nils Maier, Max Velasques, Manolo Valdes, Hayden Legendre, Frederick Cheung, Rene Leonhardt, Per Oyvind Karlsen, Matt Domsch, Yazsoft, KGet developers, Free Download Manager developers, Orbit developers, Arne Babenhauserheide, Mathias Berchtold, Xienzhenyu and TheWorld Browser developers, Xi Software, Agostino Russo, and James Antill.
内のコンテンツと概念は、Metalinkのコミュニティの産物です。 A.ブラムNeijt、Hampus Wessman、ダリウスLiktorius、マヌエルSubredu、マイケル・バーフォード、ジョルジオMaone、ニルス・マイヤー、マックスVelasques、マノロ・バルデス、ヘイデンルジャンドル、フレデリック・チャン、ルネ・レオンハルト、パーOyvind Karlsenの、マットDomsch:初期の実装を提供する主要な貢献者、Yazsoft、KGetの開発者、無料ダウンロードマネージャの開発者は、開発者、アルネBabenhauserheide、マティアス・ベルヒトルト、XienzhenyuとTheWorldブラウザの開発者は、Xiのソフトウェア、アゴスティーノ・ルッソ、とジェームズAntillオービット。
The Metalink community has dozens of contributors who contributed to the evolution of Metalink or proposed ideas and wording for this document, including:
メタリンクのコミュニティには、メタリンクの進化や、この文書の提案のアイデアや言葉遣いに貢献した協力者の数十があります。
Paul Burkhead, Kristian Weston, Nicolas Alvarez, Urs Wolfer, Bridget and Ethan Fletcher, Patrick Ruckstuhl, Sebastien Willemijns, Micah Cowan, Ruben Kerkhof, Danny Ayers, Nick Dominguez, Gary Zellerbach, James Clark, Daniel Stenberg, John and Sandra Sowder, Salvatore Musumeci, Steve Eshelman, Lucas Hewett, Ryan Cronin, Dave Winquist, Bob Denison, Wes Shelton, Josh Colbert, Steve Kleisath, Chad Neptune, Derick Cordoba, Nick Carrabba, Chris Carrabba, Erin Solari, Ryan Alexander, Tom Mainville, Janie Wargo, Jason Hansen, Tim Bray, Dan Brickley, Markus Hofmann, Dan Connolly, Tim Berners-Lee, Louis Suarez-Potts, Ross Smith, Jeff Covey, Ed Lee, Shawn Wilsher, Mike Connor, Johan Svedberg, Kees Cook, Dedric Carter, and Debi Goulding. We also thank the Anthony Family, the Bryan Family, Juanita Anthony, and Zimmy Bryan.
ポール・Burkhead、クリスチャンウェストン、ニコラス・アルバレス、ウルスWolfer、ブリジットとイーサン・フレッチャー、パトリックRuckstuhl、セバスチャンWillemijns、ミカ・コーワン、ルーベンKerkhof、ダニー・エアーズ、ニック・ドミンゲス、ゲイリーZellerbach、ジェームズ・クラーク、ダニエル・ステンバーグ、ジョンとサンドラSowder、サルヴァトーレMusumeci、スティーブEshelman、ルーカスヒューイット、ライアン・クローニン、デイブWinquist、ボブ・デニソン、ウェス・シェルトン、ジョシュ・コルベール、スティーブ・クレイサス、チャドネプチューン、Derickコルドバ、ニックCarrabba、クリス・キャラバ、エリン・ソラーリ、ライアン・アレクサンダー、トムMainville、Janie Wargo、ジェイソン・ハンセン、ティム・ブレイ、ダン・ブリックリー、マーカス・ホフマン、ダン・コノリー、ティム・バーナーズ=リー、ルイ・スアレス - ポッツ、ロス・スミス、ジェフ・コヴィー、エド・リー、ショーンWilsher、マイク・コナー、ヨハン・スベドバーグ、キース・クック、Dedricカーター、およびデビグールディング。また、アンソニー・ファミリー、ブライアン・ファミリー、Juanitaのアンソニー、およびZimmyブライアンに感謝します。
Special thanks to Eran Hammer-Lahav, document shepherd, and Lisa Dusseault, Area Director. We also thank the following contributors for assistance and review: Mark Nottingham, Peter Saint-Andre, Julian Reschke, Chris Newman, Ian Macfarlane, Dave Cridland, Barry Leiba, Uri Blumenthal, Paul Hoffman, Felix Sasaki, Matthias Fuchs, Mark Baker, Scott Cantor, Brian Carpenter, Alexey Melnikov, Lars Eggert, Pasi Eronen, Tim Polk, Dan Romascanu, and Bjoern Hoehrmann.
エランハンマー - Lahav、文書の羊飼い、およびリサDusseault、エリアディレクターに感謝します。我々はまた、支援やレビューのために、次の貢献者に感謝:マーク・ノッティンガム、ピーター・サン・アンドレ、ジュリアンReschke、クリス・ニューマン、イアン・マクファーレン、デイブCridland、バリー・レイバ、ウリブルーメンソール、ポール・ホフマン、フェリックス・佐々木、マティアス・フックス、マーク・ベイカー、スコットカントール、ブライアン・カーペンター、アレクセイ・メルニコフ、ラースEggertの、パシEronen、ティムポーク、ダンRomascanu、およびビョルンHoehrmann。
Peter Poeml wishes to acknowledge the support of SUSE Linux Products GmbH / Novell Inc., where he was employed during much of the work on this document.
ピーターPoemlは、彼がこのドキュメントの作業の多くの間に使用されたSUSE Linuxの製品GmbH社/ノベル社のサポートを認めることを望みます。
This document is dedicated to Sonora Bryan.
この文書は、ソノラブライアンに捧げられています。
Appendix B. RELAX NG Compact Schema
付録B.はNGコンパクトスキーマをRELAX
This appendix is informative.
この付録は有益です。
The Relax NG schema explicitly excludes elements in the Metalink namespace that are not defined in this revision of the specification. Requirements for Metalink Processors encountering such markup are given in Sections 5.2 and 5.3.
リラックスNGスキーマは明示的に仕様のこの改正で定義されていないMetalinkの名前空間内の要素を除外します。このようなマークアップに遭遇Metalinkのプロセッサのための要件は、セクション5.2および5.3に記載されています。
# -*- rnc -*- # RELAX NG Compact Syntax Grammar for the # Metalink Format Specification Version 4 # Based on RFC 4287 schema
# - * - RNC - * - ## MetalinkのフォーマットのためにNGコンパクト構文文法をRELAX仕様バージョン4位RFC 4287スキーマに基づいて、
namespace local = "" namespace metalink = "urn:ietf:params:xml:ns:metalink" namespace xsd = "http://www.w3.org/2001/XMLSchema"
名前空間のローカル= "" 名前空間のメタリンク= "壷:IETF:のparams:XML:NS:Metalinkの" 名前空間のxsd = "http://www.w3.org/2001/XMLSchema"
# Common attributes
#共通の属性
metalinkCommonAttributes = attribute xml:lang { metalinkLanguageTag }?, undefinedAttribute*
metalinkCommonAttributes =属性xml:langの{metalinkLanguageTag}?undefinedAttribute *
# Text Constructs
#テキスト構築
metalinkTextConstruct = metalinkCommonAttributes, text
metalinkTextConstruct = metalinkCommonAttributesテキスト
# Date Construct
#日付コンストラクト
metalinkDateConstruct = metalinkCommonAttributes, xsd:dateTime
metalinkDateConstruct = metalinkCommonAttributes、XSD:dateTimeの
start = metalinkMetalink
=メタリンクメタリンクを開始
metalinkMetalink = element metalink:metalink { metalinkCommonAttributes, (metalinkFile+ & metalinkGenerator? & metalinkOrigin? & metalinkPublished? & metalinkUpdated? & extensionElement*) }
metalinkMetalink =メタリンク要素:メタリンク{metalinkCommonAttributes(metalinkFile +&metalinkGenerator&metalinkOrigin&metalinkPublished&metalinkUpdated&extensionElement *????)}
metalinkFile = element metalink:file { metalinkCommonAttributes, attribute name { text }, (metalinkCopyright? & metalinkDescription? & metalinkHash* & metalinkIdentity? & metalinkLanguage* & metalinkLogo? & metalinkMetaURL* & metalinkOS* & metalinkPieces* & metalinkPublisher? & metalinkSignature? & metalinkSize? & metalinkURL* & metalinkVersion? & extensionElement*) }
metalinkFile =要素のメタリンク:ファイル{metalinkCommonAttributes、(} metalinkCopyright&metalinkDescription&metalinkHash *&metalinkIdentity&metalinkLanguage *&metalinkLogo&metalinkMetaURL *&メタリンク*&metalinkPiecesを名前{テキストを属性*&metalinkPublisher&metalinkSignature&metalinkSize?????? ?&metalinkURL *&metalinkVersion?&extensionElement *)}
metalinkPieces = element metalink:pieces { attribute length { xsd:positiveInteger }, attribute type { text }, metalinkHash+ }
metalinkPieces =エレメントメタリンク:片{属性長{XSD:POSITIVEINTEGER}、属性タイプ{テキスト}、metalinkHash +}
metalinkCopyright = element metalink:copyright { metalinkTextConstruct }
metalinkCopyright =エレメントメタリンク:著作権{metalinkTextConstruct}
metalinkDescription = element metalink:description { metalinkTextConstruct }
メタリンク説明=エレメントのメタリンク:説明{メタリンクテキストコンストラクト}
metalinkGenerator = element metalink:generator { metalinkTextConstruct }
metalinkGenerator =メタリンク要素:発生} {metalinkTextConstruct
metalinkHash = element metalink:hash { attribute type { text }?, text }
metalinkHash =エレメントメタリンク:ハッシュ{属性タイプ{テキスト}?テキスト}
metalinkIdentity = element metalink:identity { metalinkTextConstruct }
metalinkIdentity =エレメントメタリンク:同一{metalinkTextConstruct}
metalinkLanguage = element metalink:language { metalinkTextConstruct }
メタリンク言語=エレメントメタリンク:言語{メタリンクテキストコンストラクト}
metalinkLogo = element metalink:logo { metalinkCommonAttributes, (metalinkUri) }
metalinkLogo =メタリンク要素:ロゴ{metalinkCommonAttributes(metalinkUri)}
metalinkMetaURL = element metalink:metaurl { metalinkCommonAttributes, attribute priority { xsd:positiveInteger { maxInclusive = "999999"}}?, attribute mediatype { text }, attribute name { text }?, (metalinkUri) }
metalinkMetaURLは=エレメントメタリンク:metaurl {metalinkCommonAttributes、属性優先{XSD:POSITIVEINTEGER {maxInclusiveを= "999999"}} ?, MEDIATYPE {テキスト}属性、テキスト{}?(metalinkUri)属性名}
metalinkOrigin = element metalink:origin { metalinkCommonAttributes, attribute dynamic { xsd:boolean }?, (metalinkUri) }
metalinkOrigin =エレメントメタリンク:起源{metalinkCommonAttributes、動的{XSD属性:ブールを}?(metalinkUri)}
metalinkOS = element metalink:os { metalinkTextConstruct }
METALINK =エレメントメタリンク:{S} metalinkTextConstruct
metalinkPublished = element metalink:published { metalinkDateConstruct }
metalinkPublished =エレメントメタリンク:公開{metalinkDateConstruct}
metalinkPublisher = element metalink:publisher { metalinkCommonAttributes, attribute name { text }, attribute url { metalinkUri }?
metalinkPublisher =要素のメタリンク:パブリッシャー{metalinkCommonAttributesは、名前{テキスト}、属性のURL {metalinkUriを}属性?
}
}
metalinkSignature = element metalink:signature { attribute mediatype { text }, metalinkTextConstruct }
metalinkSignature =エレメントメタリンク:署名{属性MEDIATYPE {テキスト}} metalinkTextConstruct
metalinkSize = element metalink:size { xsd:nonNegativeInteger }
metalinkSize =エレメントのメタリンク:サイズ{XSD:NonNegativeIntegerの}
metalinkUpdated = element metalink:updated { metalinkDateConstruct }
メタリンク更新=エレメントメタリンク:更新{メタリンク日付コンストラクト}
metalinkURL = element metalink:url { metalinkCommonAttributes, attribute location { xsd:string { minLength = "2" maxLength="2"} }?, attribute priority { xsd:positiveInteger { maxInclusive = "999999"}}?, (metalinkUri) }
metalinkURL =エレメントメタリンク:URL {metalinkCommonAttributes、場所属性{XSD:列{はminLength = "2" のmaxLength = "2"}}?属性優先{XSD:POSITIVEINTEGER {maxInclusiveを= "999999"}}?(metalinkUri)}
metalinkVersion = element metalink:version { metalinkTextConstruct }
metalinkVersion =エレメントメタリンク:バージョン{metalinkTextConstruct}
# As defined in RFC 3066 and compatible with RFC 5646 metalinkLanguageTag = xsd:string { pattern = "[A-Za-z]{1,8}(-[A-Za-z0-9]{1,8})*" }
( - [A-ZA-Z0-9] {1,8})*文字列{パターン=「[A-ZA-Z] {1,8}:RFC 3066で定義されており、RFC 5646 metalinkLanguageTag = XSDと互換性が# "}
# Unconstrained; it's not entirely clear how IRI fit into # xsd:anyURI so let's not try to constrain it here metalinkUri = text
#制約なし;それは、IRIは、#のXSDにどのように適合するか完全には明らかではありません:anyURIのは、それではここmetalinkUri =テキストを、それを制約しようとしないようにしましょう
# Simple Extension
#単純な拡張
simpleExtensionElement = element * - metalink:* { text
simpleExtensionElement =要素* - メタリンク:* {テキスト
}
}
# Structured Extension
#ストラクチャード拡張
structuredExtensionElement = element * - metalink:* { (attribute * { text }+, (text|anyElement)*) | (attribute * { text }*, (text?, anyElement+, (text|anyElement)*)) }
structuredExtensionElement =エレメント* - メタリンク:* {(属性* {テキスト} +、(テキスト|除き、anyelement)*)| (属性* {テキスト} *、(テキスト?,除き、anyelement +、(テキスト|除き、anyelement)*))}
# Other Extensibility
#その他の拡張
extensionElement = simpleExtensionElement | structuredExtensionElement
extensionElement = simpleExtensionElement | structuredExtensionElement
undefinedAttribute = attribute * - (xml:lang | local:*) { text }
undefinedAttribute =属性* - (のxml:langの|ローカル:*){テキスト}
undefinedContent = (text|anyForeignElement)*
undefinedContent =(テキスト| anyForeignElement)*
anyElement = element * { (attribute * { text } | text | anyElement)* }
除き、anyelement =要素* {(属性* {テキスト} |テキスト|除き、anyelement)*}
anyForeignElement = element * - metalink:* { (attribute * { text } | text | anyElement)* }
anyForeignElement =要素* - メタリンク:* {(属性* {テキスト} |テキスト|除き、anyelement)*}
# EOF
#EOF
Index
指数
A ABNF metalinkGenerator 13 metaurl mediatype 17 signature mediatype 19 application/metalink4+xml Media Type 23
ABNF metalinkGenerator 13 metaurl MEDIATYPE 17署名MEDIATYPE 19アプリケーション/ metalink4 + xmlのメディアタイプ23
C copyright XML element 12
C著作権XML要素12
D description XML element 13
D記述XML要素13
F file XML element 10
FファイルのXML要素10
G generator XML element 13 Grammar metalinkCommonAttributes 7 metalinkCopyright 13 metalinkDateConstruct 8 metalinkDescription 13 metalinkFile 10 metalinkGenerator 13 metalinkHash 14 metalinkIdentity 15 metalinkLanguage 15 metalinkLogo 16 metalinkMetalink 8 metalinkMetaURL 16 metalinkOrigin 17 metalinkOS 18 metalinkPieces 12 metalinkPublished 18 metalinkPublisher 18 metalinkSignature 19 metalinkSize 20 metalinkTextConstruct 7 metalinkUpdated 20 metalinkURL 21 metalinkVersion 21 simpleExtensionElement 22 structuredExtensionElement 23
GジェネレータXML要素13文法metalinkCommonAttributes 7 metalinkCopyright 13 metalinkDateConstruct 8 metalinkDescription 13 metalinkFile 10 metalinkGenerator 13 metalinkHash 14 metalinkIdentity 15 metalinkLanguage 15 metalinkLogo 16 metalinkMetalink 8 metalinkMetaURL 16 metalinkOrigin 17メタリンク18 metalinkPieces 12 metalinkPublished 18 metalinkPublisher 18 metalinkSignature 19 metalinkSize 20 metalinkTextConstruct 7 metalinkUpdated 20 metalinkURL 21 simpleExtensionElement 21 23 22 structuredExtensionElement metalinkVersion
H hash XML element 14
HハッシュXML要素14
I identity XML element 15
IアイデンティティXML要素15
L language XML element 15 logo XML element 16
L言語のXML要素15ロゴXML要素16
M Media Type application/metalink4+xml 23 metalink XML element 8 metalinkCommonAttributes grammar production 7 metalinkCopyright grammar production 12 metalinkDateConstruct grammar production 8 metalinkDescription grammar production 13 metalinkFile grammar production 10 metalinkGenerator ABNF 13 metalinkGenerator grammar production 13 metalinkHash grammar production 14 metalinkIdentity grammar production 15 metalinkLanguage grammar production 15 metalinkLogo grammar production 16 metalinkMetalink grammar production 8 metalinkMetaURL grammar production 16 metalinkOrigin grammar production 17 metalinkOS grammar production 18 metalinkPieces grammar production 12 metalinkPublished grammar production 18 metalinkPublisher grammar production 18 metalinkSignature grammar production 19 metalinkSize grammar production 20 metalinkTextConstruct grammar production 7 metalinkUpdated grammar production 20 metalinkURL grammar production 21 metalinkVersion grammar production 21 metaurl mediatype ABNF 16 metaurl XML element 16
Mメディアタイプアプリケーション/ metalink4 + XML 23メタリンクのXML要素8 metalinkCommonAttributes文法生産7 metalinkCopyright文法製造12 metalinkDateConstruct文法産8 metalinkDescription文法製造13 metalinkFile文法製造10 metalinkGenerator ABNF 13 metalinkGenerator文法製造13 metalinkHash文法製造14 metalinkIdentity文法産15 metalinkLanguage文法製造15 metalinkLogo文法産16 metalinkMetalink文法生産8 metalinkMetaURL文法製造16 metalinkOrigin文法産17 metalinkOS文法製造18 metalinkPieces文法産12 metalinkPublished文法製造18 metalinkPublisher文法産18 metalinkSignature文法製造19 metalinkSize文法産20 metalinkTextConstruct文法生産7 metalinkUpdated文法製造20 metalinkURL文法生産21 metalinkVersion文法生産21 metaurl MEDIATYPE ABNF 1 6 metaurl XML要素16
O origin XML element 17 os XML element 18
O原点XML要素のXML要素OS 17 18
P pieces XML element 12 published XML element 18 publisher XML element 18
P個のXML要素12に公開XML要素18パブリッシャXML要素18
S signature mediatype ABNF 19 signature XML element 19 simpleExtensionElement grammar production 22 size XML element 20 structuredExtensionElement grammar production 23
19署名XML要素19 simpleExtensionElement文法製造22サイズのXML要素ABNF S署名MEDIATYPE 20 structuredExtensionElement文法製造23
U updated XML element 20 url XML element 20
U更新されたXML要素20のURL XML要素20
V version XML element 21
バージョンCML部材21で
X XML Elements copyright 12 description 13 file 9 generator 13 hash 14 identity 15 language 15 logo 16 metalink 8 metaurl 16 origin 17 os 18 pieces 12 published 18 publisher 18 signature 19 size 20 updated 20 url 20 version 21
X XML要素著作12の説明13ファイル9ジェネレータ13ハッシュ14アイデンティティ15言語15ロゴ16メタリンク8 metaurl 16の原点17 OS 18片12公開18パブリッシャ18署名19サイズ20更新20 URL 20版21
Authors' Addresses
著者のアドレス
Anthony Bryan Pompano Beach, FL USA
アンソニー・ブライアンポンパノビーチ、FL USA
EMail: anthonybryan@gmail.com URI: http://www.metalinker.org
電子メール:anthonybryan@gmail.com URI:http://www.metalinker.org
Tatsuhiro Tsujikawa Shiga Japan
たつひろ つじかわ しが じゃぱん
EMail: tatsuhiro.t@gmail.com URI: http://aria2.sourceforge.net
電子メール:tatsuhiro.t@gmail.com URI:http://aria2.sourceforge.net
Neil McNab San Diego, CA USA
ニール・マクナブサンディエゴ、CA USA
EMail: neil@nabber.org URI: http://www.nabber.org
電子メール:neil@nabber.org URI:http://www.nabber.org
Dr. med. Peter Poeml MirrorBrain Venloer Str. 317 Koeln 50823 DE
博士MED。ピーターPoeml MirrorBrain VenloerのStr。317ケルン50823 DE
Phone: +49 221 6778 333 8 EMail: peter@poeml.de URI: http://mirrorbrain.org/~poeml/
電話:+49 221 6778 333 8 Eメール:peter@poeml.de URI:http://mirrorbrain.org/~poeml/