/[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.157 by apache, Sat Oct 25 08:26:03 2008 UTC revision 1.162 by apache, Sat Oct 25 08:37:37 2008 UTC
# Line 1445  An <dfn id=syntax-ambiguous-ampersand ti Line 1445  An <dfn id=syntax-ambiguous-ampersand ti
1445    文字 ('&lt;')、別の U+0026 AMPERSAND (<code>&amp;</code>) 文字以外の    文字 ('&lt;')、別の U+0026 AMPERSAND (<code>&amp;</code>) 文字以外の
1446  <a href=#syntax-text title=syntax-text>テキスト</a>が続く  <a href=#syntax-text title=syntax-text>テキスト</a>が続く
1447  U+0026 AMPERSAND (<code>&amp;</code>) 文字です。  U+0026 AMPERSAND (<code>&amp;</code>) 文字です。
1448    
1449    
1450    #pattern
1451    <span class=secno>* </span>CDATA sections
1452    #ja
1453    <span class=secno>$1 </span>CDATA 区間
1454    
1455    #en
1456    <dfn id=syntax-cdata title=syntax-cdata>CDATA sections</dfn> must start with
1457      the character sequence U+003C LESS-THAN SIGN, U+0021 EXCLAMATION
1458      MARK, U+005B LEFT SQUARE BRACKET, U+0043 LATIN CAPITAL LETTER C,
1459      U+0044 LATIN CAPITAL LETTER D, U+0041 LATIN CAPITAL LETTER A, U+0054
1460      LATIN CAPITAL LETTER T, U+0041 LATIN CAPITAL LETTER A, U+005B LEFT
1461      SQUARE BRACKET (<code title="">&lt;![CDATA[</code>). Following this
1462      sequence, the CDATA section may have <a href=#syntax-text title=syntax-text>text</a>, with the additional restriction
1463      that the text must not contain the three character sequence U+005D
1464      RIGHT SQUARE BRACKET, U+005D RIGHT SQUARE BRACKET, U+003E
1465      GREATER-THAN SIGN (<code title="">]]&gt;</code>). Finally, the CDATA
1466      section must be ended by the three character sequence U+005D RIGHT
1467      SQUARE BRACKET, U+005D RIGHT SQUARE BRACKET, U+003E GREATER-THAN
1468      SIGN (<code title="">]]&gt;</code>).
1469    #ja
1470    <dfn id=syntax-cdata title=syntax-cdata>CDATA 区間</dfn>は、
1471    文字列 U+003C LESS-THAN SIGN、U+0021 EXCLAMATION
1472      MARK、U+005B LEFT SQUARE BRACKET、U+0043 LATIN CAPITAL LETTER C、
1473      U+0044 LATIN CAPITAL LETTER D、U+0041 LATIN CAPITAL LETTER A、U+0054
1474      LATIN CAPITAL LETTER T、U+0041 LATIN CAPITAL LETTER A、U+005B LEFT
1475      SQUARE BRACKET (<code title="">&lt;![CDATA[</code>) で始まらなければ[[MUST:なりません]]。
1476    CDATA 区間は、この文字列に続けて、
1477    <a href=#syntax-text title=syntax-text>テキスト</a>を持って[[MAY:構いません]]。
1478    ただし、追加の制限として、このテキストは3文字の列 U+005D
1479      RIGHT SQUARE BRACKET、U+005D RIGHT SQUARE BRACKET、U+003E
1480      GREATER-THAN SIGN (<code title="">]]&gt;</code>) を含んでは[[MUST NOT:なりません]]。
1481    最後に、CDATA 区間は、3文字の列 U+005D RIGHT
1482      SQUARE BRACKET、U+005D RIGHT SQUARE BRACKET、U+003E GREATER-THAN
1483      SIGN (<code title="">]]&gt;</code>) で終わらなければ[[MUST:なりません]]。
1484    
1485    #pattern
1486    <span class=secno>* </span>Comments
1487    #ja
1488    <span class=secno>$1 </span>注釈
1489    
1490    #en
1491    <dfn id=syntax-comments title=syntax-comments>Comments</dfn> must start with the
1492      four character sequence U+003C LESS-THAN SIGN, U+0021 EXCLAMATION
1493      MARK, U+002D HYPHEN-MINUS, U+002D HYPHEN-MINUS (<code title="">&lt;!--</code>). Following this sequence, the comment may
1494      have <a href=#syntax-text title=syntax-text>text</a>, with the additional
1495      restriction that the text must not start with a single U+003E
1496      GREATER-THAN SIGN ('&gt;') character, nor start with a U+002D
1497      HYPHEN-MINUS (<code title="">-</code>) character followed by a
1498      U+003E GREATER-THAN SIGN ('&gt;') character, nor contain two
1499      consecutive U+002D HYPHEN-MINUS (<code title="">-</code>)
1500      characters, nor end with a U+002D HYPHEN-MINUS (<code title="">-</code>) character. Finally, the comment must be ended by
1501      the three character sequence U+002D HYPHEN-MINUS, U+002D
1502      HYPHEN-MINUS, U+003E GREATER-THAN SIGN (<code title="">--&gt;</code>).
1503    #ja
1504    <dfn id=syntax-comments title=syntax-comments>注釈</dfn>は、
1505    4文字の列 U+003C LESS-THAN SIGN、U+0021 EXCLAMATION
1506      MARK、U+002D HYPHEN-MINUS、U+002D HYPHEN-MINUS (<code title="">&lt;!--</code>)
1507    で始まらなければ[[MUST:なりません]]。
1508    注釈は、この文字列に続けて、
1509    <a href=#syntax-text title=syntax-text>テキスト</a>を持って[[MAY:構いません]]。
1510    ただし、追加の制限として、このテキストは U+003E
1511      GREATER-THAN SIGN ('&gt;') 文字1文字から始まったり、 U+002D
1512      HYPHEN-MINUS (<code title="">-</code>) 文字の後に
1513      U+003E GREATER-THAN SIGN ('&gt;') 文字が続く列から始まったり、
1514    2つの連続する U+002D HYPHEN-MINUS (<code title="">-</code>)
1515      文字を含んだり、 U+002D HYPHEN-MINUS (<code title="">-</code>) 文字で終わったりしては[[MUST NOT:なりません]]。
1516    最後に、注釈は3文字の列 U+002D HYPHEN-MINUS、U+002D
1517      HYPHEN-MINUS、U+003E GREATER-THAN SIGN (<code title="">--&gt;</code>)
1518    で終わらなければ[[MUST:なりません]]。
1519    
1520    #en
1521    This specification defines the parsing rules for HTML documents,
1522      whether they are syntactically correct or not. Certain points in the
1523      parsing algorithm are said to be <dfn id=parse-error title="parse error">parse
1524      errors</dfn>. The error handling for parse errors is well-defined:
1525      user agents must either act as described below when encountering
1526      such problems, or must abort processing at the first error that they
1527      encounter for which they do not wish to apply the rules described
1528      below.
1529    #ja
1530    この仕様書は、 HTML 文書を、それが構文的に正しいか否かによらず、その構文解析を行うための規則を定義します。
1531    この構文解析算法のいくつかの地点は<dfn id=parse-error title="parse error">構文解析誤り</dfn>であるといいます。
1532    構文解析誤りの誤りの取り扱いは明確に定義するところであり、
1533    利用者エージェントは、
1534    そのような問題に遭遇した時に後述の通りに作用するか、
1535    または後述の規則を適用したくないような最初の誤りの時点で処理を停止するかのいずれかでなければ[[MUST NOT:なりません]]。

Legend:
Removed from v.1.157  
changed lines
  Added in v.1.162

[email protected]
ViewVC Help
Powered by ViewVC 1.1.24