<html xmlns="http://www.w3.org/1999/xhtml" a0:Name="SuikaWiki" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:Version="0.9"><head></head><body><p><strong>MIME Content Types in Media Feature Expressions <ins>媒体表現式中の MIME 内容型</ins></strong><ul><li>Network Working Group                                         </li><li>Request for Comments: 2913                         </li><li>Category: Standards Track                              </li><li>G. Klyne</li><li>Content Technologies</li><li>September 2000</li></ul></p><section><h1>Status of this Memo</h1><pre>   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 &quot;Internet
   Official Protocol Standards&quot; (STD 1) for the standardization state
   and status of this protocol.  Distribution of this memo is unlimited.</pre></section><section><h1>Copyright Notice</h1><pre>   Copyright (C) The Internet Society (2000).  All Rights Reserved.</pre></section><section><h1>Abstract</h1><blockquote><p>In &quot;A Syntax for Describing Media Feature Sets&quot;, an expression format
is presented for describing media feature capabilities using simple
media feature tags.</p></blockquote><p>『媒体特徴集合の記述の構文』では、単純な特徴札を使って媒体特徴能力を記述するための式書式が示されています。</p><blockquote><p>This memo defines a media feature tag whose value is a Multipurpose
Internet Mail Extensions (MIME) content type.  This allows the
construction of feature expressions that take account of the MIME
content type of the corresponding data.</p></blockquote><p>このメモは値が多目的インターネット・メイル拡張 (MIME)
内容型である媒体特徴札を定義します。
これは対応するデータの MIME 内容型を考慮に入れた特徴式の構築を可能にします。</p></section><section><h1>Table of Contents</h1><pre>   1. Introduction .................................................. 2
      1.1 Terminology and document conventions ...................... 2
   2. Motivation and goals .......................................... 3
   3. MIME content type feature tag ................................. 3
   4. Examples ...................................................... 4
      4.1 Simple text ............................................... 4
      4.2 Fax image ................................................. 4
      4.3 Voice message ............................................. 4
      4.4 Web browser capabilities .................................. 5
   5. IANA Considerations ........................................... 5
   6. Security Considerations ....................................... 5
   7. Acknowledgements .............................................. 5
   8. References .................................................... 6
   9. Author's Address .............................................. 6
   Appendix A: 'Type' feature tag registration ...................... 7
   Full Copyright Statement ......................................... 9</pre></section><section><h1>1. Introduction</h1><blockquote><p>In &quot;A Syntax for Describing Media Feature Sets&quot; [1], an expression
format is presented for describing media feature capabilities as a
combination of simple media feature tags, registered according to
&quot;Media Feature Tag Registration Procedure&quot; [2].  This provides a
format for message handling agents to describe the media feature
content of messages that they can handle.</p></blockquote><p>『媒体特徴集合の記述の構文』では、媒体特徴能力を
『媒体特徴札登録手続き』に従って登録された単純な媒体特徴札の組合せで記述するための式書式を示しています。
これはメッセージ取扱いエージェントが自らの取扱うことのできるメッセージの媒体特徴内容を記述するための書式を提供します。</p><blockquote><p>This memo defines a media feature tag whose value is a MIME content
type.  This allows the construction of feature expressions that take
account of the MIME content type of the corresponding data.</p></blockquote><p>このメモは値が MIME 内容型である媒体特徴札を定義します。
これは、対応するデータの MIME 内容型を考慮に入れた特徴式の構築を可能とします。</p><blockquote><p>Note that a content type feature value may contain parameters, but
this is discouraged.  See section 3 and appendix A, &quot;Summary of the<pre> media features indicated&quot; for discussion of this point.</pre></p></blockquote><p>内容型特徴値は引数を含むかもしれませんが、これは非推奨であることに注意して下さい。
この点の議論は3章と附属書 A 『示される媒体特徴のまとめ』
をご覧ください。</p><section><h1>1.1 Terminology and document conventions</h1><blockquote><p>This section defines a number of terms and other document
conventions, which are used with specific meaning in this memo.</p></blockquote><p>この節は、このメモで特定の意味で使用される数々の用語と他の表記法を定義します。</p><blockquote><dl><dt>media feature</dt><dd>
information that indicates facilities assumed to be available
for the message content to be properly rendered or otherwise
presented.  Media features are not intended to include
information that affects message transmission.</dd><dt>feature set</dt><dd>
some set of media features described by a media feature
assertion, as described in &quot;A Syntax for Describing Media
Feature Sets&quot; [1].  (See that memo for a more formal definition
of this term.)</dd><dt>feature set expression</dt><dd>
a string that describes some feature set, formulated according
to the rules in &quot;A Syntax for Describing Media Feature Sets&quot; [1] (and possibly extended by other specifications).</dd></dl></blockquote><dl><dt>媒体特徴</dt><dd>適切にレンダリングされるか、その他の方法で提示されるメッセージ内容に利用可能と想定される能力を示す情報。媒体特徴はメッセージ転送に影響する情報を含むことは意図していない。</dd><dt>特徴集合</dt><dd>媒体特徴表明で記述される媒体特徴の何らかの集合で、
『媒体特徴集合の記述の構文』で説明されている。 (この用語のより正式な定義はこのメモを参照。)</dd><dt>特徴集合式</dt><dd>特徴式集合を記述する文字列で、
『媒体特徴集合の記述の構文』の規則
(他の仕様書により拡張されているかもしれない。) に従って公式化される。</dd></dl><blockquote><p>This specification uses syntax notation and conventions described in
RFC 2234, &quot;Augmented BNF for Syntax Specifications: ABNF&quot; [3].</p></blockquote><p>この仕様書は <a0:anchor>RFC 2234</a0:anchor> 『構文指定用増補 BNF: ABNF』
で記述されている構文記法・表記法を使用します。</p><blockquote><p>NOTE:  Comments like this provide additional nonessential
information about the rationale behind this document.  Such
information is not needed for building a conformant
implementation, but may help those who wish to understand the
design in greater depth.</p></blockquote><p>注意: このような注釈はこの文書の事情についての追加の本質的でない説明を提供します。
このような情報は適合実装の構築のためには必要ではありませんが、
設計をより深く理解したいと思う人の助けとなるやもしれません。</p></section></section><section><h1>2. Motivation and goals</h1><blockquote><p>The media feature expression syntax [1] and feature tags [2] were
designed with a view to providing content media information that
augments basic MIME content type information.  There are some
situations where it is useful to be able include that content type
information in a media feature expression:</p></blockquote><p>媒体特徴式構文と特徴札は基本の MIME 内容型情報を補う内容媒体情報を提供することを目的として設計されました。
内容型情報を媒体特徴式に含めることができると便利な状況が幾つかあります。</p><blockquote><ul><li>o  Media feature details may depend upon the content type being used.
The media feature combining algebra and syntax [1] cannot apply to
content type information unless it appears in the feature
expression.<ul><li>For example, in HTTP 1.1 [4] with Transparent Content Negotiation
(TCN) [5] acceptable content types and other media features are
indicated in different request headers, with no clear way to
indicate that they may be acceptable only in certain combinations.</li></ul></li><li>o  It is sometimes useful for all media capability information to be
included in a single expression.  For example, DSN and MDN
extensions [6] that allow a recipient to indicate media
capabilities provide a single field for conveying this information.</li><li>o  When media features are used to describe a message content, they
may refer to inner parts of a MIME composite; e.g. the component
parts of a 'multipart', files in a compressed archive, or
encrypted message data.</li></ul></blockquote><ul><li>媒体特徴は使用される内容型に依存するかもしれません。代数と構文を組合せた媒体特徴は内容型が特徴式に出現しない限り内容型に適用できません。<ul><li>たとえば、 HTTP 1.1 + <a0:anchor>透過内容折衝</a0:anchor> (<a0:anchor>TCN</a0:anchor>) では受入れ可能内容型と他の媒体特徴は異なる要求頭に示されており、ある組合せでのみ受入れ可能であるかもしれないことを示す明確な方法はありません。</li></ul></li><li>一つの式にすべての媒体能力情報を含めることができると何かと便利です。
例えば、受信者が媒体能力を示すことを認める <a0:anchor>DSN</a0:anchor> と <a0:anchor>MDN</a0:anchor> の拡張はこの情報を運搬するために一つの欄を提供しています。</li><li>媒体特徴がメッセージ内容を記述するために使用される時には、
MIME 合成の内側の部分を指すかもしれません。例えば、 <code class="MIME"><a0:anchor>multipart</a0:anchor></code>
の部品部分や、圧縮保管庫内のファイルや、暗号化されたメッセージデータです。</li></ul></section><section><h1>3. MIME content type feature tag</h1><blockquote><pre>   Feature tag name    Legal values
   ----------------    ------------
   type                &lt;string&gt;
                       containing a MIME content-type value.</pre></blockquote><table><tbody><tr><td>特徴札名</td><td>合法値</td></tr><tr><td><code>type</code></td><td><code>&lt;string&gt;</code> (MIME 内容型値を含んでいる)</td></tr></tbody></table><blockquote><p>Reference: this document, appendix A.</p></blockquote><p>参照: この文書、附属書 A</p><blockquote><p>The 'type' feature tag indicates a MIME media content type (i.e.
that appears in a 'Content-type:' header of the corresponding MIME-formatted data).  It must be a string of the form &quot;type/subtype&quot;,
where 'type' and 'subtype' are defined by the MIME specification [7].
Only lower-case letters should be used.</p></blockquote><p><code>type</code> 特徴札は MIME 媒体内容型 (すなわち、
対応する MIME 書式付けされたデータの <code class="MIME">Content-type:</code> 頭に出現するもの) です。
これは <code><var>type</var>/<var>subtype</var></code> の形の文字列でなければなりません。
ここで <var>type</var> と <var>subtype</var> は MIME 仕様書で定義されています。
小文字だけを使用するべきです。</p><blockquote><p>The content type must be given without any content-type parameter values.</p></blockquote><p>内容型は一切の内容型引数値なしで与えなければなりません。</p><blockquote><p>To include information in media feature expressions that is otherwise
conveyed in a MIME content-type parameter, a separate media feature
tag should be registered [2] and used in the media feature
expression.  This is illustrated by the use of 'charset' in the
example at 4.1 below -- the 'charset' tag is defined by a separate
registration [10].</p></blockquote><p>本来 MIME 内容型引数で運搬される媒体特徴式中の情報を含めるためには、
別の媒体特徴札を登録して媒体特徴式で使用するべきです。
これは後の 4.1 の例の <code><a0:anchor>charset</a0:anchor></code> の使用で示しています。
<code>charset</code> 札は別の登録で定義されています。</p><blockquote><p>NOTE:  Allowing content-type parameters to be part of a type tag
value was considered, but rejected because of concerns about
canonicalization, ordering, case sensitivity, etc.  Only exact,
case-sensitive, character matching is defined for media feature
expressions [1].</p></blockquote><p>注意: 内容型引数を型札値の一部として認めることも検討しましたが、
<a0:anchor>正準化</a0:anchor>や順序付けや大文字・小文字の区別その他の心配があることから却下しました。
媒体特徴式には正確な大文字・小文字を区別する文字一致だけが定義されています。</p></section><section><h1>4. Examples</h1><section><h1>4.1 Simple text</h1><pre>      (&amp; (type=&quot;text/plain&quot;) (charset=US-ASCII)
         (color=binary) (paper-size=A4) )</pre></section><section><h1>4.2 Fax image</h1><pre>      (&amp; (type=&quot;image/tiff&quot;)
         (color=binary)
         (image-file-structure=TIFF-S)
         (dpi=200)
         (dpi-xyratio=[200/100,200/200])
         (paper-size=A4)
         (image-coding=MH) (MRC-mode=0)
         (ua-media=stationery) )</pre></section><section><h1>4.3 Voice message</h1><pre>      (&amp; (type=&quot;multipart/voice-message&quot;)
         (VPIM-version=&quot;3.0&quot;)
         (audio-codec=[G726-32,GSM-610])
         (audio-file-structure=[None,WAV])
         (ua-terminal=mobile-handset)
         (audio-channels=1) )</pre><blockquote><p>NOTE:  in this case, some media features apply to MIME parts
contained within the declared 'multipart/voice- message'
content type.  The goal here is not so much to mirror the MIME
structure as to convey useful information about the (possible)
message content.</p></blockquote><p>注意: この場合、宣言された <code class="MIME"><a0:anchor>multipart/voice-message</a0:anchor></code>
内容型の中に含まれる MIME <a0:anchor>部分</a0:anchor>に適用される媒体特徴もあります。
ここでの目標は MIME 構造の鏡像ではなく、
(可能な) メッセージ内容についての有用な情報を運搬することです。</p></section><section><h1>4.4 Web browser capabilities</h1><pre>      (&amp; (pix-x&lt;=800) (pix-y&lt;=600)
         (| (&amp; (type=&quot;text/html&quot;) (charset=iso-8859-1)
               (color=limited) )
            (&amp; (type=&quot;text/plain&quot;) (charset=US-ASCII) )
            (&amp; (type=&quot;image/gif&quot;) (color=mapped))
            (&amp; (type=&quot;image/jpeg&quot;) (color=full) ) ) )</pre><blockquote><p>This example describes an HTML viewer that can deal with a limited
number of color text tags, a gif viewer that supports mapped color,
and a jpeg viewer that supports color.</p></blockquote><p>この例は限られた数の色文札を処理できる <a0:anchor>HTML</a0:anchor>
閲覧器と写像色に対応した gif 閲覧器と色に対応した jpeg
閲覧器を記述しています。</p></section></section><section><h1>5. IANA Considerations</h1><blockquote><p>Appendix A of this document calls for registration of a feature tag
in the &quot;IETF tree&quot;, as defined in section 3.1.1 of &quot;Media Feature Tag
Registration Procedure&quot; [2] (i.e. these feature tags are subject to
the &quot;IETF Consensus&quot; policies described in RFC 2434 [9]).</p></blockquote><p>この文書の附属書 A は『媒体特徴札登録手続き』の3.1.1節で定義されている
「IETF 木」への特徴札の登録を呼び出します
(つまり、この特徴札は <a0:anchor>RFC 2434</a0:anchor> で記述されている
「IETF 合意」方針の対象です)。</p><blockquote><p>ASN.1 identifier 1.3.6.1.8.1.30 has been assigned by the IANA for
this registered feature tag and has been placed in the body of the registration.</p></blockquote><p><a0:anchor>ASN.1</a0:anchor> 識別子 <code>1.3.6.1.8.1.30</code> が <a0:anchor>IANA</a0:anchor>
によりこの登録特徴札に割当てられ、登録の本体に置かれています。</p></section><section><h1>6. Security Considerations</h1><blockquote><p>This memo is not believed to introduce any security considerations
that are not already inherent in the use of media feature tags and
expressions [1,2].</p></blockquote><p>このメモはそもそもの媒体特徴札・式の使用によって既に存在しない安全上の問題を導入することはないと信じています。</p></section><section><h1>7. Acknowledgements</h1><blockquote><p>This proposal draws from discussions in the IETF 'conneg' working
group.  The voice message example is based on some ideas by Glen Parsons.</p></blockquote><p>この提案は IETF <code><a0:anchor>conneg</a0:anchor></code> 作業部会での議論から引出しました。
音声メッセージ例は Glen Parsons の考えに基づきました。</p><blockquote><p>The author would like to thank the following people who offered
comments that led to significant improvements:  Ted Hardie, Larry
Masinter, Paul Hoffman, Jacob Palme, Ned Freed.</p></blockquote><p>著者は重大な改善につながるご意見をくださった次の方々に感謝します。
Ted Hardie, Larry Masinter, Paul Hoffman, Jacob Palme, Ned Freed</p></section><section><h1>8. References</h1><pre>   [1]  Klyne, G., &quot;A Syntax for Describing Media Feature Sets&quot;, RFC
        2533, March 1999.</pre><pre>   [2]  Holtman, K., Mutz, A. and T. Hardie, &quot;Media Feature Tag
        Registration Procedure&quot;, RFC 2506, March 1999.</pre><pre>   [3]  Crocker, D. and P. Overell, &quot;Augmented BNF for Syntax
        Specifications: ABNF&quot;, RFC 2234, November 1997.</pre><pre>   [4]  Fielding, R., Gettys, J., Mogul, J., Frystyk, H. and T.
        Berners-Lee, &quot;Hypertext Transfer Protocol -- HTTP/1.1&quot;, RFC
        2068, January 1997.</pre><pre>   [5]  Holtman, K. and A. Mutz, &quot;Transparent Content Negotiation in
        HTTP&quot;, RFC 2295, March 1998.</pre><pre>   [6]  Wing, D., &quot;Indicating Supported Media Features Using Extensions
        to DSN and MDN&quot;, RFC 2530, March 1999.</pre><pre>   [7]  Freed, N. and N. Borenstein, &quot;Multipurpose Internet Mail
        Extensions (MIME) Part One: Format of Internet Message Bodies&quot;,
        RFC 2045, November 1996.</pre><pre>   [8]  Freed, N. and N. Borenstein, &quot;Multipurpose Internet Mail
        Extensions (MIME) Part Two: Media Types&quot;, RFC 2046, November
        1996.</pre><pre>   [9]  Narten, T. and H. Alvestrand, &quot;Guidelines for Writing an IANA
        Considerations Section in RFCs&quot;, RFC 2434, October 1998.</pre><pre>  [10]  Hoffman, P., &quot;Registration of Charset and Languages Media
        Features Tags&quot;, Work in Progress.</pre></section><section><h1>9. Author's Address</h1><pre>   Graham Klyne
   Content Technologies Ltd.
   1220 Parkview,
   Arlington Business Park
   Theale
   Reading, RG7 4SA
   United Kingdom</pre><pre>   Phone: +44 118 930 1300
   Fax:   +44 118 930 1301
   EMail: GK@ACM.ORG</pre></section><section><h1>Appendix A: 'Type' feature tag registration</h1><pre>   -  Media Feature tag name(s):</pre><pre>         Type</pre><pre>   -  ASN.1 identifier associated with this feature tag:</pre><pre>         1.3.6.1.8.1.30</pre><pre>   -  Summary of the media features indicated:</pre><pre>         This feature tag indicates a MIME content type that a message
         agent is capable of handling, or that is contained within some
         message data.</pre><pre>         The content type consists of the MIME media type and subtype,
         presented using all lower case letters and with any whitespace
         characters removed.</pre><p>この特徴札はメッセージ・エージェントが取扱うことのできる、または何らかのメッセージ・データに含まれている MIME 内容型を示します。</p><p>内容型は MIME 媒体型と亜型で構成し、すべて小文字を使って、空白文字は削除して示します。</p><pre>   -  Values appropriate for use with this feature tag:</pre><pre>         String</pre><pre>   -  The feature tag is intended primarily for use in the following
      applications, protocols, services, or negotiation mechanisms:</pre><pre>         Any application that wishes to convey MIME content type
         information in a media feature expression.</pre><p>MIME 内容型情報を媒体特徴式で運搬したいと思う任意の応用。</p><pre>   -  Examples of typical use:</pre><pre>         (type=&quot;image/tiff&quot;)</pre><pre>         (&amp; (type=&quot;text/plain&quot;) (charset=US-ASCII) )</pre><pre>   -  Related standards or documents:</pre><pre>         MIME, RFC 2045 [7]</pre><pre>         MIME, RFC 2046 [8]</pre><pre>         Registration of Charset and Languages Media Features Tags [10]</pre><pre>   -  Considerations particular to use in individual applications,
      protocols, services, or negotiation mechanisms:</pre><pre>         (N/A)</pre><pre>   -  Interoperability considerations:</pre><pre>         String feature matching is case sensitive, so consistent use of
         case for content type values and parameters is essential if
         content type value matching is to be achieved in a fashion
         consistent with MIME content type matching.</pre><pre>         Similarly, white space must be used consistently.</pre><pre>         This registration specifies a canonical form to be used for
         content type values (lower case letters and remove all
         whitespace).</pre><p>文字列特徴一致は大文字・小文字を区別しますから、内容型値の一致が MIME
内容型一致と一貫した方法で達成されるのであれば内容型値と引数の大文字・小文字の一貫した使用が本質的です。</p><p>同様に、空白は一貫して使用してはなりません。</p><p>この登録は内容型値に使用する正準形 (小文字ですべての空白を削除) を規定します。</p><pre>   -  Related feature tags:</pre><pre>         (N/A)</pre><pre>   -  Intended usage:</pre><pre>         Common</pre><pre>   -  Author/Change controller:</pre><pre>         IETF</pre></section><section><h1>Full Copyright Statement</h1><pre>   Copyright (C) The Internet Society (2000).  All Rights Reserved.</pre><pre>   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.</pre><pre>   The limited permissions granted above are perpetual and will not be
   revoked by the Internet Society or its successors or assigns.</pre><pre>   This document and the information contained herein is provided on an
   &quot;AS IS&quot; 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.</pre></section><section><h1>Acknowledgement</h1><pre>   Funding for the RFC Editor function is currently provided by the
   Internet Society.</pre></section><section><h1>License</h1><p><a0:anchor>RFCのライセンス</a0:anchor></p></section><section><h1>メモ</h1></section></body></html>