SVG Tiny 1.2 – 20081222

M image/svg+xml のメディア型登録

目次

この付録は規定である。 This appendix is normative.

M.1 概要

この付録は、 BCP 13W3CRegMedia に適合する形で、新しい MIME メディア型 "image/svg+xml" を登録する。 This appendix registers a new MIME media type, "image/svg+xml" in conformance with BCP 13 and W3CRegMedia.

M.2 メディア型 image/svg+xml の登録

MIME メディア型名:

image

MIME サブタイプ名:

svg+xml

必須パラメタ:

なし

オプションパラメタ:

なし

SVG 文書のエンコーディングは XML エンコーディング宣言により定まるものとする。 charset パラメタが省略された場合、これは [RFC3023] 8.9, 8.10, 8.11 節 に従うならば application/xml メディア型と同一の意味内容となる。 The encoding of an SVG document shall be determined by the XML encoding declaration. This has identical semantics to the application/xml media type in the case where the charset parameter is omitted, as specified in [RFC3023] sections 8.9, 8.10 and 8.11.

エンコーディングに対する配慮:

application/xml と同じ。 [RFC3023], 3.2 節を参照のこと。 Same as for application/xml. See [RFC3023], section 3.2.

使用上の制約:

なし None

安全性への配慮:

他の XML 型同様、 [RFC3023] 10 節 にて言及されているように、悪意を持って構築された XML 実体の展開の繰り返しによる大量のメモリ消費が可能で、制約された環境において XML プロセッサに不具合が生じ得る。 As with other XML types and as noted in [RFC3023] section 10, repeated expansion of maliciously constructed XML entities can be used to consume large amounts of memory, which may cause XML processors in constrained environments to fail.

SVG 文書は gzip 圧縮を用いた圧縮形式で転送してもよい。 HTTP などの MIME に類似する仕組みを利用するシステムにおいては、これは Content-Transfer-Encoding ヘッダにより指示される。ファイルシステムへの直接的なアクセスなど、そうでないシステムにおいては、これはファイル名拡張子、あるいは Macintosh ファイルタイプコードにより指示される。加えて、 gzip 圧縮内容は [RFC1952] 2.3.1 節 に述べられているように先頭のバイト列で容易に見分けられる。 SVG documents may be transmitted in compressed form using gzip compression. For systems which employ MIME-like mechanisms, such as HTTP, this is indicated by the Content-Transfer-Encoding header; for systems which do not, such as direct filesystem access, this is indicated by the filename extension and by the Macintosh File Type Codes. In addition, gzip compressed content is readily recognised by the initial byte sequence as described in [RFC1952] section 2.3.1.

いくつかの SVG 要素は任意の URI を参照し得る。この場合、 [RFC3986], 7 節 の安全性の問題についてを考慮すべきである。 Several SVG elements may cause arbitrary URIs to be referenced. In this case, the security issues of [RFC3986], section 7, should be considered.

HTML 同様、 SVG 文書は、画像, 音声, 動画, スタイルシート, スクリプト言語などの外部メディアを参照し得る。スクリプト言語は実行可能な内容になる。この場合、これらの形式の Media Type 登録における安全性への配慮を適用するものとする。 In common with HTML, SVG documents may reference external media such as images, audio, video, style sheets, and scripting languages. Scripting languages are executable content. In this case, the security considerations in the Media Type registrations for those formats shall apply.

加えて、 SVG の拡張性のある特色と XML 一般のそれにより、 "image/svg+xml" がここに述べるものを超える安全性への影響を持つ内容を記述する可能性がある。しかしながら、プロセッサがこの仕様の正式な意味内容にのみ従うならば、その内容は SVG 名前空間の範囲外になり、無視されるものになる。プロセッサがその追加的内容を認識し処理を行う、あるいは、その内容に対する更なる処理を他のプロセッサに任せる場合にのみ、安全性の問題が生じ得る。そのような場合については、この登録文書の範囲外である。 In addition, because of the extensibility features for SVG and of XML in general, it is possible that "image/svg+xml" may describe content that has security implications beyond those described here. However, if the processor follows only the normative semantics of this specification, this content will be outside the SVG namespace and shall be ignored. Only in the case where the processor recognizes and processes the additional content, or where further processing of that content is dispatched to other processors, would security issues potentially arise. And in that case, they would fall outside the domain of this registration document.

相互運用性への配慮:

この仕様は、 SVG 名前空間と他の名前空間の両方について、それらに属する認識できない要素と属性を他のものもある中で扱う際に従わなければならないふるまいを指示する処理の意味内容を記述する This specification describes processing semantics that dictate behavior that must be followed when dealing with, among other things, unrecognized elements and attributes, both in the SVG namespace and in other namespaces.

SVG は拡張可能なので、適合 "image/svg+xml" プロセッサは、受け入れる内容が整形式の XML になることを予期しなければならないが、内容がそれ固有の DTD やスキーマに対し妥当なものになることは保証できない、が、妥当であればプロセッサは文書のすべての要素と属性を見分けられることになる。 Because SVG is extensible, conformant "image/svg+xml" processors must expect that content received is well-formed XML, but it cannot be guaranteed that the content is valid to a particular DTD or Schema or that the processor will recognize all of the elements and attributes in the document.

SVG は Test Suite と関連する実装報告書を発行し、報告書の時点でどの実装がどのテストに合格したかを示している。この情報は新しいテストが加えられる度に、あるいは実装が向上する度に定期的に更新されている。 SVG has a published Test Suite and associated implementation report showing which implementations passed which tests at the time of the report. This information is periodically updated as new tests are added or as implementations improve.

発行された仕様:

このメディア型登録は SVG 1.2 Tiny specification の Appendix M から取り出されたものである。 This media type registration is extracted from Appendix M of the SVG 1.2 Tiny specification.

追加情報:
更なる情報についての連絡先メールアドレス:

Chris Lilley, Doug Schepers (member-svg-media-type@w3.org).

意図される利用:

COMMON

著作/変更権限者:

SVG 仕様は World Wide Web Consortium の SVG Working Group による仕事の成果である。これらの仕様に対する変更の権限は W3C が持つ。 The SVG specification is a work product of the World Wide Web Consortium's SVG Working Group. The W3C has change control over these specifications.