[1] RFC 3023 XML 媒体型は、 MIME や HTTP などの媒体型が使われる場面での XML 実体の取扱いを規定しています。
XML 媒体型
RFC 3023 は RFC2376 を廃止しました。
[3024] RFC 3023 は RFC 7303 により廃止されました。
Network Working Group Request for Comments: 2376 3023Obsoletes: 2376Updates: 2048Category: Informational Standards TrackE. WhiteheadUC IrvineM. MurataFuji Xerox Info. SystemsIBM Tokyo Research LaboratoryS. St.Laurentsimonstl.comD. KohnSkymoon VenturesJanuary 2001July 1998XML Media Types XML media type
This memo provides information for the Internet community. It does not specify an Internet standard of any kind. Distribution of this memo is unlimited.
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.
Copyright (C) The Internet Society (1998 2001). All Rights Reserved.
This document proposes two standardizes five new media types, -- text/xml, and application/xml, text/xml-external-parsed-entity, application/xml-external-parsed-entity, and application/xml-dtd -- for use in exchanging network entities which that are conforming related to the Extensible Markup Language (XML). This document also standardizes a convention (using the suffix '+xml') for naming media types outside of these five types when those media types represent XML MIME (Multipurpose Internet Mail Extensions) entities. XML MIME entities are currently exchanged via the HyperText Transfer Protocol on the World Wide Web, are an integral part of the WebDAV protocol for remote web authoring, and are expected to have utility in many domains.Major differences from RFC 2376 are (1) the addition of text/xml- external-parsed-entity, application/xml-external-parsed-entity, and application/xml-dtd, (2) the '+xml' suffix convention (which also updates the RFC 2048 registration process), and (3) the discussion of "utf-16le" and "utf-16be".
This document proposes two standardizes five new media types, -- text/xml, and application/xml, text/xml-external-parsed-entity, application/xml-external-parsed-entity, and application/xml-dtd -- for use in exchanging network entities which that are conforming related to the Extensible Markup Language (XML). This document also standardizes a convention (using the suffix '+xml') for naming media types outside of these five types when those media types represent XML MIME (Multipurpose Internet Mail Extensions) entities. XML MIME entities are currently exchanged via the HyperText Transfer Protocol on the World Wide Web, are an integral part of the WebDAV protocol for remote web authoring, and are expected to have utility in many domains.
Major differences from RFC 2376 are (1) the addition of text/xml- external-parsed-entity, application/xml-external-parsed-entity, and application/xml-dtd, (2) the '+xml' suffix convention (which also updates the RFC 2048 registration process), and (3) the discussion of "utf-16le" and "utf-16be".
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 32. Notational Conventions . . . . . . . . . . . . . . . . . . . 43. XML Media Types . . . . . . . . . . . . . . . . . . . . . . 53.1 Text/xml Registration . . . . . . . . . . . . . . . . . . . 73.2 Application/xml Registration . . . . . . . . . . . . . . . . 93.3 Text/xml-external-parsed-entity Registration . . . . . . . . 113.4 Application/xml-external-parsed-entity Registration . . . . 123.5 Application/xml-dtd Registration . . . . . . . . . . . . . . 133.6 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . 144. The Byte Order Mark (BOM) and Conversions to/from the UTF-16 Charset . . . . . . . . . . . . . . . . . . . . . . . . . . 155. Fragment Identifiers . . . . . . . . . . . . . . . . . . . . 156. The Base URI . . . . . . . . . . . . . . . . . . . . . . . . 157. A Naming Convention for XML-Based Media Types . . . . . . . 167.1 Referencing . . . . . . . . . . . . . . . . . . . . . . . . 188. Examples . . . . . . . . . . . . . . . . . . . . . . . . . . 188.1 Text/xml with UTF-8 Charset . . . . . . . . . . . . . . . . 198.2 Text/xml with UTF-16 Charset . . . . . . . . . . . . . . . . 198.3 Text/xml with UTF-16BE Charset . . . . . . . . . . . . . . . 198.4 Text/xml with ISO-2022-KR Charset . . . . . . . . . . . . . 208.5 Text/xml with Omitted Charset . . . . . . . . . . . . . . . 208.6 Application/xml with UTF-16 Charset . . . . . . . . . . . . 208.7 Application/xml with UTF-16BE Charset . . . . . . . . . . . 218.8 Application/xml with ISO-2022-KR Charset . . . . . . . . . . 218.9 Application/xml with Omitted Charset and UTF-16 XML MIME Entity . . . . . . . . . . . . . . . . . . . . . . . . . . . 218.10 Application/xml with Omitted Charset and UTF-8 Entity . . . 228.11 Application/xml with Omitted Charset and Internal Encoding Declaration . . . . . . . . . . . . . . . . . . . . . . . . 228.12 Text/xml-external-parsed-entity with UTF-8 Charset . . . . . 228.13 Application/xml-external-parsed-entity with UTF-16 Charset . 238.14 Application/xml-external-parsed-entity with UTF-16BE Charset 238.15 Application/xml-dtd . . . . . . . . . . . . . . . . . . . . 238.16 Application/mathml+xml . . . . . . . . . . . . . . . . . . . 248.17 Application/xslt+xml . . . . . . . . . . . . . . . . . . . . 248.18 Application/rdf+xml . . . . . . . . . . . . . . . . . . . . 248.19 Image/svg+xml . . . . . . . . . . . . . . . . . . . . . . . 248.20 INCONSISTENT EXAMPLE: Text/xml with UTF-8 Charset . . . . . 259. IANA Considerations . . . . . . . . . . . . . . . . . . . . 2510. Security Considerations . . . . . . . . . . . . . . . . . . 25References . . . . . . . . . . . . . . . . . . . . . . . . . 27Authors' Addresses . . . . . . . . . . . . . . . . . . . . . 31A. Why Use the '+xml' Suffix for XML-Based MIME Types? . . . . 32A.1 Why not just use text/xml or application/xml and let the XML processor dispatch to the correct application based on the referenced DTD? . . . . . . . . . . . . . . . . . . . . . . 32A.2 Why not create a new subtree (e.g., image/xml.svg) to represent XML MIME types? . . . . . . . . . . . . . . . . . 32A.3 Why not create a new top-level MIME type for XML-based media types? . . . . . . . . . . . . . . . . . . . . . . . . . . . 32A.4 Why not just have the MIME processor 'sniff' the content to determine whether it is XML? . . . . . . . . . . . . . . . . 33A.5 Why not use a MIME parameter to specify that a media type uses XML syntax? . . . . . . . . . . . . . . . . . . . . . . 33A.6 How about labeling with parameters in the other direction (e.g., application/xml; Content-Feature=iotp)? . . . . . . . 34A.7 How about a new superclass MIME parameter that is defined to apply to all MIME types (e.g., Content-Type: application/iotp; $superclass=xml)? . . . . . . . . . . . . 34A.8 What about adding a new parameter to the Content-Disposition header or creating a new Content-Structure header to indicate XML syntax? . . . . . . . . . . . . . . . . . . . . 35A.9 How about a new Alternative-Content-Type header? . . . . . . 35A.10 How about using a conneg tag instead (e.g., accept-features: (syntax=xml))? . . . . . . . . . . . . . . . . . . . . . . . 35A.11 How about a third-level content-type, such as text/xml/rdf? 35A.12 Why use the plus ('+') character for the suffix '+xml'? . . 36A.13 What is the semantic difference between application/foo and application/foo+xml? . . . . . . . . . . . . . . . . . . . . 36A.14 What happens when an even better markup language (e.g., EBML) is defined, or a new category of data? . . . . . . . . 36A.15 Why must I use the '+xml' suffix for my new XML-based media type? . . . . . . . . . . . . . . . . . . . . . . . . . . . 37B. Changes from RFC 2376 . . . . . . . . . . . . . . . . . . . 37C. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . 38Full Copyright Statement . . . . . . . . . . . . . . . . . . 39
+xml
[3026] RFC 3023 の規定については、次の各項を参照してください。
application/xml-dtd
[3] RFC Errata <http://www.rfc-editor.org/errata.html> に修正があります。