RFC2397 日本語訳

2397 The "data" URL scheme. L. Masinter. August 1998. (Format: TXT=9514 bytes) (Status: PROPOSED STANDARD)
プログラムでの自動翻訳です。
英語原文

Network Working Group                                      L. Masinter
Request for Comments: 2397                           Xerox Corporation
Category: Standards Track                                  August 1998

Masinterがコメントのために要求するワーキンググループL.をネットワークでつないでください: 2397年のゼロックス社のカテゴリ: 標準化過程1998年8月

                         The "data" URL scheme

「データ」URL体系

Status of this Memo

このMemoの状態

   This document specifies an Internet standards track protocol for the
   Internet community, and requests discussion and suggestions for
   improvements.  Please refer to the current edition of the "Internet
   Official Protocol Standards" (STD 1) for the standardization state
   and status of this protocol.  Distribution of this memo is unlimited.

このドキュメントは、インターネットコミュニティにインターネット標準化過程プロトコルを指定して、改良のために議論と提案を要求します。 このプロトコルの標準化状態と状態への「インターネット公式プロトコル標準」(STD1)の現行版を参照してください。 このメモの分配は無制限です。

Copyright Notice

版権情報

   Copyright (C) The Internet Society (1998).  All Rights Reserved.

Copyright(C)インターネット協会(1998)。 All rights reserved。

1. Abstract

1. 要約

   A new URL scheme, "data", is defined. It allows inclusion of small
   data items as "immediate" data, as if it had been included
   externally.

「データ」という新しいURL体系は定義されます。 それはまるで外部的に含まれていたかのように「即座」のデータとして小さいデータ項目の包含を許容します。

2. Description

2. 記述

   Some applications that use URLs also have a need to embed (small)
   media type data directly inline. This document defines a new URL
   scheme that would work like 'immediate addressing'. The URLs are of
   the form:

また、URLを使用するいくつかのアプリケーションが直接インラインで(小さい)メディアタイプデータを埋め込む必要性を持っています。 このドキュメントは'即座のアドレシング'のようにうまくいく新しいURL体系を定義します。 URLはフォームのものです:

                    data:[<mediatype>][;base64],<data>

データ: [<mediatype>]、[;、base64]、<データ>。

   The <mediatype> is an Internet media type specification (with
   optional parameters.) The appearance of ";base64" means that the data
   is encoded as base64. Without ";base64", the data (as a sequence of
   octets) is represented using ASCII encoding for octets inside the
   range of safe URL characters and using the standard %xx hex encoding
   of URLs for octets outside that range.  If <mediatype> is omitted, it
   defaults to text/plain;charset=US-ASCII.  As a shorthand,
   "text/plain" can be omitted but the charset parameter supplied.

<mediatype>はインターネットメディアタイプ仕様(任意のパラメタがある)です。 「外観、」 ; base64"は、データがbase64としてコード化されることを意味します。 「」 ; base64"、データ(八重奏の系列としての)は安全なURLキャラクタの範囲を八重奏内部にコード化するASCIIを使用することで表されて、規格を使用して、%はその範囲の外での八重奏のためにURLの十六進法コード化をxxします。 <mediatype>が省略されるなら、テキスト/平野をデフォルトとします; charsetは米国-ASCIIと等しいです。 速記として、「テキスト/平野」は、省略されていて提供されたcharsetパラメタであるかもしれません。

   The "data:" URL scheme is only useful for short values. Note that
   some applications that use URLs may impose a length limit; for
   example, URLs embedded within <A> anchors in HTML have a length limit
   determined by the SGML declaration for HTML [RFC1866]. The LITLEN
   (1024) limits the number of characters which can appear in a single

「データ:」 URL体系は単に短い値の役に立ちます。 URLを使用するいくつかのアプリケーションが長さの限界を課すかもしれないことに注意してください。 例えば、<A>アンカーの中でHTMLに埋め込まれたURLはHTML[RFC1866]のためのSGML宣言によって決定している長さの限界を持っています。 LITLEN(1024)はシングルに現れることができるキャラクタの数を制限します。

Masinter                    Standards Track                     [Page 1]

RFC 2397                 The "data" URL scheme               August 1998

Masinter Standards Track[1ページ]RFC2397「データ」URL体系1998年8月

   attribute value literal, the ATTSPLEN (2100) limits the sum of all
   lengths of all attribute value specifications which appear in a tag,
   and the TAGLEN (2100) limits the overall length of a tag.

属性値リテラル、ATTSPLEN(2100)はタグに現れるすべての属性値仕様のすべての長さの合計を制限します、そして、TAGLEN(2100)はタグの全長を制限します。

   The "data" URL scheme has no relative URL forms.

「データ」URL体系には、どんな相対的なURLフォームもありません。

3. Syntax

3. 構文

       dataurl    := "data:" [ mediatype ] [ ";base64" ] "," data
       mediatype  := [ type "/" subtype ] *( ";" parameter )
       data       := *urlchar
       parameter  := attribute "=" value

dataurl:=、「データ:」 ; 「[mediatype]、[「;、base64"]、」、」、データが:=[」 」 /「副-タイプ」をタイプする]*をmediatypeする、(「」、パラメタ) データ:=*urlcharパラメタ:=属性「=」価値

   where "urlchar" is imported from [RFC2396], and "type", "subtype",
   "attribute" and "value" are the corresponding tokens from [RFC2045],
   represented using URL escaped encoding of [RFC2396] as necessary.

"urlchar"が[RFC2396]からインポートされて、「タイプ」、"「副-タイプ」"、「属性」、および「値」が[RFC2045]からの対応するトークン、表された使用であるところをURLは、[RFC2396]が必要に応じてコード化されるのを逃げました。

   Attribute values in [RFC2045] are allowed to be either represented as
   tokens or as quoted strings. However, within a "data" URL, the
   "quoted-string" representation would be awkward, since the quote mark
   is itself not a valid urlchar. For this reason, parameter values
   should use the URL Escaped encoding instead of quoted string if the
   parameter values contain any "tspecial".

トークンとして表されるか、引用文字列のどちらかとして[RFC2045]の属性値があることができます。 しかしながら、「データ」URLの中では、「引用文字列」表現は厄介でしょう、引用符がそれ自体で有効なurlcharでないので。 この理由のために、パラメタ値が何か"tspecial"を含んでいるなら、パラメタ値は引用文字列の代わりにURL Escapedコード化を使用するべきです。

   The ";base64" extension is distinguishable from a content-type
   parameter by the fact that it doesn't have a following "=" sign.

「」 ; base64"拡張子は次の「=」がそれで署名しないという事実でcontent typeパラメタから区別可能です。

4. Examples

4. 例

   A data URL might be used for arbitrary types of data. The URL

データURLは任意のタイプに関するデータに使用されるかもしれません。 URL

                          data:,A%20brief%20note

データ:、A%20brief%20note

   encodes the text/plain string "A brief note", which might be useful
   in a footnote link.

「要約は注意する」テキスト/明瞭なストリングをコード化します。(それは、脚注リンクで役に立つかもしれません)。

   The HTML fragment:

HTML断片:

   <IMG
   SRC="data:image/gif;base64,R0lGODdhMAAwAPAAAAAAAP///ywAAAAAMAAw
   AAAC8IyPqcvt3wCcDkiLc7C0qwyGHhSWpjQu5yqmCYsapyuvUUlvONmOZtfzgFz
   ByTB10QgxOR0TqBQejhRNzOfkVJ+5YiUqrXF5Y5lKh/DeuNcP5yLWGsEbtLiOSp
   a/TPg7JpJHxyendzWTBfX0cxOnKPjgBzi4diinWGdkF8kjdfnycQZXZeYGejmJl
   ZeGl9i2icVqaNVailT6F5iJ90m6mvuTS4OK05M0vDk0Q4XUtwvKOzrcd3iq9uis
   F81M1OIcR7lEewwcLp7tuNNkM3uNna3F2JQFo97Vriy/Xl4/f1cf5VWzXyym7PH
   hhx4dbgYKAAA7"
   ALT="Larry">

<IMG SRC="data:image/gif;base64,R0lGODdhMAAwAPAAAAAAAP///ywAAAAAMAAw AAAC8IyPqcvt3wCcDkiLc7C0qwyGHhSWpjQu5yqmCYsapyuvUUlvONmOZtfzgFz ByTB10QgxOR0TqBQejhRNzOfkVJ+5YiUqrXF5Y5lKh/DeuNcP5yLWGsEbtLiOSp a/TPg7JpJHxyendzWTBfX0cxOnKPjgBzi4diinWGdkF8kjdfnycQZXZeYGejmJl ZeGl9i2icVqaNVailT6F5iJ90m6mvuTS4OK05M0vDk0Q4XUtwvKOzrcd3iq9uis F81M1OIcR7lEewwcLp7tuNNkM3uNna3F2JQFo97Vriy/Xl4/f1cf5VWzXyym7PH hhx4dbgYKAAA7" ALT="Larry">

Masinter                    Standards Track                     [Page 2]

RFC 2397                 The "data" URL scheme               August 1998

Masinter Standards Track[2ページ]RFC2397「データ」URL体系1998年8月

   could be used for a small inline image in a HTML document.  (The
   embedded image is probably near the limit of utility. For anything
   else larger, data URLs are likely to be inappropriate.)

HTMLドキュメントの小さいインライン画像に使用できました。 (たぶんほぼユーティリティの限界には埋め込まれたイメージがあります。 データURLは他の何か、より大きいものに関して不適当である傾向があります。)

   A data URL scheme's media type specification can include other
   parameters; for example, one might specify a charset parameter.

データURL体系のメディアタイプ仕様は他のパラメタを含むことができます。 例えば、1つはcharsetパラメタを指定するかもしれません。

      data:text/plain;charset=iso-8859-7,%be%fg%be

データ: テキスト/平野; charset=iso-8859-7、%、%がfg%であったなら、いてください。

   can be used for a short sequence of greek characters.

greekキャラクタの短い系列に使用できます。

   Some applications may use the "data" URL scheme in order to provide
   setup parameters for other kinds of networking applications. For
   example, one might create a media type
           application/vnd-xxx-query

いくつかのアプリケーションが、他の種類のネットワークアプリケーションのためのセットアップパラメタを提供するのに「データ」URL体系を使用するかもしれません。 例えば、1つはメディアタイプvnd-xxxアプリケーション/質問を作成するかもしれません。

   whose content consists of a query string and a database identifier
   for the "xxx" vendor's databases. A URL of the form:

内容は"xxx"ベンダーのデータベースのための質問ストリングとデータベース識別子から成ります。 フォームの1つのURL:

   data:application/vnd-xxx-
   query,select_vcount,fcol_from_fieldtable/local

データ: アプリケーション/vnd-xxx質問、選んだ_vcount、_からのfieldtableであるか地方のfcol_

   could then be used in a local application to launch the "helper" for
   application/vnd-xxx-query and give it the immediate data included.

そして、vnd-xxxアプリケーション/質問のために「アシスタント」を始めて、即値データを含んでいて、それを与えるのに局所塗布で使用できました。

5. History

5. 歴史

   This idea was originally proposed August 1995. Some versions of the
   data URL scheme have been used in the definition of VRML, and a
   version has appeared as part of a proposal for embedded data in HTML.
   Various changes have been made, based on requests, to elide the media
   type, pack the indication of the base64 encoding more tightly, and
   eliminate "quoted printable" as an encoding since it would not easily
   yield valid URLs without additional %xx encoding, which itself is
   sufficient. The "data" URL scheme is in use in VRML, new applications
   of HTML, and various commercial products. It is being used for object
   parameters in Java and ActiveX applications.

この考えは1995年8月に元々、提案されました。 データURL体系のいくつかのバージョンがVRMLの定義に使用されました、そして、バージョンはHTMLにおける埋め込まれたデータのための提案の一部として現れました。 要求に基づいてメディアタイプを削除して、よりしっかりbase64コード化のしるしを梱包して、様々な変更が排泄すると行われた、「引用、印刷可能である、」 追加%xxのない容易に利回り有効なURLがコード化されて、そうしないでしょう、したがって、コード化として。(それは、それ自体で十分です)。 「データ」URL体系はVRML、HTMLの新しいアプリケーション、および様々な商品の中で使用中です。 それはJavaにおけるオブジェクトパラメタとActiveXアプリケーションに使用されています。

6. Security

6. セキュリティ

   Interpretation of the data within a "data" URL has the same security
   considerations as any implementation of the given media type.  An
   application should not interpret the contents of a data URL which is
   marked with a media type that has been disallowed for processing by
   the application's configuration.

「データ」URLの中のデータの解釈には、与えられたメディアタイプのどんな実装とも同じセキュリティ問題があります。 アプリケーションは処理のためにアプリケーションの構成によって禁じられたメディアタイプでマークされる1つのデータURLのコンテンツを解釈するべきではありません。

Masinter                    Standards Track                     [Page 3]

RFC 2397                 The "data" URL scheme               August 1998

Masinter Standards Track[3ページ]RFC2397「データ」URL体系1998年8月

   Sites which use firewall proxies to disallow the retrieval of certain
   media types (such as application script languages or types with known
   security problems) will find it difficult to screen against the
   inclusion of such types using the "data" URL scheme.  However, they
   should be aware of the threat and take whatever precautions are
   considered necessary within their domain.

あるメディアタイプ(知られている警備上の問題があるアプリケーションスクリプト言語かタイプなどの)の検索を禁じるのにファイアウォールプロキシを使用するサイトによって、それがそのようなタイプの包含に対して上映するのが難しいのが「データ」URL体系を使用することでわかるでしょう。 しかしながら、彼らは、脅威を意識していて、それらのドメインの中で必要であると考えられるどんな注意も払うべきです。

   The effect of using long "data" URLs in applications is currently
   unknown; some software packages may exhibit unreasonable behavior
   when confronted with data that exceeds its allocated buffer size.

アプリケーションで長い「データ」URLを使用するという効果は現在、未知です。 割り当てられたバッファサイズを超えているデータに立ち向かわれていると、いくつかのソフトウェアパッケージが無理な振舞いを示すかもしれません。

7. References

7. 参照

   [RFC2396] Berners-Lee, T., Fielding, R., and L. Masinter,
               "Uniform Resource Identifiers (URI): Generic Syntax", RFC
               2396, August 1998.

[RFC2396] バーナーズ・リー、T.、フィールディング、R.、およびL.Masinter、「Uniform Resource Identifier(URI):」 「ジェネリック構文」、RFC2396、1998年8月。

   [RFC1866]   Berners-Lee, T., and D. Connolly, "Hypertext Markup
               Language - 2.0.", RFC 1866, November 1995.

[RFC1866] バーナーズ・リー、T.、およびD.コノリー、「ハイパーテキストマークアップランゲージ--2.0」、RFC1866、11月1995日

   [RFC2045]   Freed N., and N. Borenstein., "Multipurpose Internet Mail
               Extensions (MIME) Part One: Format of Internet Message
               Bodies", RFC 2045, November 1996.

[RFC2045]がN.、およびN.Borensteinを解放した、「マルチパーパスインターネットメールエクステンション(MIME)は1つを分けます」。 「インターネットメッセージ本体の形式」、RFC2045、1996年11月。

Author contact information:

問い合わせ先を書いてください:

   Larry Masinter
   Xerox Palo Alto Research Center
   3333 Coyote Hill Road
   Palo Alto, CA 94304

ラリーMasinterゼロックスパロアルト研究センター3333コヨーテヒル・Roadパロアルト、カリフォルニア 94304

   EMail: masinter@parc.xerox.com

メール: masinter@parc.xerox.com

Masinter                    Standards Track                     [Page 4]

RFC 2397                 The "data" URL scheme               August 1998

Masinter Standards Track[4ページ]RFC2397「データ」URL体系1998年8月

Full Copyright Statement

完全な著作権宣言文

   Copyright (C) The Internet Society (1998).  All Rights Reserved.

Copyright(C)インターネット協会(1998)。 All rights reserved。

   This document and translations of it may be copied and furnished to
   others, and derivative works that comment on or otherwise explain it
   or assist in its implementation may be prepared, copied, published
   and distributed, in whole or in part, without restriction of any
   kind, provided that the above copyright notice and this paragraph are
   included on all such copies and derivative works.  However, this
   document itself may not be modified in any way, such as by removing
   the copyright notice or references to the Internet Society or other
   Internet organizations, except as needed for the purpose of
   developing Internet standards in which case the procedures for
   copyrights defined in the Internet Standards process must be
   followed, or as required to translate it into languages other than
   English.

それに関するこのドキュメントと翻訳は、コピーして、それが批評するか、またはそうでなければわかる他のもの、および派生している作品に提供するか、または準備されているかもしれなくて、コピーされて、発行されて、全体か一部分配された実装を助けるかもしれません、どんな種類の制限なしでも、上の版権情報とこのパラグラフがそのようなすべてのコピーと派生している作品の上に含まれていれば。 しかしながら、このドキュメント自体は何らかの方法で変更されないかもしれません、インターネット協会か他のインターネット組織の版権情報か参照を取り除くのなどように、それを英語以外の言語に翻訳するのが著作権のための手順がインターネットStandardsプロセスで定義したどのケースに従わなければならないか、必要に応じてさもなければ、インターネット標準を開発する目的に必要であるのを除いて。

   The limited permissions granted above are perpetual and will not be
   revoked by the Internet Society or its successors or assigns.

上に承諾された限られた許容は、永久であり、インターネット協会、後継者または案配によって取り消されないでしょう。

   This document and the information contained herein is provided on an
   "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
   TASK FORCE DISCLAIMS 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.

このドキュメントとそして、「そのままで」という基礎とインターネットの振興発展を目的とする組織に、インターネット・エンジニアリング・タスク・フォースが速達の、または、暗示しているすべての保証を放棄するかどうかというここにことであり、他を含んでいて、含まれて、情報の使用がここに侵害しないどんな保証も少しもまっすぐになるという情報か市場性か特定目的への適合性のどんな黙示的な保証。

Masinter                    Standards Track                     [Page 5]

Masinter標準化過程[5ページ]

一覧

 RFC 1〜100  RFC 1401〜1500  RFC 2801〜2900  RFC 4201〜4300 
 RFC 101〜200  RFC 1501〜1600  RFC 2901〜3000  RFC 4301〜4400 
 RFC 201〜300  RFC 1601〜1700  RFC 3001〜3100  RFC 4401〜4500 
 RFC 301〜400  RFC 1701〜1800  RFC 3101〜3200  RFC 4501〜4600 
 RFC 401〜500  RFC 1801〜1900  RFC 3201〜3300  RFC 4601〜4700 
 RFC 501〜600  RFC 1901〜2000  RFC 3301〜3400  RFC 4701〜4800 
 RFC 601〜700  RFC 2001〜2100  RFC 3401〜3500  RFC 4801〜4900 
 RFC 701〜800  RFC 2101〜2200  RFC 3501〜3600  RFC 4901〜5000 
 RFC 801〜900  RFC 2201〜2300  RFC 3601〜3700  RFC 5001〜5100 
 RFC 901〜1000  RFC 2301〜2400  RFC 3701〜3800  RFC 5101〜5200 
 RFC 1001〜1100  RFC 2401〜2500  RFC 3801〜3900  RFC 5201〜5300 
 RFC 1101〜1200  RFC 2501〜2600  RFC 3901〜4000  RFC 5301〜5400 
 RFC 1201〜1300  RFC 2601〜2700  RFC 4001〜4100  RFC 5401〜5500 
 RFC 1301〜1400  RFC 2701〜2800  RFC 4101〜4200 

スポンサーリンク

height

ホームページ製作・web系アプリ系の製作案件募集中です。

上に戻る