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

Contents of /markup/html/html5/spec-ja/data/browsers.dat

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Sat Jul 19 16:12:28 2008 UTC (18 years ago) by apache
Branch: MAIN
Changes since 1.4: +1 -0 lines
by remote user 'guest'

1 #pattern
2 <span class=secno>* </span>Web browsers
3 #ja
4 <span class=secno>$1 </span>Web ブラウザ
5
6 #en
7 This section describes features that apply most directly to Web
8 browsers. Having said that, unless specified elsewhere, the requirements
9 defined in this section <em>do</em> apply to all user agents, whether they
10 are Web browsers or not.
11 #ja
12 この章では、 Web ブラウザに最も直接的に適用される機能について説明します。
13 とはいえ、この章で定義する要件は、特に断らない限り、
14 Web ブラウザであるか否かを問わず全ての利用者エージェントに適用<em>されます</em>。
15
16 #pattern
17 <span class=secno>* </span>Browsing contexts
18 #ja
19 <span class=secno>$1 </span>閲覧文脈
20
21 #en
22 A <dfn id=browsing1>browsing context</dfn> is a collection of one or
23 more <code>Document</code> objects, and one or more <a href="#view"
24 title=view>views</a>.
25 #ja
26 <dfn id=browsing1>閲覧文脈</dfn>は1つ以上の <code>Document</code>
27 オブジェクトと1つ以上の<a href="#view"
28 title=view>表示</a>の集成です。
29
30 #en
31 At any one time, one of the <code>Document</code>s in a <a
32 href="#browsing1">browsing context</a> is the <dfn id=active>active
33 document</dfn>. The collection of <code>Document</code>s is the <a
34 href="#browsing1">browsing context</a>'s <a href="#session">session
35 history</a>.
36 #ja
37 いかなる時点においても、ある <a
38 href="#browsing1">閲覧文脈</a>の中の <code>Document</code>
39 の1つは<dfn id=active>活性文書</dfn>です。
40 <code>Document</code> の集成は<a
41 href="#browsing1">閲覧文脈</a>の<a href="#session">セッション履歴</a>です。
42
43 #en
44 A <dfn id=view>view</dfn> is a user agent interface tied to a particular
45 media used for the presentation of <code>Document</code> objects in some
46 media. A view may be interactive. Each view is represented by an
47 <code>AbstractView</code> object. Each view belongs to a <a
48 href="#browsing1">browsing context</a>. <a
49 href="#refsDOM2VIEWS">[DOM2VIEWS]</a>
50 #ja
51 <dfn id=view>表示</dfn>は、何らかの媒体における <code>Document</code>
52 オブジェクトの表現のために用いられる、特定の媒体に紐付けされた利用者エージェント界面です。
53 表示は対話的であっても[[MAY:構いません]]。各表示は <code>AbstractView</code>
54 オブジェクトにより現れます。各表示は<a
55 href="#browsing1">閲覧文脈</a>に属します。 <a
56 href="#refsDOM2VIEWS">[DOM2VIEWS]</a>
57
58 #en
59 The <code title="">document</code> attribute of an
60 <code>AbstractView</code> object representing a <a href="#view">view</a>
61 gives the <code>Document</code> object of the view's <a
62 href="#browsing1">browsing context</a>'s <a href="#active">active
63 document</a>. <a href="#refsDOM2VIEWS">[DOM2VIEWS]</a>
64 #ja
65 <a href="#view">表示</a>を表す
66 <code>AbstractView</code> オブジェクトの <code title="">document</code>
67 属性は、その表示の<a
68 href="#browsing1">閲覧文脈</a>の<a href="#active">活性文書</a>の
69 <code>Document</code> オブジェクトを与えます。
70 <a href="#refsDOM2VIEWS">[DOM2VIEWS]</a>
71
72 #en
73 Events that use the <code>UIEvent</code> interface are
74 related to a specific <a href="#view">view</a> (the view in which the
75 event happened); the <code>AbstractView</code> of that view is given in
76 the event object's <code title="">view</code> attribute. <a
77 href="#refsDOM3EVENTS">[DOM3EVENTS]</a>
78 #ja
79 <code>UIEvent</code> 界面を用いる事象は特定の<a href="#view">表示</a>
80 (事象が発生した表示) に関係付けられています。その表示の
81 <code>AbstractView</code> は事象オブジェクトの <code title="">view</code>
82 属性で与えられます。 <a
83 href="#refsDOM3EVENTS">[DOM3EVENTS]</a>
84
85 #en
86 A typical Web browser has one obvious <a
87 href="#view">view</a> per <a href="#browsing1">browsing context</a>: the
88 browser's window (screen media). If a page is printed, however, a second
89 view becomes evident, that of the print media. The two views always share
90 the same underlying <code>Document</code>, but they have a different
91 presentation of that document. A speech browser also establishes a
92 browsing context, one with a view in the speech media.
93 #ja
94 一般的な Web ブラウザは<a href="#browsing1">閲覧文脈</a>毎に1つの自明な<a
95 href="#view">表示</a>、つまりブラウザの窓 (画面媒体) を持っています。
96 しかし、頁が印刷される場合、2つ目の、印刷媒体の表示が現れます。
97 2つの表示は常に同じ元の <code>Document</code> を共有していますが、
98 その文書の異なる表現を有しています。会話ブラウザも、
99 会話媒体での表示を有する閲覧文脈を確立します。
100
101 #en
102 A <code>Document</code> does not necessarily have a <a
103 href="#browsing1">browsing context</a> associated with it. In particular,
104 data mining tools are likely to never instantiate browsing contexts.
105 #ja
106 <code>Document</code> は必ずしも<a
107 href="#browsing1">閲覧文脈</a>に関連付けられているとは限りません。
108 特に、データ・マイニング・ツールは閲覧文脈を決して実現値化しないでしょう。
109
110 #en
111 The main <a href="#view">view</a> through which a user primarily
112 interacts with a user agent is the <dfn id=default3>default view</dfn>.
113 #ja
114 利用者が利用者エージェントと対話するために主に使用する<a href="#view">表示</a>が<dfn id=default3>既定表示</dfn>です。
115
116 #en
117 The <a href="#default3">default view</a> of a
118 <code>Document</code> is given by the <code title="">defaultView</code>
119
120 attribute on the <code>Document</code> object's <code>DocumentView</code>
121 interface. <a href="#refsDOM3VIEWS">[DOM3VIEWS]</a>
122 #ja
123 <code>Document</code> の <a href="#default3">既定表示</a>は
124 <code>Document</code> オブジェクトの <code>DocumentView</code>
125 界面の <code title="">defaultView</code>
126 属性により与えられます。 <a href="#refsDOM3VIEWS">[DOM3VIEWS]</a>
127
128 #en
129 When a <a href="#browsing1">browsing context</a> is first created, it
130 must be created with a single <code>Document</code> in its session
131 history, whose <span title="the document's address">address</span><!--
132 XXXDOCURL -->
133
134 is <code>about:blank</code><!-- XXX xref -->, which is marked as being an
135 <a href="#html-" title="HTML documents">HTML document</a>, and whose <a
136 href="#character1" title="document's character encoding">character
137 encoding</a> is UTF-8. The <code>Document</code> must have a single child
138 <code><a href="#html">html</a></code> node, which itself has a single
139 child <code><a href="#body0">body</a></code> node. If the <a
140 href="#browsing1">browsing context</a> is created specifically to be
141 immediately navigated, then that initial navigation will have <a
142 href="#replacement">replacement enabled</a>.
143 #ja
144 <a href="#browsing1">閲覧文脈</a>が最初に作成されたとき、
145 閲覧文脈はセッション履歴に<span title="the document's address">番地</span>が
146 <code>about:blank</code> で、 <a href="#html-" title="HTML documents">HTML
147 文書</a>として印付けされており、<a
148 href="#character1" title="document's character encoding">文字符号化</a>が
149 UTF-8 である <code>Document</code>
150 が1つある状態で作成されなければ[[MUST:なりません]]。この
151 <code>Document</code> は <code><a href="#html">html</a></code>
152 節点1つだけを子供として持ち、その <code><a href="#html">html</a></code>
153 節点は <code><a href="#body0">body</a></code> 節点だけを子供として持たなければ[[MUST:なりません]]。
154 <a
155 href="#browsing1">閲覧文脈</a>が即座に操縦されるために特に作成された場合、
156 その最初の操縦は<a
157 href="#replacement">置換有効</a>で行われます。
158
159 #en
160 The <a href="#origin0">origin</a> of the
161 <code>about:blank</code> <code>Document</code> is set when the
162 <code>Document</code> is created, in a manner dependent on whether the <a
163 href="#browsing1">browsing context</a> created is a <a
164 href="#nested0">nested browsing context</a>, as follows:
165 #ja
166 <code>about:blank</code> <code>Document</code> の<a href="#origin0">起源</a>は、
167 その <code>Document</code> が作成されるときに、作成された<a
168 href="#browsing1">閲覧文脈</a>が<a
169 href="#nested0">入れ子閲覧文脈</a>であるかどうかにより、
170 次のように設定されます:
171
172 #en
173 If the new <a href="#browsing1">browsing context</a> is a <a
174 href="#nested0">nested browsing context</a>
175 #ja
176 新しい<a href="#browsing1">閲覧文脈</a>が<a
177 href="#nested0">入れ子閲覧文脈</a>である場合
178
179 #en
180 The <a href="#origin0">origin</a> of the <code>about:blank</code>
181 <code>Document</code> is the <a href="#origin0">origin</a> of the <a
182 href="#active">active document</a> of the new <a
183 href="#browsing1">browsing context</a>'s <a href="#parent">parent
184 browsing context</a> at the time of its creation.
185 #ja
186 <code>about:blank</code> <code>Document</code> の<a href="#origin0">起源</a>は、
187 新しい<a
188 href="#browsing1">閲覧文脈</a>の作成の時点でのその<a href="#parent">親閲覧文脈</a>の<a
189 href="#active">活性文書</a>の<a href="#origin0">起源</a>です。
190
191 #en
192 If the new <a href="#browsing1">browsing context</a> is an <a
193 href="#auxiliary0">auxiliary browsing context</a>
194 #ja
195 新しい<a href="#browsing1">閲覧文脈</a>が<a
196 href="#auxiliary0">補助閲覧文脈</a>である場合
197
198 #en
199 The <a href="#origin0">origin</a> of the <code>about:blank</code>
200 <code>Document</code> is the <a href="#origin0">origin</a> of the <a
201 href="#active">active document</a> of the new <a
202 href="#browsing1">browsing context</a>'s <a href="#opener">opener
203 browsing context</a> at the time of the new browsing context's creation.
204 #ja
205 <code>about:blank</code> <code>Document</code> の<a href="#origin0">起点</a>は、
206 新しい閲覧文脈の作成の時点でのその<a href="#opener">開き元閲覧文脈</a>の<a
207 href="#active">活性文書</a>の<a href="#origin0">起点</a>です。
208
209 #en
210 Otherwise
211 #ja
212 その他の場合
213
214 #en
215 The <a href="#origin0">origin</a> of the <code>about:blank</code>
216
217 <code>Document</code> is a globally unique identifier assigned when the
218 new <a href="#browsing1">browsing context</a> is created.
219 #ja
220 <code>about:blank</code> <code>Document</code> の<a href="#origin0">起点</a>は、
221 その新しい<a href="#browsing1">閲覧文脈</a>が作成されたときに割り当てられた大域的に固有な識別子です。
222
223 #pattern
224 <span class=secno>* </span>Nested browsing contexts
225 #ja
226 <span class=secno>$1 </span>入れ子の閲覧文脈
227
228 #en
229 Certain elements (for example, <code><a href="#iframe">iframe</a></code>
230 elements) can instantiate further <a href="#browsing1" title="browsing
231 context">browsing contexts</a>. These are called <dfn id=nested0
232 title="nested browsing context">nested browsing contexts</dfn>. If a
233 browsing context <var title="">P</var> has an element in one of its
234 <code>Document</code>s <var title="">D</var> that nests another browsing
235 context <var title="">C</var> inside it, then <var title="">P</var> is
236 said to be the <dfn id=parent>parent browsing context</dfn> of <var
237 title="">C</var>, <var title="">C</var> is said to be a <dfn
238 id=child>child browsing context</dfn> of <var title="">P</var>, and <var
239 title="">C</var> is said to be <dfn id=nested1 title="browsing context
240 nested through">nested through</dfn> <var title="">D</var>.
241 #ja
242 要素によっては (例えば <code><a href="#iframe">iframe</a></code>
243 要素は)、更に<a href="#browsing1" title="browsing
244 context">閲覧文脈</a>を実現値化することができます。このようなものを<dfn id=nested0
245 title="nested browsing context">入れ子の閲覧文脈</dfn>と呼びます。
246 閲覧文脈 <var title="">P</var> がその <code>Document</code> の1つ
247 <var title="">D</var> 中の要素であって、その内側に別の閲覧文脈 <var title="">C</var>
248 を入れ子にしている場合、 <var title="">P</var> は <var
249 title="">C</var> の<dfn id=parent>親閲覧文脈</dfn>であるといい、
250 <var title="">C</var> は <var title="">P</var> の<dfn
251 id=child>子閲覧文脈</dfn>であるといい、 <var
252 title="">C</var> は <var title="">D</var> を<dfn id=nested1 title="browsing context
253 nested through">通じて入れ子である</dfn>といいます。
254
255 #en
256 A browsing context <var title="">A</var> is said to be an ancestor of a
257 browsing context <var title="">B</var> if there exists a browsing context
258 <var title="">A'</var> that is a <a href="#child">child browsing
259 context</a> of <var title="">A</var> and that is itself an ancestor of
260 <var title="">B</var>, or if there is a browsing context <var
261 title="">P</var> that is a <a href="#child">child browsing context</a> of
262 <var title="">A</var> and that is the <a href="#parent">parent browsing
263 context</a> of <var title="">B</var>.
264 #ja
265 閲覧文脈 <var title="">A</var> が閲覧文脈 <var title="">B</var>
266 の祖先であるというのは、 <var title="">A</var>
267 の<a href="#child">子閲覧文脈</a>である閲覧文脈 <var title="">A'</var>
268 が存在して、それ自体が <var title="">B</var> の祖先である場合、または閲覧文脈 <var
269 title="">P</var> があって、それが <var title="">A</var>
270 の<a href="#child">子閲覧文脈</a>であり、かつ <var title="">B</var>
271 の<a href="#parent">親閲覧文脈</a>である場合です。
272
273 #en
274 The browsing context with no <a href="#parent">parent browsing
275 context</a> is the <dfn id=top-level>top-level browsing context</dfn> of
276 all the browsing contexts <a href="#nested0" title="nested browsing
277 context">nested</a> within it (either directly or indirectly through other
278 nested browsing contexts).
279 #ja
280 <a href="#parent">親閲覧文脈</a>のない閲覧文脈は、
281 それに (直接的に、または他の入れ子閲覧文脈を通じて間接的に)
282 <a href="#nested0" title="nested browsing
283 context">入れ子</a>になっている閲覧文脈すべての<dfn id=top-level>最上位閲覧文脈</dfn>です。
284
285 #en
286 The transitive closure of <a href="#parent" title="parent browsing
287 context">parent browsing contexts</a> for a <a href="#nested0">nested
288 browsing context</a> gives the list of <dfn id=ancestor title="ancestor
289 browsing context">ancestor browsing contexts</dfn>.
290 #ja
291 <a href="#nested0">入れ子閲覧文脈</a>の<a href="#parent" title="parent browsing
292 context">親閲覧文脈</a>の推移的閉包が<dfn id=ancestor title="ancestor
293 browsing context">祖先閲覧文脈</dfn>の並びを与えます。
294
295 #en
296 A <code>Document</code> is said to be <dfn id=fully>fully active</dfn>
297 when it is the <a href="#active">active document</a> of its <a
298 href="#browsing1">browsing context</a>, and either its browsing context is
299 a <a href="#top-level">top-level browsing context</a>, or the
300 <code>Document</code> <a href="#nested1" title="browsing context nested
301 through">through which</a> that browsing context is <a href="#nested0"
302 title="nested browsing context">nested</a> is itself <a
303 href="#fully">fully active</a>.
304 #ja
305 <code>Document</code> が<dfn id=fully>完全に活性</dfn>であるというのは、
306 これがその<a
307 href="#browsing1">閲覧文脈</a>の<a href="#active">活性文書</a>であり、かつその閲覧文脈が<a href="#top-level">最上位閲覧文脈</a>であるか、
308 またはその閲覧文脈がそれを<a href="#nested1" title="browsing context nested
309 through">通じて</a><a href="#nested0"
310 title="nested browsing context">入れ子</a>になっているような
311 <code>Document</code> もそれ自体<a
312 href="#fully">完全に活性</a>であることをいいます。
313
314 #en
315 Because they are nested through an element, <a href="#child"
316 title="child browsing context">child browsing contexts</a> are always tied
317 to a specific <code>Document</code> in their <a href="#parent">parent
318 browsing context</a>. User agents must not allow the user to interact with
319 <a href="#child" title="child browsing context">child browsing
320 contexts</a> of elements that are in <code>Document</code>s that are not
321 themselves <a href="#fully">fully active</a>.
322 #ja
323 <a href="#child"
324 title="child browsing context">子閲覧文脈</a>は、要素を通じて入れ子になっているため、
325 常に<a href="#parent">親閲覧文脈</a>中の特定の <code>Document</code>
326 と紐付けされています。利用者エージェントは、<a href="#fully">完全に活性</a>でない
327 <code>Document</code> 中の要素の<a href="#child" title="child browsing context">子閲覧文脈</a>に対して利用者が対話することを認めては[[MUST NOT:なりません]]。
328
329 #en
330 A <a href="#nested0">nested browsing context</a> can have a <a
331 href="#seamless0">seamless browsing context flag</a> set, if it is
332 embedded through an <code><a href="#iframe">iframe</a></code> element with
333 a <code title=attr-iframe-seamless><a href="#seamless">seamless</a></code>
334 attribute.
335 #ja
336 <a href="#nested0">入れ子閲覧文脈</a>には、これが
337 <code title=attr-iframe-seamless><a href="#seamless">seamless</a></code>
338 属性のある <code><a href="#iframe">iframe</a></code>
339 要素を通じて埋め込まれている場合、<a
340 href="#seamless0">継ぎ目なし閲覧文脈旗</a>が設定されることがあります。
341
342 #pattern
343 <span class=secno>* </span>Auxiliary browsing contexts
344 #ja
345 <span class=secno>$1 </span>補助閲覧文脈
346
347 #en
348 It is possible to create new browsing contexts that are related to a
349 <span>top level browsing context</span> without being nested through an
350 element. Such browsing contexts are called <dfn id=auxiliary0
351 title="auxiliary browsing context">auxiliary browsing contexts</dfn>.
352 Auxiliary browsing contexts are always <a href="#top-level"
353 title="top-level browsing context">top-level browsing contexts</a>.
354 #ja
355 ある<span>最上位閲覧文脈</span>に関係する新しい閲覧文脈を、
356 要素を通じて入れ子にせずに作成することができます。このような閲覧文脈を<dfn id=auxiliary0
357 title="auxiliary browsing context">補助閲覧文脈</dfn>と呼びます。
358 補助閲覧文脈は常に<a href="#top-level"
359 title="top-level browsing context">最上位閲覧文脈</a>です。
360
361 #en
362 An <a href="#auxiliary0">auxiliary browsing context</a> has an <dfn
363 id=opener>opener browsing context</dfn>, which is the <a
364 href="#browsing1">browsing context</a> from which the <a
365 href="#auxiliary0">auxiliary browsing context</a> was created, and it has
366 a <dfn id=furthest>furthest ancestor browsing context</dfn>, which is the
367 <a href="#top-level">top-level browsing context</a> of the <a
368 href="#opener">opener browsing context</a> when the <a
369 href="#auxiliary0">auxiliary browsing context</a> was created.
370 #ja
371 <a href="#auxiliary0">補助閲覧文脈</a>は、<dfn
372 id=opener>開闢器閲覧文脈</dfn>を持ちます。これは、<a
373 href="#auxiliary0">補助閲覧文脈</a>を作成した<a
374 href="#browsing1">閲覧文脈</a>です。また、<dfn id=furthest>最遠祖先閲覧文脈</dfn>も持ちます。
375 これは、<a
376 href="#auxiliary0">補助閲覧文脈</a>が作成された時の<a
377 href="#opener">開闢器閲覧文脈</a>の<a href="#top-level">最上位閲覧文脈</a>です。
378
379 #en
380 The <dfn id=opener0 title=dom-opener><code>opener</code></dfn> DOM
381 attribute on the <code><a href="#window">Window</a></code> object must
382 return the <code><a href="#window">Window</a></code> object of the <a
383 href="#browsing1">browsing context</a> from which the current browsing
384 context was created (its <a href="#opener">opener browsing context</a>),
385 if there is one and it is still available.
386 #ja
387 <code><a href="#window">Window</a></code> オブジェクトの
388 <dfn id=opener0 title=dom-opener><code>opener</code></dfn> DOM 属性は、
389 現在の閲覧文脈が作成された<a
390 href="#browsing1">閲覧文脈</a> (<a href="#opener">開闢器閲覧文脈</a>)
391 の <code><a href="#window">Window</a></code>
392 オブジェクトを、これがあって、まだ利用可能であれば、返さなければ[[MUST:なりません]]。
393
394
395
396
397
398
399
400 #en
401 When an HTML document is to be loaded in a <a href="#browsing1">browsing
402 context</a>, the user agent must create a <code>Document</code> object,
403 mark it as being an <a href="#html-" title="HTML documents">HTML
404 document</a>, create an <a href="#html-0">HTML parser</a>, associate it
405 with the document, and begin to use the bytes provided for the document as
406 the <a href="#input0">input stream</a> for that parser.
407 #ja
408 HTML 文書が<a href="#browsing1">閲覧文脈</a>に読み込まれるとき、
409 利用者エージェントは、 <code>Document</code> オブジェクトを作成し、
410 それに <a href="#html-" title="HTML documents">HTML
411 文書</a>であるとの印を付け、<a href="#html-0">HTML 構文解析器</a>を作成し、
412 これをその文書と関連付け、
413 その文書に対して提供されたバイト列を構文解析器の<a href="#input0">入力ストリーム</a>として使い始めなければ[[MUST:なりません]]。
414
415 #en
416 The <a href="#input0">input stream</a> converts bytes into
417 characters for use in the <span>tokeniser</span><!-- XXX xref
418 -->. This
419 process relies, in part, on character encoding information found in the
420 real <a href="#content-type5" title=Content-Type>Content-Type metadata</a>
421
422 of the resource; the "sniffed type" is not used for this purpose.
423 #ja
424 <a href="#input0">入力ストリーム</a>はバイト列を文字列に変換し、
425 字句化器で使用できるようにします。この過程は、部分的に、
426 資源の実際の <a href="#content-type5" title=Content-Type>Content-Type
427 メタデータ</a>に現れる文字符号化情報に依存しています。
428 ここでは「探知型」は使用しません。
429
430 #en
431 When no more bytes are available, an EOF character is implied, which
432 eventually causes a <code title=event-load><a
433 href="#load0">load</a></code> event to be fired.
434 #ja
435 それ以上のバイトが存在しなくなると、暗黙の EOF 文字の存在が仮定され、
436 それによって <code title=event-load><a
437 href="#load0">load</a></code> 事象が発火されることとなります。
438
439 #en
440 After creating the <code>Document</code> object, but potentially before
441 the page has finished parsing, the user agent must <a
442 href="#update2">update the session history with the new page</a>.
443 #ja
444 <code>Document</code> オブジェクトが作成された後に、
445 頁が構文解析を完了される前でも構いませんが、
446 利用者エージェントは、<a
447 href="#update2">新しい頁によりセッション履歴を更新</a>しなければ[[MUST:なりません]]。
448
449 #en
450 <a href="#application2"
451 title=concept-appcache-init-with-attribute>Application cache selection</a>
452
453 happens <a href="#parser-appcache">in the HTML parser</a>.
454 #ja
455 <a href="#application2"
456 title=concept-appcache-init-with-attribute>アプリケーション・キャッシュの選択</a>が
457 <a href="#parser-appcache">HTML 構文解析器の中</a>で起こります。
458
459 #en
460 When faced with displaying an XML file inline, user agents must first
461 create a <code>Document</code> object, following the requirements of the
462 XML and Namespaces in XML recommendations, RFC 3023, DOM3 Core, and other
463 relevant specifications. <a href="#refsXML">[XML]</a> <a
464 href="#refsXMLNS">[XMLNS]</a> <a href="#refsRFC3023">[RFC3023]</a> <a
465 href="#refsDOM3CORE">[DOM3CORE]</a>
466 #ja
467 利用者エージェントは、 XML ファイルを行内で表示することになったとき、
468 まず <code>Document</code> オブジェクトを XML と XML 名前空間の勧告、
469 RFC 3023、DOM3 中核、その他関連仕様に従って作成しなければ[[MUST:なりません]]。
470 <a href="#refsXML">[XML]</a> <a
471 href="#refsXMLNS">[XMLNS]</a> <a href="#refsRFC3023">[RFC3023]</a> <a
472 href="#refsDOM3CORE">[DOM3CORE]</a>
473
474 #en
475 The actual HTTP headers and other metadata, not the headers as mutated
476 or implied by the algorithms given in this specification, are the ones
477 that must be used when determining the character encoding according to the
478 rules given in the above specifications. Once the character encoding is
479 established, the <a href="#character1">document's character encoding</a>
480 must be set to that character encoding.
481 #ja
482 実際の HTTP 頭部その他のメタデータが、
483 前述の仕様書群で示された規則に従い文字符号化を決定する際には使用しなければ[[MUST:ならない]]ものです
484 (この仕様書に示した算法により変異した、あるいは暗示される頭部ではありません)。
485
486 #en
487 If the root element, as parsed according to the XML specifications cited
488 above, is found to be an <code><a href="#html">html</a></code> element
489 with an attribute <code title=attr-html-manifest><a
490 href="#manifest">manifest</a></code>, then, as soon as the element is
491 inserted into the DOM, the user agent must run the <a href="#application2"
492 title=concept-appcache-init-with-attribute>application cache selection
493 algorithm</a> with the value of that attribute, resolved relative to the
494 <a href="#elements3">element's base URI</a>, as the manifest URI.
495 Otherwise, as soon as the root element is inserted into the DOM, the user
496 agent must run the <a href="#application3"
497 title=concept-appcache-init-no-attribute>application cache selection
498 algorithm</a> with no manifest.
499 #ja
500 利用者エージェントは、前述の XML 仕様書群に従い構文解析された根要素が <code><a href="#html">html</a></code>
501 要素であって <code title=attr-html-manifest><a
502 href="#manifest">manifest</a></code> 属性を持つものであることが判明した場合、
503 その要素が DOM に挿入されると同時に、<a href="#application2"
504 title=concept-appcache-init-with-attribute>アプリケーション・キャッシュ選択算法</a>を、その属性の値を<a href="#elements3">要素の基底
505 URI</a> に対して解決したものをマニフェスト URI
506 として実行しなければ[[MUST:なりません]]。そうでない場合、
507 利用者エージェントは、根要素が DOM に挿入されると同時に、
508 <a href="#application3"
509 title=concept-appcache-init-no-attribute>アプリケーション・キャッシュ選択算法</a>をマニフェストなしで実行しなければ[[MUST:なりません]]。
510
511 #en
512 Because the processing of the <code
513 title=attr-html-manifest><a href="#manifest">manifest</a></code> attribute
514 happens only once the root element is parsed, any URIs referenced by
515 processing instructions before the root element (such as <code
516 title="">&lt;?xml-styleesheet?></code> and <code
517 title="">&lt;?xbl?></code> PIs) will be fetched from the network and
518 cannot be cached.
519 #ja
520 <code
521 title=attr-html-manifest><a href="#manifest">manifest</a></code>
522 属性の処理は根要素が構文解析されてはじめて行われますから、
523 根要素の前に現れる処理指令 (例えば処理指令 <code
524 title="">&lt;?xml-styleesheet?></code> や <code
525 title="">&lt;?xbl?></code>) が参照する URI はネットワークから取得され、
526 キャッシュすることができません。
527
528 #en
529 User agents may examine the namespace of the root <code>Element</code>
530 node of this <code>Document</code> object to perform namespace-based
531 dispatch to alternative processing tools, e.g. determining that the
532 content is actually a syndication feed and passing it to a feed handler.
533 If such processing is to take place, abort the steps in this section, and
534 jump to <a href="#navigate-non-Document">step 10</a> in the <a
535 href="#navigate">navigate</a> steps above.
536 #ja
537 利用者エージェントは、この <code>Document</code>
538 オブジェクトの根 <code>Element</code>
539 ノードを検査し、名前空間を基にした代替処理ツールを呼び出しても[[MAY:構いません]]
540 (例えば、内容が実際には配給フィードであると判定し、
541 これをフィード取扱器に渡しても構いません)。このような処理が行われる場合は、
542 この節の段階を中断し、前述の<a
543 href="#navigate">操縦</a>段階の<a href="#navigate-non-Document">段階
544 10</a> に飛びます。
545
546 #en
547 Otherwise, then, with the newly created <code>Document</code>, the user
548 agents must <a href="#update2">update the session history with the new
549 page</a>. User agents may do this before the complete document has been
550 parsed (thus achieving <i>incremental rendering</i>).
551 #ja
552 そうでない場合には、利用者エージェントは、新たに作成された
553 <code>Document</code> によって、
554 <a href="#update2">新しい頁によりセッション履歴を更新</a>しなければ[[MUST:なりません]]。
555 利用者エージェントは、これを文書全体が構文解析される前に行って
556 (<i>逐次レンダリング</i>を実現して) も[[MAY:構いません]]。
557
558 #en
559 Error messages from the parse process (e.g. namespace well-formedness
560 errors) may be reported inline by mutating the <code>Document</code>.
561 #ja
562 構文解析過程の誤りメッセージ (例えば名前空間整形式性誤り)
563 は <code>Document</code> を変異させることによって行内で報告して[[MAY:構いません]]。

[email protected]
ViewVC Help
Powered by ViewVC 1.1.24