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

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

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

revision 1.43 by apache, Mon Aug 11 15:03:18 2008 UTC revision 1.55 by apache, Fri Oct 24 16:02:12 2008 UTC
# Line 31  Optionally, a single U+FEFF BYTE ORDER M Line 31  Optionally, a single U+FEFF BYTE ORDER M
31  任意選択で、1つの U+FEFF BYTE ORDER MARK (BOM) 文字。  任意選択で、1つの U+FEFF BYTE ORDER MARK (BOM) 文字。
32    
33  #en  #en
34  Any number of <a href="#comments0" title=syntax-comments>comments</a>  Any number of <a href=#syntax-comments title=syntax-comments>comments</a>
35      and <a href="#space" title="space character">space characters</a>.      and <a href=#space-character title="space character">space characters</a>.
36  #ja  #ja
37  任意の個数の<a href="#comments0" title=syntax-comments>注釈</a>と<a href="#space" title="space character">間隔文字</a>。  任意の個数の<a href=#syntax-comments title=syntax-comments>注釈</a>と<a href=#space-character title="space character">間隔文字</a>。
38    
39  #en  #en
40  A <a href="#doctype5" title=syntax-doctype>DOCTYPE</a>.  A <a href=#syntax-doctype title=syntax-doctype>DOCTYPE</a>.
41  #ja  #ja
42  <a href="#doctype5" title=syntax-doctype>DOCTYPE</a>。  <a href=#syntax-doctype title=syntax-doctype>DOCTYPE</a>。
43    
44  #en  #en
45  The root element, in the form of an <code><a  The root element, in the form of an <code><a
46      href="#html">html</a></code> <a href="#elements3"      href=#the-html-element>html</a></code> <a href=#dom-form-elements
47      title=syntax-elements>element</a>.      title=syntax-elements>element</a>.
48  #ja  #ja
49  根要素を <code><a  根要素を <code><a
50      href="#html">html</a></code> <a href="#elements3"      href=#the-html-element>html</a></code> <a href=#dom-form-elements
51      title=syntax-elements>要素</a>の形で。      title=syntax-elements>要素</a>の形で。
52    
53  #en  #en
# Line 65  In addition, there are some restrictions Line 65  In addition, there are some restrictions
65  それに関する節で説明した通り、いくつかの制限があります。  それに関する節で説明した通り、いくつかの制限があります。
66    
67  #en  #en
68  Space characters before the root <code><a href="#html">html</a></code>  Space characters before the root <code><a href=#the-html-element>html</a></code>
69      element, and space characters at the start of the <code><a      element, and space characters at the start of the <code><a
70      href="#html">html</a></code> element and before the <code><a      href=#the-html-element>html</a></code> element and before the <code><a
71      href="#head">head</a></code> element, will be dropped when the document      href=#the-head-element>head</a></code> element, will be dropped when the document
72      is parsed; space characters <em>after</em> the root <code><a      is parsed; space characters <em>after</em> the root <code><a
73      href="#html">html</a></code> element will be parsed as if they were at      href=#the-html-element>html</a></code> element will be parsed as if they were at
74      the end of the <code><a href="#body0">body</a></code> element. Thus,      the end of the <code><a href=#the-body-element>body</a></code> element. Thus,
75      space characters around the root element do not round-trip.      space characters around the root element do not round-trip.
76  #ja  #ja
77  根 <code><a href="#html">html</a></code> 要素の前の間隔文字や、  根 <code><a href=#the-html-element>html</a></code> 要素の前の間隔文字や、
78  <code><a  <code><a
79      href="#html">html</a></code> 要素のはじめで <code><a      href=#the-html-element>html</a></code> 要素のはじめで <code><a
80      href="#head">head</a></code> 要素の前の間隔文字は、      href=#the-head-element>head</a></code> 要素の前の間隔文字は、
81  文書が構文解析される時に除去されます。根 <code><a  文書が構文解析される時に除去されます。根 <code><a
82      href="#html">html</a></code> 要素の<em>後</em>の間隔文字は、      href=#the-html-element>html</a></code> 要素の<em>後</em>の間隔文字は、
83  <code><a href="#body0">body</a></code> 要素の終わりにあったものとして構文解析されます。  <code><a href=#the-body-element>body</a></code> 要素の終わりにあったものとして構文解析されます。
84  従って、根要素の近辺の間隔文字は往復しません。  従って、根要素の近辺の間隔文字は往復しません。
85    
86    
87  #en  #en
88  It is suggested that newlines be inserted after the DOCTYPE, after any  It is suggested that newlines be inserted after the DOCTYPE, after any
89      comments that are before the root element, after the <code><a      comments that are before the root element, after the <code><a
90      href="#html">html</a></code> element's start tag (if it is not <a      href=#the-html-element>html</a></code> element's start tag (if it is not <a
91      href="#omitted" title=syntax-tag-omission>omitted</a>), and after any      href=#syntax-tag-omission title=syntax-tag-omission>omitted</a>), and after any
92      comments that are inside the <code><a href="#html">html</a></code>      comments that are inside the <code><a href=#the-html-element>html</a></code>
93      element but before the <code><a href="#head">head</a></code> element.      element but before the <code><a href=#the-head-element>head</a></code> element.
94  #ja  #ja
95  DOCTYPE の後、  DOCTYPE の後、
96  根要素の前の注釈がある場合はその後、  根要素の前の注釈がある場合はその後、
97  <code><a  <code><a
98      href="#html">html</a></code> 要素の開始タグの後      href=#the-html-element>html</a></code> 要素の開始タグの後
99  (<a  (<a
100      href="#omitted" title=syntax-tag-omission>省略</a>しない場合)、      href=#syntax-tag-omission title=syntax-tag-omission>省略</a>しない場合)、
101  <code><a href="#html">html</a></code> 要素中で  <code><a href=#the-html-element>html</a></code> 要素中で
102  <code><a href="#head">head</a></code> 要素の前に注釈がある場合にはその後には、  <code><a href=#the-head-element>head</a></code> 要素の前に注釈がある場合にはその後には、
103  改行を挿入することをおすすめします。  改行を挿入することをおすすめします。
104    
105  #en  #en
# Line 123  U+0041 ~ U+005A (LATIN CAPITAL LETTER Line 123  U+0041 ~ U+005A (LATIN CAPITAL LETTER
123  <span class=secno>$1 </span>DOCTYPE  <span class=secno>$1 </span>DOCTYPE
124    
125  #en  #en
126  A <dfn id=doctype5 title=syntax-doctype>DOCTYPE</dfn> is a mostly  A <dfn id=syntax-doctype title=syntax-doctype>DOCTYPE</dfn> is a mostly
127     useless, but required, header.     useless, but required, header.
128  #ja  #ja
129  <dfn id=doctype5 title=syntax-doctype>DOCTYPE</dfn> はほとんど無意味ですが、  <dfn id=syntax-doctype title=syntax-doctype>DOCTYPE</dfn> はほとんど無意味ですが、
130  [[REQUIRED:必須]]の頭部です。  [[REQUIRED:必須]]の頭部です。
131    
132  #en  #en
# Line 199  A U+0045 LATIN CAPITAL LETTER E or U+006 Line 199  A U+0045 LATIN CAPITAL LETTER E or U+006
199  U+0045 LATIN CAPITAL LETTER E 文字か U+0065 LATIN SMALL LETTER E 文字。  U+0045 LATIN CAPITAL LETTER E 文字か U+0065 LATIN SMALL LETTER E 文字。
200    
201  #en  #en
202  One or more <a href="#space" title="space character">space  One or more <a href=#space-character title="space character">space
203      characters</a>.      characters</a>.
204  #ja  #ja
205  1つ以上の<a href="#space" title="space character">間隔文字</a>。  1つ以上の<a href=#space-character title="space character">間隔文字</a>。
206    
207  #en  #en
208  A U+0048 LATIN CAPITAL LETTER H or U+0068 LATIN SMALL LETTER H  A U+0048 LATIN CAPITAL LETTER H or U+0068 LATIN SMALL LETTER H
# Line 224  A U+004C LATIN CAPITAL LETTER L or U+006 Line 224  A U+004C LATIN CAPITAL LETTER L or U+006
224  U+004C LATIN CAPITAL LETTER L 文字か U+006C LATIN SMALL LETTER L 文字。  U+004C LATIN CAPITAL LETTER L 文字か U+006C LATIN SMALL LETTER L 文字。
225    
226  #en  #en
227  Zero or more <a href="#space" title="space character">space  Zero or more <a href=#space-character title="space character">space
228      characters</a>.      characters</a>.
229  #ja  #ja
230  零個以上の<a href="#space" title="space character">間隔文字</a>。  零個以上の<a href=#space-character title="space character">間隔文字</a>。
231    
232  #en  #en
233  A U+003E GREATER-THAN SIGN (<code>&gt;</code>) character.  A U+003E GREATER-THAN SIGN (<code>&gt;</code>) character.
# Line 246  In other words, <code>&lt;!DOCTYPE HTML> Line 246  In other words, <code>&lt;!DOCTYPE HTML>
246  <span class=secno>$1 </span>要素  <span class=secno>$1 </span>要素
247    
248  #en  #en
249  There are five different kinds of <dfn id=elements3  There are five different kinds of <dfn id=dom-form-elements
250     title=syntax-elements>elements</dfn>: void elements, CDATA elements,     title=syntax-elements>elements</dfn>: void elements, CDATA elements,
251     RCDATA elements, foreign elements, and normal elements.     RCDATA elements, foreign elements, and normal elements.
252  #ja  #ja
253  <dfn id=elements3  <dfn id=dom-form-elements
254     title=syntax-elements>要素</dfn>には5種類あります。     title=syntax-elements>要素</dfn>には5種類あります。
255  空隙要素、 CDATA 要素、 RCDATA 要素、外来要素、通常要素です。  空隙要素、 CDATA 要素、 RCDATA 要素、外来要素、通常要素です。
256    
# Line 275  Foreign elements Line 275  Foreign elements
275  外来要素  外来要素
276    
277  #en  #en
278  Elements from the <a href="#mathml0">MathML namespace</a> <!--XXXSVG  Elements from the <a href=#mathml-namespace>MathML namespace</a> <!--XXXSVG
279     and the <span>SVG namespace</span>.     and the <span>SVG namespace</span>.
280  #ja  #ja
281  <a href="#mathml0">MathML 名前空間</a>からの要素。<!--XXXSVG  <a href=#mathml-namespace>MathML 名前空間</a>からの要素。<!--XXXSVG
282     and the <span>SVG namespace</span>.     and the <span>SVG namespace</span>.
283    
284  #en  #en
# Line 287  Normal elements Line 287  Normal elements
287  通常要素  通常要素
288    
289  #en  #en
290  All other allowed <a href="#html-elements">HTML elements</a> are  All other allowed <a href=#html-elements>HTML elements</a> are
291      normal elements.      normal elements.
292  #ja  #ja
 他の全ての認められている<a href="#html-elements">HTML 要素</a>は通常要素です。  
293    他の全ての認められている<a href=#html-elements>HTML 要素</a>は通常要素です。
294    
295    #en
296    The root element, in the form of an <code><a href=#the-html-element>html</a></code> <a href=#syntax-elements title=syntax-elements>element</a>.
297    #ja
298    根要素を、 <code><a href=#the-html-element>html</a></code> <a href=#syntax-elements title=syntax-elements>要素</a>として。
299    
300    #en
301    Optionally, a <a href=#doctype-legacy-string>DOCTYPE legacy string</a> (defined below).
302    #ja
303    任意選択で、 <a href=#doctype-legacy-string>DOCTYPE 遺物文字列</a> (後で定義します)。
304    
305    #en
306    In other words, <code>&lt;!DOCTYPE HTML&gt;</code>,
307      case-insensitively.
308    #ja
309    すなわち、大文字または小文字の <code>&lt;!DOCTYPE HTML&gt;</code>。
310    
311    #en
312    For the purposes of XSLT generators that cannot output HTML
313      markup without a DOCTYPE, a <dfn id=doctype-legacy-string>DOCTYPE legacy string</dfn> may be
314      inserted into the DOCTYPE (in the position defined above). This
315      string must consist of:
316    #ja
317    DOCTYPE なしの HTML マーク付けを出力できない XSLT 生成器のため、
318    <dfn id=doctype-legacy-string>DOCTYPE 遺物文字列</dfn>を
319    DOCTYPE (の前述の位置) に挿入して[[MAY:構いません]]。
320    この文字列は次のものから構成されなければ[[MUST:なりません]]。
321    
322    #pattern
323    A * or * character.
324    #ja
325    $1 文字または * 文字。
326    
327    #en
328    The literal string "<code title="">XSLT-compat</code>".
329    #ja
330    生の文字列「<code title="">XSLT-compat</code>」。
331    
332    #en
333    The same character as in item 9 (a matching U+0022 QUOTATION MARK or U+0027 APOSTROPHE character).
334    #ja
335    項目9と同じ文字 (U+0022 QUOTATION MARK 文字または U+0027 APOSTROPHE 文字の一致する方)。
336    
337    #en
338    In other words, <code>&lt;!DOCTYPE HTML PUBLIC
339      "XSLT-compat"&gt;</code> or <code>&lt;!DOCTYPE HTML PUBLIC
340      'XSLT-compat'&gt;</code>, case-insensitively except for the bit in
341      quotes.
342    #ja
343    すなわち、引用符内以外は大文字か小文字の <code>&lt;!DOCTYPE HTML PUBLIC
344      "XSLT-compat"&gt;</code> または <code>&lt;!DOCTYPE HTML PUBLIC
345      'XSLT-compat'&gt;</code>。
346    
347    #en
348    The <a href=#doctype-legacy-string>DOCTYPE legacy string</a> should not be used unless
349      the document is generated from XSLT.
350    #ja
351    <a href=#doctype-legacy-string>DOCTYPE 遺物文字列</a>は XSLT
352    で生成された文書を除き使用する[[SHOULD NOT:べきではありません]]。
353    
354    #en
355    There are five different kinds of <dfn id=syntax-elements title=syntax-elements>elements</dfn>: void elements, CDATA
356      elements, RCDATA elements, foreign elements, and normal
357      elements.
358    #ja
359    <dfn id=syntax-elements title=syntax-elements>要素</dfn>には、
360    空隙要素、 CDATA 要素、 RCDATA 要素、外来要素、通常要素の5つの異なる種類があります。
361    
362    #en
363    <dfn id=syntax-tags title=syntax-tags>Tags</dfn> are used to delimit the start
364      and end of elements in the markup. CDATA, RCDATA, and normal
365      elements have a <a href=#syntax-start-tags title=syntax-start-tags>start tag</a> to
366      indicate where they begin, and an <a href=#syntax-end-tags title=syntax-end-tags>end
367      tag</a> to indicate where they end. The start and end tags of
368      certain normal elements can be <a href=#syntax-tag-omission title=syntax-tag-omission>omitted</a>, as described
369      later. Those that cannot be omitted must not be omitted. <a href=#void-elements>Void
370      elements</a> only have a start tag; end tags must not be
371      specified for void elements. Foreign elements must either have a
372      start tag and an end tag, or a start tag that is marked as
373      self-closing, in which case they must not have an end tag.
374    #ja
375    <dfn id=syntax-tags title=syntax-tags>タグ</dfn>は、
376    マーク付けにおいて要素の開始と終了を区切るために使います。
377    CDATA 要素、 RCDATA 要素、通常要素は、
378    その始まる位置を示す<a href=#syntax-start-tags title=syntax-start-tags>開始タグ</a>と、
379    その終わる位置を示す<a href=#syntax-end-tags title=syntax-end-tags>終了タグ</a>を持ちます。
380    特定の通常要素の開始タグと終了タグは、
381    後述の通り<a href=#syntax-tag-omission title=syntax-tag-omission>省略</a>することができます。
382    省略できないものは省略しては[[MUST NOT:なりません]]。
383    <a href=#void-elements>空隙要素</a>は開始タグのみを持ちます。
384    空隙要素に終了タグを指定しては[[MUST NOT:なりません]]。
385    外来要素は開始タグと終了タグを持つか、または開始タグを自己閉塞と印付けするかのいずれかで[[MUST:なければなりらず]]、
386    後者の場合終了タグを持っては[[MUST NOT:なりません]]。

Legend:
Removed from v.1.43  
changed lines
  Added in v.1.55

[email protected]
ViewVC Help
Powered by ViewVC 1.1.24