備考

  • ? = optional, * = zero or more, | = choice
  • Namespace xmlns:atom="http://www.w3.org/2005/Atom"

配色

Atom element

Atom common construct

Atom common attributes

Attribute

Attribute value
Text, XHTML div element, etc.

Table of Contents

  1. Introduction
    1. Examples
    2. Namespace and Version
    3. Notational Conventions
  2. Atom Documents
  3. Common Atom Constructs
    1. Text Constructs
      1. The “type” Attribute
    2. Person Constructs
      1. The “atom:name” Element
      2. The “atom:uri” Element
      3. The “atom:email” Element
    3. Date Constructs
  4. Atom Element Definitions
    1. Container Elements
      1. The “atom:feed” Element
      2. The “atom:entry” Element
      3. The “atom:content” Element
    2. Metadata Elements
      1. The “atom:author” Element
      2. The “atom:category” Element
      3. The “atom:contributor” Element
      4. The “atom:generator” Element
      5. The “atom:icon” Element
      6. The “atom:id” Element
      7. The “atom:link” Element
      8. The “atom:logo” Element
      9. The “atom:published” Element
      10. The “atom:rights” Element
      11. The “atom:source” Element
      12. The “atom:subtitle” Element
      13. The “atom:summary” Element
      14. The “atom:title” Element
      15. The “atom:updated” Element
  5. Securing Atom Documents
    1. Digital Signatures
    2. Encryption
    3. Signing and Encrypting
  6. Extending Atom
    1. Extensions from Non-Atom Vocabularies
    2. Extensions to the Atom Vocabulary
    3. Processing Foreign Markup
    4. Extension Elements
      1. Simple Extension Elements
      2. Structured Extension Elements
  7. IANA Considerations
    1. Registry of Link Relations
  8. Security Considerations
    1. HTML and XHTML Content
    2. URIs
    3. IRIs
    4. Spoofing
    5. Encryption and Signing
  9. References
  10. Appendix A. Contributors
  11. Appendix B. RELAX NG Compact Schema

1. Introduction

Atom is an XML-based document format that describes lists of related information known as “feeds”. Feeds are composed of a number of items, known as “entries”, each with an extensible set of attached metadata. For example, each entry has a title.

Atomは、「フィード」と呼ばれる情報リストを表す、XMLベースのドキュメント形式です。フィードは複数の、「エントリー」と呼ばれるアイテムで構成され、各エントリーにはそれに属するメタデータの、柔軟な組み合わせが可能なセットが含まれます。例えば各エントリーには題名があります。

The primary use case that Atom addresses is the syndication of Web content such as weblogs and news headlines to Web sites as well as directly to user agents.

Atomが取り組む第一の用途は、ウェブログやニュースヘッドラインなどのウェブコンテンツのシンジケーションを、直接ユーザエージェントに対してはもとより、ウェブサイトに対しても行うことです。

1.1. Examples

A brief, single-entry Atom Feed Document:

簡素な、単一のエントリーのAtomフィードドキュメント:

<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">

    <title>Example Feed</title>
    <link href="http://example.org/"/>
    <updated>2003-12-13T18:30:02Z</updated>
    <author>
        <name>John Doe</name>
    </author>
    <id>urn:uuid:60a76c80-d399-11d9-b93C-0003939e0af6</id>

    <entry>
        <title>Atom-Powered Robots Run Amok</title>
        <link href="http://example.org/2003/12/13/atom03"/>
        <id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id>
        <updated>2003-12-13T18:30:02Z</updated>
        <summary>Some text.</summary>
    </entry>

</feed>

A more extensive, single-entry Atom Feed Document:

より内容の豊富な、単一のエントリーのAtomフィードドキュメント:

<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <title type="text">dive into mark</title>
    <subtitle type="html">
        A &lt;em&gt;lot&lt;/em&gt; of effort
        went into making this effortless
    </subtitle>
    <updated>2005-07-31T12:29:29Z</updated>
    <id>tag:example.org,2003:3</id>
    <link rel="alternate" type="text/html"
        hreflang="en" href="http://example.org/"/>
    <link rel="self" type="application/atom+xml"
        href="http://example.org/feed.atom"/>
    <rights>Copyright (c) 2003, Mark Pilgrim</rights>
    <generator uri="http://www.example.com/" version="1.0">
        Example Toolkit
    </generator>
    <entry>
        <title>Atom draft-07 snapshot</title>
        <link rel="alternate" type="text/html"
            href="http://example.org/2005/04/02/atom"/>
        <link rel="enclosure" type="audio/mpeg" length="1337"
            href="http://example.org/audio/ph34r_my_podcast.mp3"/>
        <id>tag:example.org,2003:3.2397</id>
        <updated>2005-07-31T12:29:29Z</updated>
        <published>2003-12-13T08:29:29-04:00</published>
        <author>
            <name>Mark Pilgrim</name>
            <uri>http://example.org/</uri>
            <email>f8dy@example.com</email>
        </author>
        <contributor>
            <name>Sam Ruby</name>
        </contributor>
        <contributor>
            <name>Joe Gregorio</name>
        </contributor>
        <content type="xhtml" xml:lang="en"
            xml:base="http://diveintomark.org/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <p><i>[Update: The Atom draft is finished.]</i></p>
            </div>
        </content>
    </entry>
</feed>

1.2. Namespace and Version

The XML Namespaces URI [W3C.REC-xml-names-19990114] for the XML data format described in this specification is:

本仕様で説明するXMLデータ形式の、XML名前空間URI [W3C.REC-xml-names-19990114] は以下の通りです。

http://www.w3.org/2005/Atom

For convenience, this data format may be referred to as “Atom 1.0”. This specification uses “Atom” internally.

このデータ形式は、便宜上「Atom 1.0」と呼ばれるでしょう。本仕様内では「Atom」という語を用います。

1.3. Notational Conventions

This specification describes conformance in terms of two artifacts: Atom Feed Documents and Atom Entry Documents. Additionally, it places some requirements on Atom Processors.

本仕様は、AtomフィードドキュメントとAtomエントリードキュメントの、ふたつの実装における適合基準を説明します。また、Atomの処理系における幾つかの要件も含まれます。

This specification uses the namespace prefix “atom:” for the Namespace URI identified in Section 1.2, above. Note that the choice of namespace prefix is arbitrary and not semantically significant.

本仕様では、上のセクション1.2で特定される名前空間URIに対する名前空間接頭辞に「atom」を用います。なお、名前空間接頭辞の選択は任意であり、意味として重要なわけではありません。

Atom is specified using terms from the XML Infoset [W3C.REC-xml-infoset-20040204]. 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.

AtomはXML情報セット [W3C.REC-xml-infoset-20040204] の条件で仕様が定めれます。しかし本仕様では、ふたつの用語については共通の省略表現を用います:要素情報アイテム属性情報アイテムという名前を用いるところでは、「情報アイテム」というフレーズは省略されます。つまり本仕様では、「要素」という用語は、XML情報セットの用語における要素情報アイテムを参照するものであり、同様に「属性」という用語は属性情報アイテムを参照するものです。

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.

2. Atom Documents

This specification describes two kinds of Atom Documents: Atom Feed Documents and Atom Entry Documents.

本仕様は、2種類のAtomドキュメントを説明します。AtomフィードドキュメントとAtomエントリードキュメントです。

An Atom Feed Document is a representation of an Atom feed, including metadata about the feed, and some or all of the entries associated with it. Its root is the atom:feed element.

AtomフィードドキュメントはAtomフィードを表すもので、フィードについてのメタデータ、及びそれに関連付けられたいくつかの、もしくは全てのエントリーが組み込まれます。そのルートはatom:feed要素です。

An Atom Entry Document represents exactly one Atom entry, outside of the context of an Atom feed. Its root is the atom:entry element.

Atomエントリードキュメントは、Atomフィードのコンテクストの枠外で、単一のAtomエントリーを表します。そのルートはatom:entry要素です。

namespace atom = "http://www.w3.org/2005/Atom"
start = atomFeed | atomEntry

Both kinds of Atom Documents are specified in terms of the XML Information Set, serialized as XML 1.0 [W3C.REC-xml-20040204] and identified with the “application/atom+xml” media type. Atom Documents MUST be well-formed XML. This specification does not define a DTD for Atom Documents, and hence does not require them to be valid (in the sense used by XML).

どちらの種類のAtomドキュメントも、XML情報セットの条件で仕様が定められ、XML 1.0 [W3C.REC-xml-20040204] としてシリアル化され、「application/atom+xml」メディアタイプによって識別されます。Atomドキュメントは整形式のXMLでなければなりません。本仕様はAtomドキュメントのDTDは定義しないので、Atomドキュメントが(XMLにおける意味で)正当なものである必要はありません。

Atom allows the use of IRIs [RFC3987]. Every URI [RFC3986] is also an IRI, so a URI may be used wherever below an IRI is named. There are two special considerations: (1) 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] and (2) when an IRI is serving as an atom:id value, it MUST NOT be so mapped, so that the comparison works as described in Section 4.2.6.1.

AtomはIRI [RFC3987] の利用を許可します。全てのURI [RFC3986] はIRIでもあるため、以下でIRIの名前が挙げられている箇所ならどこでもURIを用いることができます。特に考慮すべき点がふたつあります:(1)逆参照にあたってURIではないIRIが与えられた場合、そのIRIは [RFC3987] のセクション3.1の手順で、URIにマッピングしなければなりません。及び(2)IRIがatom:idの値として与えられた場合には、そのIRIはマッピングしてはなりません。さもなければ、セクション4.2.6.1で説明するように、IRI同士をうまく比較出来ません。

Any element defined by this specification MAY have an xml:base attribute [W3C.REC-xmlbase-20010627]. When xml:base is used in an Atom Document, it serves the function described in section 5.1.1 of [RFC3986], establishing the base URI (or IRI) for resolving any relative references found within the effective scope of the xml:base attribute.

本仕様で定義するあらゆる要素はxml:base属性 [W3C.REC-xmlbase-20010627] を持つことができます。Atomドキュメントにxml:baseが用いられた場合、それは [RFC3986] のセクション5.1.1で説明する機能を提供し、xml:base属性が有効であるスコープ内のあらゆる相対参照に対して、基準のURI(またはIRI)を規定します。

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 [W3C.REC-xml-20040204], Section 2.12.

本仕様で定義するあらゆる要素はxml:lang属性を持つことができます。その内容は、その要素及びそれ以下の要素の、本来の言語を示すものです。言語コンテクストが意義を持つのは、本仕様で「言語に依存」であると言明される要素と属性においてのみです。xml:langの内容とその解釈に関する要件は、XML 1.0 [W3C.REC-xml-20040204] セクション2.12で仕様が定められいます。

atomCommonAttributes =
    attribute xml:base { atomUri }?,
    attribute xml:lang { atomLanguageTag }?,
    undefinedAttribute*

Atom is an extensible format. See Section 6 of this document for a full description of how Atom Documents can be extended.

Atomは拡張可能な形式です。Atomドキュメントがいかに拡張され得るかについての完全な説明は、本文書のセクション6を参照してください。

Atom Processors MAY keep state sourced from Atom Feed Documents and combine them with other Atom Feed Documents, in order to facilitate a contiguous view of the contents of a feed. The manner in which Atom Feed Documents are combined in order to reconstruct a feed (e.g., updating entries and metadata, dealing with missing entries) is out of the scope of this specification.

Atomの処理系は、フィードの内容の継続的な視聴を容易にする目的で、Atomフィードドキュメントが供給する状態を保存し、それらを別のAtomフィードドキュメントに結合することができます。フィードを再構成するのに、Atomフィードドキュメントをどのように結合するのか(例えば、エントリーやメタデータの更新、欠けているエントリーへの対応)は、本仕様の範囲外です。

3. Common Atom Constructs

Many of Atom's elements share a few common structures. This section defines those structures and their requirements for convenient reference by the appropriate element definitions.

Atomの多くの要素は、いくつか共通の構造を共有します。本セクションはこうした構造とその要件を定義し、個々の要素の定義はそれを参照します。

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.

ある要素が特定の種類の構造体と同一である場合、その要素は、本セクションにおけるその構造体の定義から、対応する要件を継承します。

Note that there MUST NOT be any white space in a Date construct or in any IRI. Some XML-emitting implementations erroneously insert white space around values by default, and such implementations will emit invalid Atom Documents.

なお、Date構造体、及びIRIにおいては、いかなるホワイトスペースも存在してはならないことに注意してください。いくつかのXML出力の実装は、デフォルトでは値の周囲に誤ってホワイトスペースを挿入しますが、こうした実装は不正なAtomドキュメントを出力することになります。

3.1. Text Constructs

A Text construct contains human-readable text, usually in small quantities. The content of Text constructs is Language-Sensitive.

Text構造体は、人間が読み取れる、通常は少量の文章を含みます。Text構造体の内容は言語に依存します。

atomPlainTextConstruct =
    atomCommonAttributes,
    attribute type { "text" | "html" }?,
    text

atomXHTMLTextConstruct =
    atomCommonAttributes,
    attribute type { "xhtml" },
    xhtmlDiv

atomTextConstruct = atomPlainTextConstruct | atomXHTMLTextConstruct

3.1.1. The “type” Attribute

Text constructs MAY have a “type” Attribute. When present, the value MUST be one of “text”, “html”, or “xhtml”. If the “type” Attribute is not provided, Atom Processors MUST behave as though it were present with a value of “text”. Unlike the atom:content element defined in Section 4.1.3, MIME media types [MIMEREG] MUST NOT be used as values for the “type” Attribute on Text constructs.

Text構造体は「type」属性を持つことができます。もしあれば、その値は、「text」、「html」、または「xhtml」のいずれかでなければなりません。「type」属性がなければ、Atomの処理系は、値が「text」であるtype 属性があるかのように振舞わなければなりません。セクション4.1.3で定義されるatom:content要素とは異なり、MIMEメディアタイプ [MIMEREG] は、Text構造体における「type」属性の値に用いてはなりません。

3.1.1.1. Text

Example atom:title with text content:

...
<title type="text">
    Less: &lt;
</title>
...

If the value is “text”, 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, Atom Processors MAY collapse white space (including line breaks) and display the text using typographic techniques such as justification and proportional fonts.

「type」の値が「text」なら、Text構造体の内容は子要素を含んではなりません。これらの文章は人間に対して読み取り可能な方法で提示されることを意図しています。従って、Atomの処理系はホワイトスペース(改行を含む)を分解し、行端揃えやプロポーショナルフォントといったタイポグラフ技法を用いて文章を表示することができます。

3.1.1.2. HTML

Example atom:title with HTML content:

...
<title type="html">
    Less: &lt;em> &amp;lt; &lt;/em>
</title>
...

If the value of “type” is “html”, the content of the Text construct MUST NOT contain child elements and SHOULD be suitable for handling as HTML [HTML]. Any markup within MUST be escaped; for example, “<br>” as “&lt;br>”. HTML markup within SHOULD be such that it could validly appear directly within an HTML <DIV> element, after unescaping. Atom Processors that display such content MAY use that markup to aid in its display.

「type」の値が「html」なら、Text構造体の内容は子要素を含んではならず、HTML [HTML] として取り扱われるのに適したものであるべきです。内部のあらゆるマークアップは、例えば「<br>」は「&lt;br>」のように、エスケープされなければなりません。HTMLのマークアップは、HTMLの<DIV>要素内に直接、正当に現れ得るようなものであるべきです。その内容を表示するAtomの処理系は、このマークアップを表示の支援に用いることができます。

3.1.1.3. XHTML

Example atom:title with XHTML content:

...
<title type="xhtml" xmlns:xhtml="http://www.w3.org/1999/xhtml">
    <xhtml:div>
    Less: <xhtml:em> &lt; </xhtml:em>
    </xhtml:div>
</title>
...

If the value of “type” is “xhtml”, the content of the Text construct MUST be a single XHTML div element [XHTML] and SHOULD be suitable for handling as XHTML. The XHTML div element itself MUST NOT be considered part of the content. Atom Processors that display the content MAY use the markup to aid in displaying it. The escaped versions of characters such as “&” and “>” represent those characters, not markup.

「type」の値が「xhtml」なら、Text構造体の内容は単一のXHTML div要素 [XHTML] でなければならず、XHTMLとして取り扱われるのに適したものであるべきです。XHTML div要素自体を内容の一部と見なしてはなりません。その内容を表示するAtomの処理系は、マークアップを表示の支援に用いることができます。「&」や「>」といったキャラクターのエスケープ版は、マークアップ記号ではなく、これらのキャラクターを表します。

Examples of valid XHTML content:

...
<summary type="xhtml">
    <div xmlns="http://www.w3.org/1999/xhtml">
        This is <b>XHTML</b> content.
    </div>
</summary>
...
<summary type="xhtml">
    <xhtml:div xmlns:xhtml="http://www.w3.org/1999/xhtml">
        This is <xhtml:b>XHTML</xhtml:b> content.
    </xhtml:div>
</summary>
...

The following example assumes that the XHTML namespace has been bound to the “xh” prefix earlier in the document:

以下の例は、ドキュメント中のこれより前で、XHTMLの名前空間が、「xh」接頭辞に結び付いていることを前提にしています。

...
<summary type="xhtml">
    <xh:div>
        This is <xh:b>XHTML</xh:b> content.
    </xh:div>
</summary>
...

3.2. Person Constructs

A Person construct is an element that describes a person, corporation, or similar entity (hereafter, 'person').

Person構造体は、ある人物、団体、もしくはそれに類する存在(以降「人物」と称します)を説明する要素です。

atomPersonConstruct =
    atomCommonAttributes,
    (element atom:name { text }
     & element atom:uri { atomUri }?
     & element atom:email { atomEmailAddress }?
     & extensionElement*)

This specification assigns no significance to the order of appearance of the child elements in a Person construct. Person constructs allow extension Metadata elements (see Section 6.4).

本仕様は、Person構造体の中での子要素の登場順には意味を与えません。Person構造体は拡張メタデータ要素(セクション6.4を参照)を許可します。

3.2.1. The “atom:name” Element

The “atom:name” element's content conveys a human-readable name for the person. The content of atom:name is Language-Sensitive. Person constructs MUST contain exactly one “atom:name” element.

「atom:name」要素の内容は、その人物の、人間が読み取れる名前を伝えます。atom:nameの内容は言語に依存します。Person構造体はatom:name要素をひとつだけ含まなければなりません。

3.2.2. The “atom:uri” Element

The “atom:uri” element's content conveys an IRI associated with the person. Person constructs MAY contain an atom:uri element, but MUST NOT contain more than one. The content of atom:uri in a Person construct MUST be an IRI reference [RFC3987].

「atom:uri」要素の内容は、その人物に関連付けられたIRIを伝えます。Person構造体はatom:uri要素を含むことができますが、これを複数含んではなりません。Person構造体におけるatom:uriの内容はIRI参照 [RFC3987] でなければなりません。

3.2.3. The “atom:email” Element

The “atom:email” element's content conveys an e-mail address associated with the person. Person constructs MAY contain an atom:email element, but MUST NOT contain more than one. Its content MUST conform to the “addr-spec” production in [RFC2822].

「atom:email」要素は、その人物に関連付けられたEメールアドレスを伝えます。Person構造体はatom:email要素を含むことができますが、これを複数含んではなりません。その内容は [RFC2822] における「addr-spec」形式に適合するものでなければなりません。

3.3. Date Constructs

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.

Date構造体は、その内容が [RFC3339] で定める「date-time」形式に適合するものでなければならない要素です。それに加えて、日付と時刻の区切りには大文字の「T」を用いなければならず、また、数値のタイムゾーンオフセットが欠如している場合は、そこに大文字の「Z」がなければなりません。

atomDateConstruct =
    atomCommonAttributes,
    xsd:dateTime

Such date values happen to be compatible with the following specifications: [ISO.8601.1988], [W3C.NOTE-datetime-19980827], and [W3C.REC-xmlschema-2-20041028].

このような時間の値は次の仕様と、たまたまですが互換性があります:[ISO.8601.1988]、[W3C.NOTE-datetime-19980827]、そして [W3C.REC-xmlschema-2-20041028]。

Example Date constructs:

<updated>2003-12-13T18:30:02Z</updated>
<updated>2003-12-13T18:30:02.25Z</updated>
<updated>2003-12-13T18:30:02+01:00</updated>
<updated>2003-12-13T18:30:02.25+01:00</updated>

Date values SHOULD be as accurate as possible. For example, it would be generally inappropriate for a publishing system to apply the same timestamp to several entries that were published during the course of a single day.

時間の値は可能な限り正確であるべきです。例えば発行を行うシステムが、1日のうちに発行された複数のエントリーに同じタイムスタンプを適用することは、一般的に不適切となります。

4. Atom Element Definitions

4.1. Container Elements

4.1.1. The “atom:feed” Element

The “atom:feed” element is the document (i.e., top-level) element of an Atom Feed Document, acting as a container for metadata and data associated with the feed. Its element children consist of metadata elements followed by zero or more atom:entry child elements.

「atom:feed」要素は、Atomフィードドキュメントの、ドキュメント(つまりトップレベルの)要素で、そのフィードに関連付けられたメタデータ及びデータのコンテナとなります。その要素の子は、メタデータ要素と、それに続くゼロ個以上のatom:entry子要素で構成されます。

atomFeed =
    element atom:feed {
        atomCommonAttributes,
        (atomAuthor*
         & atomCategory*
         & atomContributor*
         & atomGenerator?
         & atomIcon?
         & atomId
         & atomLink*
         & atomLogo?
         & atomRights?
         & atomSubtitle?
         & atomTitle
         & atomUpdated
         & extensionElement*),
        atomEntry*
    }

This specification assigns no significance to the order of atom:entry elements within the feed.

本仕様は、フィード内のatom:entry要素の順番には意味を与えません。

The following child elements are defined by this specification (note that the presence of some of these elements is required):

以下の子要素は本仕様で定義されます(なお、これらのうちいくつかの要素の存在は必須です)。

  • atom:feed elements MUST contain one or more atom:author elements, unless all of the atom:feed element's child atom:entry elements contain at least one atom:author element.
    atom:feed要素は1個以上のatom:author要素を含まなければなりません。 ただし、atom:feed要素の子としてのatom:entry要素のいずれかが、少なくとも1個のatom:author要素を含む場合は、この限りではありません。
  • atom:feed elements MAY contain any number of atom:category elements.
    atom:feed要素は任意の数のatom:category要素を含むことができます。
  • atom:feed elements MAY contain any number of atom:contributor elements.
    atom:feed要素は任意の数のatom:contributor要素を含むことができます。
  • atom:feed elements MUST NOT contain more than one atom:generator element.
    atom:feed要素は複数のatom:generator要素を含んではなりません。
  • atom:feed elements MUST NOT contain more than one atom:icon element.
    atom:feed要素は複数のatom:icon要素を含んではなりません。
  • atom:feed elements MUST NOT contain more than one atom:logo element.
    atom:feed要素は複数のatom:logo要素を含んではなりません。
  • atom:feed elements MUST contain exactly one atom:id element.
    atom:feed要素はatom:id要素をひとつだけ含まなければなりません。
  • atom:feed elements SHOULD contain one atom:link element with a rel attribute value of “self”. This is the preferred URI for retrieving Atom Feed Documents representing this Atom feed.
    atom:feed要素は、rel属性値が「self」であるatom:link要素をひとつだけ含むべきです。これは、このAtomフィードを表すAtomフィードドキュメントを取得するのに望ましいURIです。
  • atom:feed elements MUST NOT contain more than one atom:link element with a rel attribute value of “alternate” that has the same combination of type and hreflang attribute values.
    atom:feed要素は、rel属性値が「alternate」であり、typeとhreflang属性値の組み合わせが同じであるatom:link要素を複数含んではなりません。
  • atom:feed elements MAY contain additional atom:link elements beyond those described above.
    atom:feed要素は、上に述べた以外の、追加のatom:link要素を含むことができます。
  • atom:feed elements MUST NOT contain more than one atom:rights element.
    atom:feed要素は複数のatom:rights要素を含んではなりません。
  • atom:feed elements MUST NOT contain more than one atom:subtitle element.
    atom:feed要素は複数のatom:subtitle要素を含んではなりません。
  • atom:feed elements MUST contain exactly one atom:title element.
    atom:feed要素はatom:title要素をひとつだけ含まなければなりません。
  • atom:feed elements MUST contain exactly one atom:updated element.
    atom:feed要素はatom:updated要素をひとつだけ含まなければなりません。

If multiple atom:entry elements with the same atom:id value appear in an Atom Feed Document, they represent the same entry. Their atom:updated timestamps SHOULD be different. If an Atom Feed Document contains multiple entries with the same atom:id, Atom Processors MAY choose to display all of them or some subset of them. One typical behavior would be to display only the entry with the latest atom:updated timestamp.

Atomフィードドキュメントに、atom:idの値が同じ複数のatom:entry要素が現れれば、それらは同じエントリーであることを意味します。これらのatom:updatedタイムスタンプは異なるべきです。Atomフィードドキュメントが、同じatom:idの複数のエントリーを含むときには、Atomの処理系はその全てを表示するか、一部だけを表示するかを選択できます。典型的な動作は、最新のatom:updatedタイムスタンプを持つエントリーのみを表示することでしょう。

4.1.1.1. Providing Textual Content

Experience teaches that feeds that contain 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 or (X)HTML to function reliably and predictably. Feed producers should be aware of these issues. It is advisable that each atom:entry element contain a non-empty atom:title element, a non-empty atom:content element when that element is present, and a non-empty atom:summary element when the entry contains no atom:content element. However, the absence of atom:summary is not an error, and Atom Processors MUST NOT fail to function correctly as a consequence of such an absence.

文章を内容に含むフィードは、そうではないものより有益だということを、経験は教えます。いくつかのアプリケーション(ひとつの例は全文の索引生成プログラム)は、確実に期待通りに動作するには最低限の量の文章や(X)HTMLを必要とします。フィードの生成者はこのことを意識すべきです。各atom:entry要素は、空ではないatom:title要素、atom:content要素が存在する場合、空ではないその要素、そしてエントリーがatom:content要素を含まない場合、空ではないatom:summary要素を含むことが望まれます。しかしながらatom:summaryの欠如はエラーではなく、Atomの処理系は、こうした欠如のために正常な動作をし損なってはなりません。

4.1.2. The “atom:entry” Element

The “atom:entry” element represents an individual entry, acting as a container for metadata and data associated with the entry. This element can appear as a child of the atom:feed element, or it can appear as the document (i.e., top-level) element of a stand-alone Atom Entry Document.

atom:entry要素は個別のエントリーを表し、そのエントリーに関連付けられたメタデータ及びデータのコンテナとなります。この要素は、atom:feed要素の子として登場することが可能であり、あるいは単独のAtomエントリードキュメントの、ドキュメント(つまりトップレベルの)要素として登場することができます。

atomEntry =
    element atom:entry {
        atomCommonAttributes,
        (atomAuthor*
         & atomCategory*
         & atomContent?
         & atomContributor*
         & atomId
         & atomLink*
         & atomPublished?
         & atomRights?
         & atomSource?
         & atomSummary?
         & atomTitle
         & atomUpdated
         & extensionElement*)
    }

This specification assigns no significance to the order of appearance of the child elements of atom:entry.

本仕様は、atom:entryの子要素の登場順には意味を与えません。

The following child elements are defined by this specification (note that it requires the presence of some of these elements):

以下の子要素は本仕様で定義されます(なお、これらのうちいくつかの要素の存在は必須です)。

  • atom:entry elements MUST contain one or more atom:author elements, unless the atom:entry contains an atom:source element that contains an atom:author element or, in an Atom Feed Document, the atom:feed element contains an atom:author element itself.
    atom:entryは1個以上のatom:author要素を含まなければなりません。ただしそのatom:entryが、atom:author要素を含むatom:source要素を含むか、あるいはAtomフィードドキュメントの場合に、そのatom:feed要素自体がatom:author要素を含む場合は、この限りではありません。
  • atom:entry elements MAY contain any number of atom:category elements.
    atom:entry要素は任意の数のatom:category要素を含むことができます。
  • atom:entry elements MUST NOT contain more than one atom:content element.
    atom:entry要素は複数のatom:content要素を含んではなりません。
  • atom:entry elements MAY contain any number of atom:contributor elements.
    atom:entry要素は任意の数のatom:contributor要素を含むことができます。
  • atom:entry elements MUST contain exactly one atom:id element.
    atom:entry要素はatom:id要素をひとつだけ含まなければなりません。
  • atom:entry elements that contain no child atom:content element MUST contain at least one atom:link element with a rel attribute value of “alternate”.
    atom:content要素を含まないatom:entry要素は、rel属性値が「alternate」であるatom:link要素を、少なくとも1個含まなければなりません。
  • atom:entry elements MUST NOT contain more than one atom:link element with a rel attribute value of “alternate” that has the same combination of type and hreflang attribute values.
    atom:entry要素は、rel属性値が「alternate」であり、typeとhreflang属性値の組み合わせが同じであるatom:link要素を複数含んではなりません。
  • atom:entry elements MAY contain additional atom:link elements beyond those described above.
    atom:entry要素は、上に述べた以外の、追加のatom:link要素を含むことができます。
  • atom:entry elements MUST NOT contain more than one atom:published element.
    atom:entry要素は複数のatom:published要素を含んではなりません。
  • atom:entry elements MUST NOT contain more than one atom:rights element.
    atom:entry要素は複数のatom:rights要素を含んではなりません。
  • atom:entry elements MUST NOT contain more than one atom:source element.
    atom:entry要素は複数のatom:source要素を含んではなりません。
  • atom:entry elements MUST contain an atom:summary element in either of the following cases:
    atom:entry要素は、以下の場合にatom:summary要素を含まなければなりません。
    • the atom:entry contains an atom:content that has a “src” Attribute (and is thus empty).
      atom:entry要素が、「src」属性を持つatom:contentを含む(従って空である)場合。
    • the atom:entry contains content that is encoded in Base64; i.e., the “type” Attribute of atom:content is a MIME media type [MIMEREG], but is not an XML media type [RFC3023], does not begin with “text/”, and does not end with “/xml” or “+xml”.
      atom:entry要素が、Base64でエンコードされたatom:contentを含む場合。つまりatom:contentの「type」属性が、MIMEメディアタイプ [MIMEREG] であり、かつXMLメディアタイプ [RFC3023] ではなく、「text/」で始まるものでもなく、「/xml」または「+xml」で終わるものでもない場合。
  • atom:entry elements MUST NOT contain more than one atom:summary element.
    atom:entry要素は複数のatom:summary要素を含んではなりません。
  • atom:entry elements MUST contain exactly one atom:title element.
    atom:entry要素はatom:title要素をひとつだけ含まなければなりません。
  • atom:entry elements MUST contain exactly one atom:updated element.
    atom:entry要素はatom:updated要素をひとつだけ含まなければなりません。

4.1.3. The “atom:content” Element

The “atom:content” element either contains or links to the content of the entry. The content of atom:content is Language-Sensitive.

「atom:content」要素はエントリーの内容を含むか、もしくはそれにリンクします。atom:contentの内容は言語に依存します。

atomInlineTextContent =
    element atom:content {
        atomCommonAttributes,
        attribute type { "text" | "html" }?,
        (text)*
    }

atomInlineXHTMLContent =
    element atom:content {
        atomCommonAttributes,
        attribute type { "xhtml" },
        xhtmlDiv
    }

atomInlineOtherContent =
    element atom:content {
        atomCommonAttributes,
        attribute type { atomMediaType }?,
        (text|anyElement)*
    }

atomOutOfLineContent =
    element atom:content {
        atomCommonAttributes,
        attribute type { atomMediaType }?,
        attribute src { atomUri },
        empty
    }

atomContent = atomInlineTextContent
 | atomInlineXHTMLContent
 | atomInlineOtherContent
 | atomOutOfLineContent
4.1.3.1. The “type” Attribute

On the atom:content element, the value of the “type” Attribute MAY be one of “text”, “html”, or “xhtml”. Failing that, it MUST conform to the syntax of a MIME media type, but MUST NOT be a composite type (see Section 4.2.6 of [MIMEREG]). If neither the type attribute nor the src attribute is provided, Atom Processors MUST behave as though the type attribute were present with a value of “text”.

atom:content要素では、「type」属性の値は、「text」、「html」、または「xhtml」のいずれかを採ることができます。さもなければそれは、MIMEメディアタイプの構文に則ったものでなければなりませんが、ただし複合タイプ([MIMEREG] のセクション4.2.6参照)であってはなりません。type属性とsrc属性のいずれもなければ、Atomの処理系は、値が「text」であるtype属性があるかのように振舞わなければなりません。

4.1.3.2. The “src” Attribute

atom:content MAY have a “src” Attribute, whose value MUST be an IRI reference [RFC3987]. If the “src” Attribute is present, atom:content MUST be empty. Atom Processors MAY use the IRI to retrieve the content and MAY choose to ignore remote content or to present it in a different manner than local content.

atom:contentは「src」属性を持つことができ、その値はIRI参照 [RFC3987] でなければなりません。「src」属性があれば、atom:contentは空でなければなりません。Atomの処理系はIRIを用いてその内容を取得し、リモートの内容を無視するか、ローカルの内容とは異なる流儀でそれを提示するかを選択できます。

If the “src” Attribute is present, the “type” Attribute SHOULD be provided and MUST be a MIME media type [MIMEREG], rather than “text”, “html”, or “xhtml”. The value is advisory; that is to say, when the corresponding URI (mapped from an IRI, if necessary) is dereferenced, if the server providing that content also provides a media type, the server-provided media type is authoritative.

「src」属性があれば、「type」属性が与えられるべきであり、「text」や「html」、「xhtml」ではなく、MIMEメディアタイプ [MIMEREG] でなければなりません。その値は参考であり、つまり、対応するURI(必要に応じてIRIからマッピングされる)が逆参照される際に、その内容を提供するサーバがメディアタイプも提供するなら、サーバが提供するメディアタイプが正式なものです。

4.1.3.3. Processing Model

Atom Documents MUST conform to the following rules. Atom Processors MUST interpret atom:content according to the first applicable rule.

Atomドキュメントは以下のルールに則らなければなりません。Atomの処理系は、適用可能な最初のルールに従ってatom:contentを解釈しなければなりません。

  1. If the value of “type” is “text”, the content of atom:content MUST NOT contain child elements. Such text is intended to be presented to humans in a readable fashion. Thus, Atom Processors MAY collapse white space (including line breaks), and display the text using typographic techniques such as justification and proportional fonts.

    「type」の値が「text」なら、atom:contentの内容は子要素を含んではなりません。これらの文章は人間に対して読み取り可能な方法で提示されることを意図しています。従って、Atomの処理系はホワイトスペース(改行を含む)を分解し、行端揃えやプロポーショナルフォントといったタイポグラフ技法を用いて文章を表示することができます。

  2. If the value of “type” is “html”, the content of atom:content MUST NOT contain child elements and SHOULD be suitable for handling as HTML [HTML]. The HTML markup MUST be escaped; for example, “<br>” as “&lt;br>”. The HTML markup SHOULD be such that it could validly appear directly within an HTML <DIV> element. Atom Processors that display the content MAY use the markup to aid in displaying it.

    「type」の値が「html」なら、atom:contentの内容は子要素を含んではならず、HTML [HTML] として取り扱われるのに適したものであるべきです。HTMLマークアップは、例えば「<br>」は「&lt;br>」のように、エスケープされなければなりません。HTMLマークアップは、HTMLの<DIV>要素内に直接、正当に現れ得るようなものであるべきです。その内容を表示するAtomの処理系は、マークアップを表示の支援に用いることができます。

  3. If the value of “type” is “xhtml”, the content of atom:content MUST be a single XHTML div element [XHTML] and SHOULD be suitable for handling as XHTML. The XHTML div element itself MUST NOT be considered part of the content. Atom Processors that display the content MAY use the markup to aid in displaying it. The escaped versions of characters such as “&” and “>” represent those characters, not markup.

    「type」の値が「xhtml」なら、atom:contentの内容は単一のXHTML div要素 [XHTML] でなければならず、XHTMLとして取り扱われるのに適したものであるべきです。XHTML div要素自体を内容の一部と見なしてはなりません。その内容を表示するAtomの処理系は、マークアップを表示の支援に用いることができます。「&」や「>」といったキャラクターのエスケープ版は、マークアップ記号ではなく、これらのキャラクターを表します。

  4. If the value of “type” is an XML media type [RFC3023] or ends with “+xml” or “/xml” (case insensitive), the content of atom:content MAY include child elements and SHOULD be suitable for handling as the indicated media type. If the “src” Attribute is not provided, this would normally mean that the “atom:content” element would contain a single child element that would serve as the root element of the XML document of the indicated type.

    「type」の値がXMLメディアタイプ [RFC3023] か、「+xml」または「/xml」で終わる(大小文字を区別しない)なら、その内容には子要素を組み込むことが可能で、示されたメディアタイプとして取り扱われるのに適したものであるべきです。「src」属性が与えられていなければ、その「atom:content」要素は、示されたタイプのXMLドキュメントのルート要素として供される、単一の子要素を含むであろうということを、普通は意味します。

  5. If the value of “type” begins with “text/” (case insensitive), the content of atom:content MUST NOT contain child elements.

    「type」の値が「text/」で始まる(大小文字を区別しない)なら、atom:contentの内容は子要素を含んではなりません。

  6. For all other values of “type”, the content of atom:content MUST be a valid Base64 encoding, as described in [RFC3548], section 3. When decoded, it SHOULD be suitable for handling as the indicated media type. In this case, the characters in the Base64 encoding MAY be preceded and followed in the atom:content element by white space, and lines are separated by a single newline (U+000A) character.

    他の全ての「type」の値については、atom:contentの内容は、[RFC3548] のセクション3に述べられる正当なBase64エンコーディングでなければなりません。デコード時には、示されたメディアタイプとして取り扱われるのに適したものであるべきです。この場合Base64エンコーディングのキャラクターは、atom:content要素内で前後をホワイトスペースで挟み、各行を単一の改行(U+000A)キャラクターで分離できます。

4.1.3.4. Examples

XHTML inline:

...
<content type="xhtml">
    <div xmlns="http://www.w3.org/1999/xhtml">
        This is <b>XHTML</b> content.
    </div>
</content>
...
<content type="xhtml">
    <xhtml:div xmlns:xhtml="http://www.w3.org/1999/xhtml">
        This is <xhtml:b>XHTML</xhtml:b> content.
    </xhtml:div>
</content>
...

The following example assumes that the XHTML namespace has been bound to the “xh” prefix earlier in the document:

以下の例は、ドキュメント中のこれより前で、XHTML名前空間が「xh」接頭辞に結び付けられていることを前提にしています。

...
<content type="xhtml">
    <xh:div>
        This is <xh:b>XHTML</xh:b> content.
    </xh:div>
</content>
...

4.2. Metadata Elements

4.2.1. The “atom:author” Element

The “atom:author” element is a Person construct that indicates the author of the entry or feed.

atom:author要素はエントリーまたはフィードの作者を示すPerson構造体です。

atomAuthor = element atom:author { atomPersonConstruct }

If an atom:entry element does not contain atom:author elements, then the atom:author elements of the contained atom:source element are considered to apply. In an Atom Feed Document, the atom:author elements of the containing atom:feed element are considered to apply to the entry if there are no atom:author elements in the locations described above.

あるatom:entry要素がatom:author要素を含まなければ、そこに含まれるatom:source要素のatom:author要素が適用されるものと見なされます。Atomフィードドキュメントでは、もしこれらのロケーションにatom:author要素がなければ、そのエントリーを含むatom:feed要素内のatom:author要素が、そのエントリーに適用されるものと見なされます。

4.2.2. The “atom:category” Element

The “atom:category” element conveys information about a category associated with an entry or feed. This specification assigns no meaning to the content (if any) of this element.

「atom:category」要素はエントリーまたはフィードに関連付けられたカテゴリーについての情報を伝えます。本仕様は、この要素の内容(もしあるなら)には意味を与えません。

atomCategory =
    element atom:category {
        atomCommonAttributes,
        attribute term { text },
        attribute scheme { atomUri }?,
        attribute label { text }?,
        undefinedContent
    }
4.2.2.1. The “term” Attribute

The “term” Attribute is a string that identifies the category to which the entry or feed belongs. Category elements MUST have a “term” Attribute.

「term」属性はエントリーまたはフィードがどのカテゴリーに属すかを示す文字列です。カテゴリー要素には「term」属性が必須です。

4.2.2.2. The “scheme” Attribute

The “scheme” Attribute is an IRI that identifies a categorization scheme. Category elements MAY have a “scheme” Attribute.

「scheme」属性はカテゴリー化のスキームを示すIRIです。カテゴリー要素は「scheme」属性を持つことができます。

4.2.2.3. The “label” Attribute

The “label” Attribute provides a human-readable label for display in end-user applications. The content of the “label” Attribute is Language-Sensitive. Entities such as “&amp;” and “&lt;” represent their corresponding characters (“&” and “<”, respectively), not markup. Category elements MAY have a “label” Attribute.

「label」属性は、エンドユーザのアプリケーションで表示される、人間が読み取れるラベルを提供します。「label」属性の内容は言語に依存します。「&amp;」や「&lt;」のようなエンティティは、マークアップ記号ではなく対応するキャラクター(それぞれ「&」と「<」)を表します。カテゴリー要素は「label」属性を持つことができます。

4.2.3. The “atom:contributor” Element

The “atom:contributor” element is a Person construct that indicates a person or other entity who contributed to the entry or feed.

「atom:contributor」要素は、エントリーまたはフィードに貢献した、人物やその他の存在を示すPerson構造体です。

atomContributor = element atom:contributor { atomPersonConstruct }

4.2.4. The “atom:generator” Element

The “atom:generator” element's content identifies the agent used to generate a feed, for debugging and other purposes.

「aton:generator」要素の内容は、デバッグなどの目的で、フィードの生成に用いられたエージェントを示します。

atomGenerator = element atom:generator {
    atomCommonAttributes,
    attribute uri { atomUri }?,
    attribute version { text }?,
    text
}

The content of this element, when present, MUST be a string that is a human-readable name for the generating agent. Entities such as “&amp;” and “&lt;” represent their corresponding characters (“&” and “<” respectively), not markup.

この要素の内容は、もしそれがあるなら、生成を行うエージェントの、人間が読み取れる名前の文字列でなければなりません。「&amp;」や「&lt;」のようなエンティティは、マークアップ記号ではなく対応するキャラクター(それぞれ「&」と「<」)を表します。

The atom:generator element MAY have a “uri” Attribute whose value MUST be an IRI reference [RFC3987]. When dereferenced, the resulting URI (mapped from an IRI, if necessary) SHOULD produce a representation that is relevant to that agent.

atom:generator要素は「uri」属性を持つことができ、その値はIRI参照 [RFC3987] でなければなりません。逆参照の際に、その結果のURI(必要に応じてIRIからマッピングされる)は、そのエージェントに対して適切な表現を生成すべきです。

The atom:generator element MAY have a “version” Attribute that indicates the version of the generating agent.

atom:generator要素は、生成を行うエージェントのバージョンを示す「version」属性を持つことができます。

4.2.5. The “atom:icon” Element

The “atom:icon” element's content is an IRI reference [RFC3987] that identifies an image that provides iconic visual identification for a feed.

「atom:icon」要素の内容は、フィードにアイコン風の視覚的識別を提供するイメージを特定するIRI参照 [RFC3987] です。

atomIcon = element atom:icon {
    atomCommonAttributes,
    (atomUri)
}

The image SHOULD have an aspect ratio of one (horizontal) to one (vertical) and SHOULD be suitable for presentation at a small size.

イメージは1(水平)対1(垂直)のアスペクト比を有するべきであり、小さいサイズでの表示に適したものであるべきです。

4.2.6. The “atom:id” Element

The “atom:id” element conveys a permanent, universally unique identifier for an entry or feed.

「atom:id」要素は、エントリーまたはフィードの、恒久的で、全世界的に一意の識別子を伝えます。

atomId = element atom:id {
    atomCommonAttributes,
    (atomUri)
}

Its content MUST be an IRI, as defined by [RFC3987]. Note that the definition of “IRI” excludes relative references. Though the IRI might use a dereferencable scheme, Atom Processors MUST NOT assume it can be dereferenced.

その内容は [RFC3987] によって定義されたIRIでなければなりません。なお、ここでの「IRI」の定義は相対参照を除外している点に注意してください。IRIは逆参照可能なスキームを用いるかもしれませんが、Atomの処理系は、それが逆参照可能であると思ってはいけません。

When an Atom Document is relocated, migrated, syndicated, republished, exported, or imported, the content of its atom:id element MUST NOT change. Put another way, an atom:id element pertains to all instantiations of a particular Atom entry or feed; revisions retain the same content in their atom:id elements. It is suggested that the atom:id element be stored along with the associated resource.

あるAtomドキュメントが、ロケーションの変更やマイグレーション、シンジケーション、再発行、エクスポート、あるいはインポートされるとき、そのatom:id要素の内容は変わってはいけません。言い換えれば、atom:id要素は特定のAtomエントリーまたはフィードのあらゆるインスタンス化に付随するものであり、改定版のatom:id要素内には同じ内容が保たれ続けます。atom:id要素は、その関連のリソースとともに保存されることが推奨されます。

The content of an atom:id element MUST be created in a way that assures uniqueness.

atom:id要素の内容は、一意であることを保証する方法で作成されなければなりません。

Because of the risk of confusion between IRIs that would be equivalent if they were mapped to URIs and dereferenced, the following normalization strategy SHOULD be applied when generating atom:id elements:

URIにマッピングし、逆参照すると等価となってしまうIRI同士が混乱を起こさないように、atom:idを生成する際には、以下の正規化の方針が適用されるべきです。

  • Provide the scheme in lowercase characters.
    スキームは小文字で与える。
  • Provide the host, if any, in lowercase characters.
    ホストは、もしあるなら、小文字で与える。
  • Only perform percent-encoding where it is essential.
    パーセント記号のエンコーディングが必要な箇所では、パーセント記号のエンコーディングのみを行う。
  • Use uppercase A through F characters when percent-encoding.
    パーセント記号のエンコーディングの際は、大文字のAからFまでを用いる。
  • Prevent dot-segments from appearing in paths.
    パス中にドット記号のセグメントが現れないようにする。
  • For schemes that define a default authority, use an empty authority if the default is desired.
    デフォルトの認証を定義するスキームでは、デフォルトが望ましければ空の認証を用いる。
  • For schemes that define an empty path to be equivalent to a path of “/”, use “/”.
    空のパスが「/」と等価であることを定義するスキームでは、「/」を用いる。
  • For schemes that define a port, use an empty port if the default is desired.
    ポートを定義するスキームでは、デフォルトが望ましければ空のポートを用いる。
  • Preserve empty fragment identifiers and queries.
    空のフラグメント識別子とクエリーを維持する。
  • Ensure that all components of the IRI are appropriately character normalized, e.g., by using NFC or NFKC.
    例えばNFCまたはNFKCを用いて、IRIの全てのコンポーネントで、キャラクターの正規化が適切に為されていることを確実にする。
4.2.6.1. Comparing atom:id

Instances of atom:id elements can be compared to determine whether an entry or feed is the same as one seen before. Processors MUST compare atom:id elements on a character-by-character basis (in a case-sensitive fashion). Comparison operations MUST be based solely on the IRI character strings and MUST NOT rely on dereferencing the IRIs or URIs mapped from them.

atom:id要素のインスタンスは、エントリーまたはフィードが以前に見られたものと同じであるかを決定するために比較され得ます。処理系は、atom:id要素を文字列として(大小文字を区別する方法で)比較しなければなりません。比較の操作は、IRIのキャラクター文字列だけに基づかねばならず、IRIの逆参照や、それからマッピングされたURIに拠ってはなりません。

As a result, two IRIs that resolve to the same resource but are not character-for-character identical will be considered different for the purposes of identifier comparison.

従って、同じリソースに還元されるが文字列としては同一ではないふたつのIRIは、識別子を比較する目的においては別のものとみなされることになります。

For example, these are four distinct identifiers, despite the fact that they differ only in case:

例として以下は、大小文字が異なるだけにも関わらず、4個の異なる識別子です。

http://www.example.org/thing
http://www.example.org/Thing
http://www.EXAMPLE.org/thing
HTTP://www.example.org/thing

Likewise, these are three distinct identifiers, because IRI %-escaping is significant for the purposes of comparison:

同様に以下は3個の異なる識別子で、なぜならIRIの%エスケープは、比較の目的においては重要だからです。

http://www.example.com/~bob
http://www.example.com/%7ebob
http://www.example.com/%7Ebob

4.2.7. The “atom:link” Element

The “atom:link” element defines a reference from an entry or feed to a Web resource. This specification assigns no meaning to the content (if any) of this element.

「atom:link」要素は、エントリーまたはフィードからウェブリソースへの参照を定義します。本仕様は、この要素の内容(もしあるなら)に意味を与えません。

atomLink =
    element atom:link {
        atomCommonAttributes,
        attribute href { atomUri },
        attribute rel { atomNCName | atomUri }?,
        attribute type { atomMediaType }?,
        attribute hreflang { atomLanguageTag }?,
        attribute title { text }?,
        attribute length { text }?,
        undefinedContent
    }
4.2.7.1. The “href” Attribute

The “href” Attribute contains the link's IRI. atom:link elements MUST have an href attribute, whose value MUST be a IRI reference [RFC3987].

「href」属性はリンクのIRIを含みます。atom:link要素にはhref属性が必須で、その値はIRI参照 [RFC3987] でなければなりません。

4.2.7.2. The “rel” Attribute

atom:link elements MAY have a “rel” Attribute that indicates the link relation type. If the “rel” Attribute is not present, the link element MUST be interpreted as if the link relation type is “alternate”.

atom:link要素は、リンクのリレーションタイプを示す「rel」属性を持つことができます。「rel」属性がなければ、リンク要素はリンクのリレーションタイプが「alternate」であるように解釈されなければなりません。

The value of “rel” MUST be a string that is non-empty and matches either the “isegment-nz-nc” or the “IRI” production in [RFC3987]. Note that use of a relative reference other than a simple name is not allowed. If a name is given, implementations MUST consider the link relation type equivalent to the same name registered within the IANA Registry of Link Relations (Section 7), and thus to the IRI that would be obtained by appending the value of the rel attribute to the string “http://www.iana.org/assignments/relation/”. The value of “rel” describes the meaning of the link, but does not impose any behavioral requirements on Atom Processors.

「rel」の値は、空ではない、[RFC3987] の「isegment-nz-nc」形式または「IRI」形式に合致する文字列でなければなりません。なお、単純名以外の相対参照の利用は許可されない点に注意してください。名前が与えられた場合、実装においては、リンクのリレーションタイプはIANAレジストリのLink Relationsセクション7)内に登録された同一の名前と等価である、つまり、文字列「http://www.iana.org/assignments/relation/」にrel属性の値を追加して得られるIRIと等価であると見なさなければなりません。「rel」属性の値はリンクの意味を説明していますが、Atomの処理系に、なんらかの動作が必要であることを強制するものではありません。

This document defines five initial values for the Registry of Link Relations:

本文書は、Link Relationsのレジストリに5個の初期値を定義します。

  1. The value “alternate” signifies that the IRI in the value of the href attribute identifies an alternate version of the resource described by the containing element.

    「alternate」という値は、href属性値のIRIは、それを含む要素で説明されるリソースの、別のバージョンを示していることを意味します。

  2. The value “related” signifies that the IRI in the value of the href attribute identifies a resource related to the resource described by the containing element. For example, the feed for a site that discusses the performance of the search engine at “http://search.example.com” might contain, as a child of atom:feed:

    「related」という値は、href属性値のIRIは、それを含む要素で説明されるリソースに関連するリソースを示していることを意味します。例えば、「http://search.example.com」にあるサーチエンジンの性能を討論するサイトのフィードは、atom:feedの子要素に以下を含むでしょう。

    <link rel=“related” href=“http://search.example.com/”/>

    An identical link might appear as a child of any atom:entry whose content contains a discussion of that same search engine.

    同一のリンクは、その同じサーチエンジンの議論を内容に含むatom:entryにも現れるでしょう。

  3. The value “self” signifies that the IRI in the value of the href attribute identifies a resource equivalent to the containing element.

    「self」という値は、href属性値のIRIは、それを含む要素と等価のリソースを示していることを意味します。

  4. The value “enclosure” signifies that the IRI in the value of the href attribute identifies a related resource that is potentially large in size and might require special handling. For atom:link elements with rel="enclosure", the length attribute SHOULD be provided.

    「enclosure」という値は、href属性値のIRIは、サイズが大きい可能性があり、特別な処理を必要とする、関連のリソースを示していることを意味します。rel="enclosure"を持つatom:link要素には、length属性が与えられるべきです。

  5. The value “via” signifies that the IRI in the value of the href attribute identifies a resource that is the source of the information provided in the containing element.

    「via」という値は、href属性値のIRIは、それを含む要素で提供される情報の、情報源のリソースを示していることを意味します。

4.2.7.3. The “type” Attribute

On the link element, the “type” Attribute's value is an advisory media type: it is a hint about the type of the representation that is expected to be returned when the value of the href attribute is dereferenced. Note that the type attribute does not override the actual media type returned with the representation. Link elements MAY have a type attribute, whose value MUST conform to the syntax of a MIME media type [MIMEREG].

リンク要素において「type」属性はメディアタイプの参考であり、href属性の値が逆参照される際に返されることが予想される表現について、そのタイプのヒントです。なおtype属性は、表現とともに返される実際のメディアタイプを上書きしない点に注意してください。リンク要素はtype属性を持つことができ、その値はMIMEメディアタイプ [MIMEREG] に則ったものでなければなりません。

4.2.7.4. The “hreflang” Attribute

The “hreflang” Attribute's content describes the language of the resource pointed to by the href attribute. When used together with the rel="alternate", it implies a translated version of the entry. Link elements MAY have an hreflang attribute, whose value MUST be a language tag [RFC3066].

「hreflang」の内容は、href属性によって指し示されるリソースの言語を説明します。rel="alternate"と併せて用いられた場合、そのリソースはエントリーの翻訳版であることを示唆します。リンク要素はhreflang属性を持つことができ、その値はlanguage tag [RFC3066] でなければなりません。

4.2.7.5. The “title” Attribute

The “title” Attribute conveys human-readable information about the link. The content of the “title” Attribute is Language-Sensitive. Entities such as “&amp;” and “&lt;” represent their corresponding characters (“&” and “<”, respectively), not markup. Link elements MAY have a title attribute.

「title」属性は、リンクについての、人間が読み取れる情報を伝えます。「title」属性の内容は言語に依存します。「&amp;」や「&lt;」のようなエンティティは、マークアップ記号ではなく対応するキャラクター(それぞれ「&」と「<」)を表します。リンク要素はtitle属性を持つことができます。

4.2.7.6. The “length” Attribute

The “length” Attribute indicates an advisory length of the linked content in octets; it is a hint about the content length of the representation returned when the IRI in the href attribute is mapped to a URI and dereferenced. Note that the length attribute does not override the actual content length of the representation as reported by the underlying protocol. Link elements MAY have a length attribute.

「length」属性は、リンク先の内容の長さの参考値をオクテット単位で示すもので、href属性のIRIがURIにマッピングされ逆参照される際に返される表現の、コンテント長のヒントです。なおlength属性は、表現とともに返され下層のプロトコルによって報告される実際のコンテント長を上書きしない点に注意してください。リンク要素はtype属性を持つことができます。

4.2.8. The “atom:logo” Element

The “atom:logo” element's content is an IRI reference [RFC3987] that identifies an image that provides visual identification for a feed.

「atom:logo」要素の内容は、フィードに視覚的識別を提供するイメージを特定するIRI参照 [RFC3987] です。

atomLogo = element atom:logo {
    atomCommonAttributes,
    (atomUri)
}

The image SHOULD have an aspect ratio of 2 (horizontal) to 1 (vertical).

イメージは2(水平)対1(垂直)のアスペクト比を有するべきです。

4.2.9. The “atom:published” Element

The “atom:published” element is a Date construct indicating an instant in time associated with an event early in the life cycle of the entry.

「atom:published」要素は、エントリーのライフサイクルの、初期のイベントに関連付けられた時間を表すDate構造体です。

atomPublished = element atom:published { atomDateConstruct }

Typically, atom:published will be associated with the initial creation or first availability of the resource.

通常atom:publishedは、リソースの作成、もしくは最初の供給に関連付けられます。

4.2.10. The “atom:rights” Element

The “atom:rights” element is a Text construct that conveys information about rights held in and over an entry or feed.

「atom:rights」要素は、エントリーまたはフィードで発生し、持続している権利についての情報を伝えるText構造体です。

atomRights = element atom:rights { atomTextConstruct }

The atom:rights element SHOULD NOT be used to convey machine-readable licensing information.

atom:rights要素は、マシンが読み取るライセンス情報を伝えるのには用いるべきではありません。

If an atom:entry element does not contain an atom:rights element, then the atom:rights element of the containing atom:feed element, if present, is considered to apply to the entry.

あるatom:entry要素がatom:rights要素を含まない場合、そのエントリーを含むatom:feed要素にatom:rights要素があれば、それがそのエントリーに適用されるものと見なされます。

4.2.11. The “atom:source” Element

If an atom:entry is copied from one feed into another feed, then the source atom:feed's metadata (all child elements of atom:feed other than the atom:entry elements) MAY be preserved within the copied entry by adding an atom:source child element, if it is not already present in the entry, and including some or all of the source feed's Metadata elements as the atom:source element's children. Such metadata SHOULD be preserved if the source atom:feed contains any of the child elements atom:author, atom:contributor, atom:rights, or atom:category and those child elements are not present in the source atom:entry.

atom:entryがあ るフィードから別のフィードにコピーされたものであれば、ソースのatom:feedのメタデータ(atom:entry要素以外の全てのatom:feedの子要素)をコピー先のエントリー内でも維持することができます。これはatom:source子要素を、既にそのエントリーになければ追加して、ソースフィードのいくつかの、もしくは全てのメタデータ要素をatom:source要素の子として組み込むことで行います。子要素のうち、atom:authoratom:contributoratom:rights、及びatom:categoryが、ソースのatom:feedには含まれ、ソースのatom:entryには含まれないない場合には、これらのメタデータは維持されるべきです。

atomSource =
    element atom:source {
        atomCommonAttributes,
        (atomAuthor*
         & atomCategory*
         & atomContributor*
         & atomGenerator?
         & atomIcon?
         & atomId?
         & atomLink*
         & atomLogo?
         & atomRights?
         & atomSubtitle?
         & atomTitle?
         & atomUpdated?
         & extensionElement*)
    }

The atom:source element is designed to allow the aggregation of entries from different feeds while retaining information about an entry's source feed. For this reason, Atom Processors that are performing such aggregation SHOULD include at least the required feed-level Metadata elements (atom:id, atom:title, and atom:updated) in the atom:source element.

atom:source要素は、あるエントリーのソースフィードについての情報を保ち続けながら、別々のフィードからのエントリーのアグリゲーションを許可することを目的に設計されています。そのため、こうしたアグリゲーションを行うAtomの処理系は最低でも、フィードレベルの必須のメタデータ要素(atom:idatom:title、及びatom:updated)をatom:source要素に組み込むべきです。

4.2.12. The “atom:subtitle” Element

The “atom:subtitle” element is a Text construct that conveys a human- readable description or subtitle for a feed.

「atom:subtitle」要素は、フィードの、人間が読み取れる説明、もしくは副題を伝えるText構造体です。

atomSubtitle = element atom:subtitle { atomTextConstruct }

4.2.13. The “atom:summary” Element

The “atom:summary” element is a Text construct that conveys a short summary, abstract, or excerpt of an entry.

「atom:summary」要素はエントリーの概略や要約、抜粋を伝えるText構造体です。

atomSummary = element atom:summary { atomTextConstruct }

It is not advisable for the atom:summary element to duplicate atom:title or atom:content because Atom Processors might assume there is a useful summary when there is none.

atom:summary要素がatom:titleまたはatom:contentと重複することは望ましくありません。なぜならAtomの処理系は、そこに有用な概略があると仮定するであろうからです。

4.2.14. The “atom:title” Element

The “atom:title” element is a Text construct that conveys a human- readable title for an entry or feed.

「atom:title」要素は、エントリーまたはフィードの、人間が読み取れる題名を伝えるText構造体です。

atomTitle = element atom:title { atomTextConstruct }

4.2.15. The “atom:updated” Element

The “atom:updated” element is a Date construct indicating the most recent instant in time when an entry or feed was modified in a way the publisher considers significant. Therefore, not all modifications necessarily result in a changed atom:updated value.

「atom:updated」要素は、エントリーまたはフィードに、発行者が重要だと見なす変更が為された時間のうち、最新のものを示すDate構造体です。つまり変更の度に必ずatom:updatedの値を変更しなければならないというわけではありません。

atomUpdated = element atom:updated { atomDateConstruct }

Publishers MAY change the value of this element over time.

発行者はこの要素の値を繰り返し変更できます。

5. Securing Atom Documents

Because Atom is an XML-based format, existing XML security mechanisms can be used to secure its content.

Producers of feeds and/or entries, and intermediaries who aggregate feeds and/or entries, may have sound reasons for signing and/or encrypting otherwise-unprotected content. For example, a merchant might digitally sign a message that contains a discount coupon for its products. A bank that uses Atom to deliver customer statements is very likely to want to sign and encrypt those messages to protect their customers' financial information and to assure the customer of their authenticity. Intermediaries may want to encrypt aggregated feeds so that a passive observer cannot tell what topics the recipient is interested in. Of course, many other examples exist as well.

The algorithm requirements in this section pertain to the Atom Processor. They require that a recipient, at a minimum, be able to handle messages that use the specified cryptographic algorithms. These requirements do not limit the algorithms that the sender can choose.

5.1. Digital Signatures

The root of an Atom Document (i.e., atom:feed in an Atom Feed Document, atom:entry in an Atom Entry Document) or any atom:entry element MAY have an Enveloped Signature, as described by XML- Signature and Syntax Processing [W3C.REC-xmldsig-core-20020212].

Atom Processors MUST NOT reject an Atom 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 an Atom Processor to fail merely because of its presence.

Other elements in an Atom Document MUST NOT be signed unless their definitions explicitly specify such a capability.

Section 6.5.1 of [W3C.REC-xmldsig-core-20020212] requires support for Canonical XML [W3C.REC-xml-c14n-20010315]. However, many implementers do not use it because signed XML documents enclosed in other XML documents have their signatures broken. Thus, Atom Processors that verify signed Atom 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 [W3C.REC-xml-exc-c14n-20020718].

Intermediaries such as aggregators may need to add an atom:source element to an entry that does not contain its own atom:source element. If such an entry is signed, the addition will break the signature. Thus, a publisher of individually-signed entries should strongly consider adding an atom:source element to those entries before signing them. Implementers should also be aware of the issues concerning the use of markup in the “xml:” namespace as it interacts with canonicalization.

Section 4.4.2 of [W3C.REC-xmldsig-core-20020212] requires support for DSA signatures and recommends support for RSA signatures. However, because of the much greater popularity in the market of RSA versus DSA, Atom Processors that verify signed Atom 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, Atom Documents SHOULD NOT use MACs for signatures.

5.2. Encryption

The root of an Atom Document (i.e., atom:feed in an Atom Feed Document, atom:entry in an Atom Entry Document) MAY be encrypted, using the mechanisms described by XML Encryption Syntax and Processing [W3C.REC-xmlenc-core-20021210].

Section 5.1 of [W3C.REC-xmlenc-core-20021210] requires support of TripleDES, AES-128, and AES-256. Atom Processors that decrypt Atom Documents MUST be able to decrypt with AES-128 in Cipher Block Chaining (CBC) mode.

Encryption based on [W3C.REC-xmlenc-core-20021210] does not ensure integrity of the original document. There are known cryptographic attacks where someone who cannot decrypt a message can still change bits in a way where part or all the decrypted message makes sense but has a different meaning. Thus, Atom Processors that decrypt Atom Documents SHOULD check the integrity of the decrypted document by verifying the hash in the signature (if any) in the document, or by verifying a hash of the document within the document (if any).

5.3. Signing and Encrypting

When an Atom Document is to be both signed and encrypted, it is generally a good idea to first sign the document, then encrypt the signed document. This provides integrity to the base document while encrypting all the information, including the identity of the entity that signed the document. Note that, if MACs are used for authentication, the order MUST be that the document is signed and then encrypted, and not the other way around.

6. Extending Atom

6.1. Extensions from Non-Atom Vocabularies

This specification describes Atom's XML markup vocabulary. Markup from other vocabularies (“foreign markup”) can be used in an Atom Document. Note that the atom:content element is designed to support the inclusion of arbitrary foreign markup.

本仕様はAtomの、XMLマークアップの語彙を説明しています。Atomドキュメントでは、他の語彙のマークアップ(「外部マークアップ」)も利用できます。なお、atom:content要素は任意の外部マークアップの組み込みに対応するべく設計されている点に注意してください。

6.2. Extensions to the Atom Vocabulary

The Atom namespace is reserved for future forward-compatible revisions of Atom. Future versions of this specification could add new elements and attributes to the Atom 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 Atom vocabulary will be considered “foreign markup”.

Atomの名前空間は、将来のAtomの、上位互換の改訂版のために予約されています。本仕様の将来のバージョンでは、Atomのマークアップ語彙に新しい要素や属性を追加する可能性があります。本バージョンの仕様に適合するように書かれたソフトウェアは、こうしたマークアップを正しく処理できず、実際のところ、それをマークアップのエラーと区別することもできないでしょう。本ディスカッションでは、Atomの語彙では認識できないマークアップを、「外部マークアップ」とみなします。

6.3. Processing Foreign Markup

Atom Processors that encounter foreign markup in a location that is legal according to this specification MUST NOT stop processing or signal an error. It might be the case that the Atom Processor is able to process the foreign markup correctly and does so. Otherwise, such markup is termed “unknown foreign markup”.

本仕様に照らして正当である箇所で外部マークアップに遭遇したAtomの処理系は、処理を停止したり、エラーを示唆したりしてはなりません。それはAtomの処理系が外部マークアップを正しく処理することが可能であり、そのようにすべきケースなのかもしれません。それ以外の、こうしたマークアップを「未知の外部マークアップ」と呼びます。

When unknown foreign markup is encountered as a child of atom:entry, atom:feed, or a Person construct, Atom Processors MAY bypass the markup and any textual content and MUST NOT change their behavior as a result of the markup's presence.

未知の外部マークアップがatom:entryatom:feed、またはPerson構造体の子として現れる場合、Atomの処理系はそのマークアップやあらゆる文章内容をバイパスし、マークアップがあるからといってその動作を変更してはなりません。

When unknown foreign markup is encountered in a Text Construct or atom:content element, software SHOULD ignore the markup and process any text content of foreign elements as though the surrounding markup were not present.

未知の外部マークアップがText構造体、またはatom:content要素内に現れる場合、ソフトウェアはマークアップを無視し、外部マークアップの全ての文章内容を、周囲のマークアップが存在していないかのように処理するべきです。

6.4. Extension Elements

Atom allows foreign markup anywhere in an Atom document, except where it is explicitly forbidden. Child elements of atom:entry, atom:feed, atom:source, and Person constructs are considered Metadata elements and are described below. Child elements of Person constructs are considered to apply to the construct. The role of other foreign markup is undefined by this specification.

Atomは、明示的に禁止された箇所を除き、Atomドキュメントのあらゆる箇所で外部マークアップを許可します。atom:entryatom:feedatom:source、及びPerson構造体の子要素はメタデータ要素とみなされ、以下で説明されます。Person構造体の子要素は、構造体に適用されるものとみなされます。外部マークアップの役割は、本仕様では定義されません。

6.4.1. Simple Extension Elements

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 * - atom:* {
        text
    }

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とローカル名で構成されるペアは、そのプロパティの名前だと解釈できます。要素のキャラクターデータの内容は、そのプロパティの値だと解釈できます。要素が空の場合は、プロパティの値は空だと解釈できます。

6.4.2. Structured Extension Elements

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.

多重構造の拡張要素のルートは、少なくともひとつの属性と子要素を持たなければなりません。そして、複数の属性を持つことができ、空であるか(キャラクターデータを含む)整形式のXMLを含むことができます。多重構造の拡張要素は言語に依存します。

structuredExtensionElement =
    element * - atom:* {
        (attribute * { text }+,
        (text|anyElement)*)
    | (attribute * { text }*,
        (text?, anyElement+, (text|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 Atom extension.

本仕様は多重構造の拡張要素の解釈を提供しません。要素中のXMLの構文(及びその要素が、それを含む要素とどのように関係するかの解釈)は、Atom拡張の仕様で定義されます。

7. IANA Considerations

An Atom Document, when serialized as XML 1.0, can be identified with the following media type:

MIME media type name: application
MIME subtype name: atom+xml
Mandatory parameters: None.
Optional parameters: “charset”: This parameter has semantics identical to the charset parameter of the “application/xml” media type as specified in [RFC3023].
Encoding considerations: Identical to those of “application/xml” as described in [RFC3023], Section 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.
Interoperability considerations: There are no known interoperability issues.
Published specification: This specification.
Applications that use this media type: No known applications currently use this media type.

Additional information:

Magic number(s): As specified for “application/xml” in [RFC3023], Section 3.2.
File extension: .atom
Fragment identifiers: As specified for “application/xml” in [RFC3023], Section 5.
Base URI: As specified in [RFC3023], Section 6.
Macintosh File Type code: TEXT
Person and email address to contact for further information: Mark Nottingham <mnot@pobox.com>
Intended usage: COMMON
Author/Change controller: IESG

7.1. Registry of Link Relations

This registry is maintained by IANA and initially contains five values: “alternate”, “related”, “self”, “enclosure”, and “via”. New assignments are subject to IESG Approval, as outlined in [RFC2434]. Requests should be made by email to IANA, which will then forward the request to the IESG, requesting approval. The request should use the following template:

  • Attribute Value: (A value for the “rel” attribute that conforms to the syntax rule given in Section 4.2.7.2)
  • Description:
  • Expected display characteristics:
  • Security considerations:

8. Security Considerations

8.1. HTML and XHTML Content

Text constructs and atom:content allow the delivery of HTML and XHTML. Many elements in these languages are considered 'unsafe' in that they open clients to one or more types of attack. Implementers of software that processes Atom should carefully consider their handling of every type of element when processing incoming (X)HTML in Atom Documents. See the security sections of [RFC2854] and [HTML] for guidance.

Text構造体atom:contentはHTMLとXHTMLの配信を許可します。これらの言語の多くの要素は、それがひとつないしは複数のタイプの攻撃に対してクライアントを開放してしまうところから、「安全ではない」とみなされます。Atomを処理するソフトウェアの実装者は、Atomドキュメント内に入り込む(X)HTMLを処理する際、あらゆるタイプの要素の扱いを、慎重に検討しなければなりません。指針として、[RFC2854] と [HTML] のセキュリティセクションを参照してください。

Atom Processors should pay particular attention to the security of the IMG, SCRIPT, EMBED, OBJECT, FRAME, FRAMESET, IFRAME, META, and LINK elements, but other elements might also have negative security properties.

Atomの処理系は特に、IMG、SCRIPT、EMBED、OBJECT、FRAME、FRAMESET、IFRAME、META、及びLINK要素のセキュリティについて注意を払うべきですが、他の要素もまた、セキュリティに関してネガティブなプロパティを持っているかもしれません。

(X)HTML can either directly contain or indirectly reference executable content.

(X)HTMLは実行可能な内容を、直接含むか、間接的に参照する可能性があります。

8.2. URIs

Atom Processors handle URIs. See Section 7 of [RFC3986].

Atomの処理系はURIを取り扱います。URIのセキュリティについては、[RFC3986]のセクション7を参照してください。

8.3. IRIs

Atom Processors handle IRIs. See Section 8 of [RFC3987].

Atomの処理系はIRIを取り扱います。URIのセキュリティについては、[RFC3987]のセクション8を参照してください。

8.4. Spoofing

Atom Processors should be aware of the potential for spoofing attacks where the attacker publishes an atom:entry with the atom:id value of an entry from another feed, perhaps with a falsified atom:source element duplicating the atom:id of the other feed. For example, an Atom Processor could suppress display of duplicate entries by displaying only one entry from a set of entries with identical atom:id values. In that situation, the Atom Processor might also take steps to determine whether the entries originated from the same publisher before considering them duplicates.

Atomの処理系は攻撃者が、おそらくは他のフィードのatom:idを複製した、偽のatom:source要素によって、他のフィードのエントリーのatom:id値を持つatom:entryを発行することによる、成りすまし攻撃の可能性に留意すべきです。例えば、Atomの処理系は、同一のatom:id値を持つ複数のエントリーのうちひとつだけを表示することで、重複しているエントリーの表示を抑制できます。このような場合、Atomの処理系は、エントリーが重複していると見なす前に、それらの出自が同じ発行者であるかを判定する措置を講じるべきかもしれません。

8.5. Encryption and Signing

Atom Documents can be encrypted and signed using [W3C.REC-xmlenc-core-20021210] and [W3C.REC-xmldsig-core-20020212], respectively, and are subject to the security considerations implied by their use.

Digital signatures provide authentication, message integrity, and non-repudiation with proof of origin. Encryption provides data confidentiality.

9. References

Appendix A. Contributors

Appendix B. RELAX NG Compact Schema

This appendix is informative.

本付録は参考です。

The Relax NG schema explicitly excludes elements in the Atom namespace that are not defined in this revision of the specification. Requirements for Atom Processors encountering such markup are given in Sections 6.2 and 6.3.

以下のRelax NGスキーマは、本稿の仕様では定義されていないAtom名前空間内の要素を明示的に除外しています。こうしたマークアップに遭遇したAtomの処理系の要件は、セクション6.26.3にあります。

xml:base?

atomUri

xml:lang?

atomLanguageTag

undefinedAttribute*

type?

"text" | "html"
text

type

"xhtml"
xhtmlDiv
text
atomUri
atomEmailAddress
xsd:dateTime

type?

"text" | "html"
(text)*

type

"xhtml"
xhtmlDiv

type?

atomMediaType
(text|anyElement)*

type?

atomMediaType

src

atomUri
empty

atom:author*

atom:category*

atom:contributor*

atom:generator?

atom:icon?

atom:id

atom:link*

atom:logo?

atom:rights?

atom:subtitle?

atom:title

atom:updated

atom:entry*

atom:author*

atom:category*

atom:content?

atom:contributor*

atom:id

atom:link*

atom:published?

atom:rights?

atom:source?

atom:summary?

atom:title

atom:updated

atomPersonConstruct

term

text

scheme?

atomUri

label?

text

undefinedContent

atomPersonConstruct

uri?

atomUri

version?

text
text
(atomUri)
(atomUri)

atom:author*

atom:category*

atom:contributor*

atom:generator?

atom:icon?

atom:id?

atom:link*

atom:logo?

atom:rights?

atom:subtitle?

atom:title?

atom:updated?