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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.37 - (hide annotations) (download)
Sun Aug 10 05:23:15 2008 UTC (18 years, 3 months ago) by apache
Branch: MAIN
Changes since 1.36: +7 -0 lines
by remote user 'guest'

1 apache 1.7 #pattern
2     <span class=secno>* </span>Parsing HTML documents
3 apache 1.4 #ja
4 apache 1.7 <span class=secno>$1 </span>HTML 文書の構文解析
5 apache 1.4
6     #en
7     <em>This section only applies to user agents, data mining tools, and
8     conformance checkers.</em>
9     #ja
10     <em>この節は利用者エージェント、データ・マイニング・ツール、
11     適合性検査器のみに適用されます。</em>
12    
13     #en
14     The rules for parsing <a href="#xml-documents">XML documents</a> (and
15     thus <a href="#xhtml5">XHTML</a> documents) into DOM trees are covered by
16     the XML and Namespaces in XML specifications, and are out of scope of this
17     specification. <a href="#refsXML">[XML]</a> <a
18     href="#refsXMLNS">[XMLNS]</a> <!-- XXX refs -->
19     #ja
20     <a href="#xml-documents">XML 文書</a> (や <a href="#xhtml5">XHTML</a> 文書)
21     を構文解析して DOM 木を得るための規則は XML や XML 名前空間の仕様書で扱われており、
22     この仕様書の適用範囲外です。 <a href="#refsXML">[XML]</a> <a
23    
24     #en
25     For <a href="#html-">HTML documents</a>, user agents must use the
26     parsing rules described in this section to generate the DOM trees.
27     Together, these rules define what is referred to as the <dfn
28     id=html-0>HTML parser</dfn>.
29     #ja
30     <a href="#html-">HTML 文書</a>については、利用者エージェントは、 DOM
31     木を生成するためにこの節で説明する構文解析規則を使用しなければ[[MUST:なりません]]。
32     また、この規則は<dfn
33     id=html-0>HTML 構文解析器</dfn>と呼ばれるものを定義します。
34    
35     #en
36     While the HTML form of HTML5 bears a close resemblance to SGML and XML,
37     it is a separate language with its own parsing rules.
38     #ja
39     HTML5 の HTML 形式は SGML や XML によく似ていますが、
40     独自の構文解析規則を持つ別の言語です。
41    
42     #en
43     Some earlier versions of HTML (in particular from HTML2 to HTML4) were
44     based on SGML and used SGML parsing rules. However, few (if any) web
45     browsers ever implemented true SGML parsing for HTML documents; the only
46     user agents to strictly handle HTML as an SGML application have
47     historically been validators. The resulting confusion &mdash; with
48     validators claiming documents to have one representation while widely
49     deployed Web browsers interoperably implemented a different
50     representation &mdash; has wasted decades of productivity. This version
51     of HTML thus r