/[suikacvs]/markup/html/html5/spec-ja/data/common.dat
Suika

Diff of /markup/html/html5/spec-ja/data/common.dat

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.25 by apache, Tue Aug 12 11:01:48 2008 UTC revision 1.112 by apache, Sat Oct 25 11:43:42 2008 UTC
# Line 11  Line 11 
11  #en  #en
12  This specification refers to both HTML and XML attributes and DOM  This specification refers to both HTML and XML attributes and DOM
13     attributes, often in the same context. When it is not clear which is being     attributes, often in the same context. When it is not clear which is being
14     referred to, they are referred to as <dfn id=content0>content     referred to, they are referred to as <dfn id=content-attributes>content
15     attributes</dfn> for HTML and XML attributes, and <dfn     attributes</dfn> for HTML and XML attributes, and <dfn
16     id=dom-attributes>DOM attributes</dfn> for those from the DOM. Similarly,     id=dom-attributes>DOM attributes</dfn> for those from the DOM. Similarly,
17     the term "properties" is used for both ECMAScript object properties and     the term "properties" is used for both ECMAScript object properties and
# Line 20  This specification refers to both HTML a Line 20  This specification refers to both HTML a
20  #ja  #ja
21  この仕様書では、よく、同じ文脈で HTML や XML の属性と DOM の属性の両方に言及します。  この仕様書では、よく、同じ文脈で HTML や XML の属性と DOM の属性の両方に言及します。
22  いずれの属性を指しているのかが明確でない場合には、  いずれの属性を指しているのかが明確でない場合には、
23  HTML や XML の属性を<dfn id=content0>内容属性</dfn>、  HTML や XML の属性を<dfn id=content-attributes>内容属性</dfn>、
24  DOM の属性を <dfn  DOM の属性を <dfn
25     id=dom-attributes>DOM 属性</dfn>と呼びます。     id=dom-attributes>DOM 属性</dfn>と呼びます。
26  同様に、用語「特性」は ECMAScript のオブジェクト特性と CSS の特性の両方に使います。  同様に、用語「特性」は ECMAScript のオブジェクト特性と CSS の特性の両方に使います。
27  いずれを指すか曖昧な場合には、それぞれオブジェクト特性や CSS 特性のように修飾して使います。  いずれを指すか曖昧な場合には、それぞれオブジェクト特性や CSS 特性のように修飾して使います。
28    
29  #en  #en
30  The term <a href="#html-">HTML documents</a> is sometimes used in  The term <a href=#html-documents>HTML documents</a> is sometimes used in
31     contrast with <a href="#xml-documents">XML documents</a> to specifically     contrast with <a href=#xml-documents>XML documents</a> to specifically
32     mean documents that were parsed using an <a href="#html-0">HTML parser</a>     mean documents that were parsed using an <a href=#html-parser>HTML parser</a>
33     (as opposed to using an XML parser or created purely through the DOM).     (as opposed to using an XML parser or created purely through the DOM).
34  #ja  #ja
35  用語 <a href="#html-">HTML 文書</a>は時々  用語 <a href=#html-documents>HTML 文書</a>は時々
36  <a href="#xml-documents">XML 文書</a>と対比させて使いますが、  <a href=#xml-documents>XML 文書</a>と対比させて使いますが、
37  (XML 構文解析器を使って構文解析されたものや純粋に DOM を使って作られたものに対して)  (XML 構文解析器を使って構文解析されたものや純粋に DOM を使って作られたものに対して)
38  <a href="#html-0">HTML 構文解析器</a>を使って構文解析された文書を意味します。  <a href=#html-parser>HTML 構文解析器</a>を使って構文解析された文書を意味します。
39    
40  #en  #en
41  Generally, when the specification states that a feature applies to HTML  Generally, when the specification states that a feature applies to HTML
# Line 91  Some of the algorithms in this specifica Line 91  Some of the algorithms in this specifica
91  To ease migration from HTML to XHTML, UAs conforming  To ease migration from HTML to XHTML, UAs conforming
92     to this specification will place elements in HTML in the     to this specification will place elements in HTML in the
93     <code>http://www.w3.org/1999/xhtml</code> namespace, at least for the     <code>http://www.w3.org/1999/xhtml</code> namespace, at least for the
94     purposes of the DOM and CSS. The term "<dfn id=elements2>elements in the     purposes of the DOM and CSS. The term "<dfn id=elements-in-the-html-namespace>elements in the
95     HTML namespace</dfn>", or "<dfn id=html-elements>HTML elements</dfn>" for     HTML namespace</dfn>", or "<dfn id=html-elements>HTML elements</dfn>" for
96     short, when used in this specification, thus refers to both HTML and XHTML     short, when used in this specification, thus refers to both HTML and XHTML
97     elements.     elements.
# Line 101  HTML から XHTML への移行を簡単� Line 101  HTML から XHTML への移行を簡単�
101  少なくても DOM と CSS に関しては、 HTML の要素を  少なくても DOM と CSS に関しては、 HTML の要素を
102     <code>http://www.w3.org/1999/xhtml</code>     <code>http://www.w3.org/1999/xhtml</code>
103  名前空間に置きます。  名前空間に置きます。
104  この仕様書では、用語「<dfn id=elements2>HTML 名前空間の要素</dfn>」、  この仕様書では、用語「<dfn id=elements-in-the-html-namespace>HTML 名前空間の要素</dfn>」、
105  略して「<dfn id=html-elements>HTML 要素</dfn>」は、  略して「<dfn id=html-elements>HTML 要素</dfn>」は、
106  HTML と XHTML の両方の要素を指します。  HTML と XHTML の両方の要素を指します。
107    
# Line 134  XML の名前 (属性名や要素名な� Line 134  XML の名前 (属性名や要素名な�
134  #en  #en
135  Attribute names are said to be <dfn  Attribute names are said to be <dfn
136     id=xml-compatible>XML-compatible</dfn> if they match the <a     id=xml-compatible>XML-compatible</dfn> if they match the <a
137     href="http://www.w3.org/TR/REC-xml/#NT-Name"><code     href=http://www.w3.org/TR/REC-xml/#NT-Name><code
138     title="">Name</code></a> production defined in XML, they contain no U+003A     title="">Name</code></a> production defined in XML, they contain no U+003A
139     COLON (:) characters, and their first three characters are not an <a     COLON (:) characters, and their first three characters are not an <a
140     href="#ascii">ASCII case-insensitive</a> match for the string "<code     href=#ascii-case-insensitive>ASCII case-insensitive</a> match for the string "<code
141     title="">xml</code>". <a href="#refsXML">[XML]</a>     title="">xml</code>". <a href=#refsXML>[XML]</a>
142  #ja  #ja
143  属性名が <dfn  属性名が <dfn
144     id=xml-compatible>XML 互換</dfn>であるとは、 XML で定義されている <a     id=xml-compatible>XML 互換</dfn>であるとは、 XML で定義されている <a
145     href="http://www.w3.org/TR/REC-xml/#NT-Name"><code     href=http://www.w3.org/TR/REC-xml/#NT-Name><code
146     title="">Name</code></a> 生成規則に一致し、 U+003A     title="">Name</code></a> 生成規則に一致し、 U+003A
147     COLON (:) 文字を含まず、最初の3文字が <a     COLON (:) 文字を含まず、最初の3文字が <a
148     href="#ascii">ASCII 大文字・小文字不区別</a>で文字列「<code     href=#ascii-case-insensitive>ASCII 大文字・小文字不区別</a>で文字列「<code
149     title="">xml</code>」に一致しないことをいいます。 <a href="#refsXML">[XML]</a>     title="">xml</code>」に一致しないことをいいます。 <a href=#refsXML>[XML]</a>
150    
151  #pattern  #pattern
152  <span class=secno>* </span>DOM trees  <span class=secno>* </span>DOM trees
# Line 170  The term <dfn id=root-element>root eleme Line 170  The term <dfn id=root-element>root eleme
170  根要素は孤児節点となります。  根要素は孤児節点となります。
171    
172  #en  #en
173  An element is said to have been <dfn id=inserted title="insert an  An element is said to have been <dfn id=insert-an-element-into-a-document title="insert an
174     element into a document">inserted into a document</dfn> when its <a     element into a document">inserted into a document</dfn> when its <a
175     href="#root-element">root element</a> changes and is now the document's <a     href=#root-element>root element</a> changes and is now the document's <a
176     href="#root-element">root element</a>.     href=#root-element>root element</a>.
177  #ja  #ja
178  要素が<dfn id=inserted title="insert an  要素が<dfn id=insert-an-element-into-a-document title="insert an
179     element into a document">文書に挿入される</dfn>というのは、その<a     element into a document">文書に挿入される</dfn>というのは、その<a
180     href="#root-element">根要素</a>が変化し、新しく文書の<a     href=#root-element>根要素</a>が変化し、新しく文書の<a
181     href="#root-element">根要素</a>となった時です。     href=#root-element>根要素</a>となった時です。
182    
183  #en  #en
184  The term <dfn id=tree-order>tree order</dfn> means a pre-order,  The term <dfn id=tree-order>tree order</dfn> means a pre-order,
# Line 190  The term <dfn id=tree-order>tree order</ Line 190  The term <dfn id=tree-order>tree order</
190  行きがけ順幅優先探索を表します。  行きがけ順幅優先探索を表します。
191    
192  #en  #en
193  When it is stated that some element or attribute is <dfn id=ignored  When it is stated that some element or attribute is <dfn id=ignore
194     title=ignore>ignored</dfn>, or treated as some other value, or handled as     title=ignore>ignored</dfn>, or treated as some other value, or handled as
195     if it was something else, this refers only to the processing of the node     if it was something else, this refers only to the processing of the node
196     after it is in the DOM. A user agent must not mutate the DOM in such     after it is in the DOM. A user agent must not mutate the DOM in such
197     situations.     situations.
198  #ja  #ja
199  要素や属性が<dfn id=ignored  要素や属性が<dfn id=ignore
200     title=ignore>無視</dfn>される、他の値であるとして扱う、     title=ignore>無視</dfn>される、他の値であるとして扱う、
201  何か他のものであるかのように扱うと述べられている時は、その節点が DOM  何か他のものであるかのように扱うと述べられている時は、その節点が DOM
202  に入った後の処理についてのみ言及しています。利用者エージェントは、そのような状況で DOM  に入った後の処理についてのみ言及しています。利用者エージェントは、そのような状況で DOM
# Line 207  The term <dfn id=text-node>text node</df Line 207  The term <dfn id=text-node>text node</df
207     <code>Text</code> node, including <code>CDATASection</code> nodes;     <code>Text</code> node, including <code>CDATASection</code> nodes;
208     specifically, any <code>Node</code> with node type <code     specifically, any <code>Node</code> with node type <code
209     title="">TEXT_NODE</code> (3) or <code title="">CDATA_SECTION_NODE</code>     title="">TEXT_NODE</code> (3) or <code title="">CDATA_SECTION_NODE</code>
210     (4). <a href="#refsDOM3CORE">[DOM3CORE]</a>     (4). <a href=#refsDOM3CORE>[DOM3CORE]</a>
211  #ja  #ja
212  用語<dfn id=text-node>テキスト節点</dfn>は、任意の  用語<dfn id=text-node>テキスト節点</dfn>は、任意の
213     <code>Text</code> 節点を指し、 <code>CDATASection</code> 節点を含みます。     <code>Text</code> 節点を指し、 <code>CDATASection</code> 節点を含みます。
# Line 215  The term <dfn id=text-node>text node</df Line 215  The term <dfn id=text-node>text node</df
215     title="">TEXT_NODE</code> (3) か <code title="">CDATA_SECTION_NODE</code>     title="">TEXT_NODE</code> (3) か <code title="">CDATA_SECTION_NODE</code>
216    
217     (4) の任意の  <code>Node</code> を指します。     (4) の任意の  <code>Node</code> を指します。
218  <a href="#refsDOM3CORE">[DOM3CORE]</a>  <a href=#refsDOM3CORE>[DOM3CORE]</a>
219    
220  #pattern  #pattern
221  <span class=secno>* </span>Scripting  <span class=secno>* </span>Scripting
# Line 252  DOM 属性は、その値が (例えば� Line 252  DOM 属性は、その値が (例えば�
252  #en  #en
253  The terms <em>fire</em> and <em>dispatch</em> are used interchangeably  The terms <em>fire</em> and <em>dispatch</em> are used interchangeably
254     in the context of events, as in the DOM Events specifications. <a     in the context of events, as in the DOM Events specifications. <a
255     href="#refsDOM3EVENTS">[DOM3EVENTS]</a>     href=#refsDOM3EVENTS>[DOM3EVENTS]</a>
256  #ja  #ja
257  用語<em>発火</em>、<em>発送</em>は、 DOM 事象仕様書にある通り、  用語<em>発火</em>、<em>発送</em>は、 DOM 事象仕様書にある通り、
258  事象の文脈では交換可能なものとして使います。 <a  事象の文脈では交換可能なものとして使います。 <a
259     href="#refsDOM3EVENTS">[DOM3EVENTS]</a>     href=#refsDOM3EVENTS>[DOM3EVENTS]</a>
260    
261  #pattern  #pattern
262  <span class=secno>* </span>Plugins  <span class=secno>* </span>Plugins
# Line 273  The term <dfn id=plugin>plugin</dfn> is Line 273  The term <dfn id=plugin>plugin</dfn> is
273    
274  #en  #en
275  One example of a plugin would be a PDF viewer that is  One example of a plugin would be a PDF viewer that is
276     instantiated in a <a href="#browsing1">browsing context</a> when the user     instantiated in a <a href=#browsing-context>browsing context</a> when the user
277     navigates to a PDF file. This would count as a plugin regardless of     navigates to a PDF file. This would count as a plugin regardless of
278     whether the party that implemented the PDF viewer component was the same     whether the party that implemented the PDF viewer component was the same
279     as that which implemented the user agent itself. However, a PDF viewer     as that which implemented the user agent itself. However, a PDF viewer
280     application that launches separate from the user agent (as opposed to     application that launches separate from the user agent (as opposed to
281     using the same interface) is not a plugin by this definition.     using the same interface) is not a plugin by this definition.
282  #ja  #ja
283  プラグインの一例は、利用者が PDF ファイルに操縦した時に<a href="#browsing1">閲覧文脈</a>中に実現値化される PDF 表示器です。この場合、PDF 表示器部品が利用者エージェント自体と同じ者により実装されたかどうかを問わず、  プラグインの一例は、利用者が PDF ファイルに操縦した時に<a href=#browsing-context>閲覧文脈</a>中に実現値化される PDF 表示器です。この場合、PDF 表示器部品が利用者エージェント自体と同じ者により実装されたかどうかを問わず、
284  プラグインと考えます。しかし、 PDF 表示器アプリケーションが利用者エージェントとは  プラグインと考えます。しかし、 PDF 表示器アプリケーションが利用者エージェントとは
285  (同じ界面を使わずに) 別に起動する場合には、この定義ではプラグインではありません。  (同じ界面を使わずに) 別に起動する場合には、この定義ではプラグインではありません。
286    
# Line 289  This specification does not define a mec Line 289  This specification does not define a mec
289     interacting with plugins, as it is expected to be user-agent- and     interacting with plugins, as it is expected to be user-agent- and
290     platform-specific. Some UAs might opt to support a plugin mechanism such     platform-specific. Some UAs might opt to support a plugin mechanism such
291     as the Netscape Plugin API; others might use remote content converters or     as the Netscape Plugin API; others might use remote content converters or
292     have built-in support for certain types. <a href="#refsNPAPI">[NPAPI]</a>     have built-in support for certain types. <a href=#refsNPAPI>[NPAPI]</a>
293  #ja  #ja
294  この仕様書は、プラグインと対話する仕組みを定義しません。そのような仕組みは利用者エージェントや環境に依存すると思われるからです。  この仕様書は、プラグインと対話する仕組みを定義しません。そのような仕組みは利用者エージェントや環境に依存すると思われるからです。
295  ある利用者エージェントは Netscape プラグイン API のようなプラグインの仕組みに対応したいかもしれません。  ある利用者エージェントは Netscape プラグイン API のようなプラグインの仕組みに対応したいかもしれません。
# Line 297  This specification does not define a mec Line 297  This specification does not define a mec
297    
298  #en  #en
299  Browsers should take extreme care when interacting with  Browsers should take extreme care when interacting with
300     external content intended for <a href="#plugin" title=plugin>plugins</a>.     external content intended for <a href=#plugin title=plugin>plugins</a>.
301     When third-party software is run with the same privileges as the user     When third-party software is run with the same privileges as the user
302     agent itself, vulnerabilities in the third-party software become as     agent itself, vulnerabilities in the third-party software become as
303     dangerous as those in the user agent.     dangerous as those in the user agent.
304  #ja  #ja
305  ブラウザは、<a href="#plugin" title=plugin>プラグイン</a>を想定した外部の内容と対話する時に特に十分な注意を払う[[SHOULD:べきです]]。  ブラウザは、<a href=#plugin title=plugin>プラグイン</a>を想定した外部の内容と対話する時に特に十分な注意を払う[[SHOULD:べきです]]。
306  第3者ソフトウェアが利用者エージェント自体と同じ特権で走る時は、  第3者ソフトウェアが利用者エージェント自体と同じ特権で走る時は、
307  第3者ソフトウェアの脆弱性が利用者エージェントの脆弱性と同じくらい危険となります。  第3者ソフトウェアの脆弱性が利用者エージェントの脆弱性と同じくらい危険となります。
308    
# Line 326  The key words "MUST", "MUST NOT", "REQUI Line 326  The key words "MUST", "MUST NOT", "REQUI
326     "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in the     "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in the
327     normative parts of this document are to be interpreted as described in     normative parts of this document are to be interpreted as described in
328     RFC2119. For readability, these words do not appear in all uppercase     RFC2119. For readability, these words do not appear in all uppercase
329     letters in this specification. <a href="#refsRFC2119">[RFC2119]</a>     letters in this specification. <a href=#refsRFC2119>[RFC2119]</a>
330  #ja  #ja
331  この文書の規定の部分にあるキーワード「[[MUST:しなければなりません]]」、  この文書の規定の部分にあるキーワード「[[MUST:しなければなりません]]」、
332  「[[MUST NOT:してはなりません]]」、  「[[MUST NOT:してはなりません]]」、
# Line 338  The key words "MUST", "MUST NOT", "REQUI Line 338  The key words "MUST", "MUST NOT", "REQUI
338  この仕様書<ins class=ja-note>の原文</ins>では、  この仕様書<ins class=ja-note>の原文</ins>では、
339  可読性の観点から、  可読性の観点から、
340  これらの語<ins class=ja-note>の原語</ins>のすべて大文字による表記は行っていません。  これらの語<ins class=ja-note>の原語</ins>のすべて大文字による表記は行っていません。
341  <a href="#refsRFC2119">[RFC2119]</a>  <a href=#refsRFC2119>[RFC2119]</a>
342    
343  #en  #en
344  Requirements phrased in the imperative as part of algorithms (such as  Requirements phrased in the imperative as part of algorithms (such as
# Line 387  Web browsers and other interactive user Line 387  Web browsers and other interactive user
387  Web ブラウザその他の対話的利用者エージェント  Web ブラウザその他の対話的利用者エージェント
388    
389  #en  #en
390  Web browsers that support <a href="#xhtml5">XHTML</a> must process  Web browsers that support <a href=#xhtml5>XHTML</a> must process
391       elements and attributes from the <a href="#html-namespace0">HTML       elements and attributes from the <a href=#html-namespace-0>HTML
392       namespace</a> found in <a href="#xml-documents">XML documents</a> as       namespace</a> found in <a href=#xml-documents>XML documents</a> as
393       described in this specification, so that users can interact with them,       described in this specification, so that users can interact with them,
394       unless the semantics of those elements have been overridden by other       unless the semantics of those elements have been overridden by other
395       specifications.       specifications.
396  #ja  #ja
397  <a href="#xhtml5">XHTML</a> に対応する Web ブラウザは、  <a href=#xhtml5>XHTML</a> に対応する Web ブラウザは、
398  <a href="#xml-documents">XML 文書</a>中に見える <a href="#html-namespace0">HTML  <a href=#xml-documents>XML 文書</a>中に見える <a href=#html-namespace-0>HTML
399       名前空間</a>の要素や属性をこの仕様書で説明するように処理することにより、       名前空間</a>の要素や属性をこの仕様書で説明するように処理することにより、
400  利用者がそれらと対話できるようにしなければ[[MUST:なりません]]。ただし、  利用者がそれらと対話できるようにしなければ[[MUST:なりません]]。ただし、
401  それらの要素の意味が他の仕様書により上書きされている場合を除きます。  それらの要素の意味が他の仕様書により上書きされている場合を除きます。
402    
403  #en  #en
404  A conforming XHTML processor would, upon finding an  A conforming XHTML processor would, upon finding an
405       XHTML <code><a href="#script1">script</a></code> element in an XML       XHTML <code><a href=#script>script</a></code> element in an XML
406       document, execute the script contained in that element. However, if the       document, execute the script contained in that element. However, if the
407       element is found within an XSLT transformation sheet (assuming the UA       element is found within an XSLT transformation sheet (assuming the UA
408       also supports XSLT), then the processor would instead treat the <code><a       also supports XSLT), then the processor would instead treat the <code><a
409       href="#script1">script</a></code> element as an opaque element that       href=#script>script</a></code> element as an opaque element that
410       forms part of the transform.       forms part of the transform.
411  #ja  #ja
412  適合 XHTML 処理器は、 XML 文書中で XHTML <code><a href="#script1">script</a></code>  適合 XHTML 処理器は、 XML 文書中で XHTML <code><a href=#script>script</a></code>
413  要素を見つけた際に、その要素に含まれるスクリプトを実行することになります。しかし、  要素を見つけた際に、その要素に含まれるスクリプトを実行することになります。しかし、
414  その要素が XSLT 変形シート中に見える場合には (利用者エージェントが XSLT  その要素が XSLT 変形シート中に見える場合には (利用者エージェントが XSLT
415  にも対応しているとすると)、処理器は通常の処理の代わりに <code><a  にも対応しているとすると)、処理器は通常の処理の代わりに <code><a
416       href="#script1">script</a></code> 要素を変形の一部を形成する不透明な要素として扱うことになります。       href=#script>script</a></code> 要素を変形の一部を形成する不透明な要素として扱うことになります。
417    
418  #en  #en
419  Web browsers that support <a href="#html5" title=HTML5>HTML</a> must  Web browsers that support <a href=#html5 title=HTML5>HTML</a> must
420       process documents labeled as <code>text/html</code> as described in this       process documents labeled as <code>text/html</code> as described in this
421       specification, so that users can interact with them.       specification, so that users can interact with them.
422  #ja  #ja
423  <a href="#html5" title=HTML5>HTML</a> に対応する Web  <a href=#html5 title=HTML5>HTML</a> に対応する Web
424  ブラウザは、 <code>text/html</code> と札付けされた文書をこの仕様書で説明するように処理することにより、  ブラウザは、 <code>text/html</code> と札付けされた文書をこの仕様書で説明するように処理することにより、
425  利用者がそれらと対話できるようにしなければ[[MUST:なりません]]。  利用者がそれらと対話できるようにしなければ[[MUST:なりません]]。
426    
# Line 442  HTML 文書と XHTML 文書を純粋に� Line 442  HTML 文書と XHTML 文書を純粋に�
442  Typical examples of non-interactive presentation user  Typical examples of non-interactive presentation user
443       agents are printers (static UAs) and overhead displays (dynamic UAs). It       agents are printers (static UAs) and overhead displays (dynamic UAs). It
444       is expected that most static non-interactive presentation user agents       is expected that most static non-interactive presentation user agents
445       will also opt to <a href="#non-scripted">lack scripting support</a>.       will also opt to <a href=#non-scripted>lack scripting support</a>.
446  #ja  #ja
447  非対話的提示利用者エージェントの典型的な例は印刷機 (静的利用者エージェント)  非対話的提示利用者エージェントの典型的な例は印刷機 (静的利用者エージェント)
448  や頭上表示機 (動的利用者エージェント) です。ほとんどの静的非対話的提示利用者エージェントは<a href="#non-scripted">スクリプティング対応を欠く</a>ことをも選ぶと思われます。  や頭上表示機 (動的利用者エージェント) です。ほとんどの静的非対話的提示利用者エージェントは<a href=#non-scripted>スクリプティング対応を欠く</a>ことをも選ぶと思われます。
449    
450  #en  #en
451  A non-interactive but dynamic presentation UA would  A non-interactive but dynamic presentation UA would
# Line 497  Conformance checkers must verify that a Line 497  Conformance checkers must verify that a
497       Automated conformance checkers are exempt from detecting errors that       Automated conformance checkers are exempt from detecting errors that
498       require interpretation of the author's intent (for example, while a       require interpretation of the author's intent (for example, while a
499       document is non-conforming if the content of a <code><a       document is non-conforming if the content of a <code><a
500       href="#blockquote">blockquote</a></code> element is not a quote,       href=#the-blockquote-element>blockquote</a></code> element is not a quote,
501       conformance checkers running without the input of human judgement do not       conformance checkers running without the input of human judgement do not
502       have to check that <code><a href="#blockquote">blockquote</a></code>       have to check that <code><a href=#the-blockquote-element>blockquote</a></code>
503       elements only contain quoted material).       elements only contain quoted material).
504  #ja  #ja
505  適合性検査器は、文書がこの仕様書中で説明する適用可能な適合性基準に適合するかを検証しなければ[[MUST:なりません]]。  適合性検査器は、文書がこの仕様書中で説明する適用可能な適合性基準に適合するかを検証しなければ[[MUST:なりません]]。
506  自動化された適合性検査器については、著者の意図の解釈が必要な誤りの検出を免除します  自動化された適合性検査器については、著者の意図の解釈が必要な誤りの検出を免除します
507  (例えば、 <code><a  (例えば、 <code><a
508       href="#blockquote">blockquote</a></code> 要素の内容が引用ではない文書は不適合ですが、       href=#the-blockquote-element>blockquote</a></code> 要素の内容が引用ではない文書は不適合ですが、
509  人間の判断の入力なしで走っている適合性検査器は  人間の判断の入力なしで走っている適合性検査器は
510  <code><a href="#blockquote">blockquote</a></code>  <code><a href=#the-blockquote-element>blockquote</a></code>
511  要素が引用されたものだけを含むかを検査しなくてかまいません)。  要素が引用されたものだけを含むかを検査しなくてかまいません)。
512    
513  #en  #en
514  Conformance checkers must check that the input document conforms when  Conformance checkers must check that the input document conforms when
515       parsed without a <a href="#browsing1">browsing context</a> (meaning that       parsed without a <a href=#browsing-context>browsing context</a> (meaning that
516       no scripts are run, and that the parser's <a       no scripts are run, and that the parser's <a
517       href="#scripting3">scripting flag</a> is disabled), and should also       href=#scripting-flag>scripting flag</a> is disabled), and should also
518       check that the input document conforms when parsed with a <a       check that the input document conforms when parsed with a <a
519       href="#browsing1">browsing context</a> in which scripts execute, and       href=#browsing-context>browsing context</a> in which scripts execute, and
520       that the scripts never cause non-conforming states to occur other than       that the scripts never cause non-conforming states to occur other than
521       transiently during script execution itself. (This is only a "SHOULD" and       transiently during script execution itself. (This is only a "SHOULD" and
522       not a "MUST" requirement because it has been proven to be impossible. <a       not a "MUST" requirement because it has been proven to be impossible. <a
523       href="#refsHALTINGPROBLEM">[HALTINGPROBLEM]</a>)       href=#refsHALTINGPROBLEM>[HALTINGPROBLEM]</a>)
524  #ja  #ja
525  適合性検査器は、<a href="#browsing1">閲覧文脈</a>なしの時に (つまりスクリプトが走らず、  適合性検査器は、<a href=#browsing-context>閲覧文脈</a>なしの時に (つまりスクリプトが走らず、
526  構文解析器の<a  構文解析器の<a
527       href="#scripting3">スクリプティング旗</a>が無効化された状態で)       href=#scripting-flag>スクリプティング旗</a>が無効化された状態で)
528  入力文書が適合するかを検査しなければ[[MUST:ならず]]、スクリプトを実行する<a  入力文書が適合するかを検査しなければ[[MUST:ならず]]、スクリプトを実行する<a
529       href="#browsing1">閲覧文脈</a>中で構文解析する時に入力文書が適合するか、       href=#browsing-context>閲覧文脈</a>中で構文解析する時に入力文書が適合するか、
530  スクリプトが決して不適合状態を引き起こさないか (スクリプト自体の実行中の過渡状態を除きます。)  スクリプトが決して不適合状態を引き起こさないか (スクリプト自体の実行中の過渡状態を除きます。)
531  も検査する[[SHOULD:べきです]]。 (これは不可能であると証明されているので、  も検査する[[SHOULD:べきです]]。 (これは不可能であると証明されているので、
532  「[[SHOULD:するべき]]」要件であり、「[[MUST:しなければならない]]」要件ではありません。 <a  「[[SHOULD:するべき]]」要件であり、「[[MUST:しなければならない]]」要件ではありません。 <a
533       href="#refsHALTINGPROBLEM">[HALTINGPROBLEM]</a>)       href=#refsHALTINGPROBLEM>[HALTINGPROBLEM]</a>)
534    
535  #en  #en
536  The term "HTML5 validator" can be used to refer to a conformance  The term "HTML5 validator" can be used to refer to a conformance
# Line 598  Applications and tools that process HTML Line 598  Applications and tools that process HTML
598  文書を処理するアプリケーションやツールは、その処理する文書の意味に従って作用する[[SHOULD:べきです]]。  文書を処理するアプリケーションやツールは、その処理する文書の意味に従って作用する[[SHOULD:べきです]]。
599    
600  #en  #en
601  A tool that generates <a href="#outline"  A tool that generates <a href=#outline
602       title=outline>document outlines</a> but increases the nesting level for       title=outline>document outlines</a> but increases the nesting level for
603       each paragraph and does not increase the nesting level for each section       each paragraph and does not increase the nesting level for each section
604       would not be conforming.       would not be conforming.
605  #ja  #ja
606  <a href="#outline"  <a href=#outline
607       title=outline>文書の輪郭</a>を生成するツールで、       title=outline>文書の輪郭</a>を生成するツールで、
608  入れ子の水準を段落毎に増加させ、章節毎には増加させないものは、  入れ子の水準を段落毎に増加させ、章節毎には増加させないものは、
609  適合しません。  適合しません。
# Line 631  Authoring tools are exempt from the stri Line 631  Authoring tools are exempt from the stri
631    
632  #en  #en
633  For example, it is not conforming to use an <code><a  For example, it is not conforming to use an <code><a
634       href="#address">address</a></code> element for arbitrary contact       href=#the-address-element>address</a></code> element for arbitrary contact
635       information; that element can only be used for marking up contact       information; that element can only be used for marking up contact
636       information for the author of the document or section. However, since an       information for the author of the document or section. However, since an
637       authoring tool is likely unable to determine the difference, an       authoring tool is likely unable to determine the difference, an
638       authoring tool is exempt from that requirement.       authoring tool is exempt from that requirement.
639  #ja  #ja
640  例えば、 <code><a  例えば、 <code><a
641       href="#address">address</a></code> 要素を任意の連絡先情報に使うことは適合しません。       href=#the-address-element>address</a></code> 要素を任意の連絡先情報に使うことは適合しません。
642  この要素は文書や章節の著者の連絡先情報のマーク付けにのみ使うことができます。  この要素は文書や章節の著者の連絡先情報のマーク付けにのみ使うことができます。
643  しかし、著述ツールはこの違いを判断できないでしょうから、  しかし、著述ツールはこの違いを判断できないでしょうから、
644  著述ツールはこの要件を免除されます。  著述ツールはこの要件を免除されます。
# Line 685  However, WYSIWYG tools are legitimate. W Line 685  However, WYSIWYG tools are legitimate. W
685       elements they know are appropriate, and should not use elements that       elements they know are appropriate, and should not use elements that
686       they do not know to be appropriate. This might in certain extreme cases       they do not know to be appropriate. This might in certain extreme cases
687       mean limiting the use of flow elements to just a few elements, like       mean limiting the use of flow elements to just a few elements, like
688       <code><a href="#div">div</a></code>, <code><a href="#b">b</a></code>,       <code><a href=#the-div-element>div</a></code>, <code><a href=#the-b-element>b</a></code>,
689       <code><a href="#i">i</a></code>, and <code><a       <code><a href=#the-i-element>i</a></code>, and <code><a
690       href="#span">span</a></code> and making liberal use of the <code       href=#the-span-element>span</a></code> and making liberal use of the <code
691       title=attr-style><a href="#style">style</a></code> attribute.       title=attr-style><a href=#the-style-attribute>style</a></code> attribute.
692  #ja  #ja
693  しかし、 WYSIWYG ツールは合法です。 WYSIWYG ツールは適切であると知っている要素を使う[[SHOULD:べき]]で、  しかし、 WYSIWYG ツールは合法です。 WYSIWYG ツールは適切であると知っている要素を使う[[SHOULD:べき]]で、
694  適切ではないと知っている要素を使う[[SHOULD NOT:べきではありません]]。  適切ではないと知っている要素を使う[[SHOULD NOT:べきではありません]]。
695  これは、極端な場合に、使用する流れ要素を <code><a href="#div">div</a></code>、  これは、極端な場合に、使用する流れ要素を <code><a href=#the-div-element>div</a></code>、
696  <code><a href="#b">b</a></code>、  <code><a href=#the-b-element>b</a></code>、
697       <code><a href="#i">i</a></code>、<code><a       <code><a href=#the-i-element>i</a></code>、<code><a
698       href="#span">span</a></code> のような少数の要素に制限し、 <code       href=#the-span-element>span</a></code> のような少数の要素に制限し、 <code
699       title=attr-style><a href="#style">style</a></code>       title=attr-style><a href=#the-style-attribute>style</a></code>
700  属性を使いまくるようにすることを意味するかもしれません。  属性を使いまくるようにすることを意味するかもしれません。
701    
702  #en  #en
# Line 755  User agents may impose implementation-sp Line 755  User agents may impose implementation-sp
755  For compatibility with existing content and prior specifications, this  For compatibility with existing content and prior specifications, this
756     specification describes two authoring formats: one based on XML (referred     specification describes two authoring formats: one based on XML (referred
757     to as <dfn id=xhtml5 title=XHTML>XHTML5</dfn>), and one using a <a     to as <dfn id=xhtml5 title=XHTML>XHTML5</dfn>), and one using a <a
758     href="#parsing">custom format</a> inspired by SGML (referred to as <dfn     href=#parsing>custom format</a> inspired by SGML (referred to as <dfn
759     id=html5>HTML5</dfn>). Implementations may support only one of these two     id=html5>HTML5</dfn>). Implementations may support only one of these two
760     formats, although supporting both is encouraged.     formats, although supporting both is encouraged.
761  #ja  #ja
762  既存の内容や以前の仕様書との互換性のため、この仕様書は2つの著述書式を説明します。  既存の内容や以前の仕様書との互換性のため、この仕様書は2つの著述書式を説明します。
763  1つは XML に基づくもので (<dfn id=xhtml5 title=XHTML>XHTML5</dfn>  1つは XML に基づくもので (<dfn id=xhtml5 title=XHTML>XHTML5</dfn>
764  と呼びます)、もう1つは SGML に着想を得た<a  と呼びます)、もう1つは SGML に着想を得た<a
765     href="#parsing">カスタム書式</a>を使うもの (<dfn     href=#parsing>カスタム書式</a>を使うもの (<dfn
766     id=html5>HTML5</dfn> と呼びます) です。実装者はこれら2つの書式の1つだけに対応して[[MAY:構いません]]が、     id=html5>HTML5</dfn> と呼びます) です。実装者はこれら2つの書式の1つだけに対応して[[MAY:構いません]]が、
767  両方に対応することをおすすめします。  両方に対応することをおすすめします。
768    
769  #en  #en
770  <a href="#xhtml5">XHTML</a> documents (<a  <a href=#xhtml5>XHTML</a> documents (<a
771     href="#xml-documents">XML documents</a> using elements from the <a     href=#xml-documents>XML documents</a> using elements from the <a
772     href="#html-namespace0">HTML namespace</a>) that use the new features     href=#html-namespace-0>HTML namespace</a>) that use the new features
773     described in this specification and that are served over the wire (e.g. by     described in this specification and that are served over the wire (e.g. by
774     HTTP) must be sent using an XML MIME type such as     HTTP) must be sent using an XML MIME type such as
775     <code>application/xml</code> or <code>application/xhtml+xml</code> and     <code>application/xml</code> or <code>application/xhtml+xml</code> and
776     must not be served as <code>text/html</code>. <a     must not be served as <code>text/html</code>. <a
777     href="#refsRFC3023">[RFC3023]</a>     href=#refsRFC3023>[RFC3023]</a>
778  #ja  #ja
779  <a href="#xhtml5">XHTML</a> 文書 (<a  <a href=#xhtml5>XHTML</a> 文書 (<a
780     href="#xml-documents">XML 文書</a>で、 <a     href=#xml-documents>XML 文書</a>で、 <a
781     href="#html-namespace0">HTML 名前空間</a>の要素を用いるもの) であって、     href=#html-namespace-0>HTML 名前空間</a>の要素を用いるもの) であって、
782  この仕様書が説明する新しい機能を使い、  この仕様書が説明する新しい機能を使い、
783  ネットワークを通じて (例えば HTTP で) 供給されるものは、  ネットワークを通じて (例えば HTTP で) 供給されるものは、
784  <code>application/xml</code> や <code>application/xhtml+xml</code>  <code>application/xml</code> や <code>application/xhtml+xml</code>
785  のような XML MIME 型を使って送られなければ[[MUST:ならず]]、  のような XML MIME 型を使って送られなければ[[MUST:ならず]]、
786  <code>text/html</code> として供給されては[[MUST NOT:なりません]]。 <a  <code>text/html</code> として供給されては[[MUST NOT:なりません]]。 <a
787     href="#refsRFC3023">[RFC3023]</a>     href=#refsRFC3023>[RFC3023]</a>
788    
789  #en  #en
790  Such XML documents may contain a <code>DOCTYPE</code> if desired, but  Such XML documents may contain a <code>DOCTYPE</code> if desired, but
# Line 808  XML 仕様書によれば、 XML 処理� Line 808  XML 仕様書によれば、 XML 処理�
808  安全ではないことを意味しています。  安全ではないことを意味しています。
809    
810  #en  #en
811  <a href="#html5" title=HTML5>HTML documents</a>,  <a href=#html5 title=HTML5>HTML documents</a>,
812     if they are served over the wire (e.g. by HTTP) must be labeled with the     if they are served over the wire (e.g. by HTTP) must be labeled with the
813     <code>text/html</code> MIME type.     <code>text/html</code> MIME type.
814  #ja  #ja
815  <a href="#html5" title=HTML5>HTML 文書</a>は、ネットワークを通じて (例えば  <a href=#html5 title=HTML5>HTML 文書</a>は、ネットワークを通じて (例えば
816  HTTP で) 供給される場合、 <code>text/html</code> MIME 型と札付けされなければ[[MUST:なりません]]。  HTTP で) 供給される場合、 <code>text/html</code> MIME 型と札付けされなければ[[MUST:なりません]]。
817    
818  #en  #en
# Line 848  This specification relies on several oth Line 848  This specification relies on several oth
848    
849  #en  #en
850  Many fundamental concepts from HTML5 are used by this specification.  Many fundamental concepts from HTML5 are used by this specification.
851       <a href="#refsHTML5">[HTML5]</a>       <a href=#refsHTML5>[HTML5]</a>
852  #ja  #ja
853  この仕様書では、 HTML5 の多くの基礎的な概念を使用します。  この仕様書では、 HTML5 の多くの基礎的な概念を使用します。
854  <a href="#refsHTML5">[HTML5]</a>  <a href=#refsHTML5>[HTML5]</a>
855    
856  #en  #en
857  This specification is intended to be used with JavaScript as the  This specification is intended to be used with JavaScript as the
858       scripting language. <a href="#refsJS">[JS]</a>       scripting language. <a href=#refsJS>[JS]</a>
859  #ja  #ja
860  この仕様書は、スクリプト言語として JavaScript  この仕様書は、スクリプト言語として JavaScript
861  を使うことを想定しています。 <a href="#refsJS">[JS]</a>  を使うことを想定しています。 <a href=#refsJS>[JS]</a>
862    
863  #en  #en
864  The IDL blocks in this specification use the semantics of the WebIDL  The IDL blocks in this specification use the semantics of the WebIDL
865       specification. <a href="#refsWebIDL">[WebIDL]</a>       specification. <a href=#refsWebIDL>[WebIDL]</a>
866  #ja  #ja
867  この仕様書の IDL ブロックは、WebIDL 仕様書における意味を用います。 <a href="#refsWebIDL">[WebIDL]</a>  この仕様書の IDL ブロックは、WebIDL 仕様書における意味を用います。 <a href=#refsWebIDL>[WebIDL]</a>
868    
869  #en  #en
870  Implementations that support XHTML5 must support some version of XML,  Implementations that support XHTML5 must support some version of XML,
871       as well as its corresponding namespaces specification, because XHTML5       as well as its corresponding namespaces specification, because XHTML5
872       uses an XML serialization with namespaces. <a href="#refsXML">[XML]</a>       uses an XML serialization with namespaces. <a href=#refsXML>[XML]</a>
873       <a href="#refsXMLNAMES">[XMLNAMES]</a>       <a href=#refsXMLNAMES>[XMLNAMES]</a>
874  #ja  #ja
875  XHTML5 に対応する実装は、 XML のいずれかの版と、  XHTML5 に対応する実装は、 XML のいずれかの版と、
876  それに対応する名前空間仕様書に対応しなければ[[MUST:なりません]]。  それに対応する名前空間仕様書に対応しなければ[[MUST:なりません]]。
877  XHTML5 は名前空間を用いた XML 直列化を使います。  XHTML5 は名前空間を用いた XML 直列化を使います。
878  <a href="#refsXML">[XML]</a>  <a href=#refsXML>[XML]</a>
879       <a href="#refsXMLNAMES">[XMLNAMES]</a>       <a href=#refsXMLNAMES>[XMLNAMES]</a>
880    
881  #en  #en
882  The Document Object Model (DOM) is a representation &mdash; a model  The Document Object Model (DOM) is a representation &mdash; a model
883       &mdash; of a document and its content. The DOM is not just an API; the       &mdash; of a document and its content. The DOM is not just an API; the
884       conformance criteria of HTML implementations are defined, in this       conformance criteria of HTML implementations are defined, in this
885       specification, in terms of operations on the DOM. <a       specification, in terms of operations on the DOM. <a
886       href="#refsDOM3CORE">[DOM3CORE]</a>       href=#refsDOM3CORE>[DOM3CORE]</a>
887  #ja  #ja
888  文書オブジェクト・モデル (DOM) は、文書とその内容の表現 (モデル) です。  文書オブジェクト・モデル (DOM) は、文書とその内容の表現 (モデル) です。
889  DOM は単なる API ではなく、この仕様書では HTML 実装の適合性基準を  DOM は単なる API ではなく、この仕様書では HTML 実装の適合性基準を
890  DOM 上の操作として定義しています。 <a  DOM 上の操作として定義しています。 <a
891       href="#refsDOM3CORE">[DOM3CORE]</a>       href=#refsDOM3CORE>[DOM3CORE]</a>
892    
893  #en  #en
894  Implementations must support some version of DOM Core and DOM Events,  Implementations must support some version of DOM Core and DOM Events,
895       because this specification is defined in terms of the DOM, and some of       because this specification is defined in terms of the DOM, and some of
896       the features are defined as extensions to the DOM Core interfaces. <a       the features are defined as extensions to the DOM Core interfaces. <a
897       href="#refsDOM3CORE">[DOM3CORE]</a> <a       href=#refsDOM3CORE>[DOM3CORE]</a> <a
898       href="#refsDOM3CORE">[DOM3EVENTS]</a>       href=#refsDOM3CORE>[DOM3EVENTS]</a>
899  #ja  #ja
900  実装は、 DOM 中核と DOM 事象のそれぞれのいずれかの版に対応しなければ[[MUST:なりません]]。  実装は、 DOM 中核と DOM 事象のそれぞれのいずれかの版に対応しなければ[[MUST:なりません]]。
901  この仕様書は DOM を使って定義を行っていますし、この仕様書で定義するいくつかの機能は DOM  この仕様書は DOM を使って定義を行っていますし、この仕様書で定義するいくつかの機能は DOM
902  中核界面に対する拡張となっています。 <a  中核界面に対する拡張となっています。 <a
903       href="#refsDOM3CORE">[DOM3CORE]</a> <a       href=#refsDOM3CORE>[DOM3CORE]</a> <a
904       href="#refsDOM3CORE">[DOM3EVENTS]</a>       href=#refsDOM3CORE>[DOM3EVENTS]</a>
905    
906  #en  #en
907  Implementations that use ECMAScript to implement the APIs defined in  Implementations that use ECMAScript to implement the APIs defined in
908       this specification must implement them in a manner consistent with the       this specification must implement them in a manner consistent with the
909       ECMAScript Bindings defined in the Web IDL specification, as this       ECMAScript Bindings defined in the Web IDL specification, as this
910       specification uses that specification's terminology. <a       specification uses that specification's terminology. <a
911       href="#refsWebIDL">[WebIDL]</a>       href=#refsWebIDL>[WebIDL]</a>
912  #ja  #ja
913  この仕様書で定義する API を実装するために ECMAScript を使用する実装は、  この仕様書で定義する API を実装するために ECMAScript を使用する実装は、
914  Web IDL 仕様書で定義されている ECMAScript 束縛と整合的な方法で実装しなければ[[MUST:なりません]]。  Web IDL 仕様書で定義されている ECMAScript 束縛と整合的な方法で実装しなければ[[MUST:なりません]]。
915  この仕様書は Web IDL 仕様書の用語法を使っているからです。 <a  この仕様書は Web IDL 仕様書の用語法を使っているからです。 <a
916       href="#refsWebIDL">[WebIDL]</a>       href=#refsWebIDL>[WebIDL]</a>
917    
918  #en  #en
919  Media Queries  Media Queries
# Line 922  Media Queries Line 922  Media Queries
922    
923  #en  #en
924  Implementations must support some version of the Media Queries  Implementations must support some version of the Media Queries
925       language. <a href="#refsMQ">[MQ]</a>       language. <a href=#refsMQ>[MQ]</a>
926  #ja  #ja
927  実装は、媒体照会言語のいずれかの版を実装しなければ[[MUST:なりません]]。  実装は、媒体照会言語のいずれかの版を実装しなければ[[MUST:なりません]]。
928  <a href="#refsMQ">[MQ]</a>  <a href=#refsMQ>[MQ]</a>
929    
930  #en  #en
931  This specification does not require support of any particular network  This specification does not require support of any particular network
# Line 973  Comparing two strings in a <dfn id=case- Line 973  Comparing two strings in a <dfn id=case-
973  両者を正確に、符号位置それぞれについて比較することを意味します。  両者を正確に、符号位置それぞれについて比較することを意味します。
974    
975  #en  #en
976  Comparing two strings in a <dfn id=ascii>ASCII case-insensitive</dfn>  Comparing two strings in a <dfn id=ascii-case-insensitive>ASCII case-insensitive</dfn>
977     manner means comparing them exactly, codepoint for codepoint, except that     manner means comparing them exactly, codepoint for codepoint, except that
978     the characters in the range U+0041 .. U+005A (i.e. LATIN CAPITAL LETTER A     the characters in the range U+0041 .. U+005A (i.e. LATIN CAPITAL LETTER A
979     to LATIN CAPITAL LETTER Z) and the corresponding characters in the range     to LATIN CAPITAL LETTER Z) and the corresponding characters in the range
980     U+0061 .. U+007A (i.e. LATIN SMALL LETTER A to LATIN SMALL LETTER Z) are     U+0061 .. U+007A (i.e. LATIN SMALL LETTER A to LATIN SMALL LETTER Z) are
981     considered to also match.     considered to also match.
982  #ja  #ja
983  2つの文字列を <dfn id=ascii>ASCII 大文字・小文字を区別しない</dfn>方法で比較するとは、  2つの文字列を <dfn id=ascii-case-insensitive>ASCII 大文字・小文字を区別しない</dfn>方法で比較するとは、
984  両者を正確に、符号位置それぞれについて比較しますが、範囲 U+0041 ~ U+005A (つまり  両者を正確に、符号位置それぞれについて比較しますが、範囲 U+0041 ~ U+005A (つまり
985  LATIN CAPITAL LETTER A から LATIN CAPITAL LETTER Z) の文字と範囲 U+0061 ~  LATIN CAPITAL LETTER A から LATIN CAPITAL LETTER Z) の文字と範囲 U+0061 ~
986  U+007A (つまり LATIN SMALL LETTER A から LATIN SMALL LETTER Z)  U+007A (つまり LATIN SMALL LETTER A から LATIN SMALL LETTER Z)
987  の対応する文字も一致するものと考えることを意味します。  の対応する文字も一致するものと考えることを意味します。
988    
989  #en  #en
990  Comparing two strings in a <dfn id=compatibility>compatibility  Comparing two strings in a <dfn id=compatibility-caseless>compatibility
991     caseless</dfn> manner means using the Unicode <i>compatibility caseless     caseless</dfn> manner means using the Unicode <i>compatibility caseless
992     match</i> operation to compare the two strings. <a     match</i> operation to compare the two strings. <a
993     href="#refsUNICODECASE">[UNICODECASE]</a>     href=#refsUNICODECASE>[UNICODECASE]</a>
994  #ja  #ja
995  2つの文字列を<dfn id=compatibility>大文字・小文字互換性不区別</dfn>な方法で比較するとは、  2つの文字列を<dfn id=compatibility-caseless>大文字・小文字互換性不区別</dfn>な方法で比較するとは、
996  2つの文字列の比較に Unicode <i>大文字・小文字互換性不区別</i>演算を使うことを意味します。 <a  2つの文字列の比較に Unicode <i>大文字・小文字互換性不区別</i>演算を使うことを意味します。 <a
997     href="#refsUNICODECASE">[UNICODECASE]</a>     href=#refsUNICODECASE>[UNICODECASE]</a>
998    
999  #en  #en
1000  <dfn id=converting title="converted to uppercase">Converting a string to  <dfn id=converted-to-uppercase title="converted to uppercase">Converting a string to
1001     uppercase</dfn> means replacing all characters in the range U+0061 ..     uppercase</dfn> means replacing all characters in the range U+0061 ..
1002     U+007A (i.e. LATIN SMALL LETTER A to LATIN SMALL LETTER Z) with the     U+007A (i.e. LATIN SMALL LETTER A to LATIN SMALL LETTER Z) with the
1003     corresponding characters in the range U+0041 .. U+005A (i.e. LATIN CAPITAL     corresponding characters in the range U+0041 .. U+005A (i.e. LATIN CAPITAL
1004     LETTER A to LATIN CAPITAL LETTER Z).     LETTER A to LATIN CAPITAL LETTER Z).
1005  #ja  #ja
1006  <dfn id=converting title="converted to uppercase">文字列を大文字に変換する</dfn>とは、  <dfn id=converted-to-uppercase title="converted to uppercase">文字列を大文字に変換する</dfn>とは、
1007  範囲 U+0061 ~  範囲 U+0061 ~
1008  U+007A (つまり LATIN SMALL LETTER A から LATIN SMALL LETTER Z)  U+007A (つまり LATIN SMALL LETTER A から LATIN SMALL LETTER Z)
1009  の文字をすべて範囲 U+0041 ~ U+005A (つまり  の文字をすべて範囲 U+0041 ~ U+005A (つまり
1010  LATIN CAPITAL LETTER A から LATIN CAPITAL LETTER Z) の対応する文字に置き換えることを意味します。  LATIN CAPITAL LETTER A から LATIN CAPITAL LETTER Z) の対応する文字に置き換えることを意味します。
1011    
1012  #en  #en
1013  <dfn id=converting0 title="converted to lowercase">Converting a string  <dfn id=converted-to-lowercase title="converted to lowercase">Converting a string
1014     to lowercase</dfn> means replacing all characters in the range U+0041 ..     to lowercase</dfn> means replacing all characters in the range U+0041 ..
1015     U+005A (i.e. LATIN CAPITAL LETTER A to LATIN CAPITAL LETTER Z) with the     U+005A (i.e. LATIN CAPITAL LETTER A to LATIN CAPITAL LETTER Z) with the
1016     corresponding characters in the range U+0061 .. U+007A (i.e. LATIN SMALL     corresponding characters in the range U+0061 .. U+007A (i.e. LATIN SMALL
1017     LETTER A to LATIN SMALL LETTER Z).     LETTER A to LATIN SMALL LETTER Z).
1018  #ja  #ja
1019  <dfn id=converting0 title="converted to lowercase">文字列を小文字に変換する</dfn>とは、範囲 U+0041 ~ U+005A (つまり  <dfn id=converted-to-lowercase title="converted to lowercase">文字列を小文字に変換する</dfn>とは、範囲 U+0041 ~ U+005A (つまり
1020  LATIN CAPITAL LETTER A から LATIN CAPITAL LETTER Z)  LATIN CAPITAL LETTER A から LATIN CAPITAL LETTER Z)
1021  の文字をすべて範囲 U+0061 ~  の文字をすべて範囲 U+0061 ~
1022  U+007A (つまり LATIN SMALL LETTER A から LATIN SMALL LETTER Z)  U+007A (つまり LATIN SMALL LETTER A から LATIN SMALL LETTER Z)
# Line 1035  The term DOM is used to refer to the API Line 1035  The term DOM is used to refer to the API
1035     in Web applications, and does not necessarily imply the existence of an     in Web applications, and does not necessarily imply the existence of an
1036     actual <code>Document</code> object or of any other <code>Node</code>     actual <code>Document</code> object or of any other <code>Node</code>
1037     objects as defined in the DOM Core specifications. <a     objects as defined in the DOM Core specifications. <a
1038     href="#refsDOM3CORE">[DOM3CORE]</a>     href=#refsDOM3CORE>[DOM3CORE]</a>
1039  #ja  #ja
1040  DOM という語は、 Web アプリケーションでスクリプトに利用可能とされている API  DOM という語は、 Web アプリケーションでスクリプトに利用可能とされている API
1041  の集合を指して用い、必ずしも DOM 中核仕様書で定義されている実際の  の集合を指して用い、必ずしも DOM 中核仕様書で定義されている実際の
1042  <code>Document</code> オブジェクトその他の <code>Node</code>  <code>Document</code> オブジェクトその他の <code>Node</code>
1043  オブジェクトの存在を暗示してはいません。<a  オブジェクトの存在を暗示してはいません。<a
1044     href="#refsDOM3CORE">[DOM3CORE]</a>     href=#refsDOM3CORE>[DOM3CORE]</a>
1045    
1046  #en  #en
1047  If a DOM object is said to be <dfn id=live>live</dfn>, then that means  If a DOM object is said to be <dfn id=live>live</dfn>, then that means
# Line 1086  To <dfn id=datetime-parser>parse a strin Line 1086  To <dfn id=datetime-parser>parse a strin
1086     user agent must apply the following algorithm to the string. This will     user agent must apply the following algorithm to the string. This will
1087     either return a time in UTC, with associated timezone information for     either return a time in UTC, with associated timezone information for
1088     round tripping or display purposes, or nothing, indicating the value is     round tripping or display purposes, or nothing, indicating the value is
1089     not a <a href="#valid5">valid datetime</a>. If at any point the algorithm     not a <a href=#valid-datetime>valid datetime</a>. If at any point the algorithm
1090     says that it "fails", this means that it returns nothing.     says that it "fails", this means that it returns nothing.
1091  #ja  #ja
1092  利用者エージェントは、  利用者エージェントは、
1093  <dfn id=datetime-parser>文字列を日時値として構文解析する</dfn>際に文字列に次の算法を適用しなければ[[MUST:なりません]]。  <dfn id=datetime-parser>文字列を日時値として構文解析する</dfn>際に文字列に次の算法を適用しなければ[[MUST:なりません]]。
1094  この算法は UTC での時刻と往復変換や表示のための関連付けられた時間帯の情報を返すか、  この算法は UTC での時刻と往復変換や表示のための関連付けられた時間帯の情報を返すか、
1095  何も返さないことによって値が<a href="#valid5">妥当な日時</a>でないことを示すかのいずれかです。  何も返さないことによって値が<a href=#valid-datetime>妥当な日時</a>でないことを示すかのいずれかです。
1096  算法が「失敗」といった時点で、何も返さないことを意味します。  算法が「失敗」といった時点で、何も返さないことを意味します。
1097    
1098  #en  #en
1099  <a href="#collect">Collect a sequence of characters</a> in the range  <a href=#collect-a-sequence-of-characters>Collect a sequence of characters</a> in the range
1100       U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9). If the collected       U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9). If the collected
1101       sequence is not exactly four characters long, then fail. Otherwise,       sequence is not exactly four characters long, then fail. Otherwise,
1102       interpret the resulting sequence as a base-ten integer. Let that number       interpret the resulting sequence as a base-ten integer. Let that number
1103       be the <var title="">year</var>.       be the <var title="">year</var>.
1104  #ja  #ja
1105  範囲 U+0030 DIGIT ZERO (0) ~ U+0039 DIGIT NINE (9) の<a href="#collect">文字の列を集めます</a>。  範囲 U+0030 DIGIT ZERO (0) ~ U+0039 DIGIT NINE (9) の<a href=#collect-a-sequence-of-characters>文字の列を集めます</a>。
1106  集めた列が丁度4文字の長さでない場合は、失敗です。  集めた列が丁度4文字の長さでない場合は、失敗です。
1107  そうでない場合、得られた列を十進整数として解釈します。  そうでない場合、得られた列を十進整数として解釈します。
1108  この数を <var title="">year</var> とします。  この数を <var title="">year</var> とします。
# Line 1119  If <var title="">position</var> is beyon Line 1119  If <var title="">position</var> is beyon
1119       title="">position</var> を1文字先へ進めます。       title="">position</var> を1文字先へ進めます。
1120    
1121  #en  #en
1122  <a href="#collect">Collect a sequence of characters</a> in the range  <a href=#collect-a-sequence-of-characters>Collect a sequence of characters</a> in the range
1123       U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9). If the collected       U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9). If the collected
1124       sequence is not exactly two characters long, then fail. Otherwise,       sequence is not exactly two characters long, then fail. Otherwise,
1125       interpret the resulting sequence as a base-ten integer. Let that number       interpret the resulting sequence as a base-ten integer. Let that number
1126       be the <var title="">month</var>.       be the <var title="">month</var>.
1127  #ja  #ja
1128  範囲 U+0030 DIGIT ZERO (0) ~ U+0039 DIGIT NINE (9) の<a href="#collect">文字の列を集めます</a>。  範囲 U+0030 DIGIT ZERO (0) ~ U+0039 DIGIT NINE (9) の<a href=#collect-a-sequence-of-characters>文字の列を集めます</a>。
1129  集めた列が丁度2文字の長さでない場合、失敗です。  集めた列が丁度2文字の長さでない場合、失敗です。
1130  そうでない場合、得られた列を十進整数として解釈します。  そうでない場合、得られた列を十進整数として解釈します。
1131  この数を <var title="">month</var> とします。  この数を <var title="">month</var> とします。
1132    
1133  #en  #en
1134  <a href="#collect">Collect a sequence of characters</a> in the range  <a href=#collect-a-sequence-of-characters>Collect a sequence of characters</a> in the range
1135       U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9). If the collected       U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9). If the collected
1136       sequence is not exactly two characters long, then fail. Otherwise,       sequence is not exactly two characters long, then fail. Otherwise,
1137       interpret the resulting sequence as a base-ten integer. Let that number       interpret the resulting sequence as a base-ten integer. Let that number
1138       be the <var title="">day</var>.       be the <var title="">day</var>.
1139  #ja  #ja
1140  範囲 U+0030 DIGIT ZERO (0) ~ U+0039 DIGIT NINE (9) の<a href="#collect">文字の列を集めます</a>。  範囲 U+0030 DIGIT ZERO (0) ~ U+0039 DIGIT NINE (9) の<a href=#collect-a-sequence-of-characters>文字の列を集めます</a>。
1141  集めた列が丁度2文字の長さでない場合、失敗です。  集めた列が丁度2文字の長さでない場合、失敗です。
1142  そうでない場合、得られた列を十進整数として解釈します。  そうでない場合、得られた列を十進整数として解釈します。
1143  この数を <var title="">day</var> とします。  この数を <var title="">day</var> とします。
1144    
1145  #en  #en
1146  <a href="#collect">Collect a sequence of characters</a> in the range  <a href=#collect-a-sequence-of-characters>Collect a sequence of characters</a> in the range
1147       U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9). If the collected       U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9). If the collected
1148       sequence is not exactly two characters long, then fail. Otherwise,       sequence is not exactly two characters long, then fail. Otherwise,
1149       interpret the resulting sequence as a base-ten integer. Let that number       interpret the resulting sequence as a base-ten integer. Let that number
1150       be the <var title="">hour</var>.       be the <var title="">hour</var>.
1151  #ja  #ja
1152  範囲 U+0030 DIGIT ZERO (0) ~ U+0039 DIGIT NINE (9) の<a href="#collect">文字の列を集めます</a>。  範囲 U+0030 DIGIT ZERO (0) ~ U+0039 DIGIT NINE (9) の<a href=#collect-a-sequence-of-characters>文字の列を集めます</a>。
1153  集めた列が丁度2文字の長さでない場合、失敗です。  集めた列が丁度2文字の長さでない場合、失敗です。
1154  そうでない場合、得られた列を十進整数として解釈します。  そうでない場合、得られた列を十進整数として解釈します。
1155  この数を <var title="">hour</var> とします。  この数を <var title="">hour</var> とします。
1156    
1157  #en  #en
1158  <a href="#collect">Collect a sequence of characters</a> in the range  <a href=#collect-a-sequence-of-characters>Collect a sequence of characters</a> in the range
1159       U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9). If the collected       U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9). If the collected
1160       sequence is not exactly two characters long, then fail. Otherwise,       sequence is not exactly two characters long, then fail. Otherwise,
1161       interpret the resulting sequence as a base-ten integer. Let that number       interpret the resulting sequence as a base-ten integer. Let that number
1162       be the <var title="">minute</var>.       be the <var title="">minute</var>.
1163  #ja  #ja
1164  範囲 U+0030 DIGIT ZERO (0) ~ U+0039 DIGIT NINE (9) の<a href="#collect">文字の列を集めます</a>。  範囲 U+0030 DIGIT ZERO (0) ~ U+0039 DIGIT NINE (9) の<a href=#collect-a-sequence-of-characters>文字の列を集めます</a>。
1165  集めた列が丁度2文字の長さでない場合、失敗です。  集めた列が丁度2文字の長さでない場合、失敗です。
1166  そうでない場合、得られた列を十進整数として解釈します。  そうでない場合、得られた列を十進整数として解釈します。
 この数を <var title="">minute</var> とします。  
1167    この数を <var title="">minute</var> とします。
1168    
1169    #en
1170    <a href=#collect-a-sequence-of-characters>Collect a sequence of characters</a> in the range
1171           U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9). If the collected
1172           sequence is not exactly two characters long, then fail. Otherwise,
1173           interpret the resulting sequence as a base-ten integer. Let that
1174           number be the <var title="">timezone<sub title="">hours</sub></var>.
1175    #ja
1176    範囲 U+0030 DIGIT ZERO (0) ~ U+0039 DIGIT NINE (9) の<a href=#collect-a-sequence-of-characters>文字の列を集めます</a>。
1177    集めた列が丁度2文字の長さでない場合、失敗です。
1178    そうでない場合、得られた列を十進整数として解釈します。
1179    この数を <var title="">timezone<sub title="">hours</sub></var> とします。
1180    
1181    #en
1182    <a href=#collect-a-sequence-of-characters>Collect a sequence of characters</a> in the range
1183           U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9). If the collected
1184           sequence is not exactly two characters long, then fail. Otherwise,
1185           interpret the resulting sequence as a base-ten integer. Let that
1186           number be the <var title="">timezone<sub title="">minutes</sub></var>.
1187    #ja
1188    範囲 U+0030 DIGIT ZERO (0) ~ U+0039 DIGIT NINE (9) の<a href=#collect-a-sequence-of-characters>文字の列を集めます</a>。
1189    集めた列が丁度2文字の長さでない場合、失敗です。
1190    そうでない場合、得られた列を十進整数として解釈します。
1191    この数を <var title="">timezone<sub title="">minutes</sub></var> とします。
1192    
1193    #pattern
1194    <span class=secno>* </span>Vaguer moments in time
1195    #ja
1196    <span class=secno>$1 </span>より曖昧な時刻
1197    
1198    #en
1199    This section defines <dfn id=date-or-time-string title="date or time string">date or
1200       time strings</dfn>. There are two kinds, <dfn id=date-or-time-string-in-content title="date or
1201       time string in content">date or time strings in content</dfn>, and <dfn
1202       id=date-or-time-string-in-attributes title="date or time string in attributes">date or time strings
1203       in attributes</dfn>. The only difference is in the handling of whitespace
1204       characters.
1205    #ja
1206    この節は<dfn id=date-or-time-string title="date or time string">日付か時刻の文字列</dfn>を定義します。
1207    これは2種類あり、1つは<dfn id=date-or-time-string-in-content title="date or
1208       time string in content">内容中の日付か時刻の文字列</dfn>で、
1209    もう1つは<dfn
1210       id=date-or-time-string-in-attributes title="date or time string in attributes">属性中の日付か時刻の文字列</dfn>です。
1211    違いは空白文字の取扱いだけです。
1212    
1213    #en
1214    To parse a <a href=#date-or-time-string>date or time string</a>, user agents must
1215       use the following algorithm. A <a href=#date-or-time-string>date or time string</a>
1216       is a <em>valid</em> date or time string if the following algorithm, when
1217       run on the string, doesn't say the string is invalid.
1218    #ja
1219    利用者エージェントは、<a href=#date-or-time-string>日付か時刻の文字列</a>を構文解析する際、
1220    次の算法を使わなければ[[MUST:なりません]]。<a href=#date-or-time-string>日付か時刻の文字列</a>は、
1221    次の算法を文字列上で走らせた時に文字列が非妥当であると言われなければ、
1222    <em>妥当</em>な日付か時刻の文字列です。
1223    
1224    
1225    #en
1226    The algorithm may return nothing (in which case the string will be
1227       invalid), or it may return a date, a time, a date and a time, or a date
1228       and a time and a timezone. Even if the algorithm returns one or more
1229       values, the string can still be invalid.
1230    #ja
1231    算法は何も返さない[[MAY:かもしれません]] (その場合文字列は非妥当です)
1232    し、日付や時刻や日付と時刻や日付と時刻と時間帯を返す[[MAY:かもしれません]]。
1233    算法がいくつかの値を返した場合であっても、
1234    文字列は非妥当であることもあります。
1235    
1236    
1237    #en
1238    Let <var title="">results</var> be the collection of results that are
1239         to be returned (one or more of a date, a time, and a timezone),
1240         initially empty. If the algorithm aborts at any point, then whatever is
1241         currently in <var title="">results</var> must be returned as the result
1242         of the algorithm.
1243    #ja
1244    <var title="">results</var> を、
1245    返される結果 (日付、時刻、時間帯の1つ以上) の集成で、
1246    はじめは空とします。
1247    算法が途中で停止した場合、その時点で <var title="">results</var>
1248    に入っているものが何であれ算法の結果として返されなければ[[MUST:なりません]]。
1249    
1250    #en
1251    This specification uses the term <i>document</i> to
1252      refer to any use of HTML, ranging from short static documents to
1253      long essays or reports with rich multimedia, as well as to
1254      fully-fledged interactive applications.
1255    #ja
1256    この仕様は、短く静的な文書から長くて豊富な多媒体を用いた随筆や報告書まで、
1257    あるいは一丁前の対話的なアプリケーションなど、 HTML のあらゆる用法をも含めて、
1258    用語<i>文書</i>を使って表します。
1259    
1260    
1261    #en
1262    For simplicity, terms such as <i>shown</i>, <i>displayed</i>,
1263      and <i>visible</i> might sometimes be used when referring to the
1264      way a document is rendered to the user. These terms are not meant to
1265      imply a visual medium; they must be considered to apply to other
1266      media in equivalent ways.
1267    #ja
1268    簡単のため、文書が利用者に対してレンダリングされる方法に言及する際に<i>示す</i>、<i>表示する</i>、<i>可視である</i>といった用語を使うことがあります。
1269    これらの語を使っていても、視覚的な媒体を仮定しているわけではありません。
1270    他の媒体に対しても等価な方法で適用されると解釈し[[MUST:なければなりません]]。
1271    
1272    #en
1273    The <code>Document</code> of a <code>Node</code> (such as an
1274      element) is the <code>Document</code> that the <code>Node</code>'s
1275      <code title="">ownerDocument</code> DOM attribute returns.
1276    #ja
1277    <code>Node</code> (要素など) の <code>Document</code> とは、
1278    当該 <code>Node</code> の <code title="">ownerDocument</code> DOM
1279    属性が返す <code>Document</code> です。
1280    
1281    #en
1282    An element is said to have been <dfn id=insert-an-element-into-a-document title="insert an element
1283      into a document">inserted into a document</dfn> when its <a href=#root-element>root
1284      element</a> changes and is now the document's <a href=#root-element>root
1285      element</a>. If a <code>Node</code> is in a <code>Document</code>
1286      then that <code>Document</code> is always the <code>Node</code>'s
1287      <code>Document</code>, and the <code>Node</code>'s <code title="">ownerDocument</code> DOM attribute thus always returns that
1288      <code>Document</code>.
1289    #ja
1290    要素は、その<a href=#root-element>根要素</a>が変化し、
1291    <a href=#root-element>根要素</a>が文書の<a href=#root-element>根要素</a>となった時、
1292    <dfn id=insert-an-element-into-a-document title="insert an element
1293      into a document">文書に挿入された</dfn>といいます。
1294    
1295    #en
1296    A DOM attribute is said to be <i>getting</i> when its value is
1297      being retrieved (e.g. by author script), and is said to be
1298      <i>setting</i> when a new value is assigned to it.
1299    #ja
1300    DOM 属性は、その値が (例えば著者のスクリプトによって) 取り出される時に<i>取得時</i>であるといい、
1301    新たな値が割り当てられる時に<i>設定時</i>であるといいます。
1302    
1303    #en
1304    The terms <i>fire</i> and <i>dispatch</i> are used
1305      interchangeably in the context of events, as in the DOM Events
1306      specifications. <a href=#refsDOM3EVENTS>[DOM3EVENTS]</a>
1307    #ja
1308    用語<i>発火</i>・<i>発送</i>は、事象についての文脈では、
1309    DOM 事象仕様書にある通りに、交換可能なものとして用います。 <a href=#refsDOM3EVENTS>[DOM3EVENTS]</a>
1310    
1311    #pattern
1312    <span class=secno>* </span>Character encodings
1313    #ja
1314    <span class=secno>$1 </span>文字符号化
1315    
1316    #en
1317    An <dfn id=ascii-compatible-character-encoding>ASCII-compatible character encoding</dfn> is one that is
1318      a superset of US-ASCII (specifically, ANSI_X3.4-1968) for bytes in
1319      the set 0x09, 0x0A, 0x0C, 0x0D, 0x20 - 0x22, 0x26, 0x27, 0x2C -
1320      0x3F, 0x41 - 0x5A, and 0x61 - 0x7A<!-- is that list ok? do any
1321      character sets we want to support do things outside that range?
1322      -->. <!-- XXX #refs RFC1345 ? -->
1323    #ja
1324    <dfn id=ascii-compatible-character-encoding>ASCII 互換文字符号化</dfn>とは、
1325    集合 0x09, 0x0A, 0x0C, 0x0D, 0x20~0x22, 0x26, 0x27, 0x2C~0x3F, 0x41~0x5A, 0x61~0x7A<!-- is that list ok? do any
1326      character sets we want to support do things outside that range?
1327      -->
1328    のバイトが US-ASCII (明確には ANSI_X3.4-1968) の超集合であるようなものです。
1329    <!-- XXX #refs RFC1345 ? -->
1330    
1331    #pattern
1332    <span class=secno>* </span>Case-sensitivity and string comparison
1333    #ja
1334    <span class=secno>$1 </span>大文字・小文字と文字列の比較
1335    
1336    #en
1337    A string <var title="">pattern</var> is a <dfn id=prefix-match>prefix match</dfn>
1338      for a string <var title="">s</var> when <var title="">pattern</var>
1339      is not longer than <var title="">s</var> and truncating <var title="">s</var> to <var title="">pattern</var>'s length leaves the
1340      two strings as matches of each other.
1341    #ja
1342    文字列 <var title="">pattern</var> が文字列 <var title="">s</var>
1343    の<dfn id=prefix-match>接頭辞一致</dfn>であるのは、
1344    <var title="">pattern</var> が <var title="">s</var> より長くなく、
1345    <var title="">s</var> を <var title="">pattern</var> の長さに短縮すると両文字列が互いに一致する時です。
1346    
1347    #en
1348    The <dfn id=white_space title=White_Space>White_Space characters</dfn> are
1349      those that have the Unicode property "White_Space". <a href=#refsUNICODE>[UNICODE]</a>
1350    #ja
1351    <dfn id=white_space title=White_Space>White_Space 文字</dfn>は、
1352    Unicode 特性「White_Space」を持つ文字です。 <a href=#refsUNICODE>[UNICODE]</a>
1353    
1354    #en
1355    The step <dfn id=skip-whitespace>skip whitespace</dfn> means that the user agent
1356      must <a href=#collect-a-sequence-of-characters>collect a sequence of characters</a> that are <a href=#space-character title="space character">space characters</a>. The step <dfn id=skip-white_space-characters>skip
1357      White_Space characters</dfn> means that the user agent must
1358      <a href=#collect-a-sequence-of-characters>collect a sequence of characters</a> that are
1359      <a href=#white_space>White_Space</a> characters. In both cases, the collected
1360      characters are not used. <a href=#refsUNICODE>[UNICODE]</a>
1361    #ja
1362    段階<dfn id=skip-whitespace>空白を飛ばす</dfn>は、
1363    利用者エージェントが<a href=#space-character title="space character">空白文字</a>であるような<a href=#collect-a-sequence-of-characters>文字の列を収集</a>し[[MUST:なければならない]]ことを意味します。
1364    段階 <dfn id=skip-white_space-characters>White_Space 文字を飛ばす</dfn>は、
1365    利用者エージェントが
1366    <a href=#white_space>White_Space</a>
1367    文字であるような<a href=#collect-a-sequence-of-characters>文字の列を収集</a>し[[MUST:なければならない]]ことを意味します。
1368    いずれの場合も、収集した文字は使いません。 <a href=#refsUNICODE>[UNICODE]</a>
1369    
1370    #en
1371    When a user agent is to <dfn id=strip-line-breaks>strip line breaks</dfn> from a
1372      string, the user agent must remove any U+000A LINE FEED (LF) and
1373      U+000D CARRIAGE RETURN (CR) characters from that string.
1374    #ja
1375    利用者エージェントが文字列から<dfn id=strip-line-breaks>改行を除去</dfn>する場合、
1376    当該文字列から U+000A LINE FEED (LF) 文字と
1377      U+000D CARRIAGE RETURN (CR) 文字を削除し[[MUST:なければなりません]]。
1378    
1379    #en
1380    The <dfn id=codepoint-length>codepoint length</dfn> of a string is the number of
1381      Unicode codepoints in that string.
1382    #ja
1383    文字列の<dfn id=codepoint-length>符号位置長</dfn>は、当該文字列中の Unicode
1384    符号位置の数です。
1385    
1386    
1387    #en
1388    A string is a <dfn id=valid-floating-point-number>valid floating point number</dfn> if it
1389      consists of:
1390    #ja
1391    文字列は、それが次のものから構成される場合、<dfn id=valid-floating-point-number>妥当な浮動小数点数</dfn>です。
1392    
1393    #en
1394    Optionally, a U+002D HYPHEN-MINUS ("-") character.
1395    #ja
1396    U+002D HYPHEN-MINUS ("-") 文字 (任意選択)。
1397    
1398    #en
1399    A series of one or more characters in the range U+0030 DIGIT
1400       ZERO (0) to U+0039 DIGIT NINE (9).
1401    #ja
1402    範囲 U+0030 DIGIT
1403       ZERO (0) ~ U+0039 DIGIT NINE (9) の文字1文字以上の列。
1404    
1405    #en
1406    Optionally:
1407    #ja
1408    任意選択で、
1409    
1410    #en
1411    A single U+002E FULL STOP (".") character.
1412    #ja
1413    単一の U+002E FULL STOP (".") 文字。
1414    
1415    #en
1416    A series of one or more characters in the range U+0030 DIGIT
1417         ZERO (0) to U+0039 DIGIT NINE (9).
1418    #ja
1419    範囲 U+0030 DIGIT
1420         ZERO (0) ~ U+0039 DIGIT NINE (9) の文字1文字以上の列。
1421    
1422    #en
1423    Either a U+0065 LATIN SMALL LETTER E character or a U+0045
1424         LATIN CAPITAL LETTER E character.
1425    #ja
1426    U+0065 LATIN SMALL LETTER E 文字か、 U+0045
1427         LATIN CAPITAL LETTER E 文字のいずれか。
1428    
1429    #en
1430    A series of characters in the range U+0030 DIGIT ZERO (0) to
1431         U+0039 DIGIT NINE (9).
1432    #ja
1433    範囲 U+0030 DIGIT ZERO (0) ~
1434         U+0039 DIGIT NINE (9) の文字の列。
1435    
1436    #en
1437    If <var title="">n</var> is 4 or more, and the first bytes of
1438        the resource match one of the following byte sets:
1439    #ja
1440    <var title="">n</var> が 4 以上であり、資源の最初の数バイトが次のバイト集合のいずれかに一致する場合、
1441    
1442    #en
1443    Description
1444    #ja
1445    説明
1446    
1447    #en
1448    ...then the sniffed type of the resource is "text/plain". Abort
1449        these steps.
1450    #ja
1451    資源の探知型は「text/plain」です。これらの段階を停止します。
1452    
1453    #en
1454    If none of the first <var title="">n</var> bytes of the
1455       resource are <a href=#binary-data-bytes>binary data bytes</a> then the sniffed type
1456       of the resource is "text/plain". Abort these steps.
1457    #ja
1458    資源の最初の <var title="">n</var> バイトのいずれもが<a href=#binary-data-bytes>バイナリー・データ・バイト</a>でない場合、
1459    資源の探知型は「text/plain」です。これらの段階を停止します。
1460    
1461    #en
1462    If the first bytes of the resource match one of the byte
1463        sequences in the "pattern" column of the table in the <i title="content-type sniffing: unknown type"><a href=#content-type-sniffing:-unknown-type>unknown type</a></i>
1464        section below, ignoring any rows whose cell in the "security"
1465        column says "scriptable" (or "n/a"), then the sniffed type of the
1466        resource is the type given in the corresponding cell in the
1467        "sniffed type" column on that row; abort these steps.
1468    #ja
1469    資源の最初のバイトが、
1470    後の<i title="content-type sniffing: unknown type"><a href=#content-type-sniffing:-unknown-type>未知型</a></i>の節の表のうち、
1471    「保安性」の列がのこまが「スクリプト可能」 (か「N/A」) となっている行以外で、
1472    「パターン」の列のバイト列のいずれかと一致する場合、
1473    資源の探知型は、その行の「探知型」の列の対応するこまで与えられた型です。
1474    これらの段階を停止します。
1475    
1476    
1477    #en
1478    It is critical that this step not ever return a
1479        scriptable type (e.g. text/html), as otherwise that would allow a
1480        privilege escalation attack.
1481    #ja
1482    この段階でスクリプト可能な型 (例えば text/html) を返さないことは重要であり、
1483    そうしなければ特権昇格攻撃を認めることになってしまいます。
1484    
1485    #en
1486    Otherwise, the sniffed type of the resource is
1487       "application/octet-stream".
1488    #ja
1489    そうでない場合、資源の探知型は「application/octet-stream」です。
1490    
1491    #en
1492    Bytes covered by the following ranges are <dfn id=binary-data-bytes>binary data
1493      bytes</dfn>:
1494    #ja
1495    次の範囲に含まれるバイトが<dfn id=binary-data-bytes>バイナリー・データ・バイト</dfn>です。
1496    
1497    #pattern
1498    <span class=secno>* </span><dfn>Content-Type sniffing: unknown type</dfn>
1499    #ja
1500    <span class=secno>$1 </span><dfn>Content-Type 探知: 未知型</dfn>
1501    
1502    #en
1503    The user agent may wait for 512 or more bytes of the
1504       resource to be available.
1505    #ja
1506    利用者エージェントは、資源の 512 バイト以上が利用可能となるまで待って[[MAY:構いません]]。
1507    
1508    #en
1509    Let <var title="">stream length</var> be the smaller of
1510       either 512 or the number of bytes already available.
1511    #ja
1512    <var title="">stream length</var> を、 512 と既に利用可能なバイトの数の小さい方とします。
1513    
1514    #en
1515    For each row in the table below:
1516    #ja
1517    後掲の表の各表について、
1518    
1519    #en
1520    If the row has no "<em>WS</em>" bytes:
1521    #ja
1522    行が「<em>WS</em>」バイトを持たない場合、
1523    
1524    #en
1525    Let <var title="">pattern length</var> be the length of the
1526           pattern (number of bytes described by the cell in the second
1527           column of the row).
1528    #ja
1529    <var title="">pattern length</var> を、パターンの長さ
1530    (行の2つ目のこまに記述されたバイトの数)
1531    とします。
1532    
1533    #en
1534    If <var title="">stream length</var> is smaller than <var title="">pattern length</var> then skip this row.
1535    #ja
1536    <var title="">stream length</var> が <var title="">pattern length</var>
1537    より小さい場合、この行を飛ばします。
1538    
1539    #en
1540    Apply the "and" operator to the first <var title="">pattern
1541           length</var> bytes of the resource and the given mask (the
1542           bytes in the cell of first column of that row), and let the
1543           result be the <var title="">data</var>.
1544    #ja
1545    資源の最初の <var title="">pattern
1546           length</var> バイトと与えられたマスク (その行の最初の列のこまのバイト列)
1547    に「論理積」演算子を適用し、その結果を <var title="">data</var> とします。
1548    
1549    #en
1550    If the bytes of the <var title="">data</var> matches the
1551           given pattern bytes exactly, then the sniffed type of the
1552           resource is the type given in the cell of the third column in
1553           that row; abort these steps.
1554    #ja
1555    <var title="">data</var> のバイト列が与えられたパターン・バイト列と正確に一致する場合、
1556    資源の探知型はその行の3つ目の列のこまで与えられる型です。
1557    これらの段階を停止します。
1558    
1559    #en
1560    If the row has a "<em>WS</em>" byte:
1561    #ja
1562    行が「<em>WS</em>」バイトを持つ場合、
1563    
1564    #en
1565    Let <var title="">index<sub>pattern</sub></var> be an
1566           index into the mask and pattern byte strings of the
1567           row.
1568    #ja
1569    <var title="">index<sub>pattern</sub></var> を、行のマスクとパターンのバイト列の中の索引とします。
1570    
1571    #en
1572    Let <var title="">index<sub>stream</sub></var> be an
1573           index into the byte stream being examined.
1574    #ja
1575    <var title="">index<sub>stream</sub></var> を、検査するバイト・ストリームの中の索引とします。
1576    
1577    #en
1578    <em>Loop</em>: If <var title="">index<sub>stream</sub></var> points beyond the end of
1579           the byte stream, then this row doesn't match, skip this
1580           row.
1581    #ja
1582    <em>ループ</em>: <var title="">index<sub>stream</sub></var> がバイト・ストリームの終わりの先を指している場合、
1583    この行は一致せず、この行を飛ばします。
1584    
1585    #en
1586    Examine the <var title="">index<sub>stream</sub></var>th
1587            byte of the byte stream as follows:
1588    #ja
1589    バイト・ストリームの <var title="">index<sub>stream</sub></var>
1590    番目のバイトを次のように検査します。
1591    
1592    #en
1593    If the <var title="">index<sub>pattern</sub></var>th byte
1594             of the pattern is a normal hexadecimal byte and not a "<em>WS</em>"
1595             byte:
1596    #ja
1597    パターンの <var title="">index<sub>pattern</sub></var>
1598    番目のバイトが通常の十六進数バイトであって「<em>WS</em>」バイトでない場合、
1599    
1600    #en
1601    Otherwise, increment <var title="">index<sub>pattern</sub></var> to the next byte in
1602              the mask and pattern and <var title="">index<sub>stream</sub></var> to the next byte in
1603              the byte stream.
1604    #ja
1605    そうでない場合、 <var title="">index<sub>pattern</sub></var>
1606    をマスクとパターンの次のバイトに、
1607    <var title="">index<sub>stream</sub></var>
1608    をバイト・ストリームの次のバイトにと増加させます。
1609    
1610    #en
1611    Otherwise, if the <var title="">index<sub>pattern</sub></var>th byte of the pattern
1612             is a "<em>WS</em>" byte:
1613    #ja
1614    そうでない場合、パターンの <var title="">index<sub>pattern</sub></var>
1615    番目のバイトが「<em>WS</em>」バイトの場合、
1616    
1617    #en
1618    "<em>WS</em>" means "whitespace", and allows insignificant
1619              whitespace to be skipped when sniffing for a type
1620              signature.
1621    #ja
1622    「<em>WS</em>」は「空白」を意味し、型署名の探知の時に重要でない空白を飛ばすことを認めます。
1623    
1624    #en
1625    If the <var title="">index<sub>stream</sub></var>th byte
1626              of the stream is one of 0x09 (ASCII TAB), 0x0A (ASCII LF),
1627              0x0C (ASCII FF), 0x0D (ASCII CR), or 0x20 (ASCII space),
1628              then increment only the <var title="">index<sub>stream</sub></var> to the next byte in
1629              the byte stream.
1630    #ja
1631    ストリームの <var title="">index<sub>stream</sub></var>
1632    番目のバイトが 0x09 (ASCII TAB)、0x0A (ASCII LF)、
1633              0x0C (ASCII FF)、0x0D (ASCII CR)、0x20 (ASCII 間隔)
1634    のいずれかの場合、 <var title="">index<sub>stream</sub></var>
1635    をバイト・ストリームの次のバイトへと増加させます。
1636    
1637    #en
1638    Otherwise, increment only the <var title="">index<sub>pattern</sub></var> to the next byte in
1639              the mask and pattern.
1640    #ja
1641    そうでない場合、 <var title="">index<sub>pattern</sub></var>
1642    だけをマスクとパターンの次のバイトへと増加させます。
1643    
1644    #en
1645    If <var title="">index<sub>pattern</sub></var> does not
1646           point beyond the end of the mask and pattern byte strings, then
1647           jump back to the <em>loop</em> step in this algorithm.
1648    #ja
1649    <var title="">index<sub>pattern</sub></var> がマスクとパターンのバイト列の終わりの先を指していない場合、この算法の<em>ループ</em>の段階に飛んで戻ります。
1650    
1651    #en
1652    Otherwise, the sniffed type of the resource is the type
1653           given in the cell of the third column in that row; abort these
1654           steps.
1655    #ja
1656    そうでない場合、資源の探知型はその行の3番目の列のこまに与えられた型です。
1657    これらの段階を停止します。
1658    
1659    #en
1660    The table used by the above algorithm is:
1661    #ja
1662    先述の算法で用いる表は、次の通りです。
1663    
1664    #en
1665    Sniffed type
1666    #ja
1667    探知型
1668    
1669    #en
1670    Security
1671    #ja
1672    保安性
1673    
1674    #en
1675    Comment
1676    #ja
1677    注釈
1678    
1679    #en
1680    Mask
1681    #ja
1682    マスク
1683    
1684    #en
1685    Pattern
1686    #ja
1687    パターン
1688    
1689    #en
1690    Scriptable
1691    #ja
1692    スクリプト可能
1693    
1694    #en
1695    The string "<code title="">&lt;!DOCTYPE HTML</code>" in US-ASCII or compatible encodings, case-insensitively.
1696    #ja
1697    US-ASCII や互換な符号化で文字列「<code title="">&lt;!DOCTYPE HTML</code>」
1698    を大文字または小文字で。
1699    
1700    #en
1701    The string "<code title="">&lt;HTML</code>" in US-ASCII or compatible encodings, case-insensitively, possibly with leading spaces.
1702    #ja
1703    US-ASCII や互換な符号化で文字列「<code title="">&lt;HTML</code>」
1704    を大文字または小文字で、最初に間隔があってもよい。
1705    
1706    #en
1707    The string "<code title="">&lt;HEAD</code>" in US-ASCII or compatible encodings, case-insensitively, possibly with leading spaces.
1708    #ja
1709    US-ASCII や互換な符号化で文字列「<code title="">&lt;HEAD</code>」
1710    を大文字または小文字で、最初に間隔があってもよい。
1711    
1712    #en
1713    The string "<code title="">&lt;SCRIPT</code>" in US-ASCII or compatible encodings, case-insensitively, possibly with leading spaces.
1714    #ja
1715    US-ASCII や互換な符号化で文字列「<code title="">&lt;SCRIPT</code>」
1716    を大文字または小文字で、最初に間隔があってもよい。
1717    
1718    #en
1719    The string "<code title="">%PDF-</code>", the PDF signature.
1720    #ja
1721    文字列「<code title="">%PDF-</code>」、 PDF 署名。
1722    
1723    #en
1724    Safe
1725    #ja
1726    安全
1727    
1728    #en
1729    The string "<code title="">%!PS-Adobe-</code>", the PostScript signature.
1730       <!-- copied from the text or binary section above -->
1731    #ja
1732    文字列「<code title="">%!PS-Adobe-</code>」、PostScript 署名。
1733    <code title="">%!PS-Adobe-</code>
1734    
1735    #en
1736    n/a
1737    #ja
1738    N/A
1739    
1740    #en
1741    The string "<code title="">GIF87a</code>", a GIF signature.
1742    #ja
1743    文字列「<code title="">GIF87a</code>」、GIF 署名。
1744    
1745    #en
1746    The string "<code title="">GIF89a</code>", a GIF signature.
1747    #ja
1748    文字列「<code title="">GIF89a</code>」、GIF 署名。
1749    
1750    #en
1751    The PNG signature.
1752    #ja
1753    PNG 署名。
1754    
1755    #en
1756    A JPEG SOI marker followed by the first byte of another marker.
1757    #ja
1758    JPEG SOI マーカーの後に別のマーカーの最初のバイト。
1759    
1760    #en
1761    The string "<code title="">BM</code>", a BMP signature.
1762    #ja
1763    文字列「<code title="">BM</code>」、BMP 署名。
1764    
1765    #en
1766    A 0 word following by a 1 word, a Windows Icon file format signature.
1767    #ja
1768    語 0 の後に語 1、 Windows アイコン・ファイル書式署名。
1769    
1770    #en
1771    I'd like to add types like MPEG, AVI, Flash,
1772      Java, etc, to the above table.
1773    #ja
1774    MPEG、AVI、Flash、Java などの型も上の表に追加したいと思っています。
1775    
1776    #en
1777    User agents may support further types if desired, by implicitly
1778      adding to the above table. However, user agents should not use any
1779      other patterns for types already mentioned in the table above, as
1780      this could then be used for privilege escalation (where, e.g., a
1781      server uses the above table to determine that content is not HTML
1782      and thus safe from XSS attacks, but then a user agent detects it as
1783      HTML anyway and allows script to execute).
1784    #ja
1785    利用者エージェントは、必要があれば、前掲の表に暗示的に追加することによって、
1786    更に別の型に対応して[[MAY:構いません]]。
1787    しかし、前掲の表で既に言及されている型に関して他のパターンを使うと、
1788    特権昇格に使うことができてしまいます
1789    (例えば、鯖が前掲の表を使って内容が HTML ではないと判定し、
1790    よって XSS 攻撃に関して安全と判定したところ、
1791    利用者エージェントがそれは HTML であると判定し、
1792    スクリプトが実行されるのを認めてしまいます。) から、
1793    利用者エージェントはそうする[[SHOULD NOT:べきではありません]]。
1794    
1795    
1796    #en
1797    The column marked "security" is used by the algorithm in the
1798      "text or binary" section, to avoid sniffing <code title="">text/plain</code> content as a type that can be used for a
1799      privilege escalation attack.
1800    #ja
1801    「保安性」と印された列は、「テキストまたはバイナリー」の節の算法で、
1802    <code title="">text/plain</code>
1803    の内容を特権昇格攻撃に使える型と探知してしまうことを避けるために使います。
1804    
1805    
1806    #pattern
1807    <span class=secno>* </span><dfn>Content-Type sniffing: image</dfn>
1808    #ja
1809    <span class=secno>$1 </span><dfn>Content-Type 探知: 画像</dfn>
1810    
1811    #en
1812    If the resource's <var title="">official type</var> is
1813      "image/svg+xml", then the sniffed type of the resource is its <var title="">official type</var> (an XML type).
1814    #ja
1815    資源の <var title="">official type</var> が
1816    「image/svg+xml」の場合、資源の探知型はその
1817    <var title="">official type</var> (XML 型) です。
1818    
1819    #en
1820    Otherwise, if the first bytes of the resource match one of the
1821      byte sequences in the first column of the following table, then the
1822      sniffed type of the resource is the type given in the corresponding
1823      cell in the second column on the same row:
1824    #ja
1825    そうでない場合、資源の最初の数バイトが次の表の最初の列のバイト列のいずれかと一致する場合、
1826    資源の探知型は同じ行の2番目の列の対応するこまで与えられる型です。

Legend:
Removed from v.1.25  
changed lines
  Added in v.1.112

[email protected]
ViewVC Help
Powered by ViewVC 1.1.24