/[suikacvs]/markup/xml/xmlcc/xmlcc-work.en.html
Suika

Contents of /markup/xml/xmlcc/xmlcc-work.en.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.15 - (hide annotations) (download) (as text)
Thu Nov 15 10:03:02 2007 UTC (17 years ago) by wakaba
Branch: MAIN
Changes since 1.14: +18 -3 lines
File MIME type: text/html
start of section 3...section 3.1

1 wakaba 1.1 <!DOCTYPE html>
2     <html lang="en" class="formal-specification status-work-in-progress">
3     <head>
4 wakaba 1.2 <title>manakai's XML Conformance Checking</title>
5 wakaba 1.1 <link rel="stylesheet" href="http://suika.fam.cx/www/style/html/spec">
6     <link rel="license" href="http://suika.fam.cx/c/gnu/fdl">
7 wakaba 1.6 <style>
8     a[id]::before {
9     content: "[" attr(id) "]";
10     color: gray;
11     font-size: 70%;
12     font-family: Courier New, monospace;
13     vertical-align: 60%;
14     }
15     </style>
16 wakaba 1.1 </head>
17     <body class="has-abstract">
18    
19     <div class="header">
20 wakaba 1.12 <h1>manakai's <abbr>XML</abbr> Conformance Checking</h1>
21 wakaba 1.15 <h2>Working Draft <time datetime=2007-11-15>15 November 2007</time></h2>
22 wakaba 1.1
23 wakaba 1.2 <dl class="versions-uri">
24 wakaba 1.1 <dt>This Version</dt>
25 wakaba 1.2 <dd><code class="URI">&lt;<a href="http://suika.fam.cx/www/markup/xml/xmlcc/xmlcc-work"
26     >http://suika.fam.cx/www/markup/xml/xmlcc/xmlcc-work</a>&gt;</code></dd>
27 wakaba 1.1 <dt>Latest Version</dt>
28 wakaba 1.2 <dd><code class="URI">&lt;<a href="http://suika.fam.cx/www/markup/xml/xmlcc/xmlcc"
29     >http://suika.fam.cx/www/markup/xml/xmlcc/xmlcc</a>&gt;</code></dd>
30 wakaba 1.1 <dt>Latest Working Draft</dt>
31 wakaba 1.2 <dd><code class="URI">&lt;<a href="http://suika.fam.cx/www/markup/xml/xmlcc/xmlcc-work"
32     >http://suika.fam.cx/www/markup/xml/xmlcc/xmlcc-work</a>&gt;</code></dd>
33 wakaba 1.1 <!-- <dt>Previous Version</dt> -->
34     <dt>Version History</dt>
35 wakaba 1.2 <dd><code class=URI>&lt;<a href="http://suika.fam.cx/gate/cvs/markup/xml/xmlcc/xmlcc-work.en.html">http://suika.fam.cx/gate/cvs/markup/xml/xmlcc/xmlcc-work.en.html</a>&gt;</code></dd>
36 wakaba 1.1 </dl>
37     <dl class="authors" id="author">
38     <dt>Author</dt>
39     <dd><a href="http://suika.fam.cx/~wakaba/who?" rel="author"
40     lang=ja>Wakaba</a>
41     <code class="mail">&lt;<a href="mailto:w@suika.fam.cx" rel="author"
42     >w@suika.fam.cx</a>&gt;</code></dd>
43     </dl>
44    
45     <p class="copyright" lang="en">&#xA9; <time>2007</time> <a
46     href="http://suika.fam.cx/~wakaba/who?" rel="author">Wakaba</a>.
47     Permission is granted to copy, distribute and/or modify this document
48     under the terms of the <a rel="license"
49     href="http://www.gnu.org/copyleft/fdl.html">GNU Free Documentation License</a>,
50     Version 1.2
51     or any later version published by the <a
52     href="http://www.fsf.org/">Free Software Foundation</a>;
53     with no Invariant Sections, no Front$B!>(BCover Texts, and no Back$B!>(BCover
54     Texts. A copy of the license is
55     available at <code class="URI">&lt;<a
56     href="http://www.gnu.org/copyleft/fdl.html"
57     rel="license">http://www.gnu.org/copyleft/fdl.html</a>&gt;</code>.</p>
58     </div>
59    
60     <div id="abstract" class="section">
61     <h2>Abstract</h2>
62    
63     <div class="ed issue">...</div>
64    
65     </div>
66    
67     <div id="status" class="section">
68     <h2>Status of This Document</h2>
69    
70     <p class=section-info><em>This section describes the status of this document
71     at the time of its publication. Other documents
72     might supersede this document.</em></p>
73    
74     <p>This document is a working draft, produced as part of the
75     <a href="http://suika.fam.cx/www/markup/html/whatpm/readme">Whatpm</a>
76     subproject of the
77     <a href="http://suika.fam.cx/www/manakai-core/doc/web/">manakai</a>
78     project. It might be updated, replaced, or obsoleted by
79     other documents at any time. It is inappropriate to
80     cite this document as other than <q>work in progress</q>.</p>
81    
82     <p>Comments on this document are welcome and
83     may be sent to the <a href="#author">author</a>.</p>
84    
85     <p>Translations of thie document might be available.
86     The English version of the document is the only
87     normative version.</p>
88     </div>
89    
90     <div id="introduction" class="section">
91     <h2>Introduction</h2>
92    
93     <p class=section-info>This section is <em>non$B!>(Bnormative</em>.</p>
94    
95     <div class="issue ed">...</div>
96    
97    
98     </div>
99    
100     <div class="section" id="terminology">
101     <h2>Terminology</h2>
102    
103     <p>The key words <q><em class="rfc2119">MUST</em></q>,
104     <q><em class="rfc2119">MUST NOT</em></q>,
105     <q><em class="rfc2119">SHOULD</em></q>,
106     <q><em class="rfc2119">SHOULD NOT</em></q>, and
107     <q><em class=rfc2119>MAY</em></q> in this
108     document are to be interpreted as described in
109     <a href="urn:ietf:rfc:2119"><abbr title="Request for Comments">RFC</abbr>
110     2119</a>
111     <cite class="bibref normative">[<a href="#ref-KEYWORDS">KEYWORDS</a>]</cite>.</p>
112    
113     <!-- Strictly speaking the paragraph below is not part of terminology. -->
114     <p>All examples and notes in this specification are non$B!>(Bnormative,
115     as are all sections explicitly marked non$B!>(Bnormative. Everything
116     else in this specification is normative.</p>
117    
118     <p><span class=ed>Algorithm is normative but non-normative</span>.
119     In addition, the order in which <a href="#errors">errors</a> are
120     raised is undefined.</p>
121     </div>
122    
123    
124 wakaba 1.9 <div class=section id=error-categories>
125 wakaba 1.14 <h2>Error Classification</h2>
126 wakaba 1.9
127 wakaba 1.1 <p class=ed>If a <code>Document</code> node has no
128     xml-well-formedness-error, entity-error, and unknown-error,
129     then it is well-formed. If a well-formed <code>Document</code>
130     node has no xml-validity-error, it is valid.</p>
131    
132     <div class="note memo">
133     <p>A well$B!>(Bformed <code>Document</code> can be safely serialized
134     into a well$B!>(Bformed XML document. A valid <code>Document</code>
135     can be easily serialized into a valid XML document.</p>
136     </div>
137    
138     <p>Errors are classified into these
139     <dfn id=error-category title="error category">error categories</dfn>:</p>
140    
141     <dl id=errors>
142     <dt><dfn id=entity-error><code>entity-error</code></dfn></dt>
143 wakaba 1.4 <dd>
144     <p class=ed>@@</p>
145     <div class="note memo">
146     <p>This <span class=ed>algorithm</span> does not support
147     <abbr>DOM</abbr> tree with one or more <code>EntityReference</code>
148     nodes. It is expected that any entity references are expanded
149     at the parse time and any unexpandable entity references
150     make parse time errors raised so that never result in
151     <abbr>DOM</abbr> tree with <code>EntityReference</code> nodes.</p>
152     </div>
153     </dd>
154 wakaba 1.1 <dt><dfn id=round-trip-error><code>round-trip-error</code></dfn></dt>
155     <dd class=ed>@@</dd>
156 wakaba 1.12 <dt><dfn id=round-trip-warning><code>round-trip-warning</code></dfn></dt>
157     <dd>
158     <p>A <a href="#round-trip-warning"><code>round-trip-warning</code></a>
159     will be raised when a construct, which might not be restored to the same
160     construct when it is serialized and then re-parsed by a conforming
161     processor, is encountered.</p>
162     <div class="example memo">
163     <p>For a <code>Comment</code> node a
164     <a href="#round-trip-warning"><code>round-trip-warning</code></a> will
165     be raised, since <abbr>XML</abbr> processors are not required to
166     report texts of comments for applications.</p>
167     </div>
168     </dd>
169 wakaba 1.1 <dt class=ed><dfn id=unknown-error><code>unknown-error</code></dfn>?</dt>
170     <dd class=ed>@@</dd>
171     <dt><dfn id=xml-misc-error><code>xml-misc-error</code></dt>
172     <dd>An <abbr>XML</abbr> <i>error</i> (<abbr>XML</abbr> 1.0
173     <cite class="bibref normative">[<a href="#ref-XML10">XML10</a>]</cite>
174     <a href="http://www.w3.org/TR/2006/REC-xml-20060816/#dt-error">error</a> /
175     <abbr>XML</abbr> 1.1
176     <cite class="bibref normative">[<a href="#ref-XML11">XML11</a>]</cite>
177     <a href="@@/#dt-error">error</a>)
178     that is not classified to any other <a href="#error-category">error
179     category</a>.</dd>
180     <dt><dfn id=xml-misc-fatal-error><code>xml-misc-fatal-error</code></dt>
181     <dd>An <abbr>XML</abbr> <i>fatal error</i> (<abbr>XML</abbr> 1.0
182     <cite class="bibref normative">[<a href="#ref-XML10">XML10</a>]</cite>
183     <a href="http://www.w3.org/TR/2006/REC-xml-20060816/#dt-fatal">fatal
184     error</a> / <abbr>XML</abbr> 1.1
185     <cite class="bibref normative">[<a href="#ref-XML11">XML11</a>]</cite>
186     <a href="@@/#dt-fatal">fatal error</a>)
187     that is not classified to any other <a href="#error-category">error
188     category</a>. <span class=ed>@@ What errors fall into this category?</span></dd>
189 wakaba 1.13 <dt><dfn id=xml-misc-recommendation><code>xml-misc-recommendation</code></dfn></dt>
190     <dd>
191     <p>An
192     <a href="#xml-misc-recommendation"><code>xml-misc-recommendation</code></a>
193     will be raised if a <em class=rfc2119>SHOULD</em>$B!>(Blevel requirement
194     in <abbr>XML</abbr> specification is not met.</p>
195     </dd>
196 wakaba 1.1 <dt><dfn id=xml-validity-error><code>xml-validity-error</code></dfn></dt>
197     <dd>A violation of validity constraint in XML document.</dd>
198     <dt><dfn id=xml-well-formedness-error><code>xml-well-formedness-error</code></dfn></dt>
199     <dd><p>If an <code>xml-well-formedness-error</code> is raised,
200     it would not be possible to generate an XML serialization that
201     would match to the appropriate production rule and that would not
202     violate to any well$B!>(Bformedness constraint in XML
203     specification <cite class="bibref normative">[<a href="#ref-XML10">XML10</a>,
204     <a href="#ref-XML11">XML11</a>]</cite>.</p></dd>
205     </dl>
206    
207     <div class=ed><p>@@ TODO: #dt-atuseroption at user option
208     (MAY or MUST), #dt-compat for compatibility,
209     #dt-interop for interoperability</p></div>
210    
211 wakaba 1.9 </div>
212 wakaba 1.14
213     <div class=section id=parsing-xml>
214     <h2>Parsing <abbr>XML</abbr> Document</h2>
215    
216     <ul>
217     <li>If the <abbr>XML</abbr> document does not begin with an
218     <abbr>XML</abbr> declaration, then raise an
219     <a href="#xml-misc-recommentation" id=xmr-xml-decl><code>xml-misc-recommendation</code></a>.</li>
220     <li>If the replacement text of an entity declaration is
221     <code>&lt;</code>, then raise an
222     <a href="#xml-misc-warning" id=xmw-entity-value-lt><code>xml-misc-warning</code></a>.<!--
223     "strongly advised to avoid" in a Note in Section 2.3 of [XML10], [XML11].
224     --></li>
225     <li>If attribute definition whose <code>Name</code> is
226     <code>xml:space</code> has <span class=ed>declared type different from
227     (default|preserve), (default), or (preserve)</span>, then raise an
228     <a href="#xml-misc-error" id=xme-ad-xml-space><code>xml-misc-error</code></a>.
229     <span class=ed>@@ duplication with
230     <a href="#xml-at-xml-space">#xml-at-xml-space</a>.<!--
231     <!ATTLIST e xml:space CDATA #IMPLIED xml:space CDATA #IMPLIED> --></span></li>
232 wakaba 1.15 <li>If an empty-element tag is used for an element which is <em>not</em>
233     declared <code>EMPTY</code>, then raise an
234     <a href="#xml-misc-recommentation" id=xmr-emptyelemtag-not-empty><code>xml-misc-recommendation</code></a>.</li>
235     <li>If an empty-element tag is <em>not</em> used for an element which is
236     declared <code>EMPTY</code>, then raise an
237     <a href="#xml-misc-recommentation" id=xmr-empty-not-emptyelemtag><code>xml-misc-recommendation</code></a>.</li>
238 wakaba 1.14 <!--
239    
240     #vc-PEinMarkupDecl Validity constraint: Proper Declaration/PE Nesting
241     #wfc-PEinInternalSubset Well-formedness constraint: PEs in Internal Subset
242     #ExtSubset Well-formedness constraint: External Subset
243     #PE-between-Decls Well-formedness constraint: PE Between Declarations
244 wakaba 1.15 #GIMatch Well-formedness constraint: Element Type Match
245     #uniqattspec Well-formedness constraint: Unique Att Spec
246     #NoExternalRefs Well-formedness constraint: No External Entity References
247     #CleanAttrVals Well-formedness constraint: No < in Attribute Values
248 wakaba 1.14
249     @@ Need detailed review, but maybe should be in parsing phase
250    
251     #vc-check-rmd Validity constraint: Standalone Document Declaration
252    
253     -->
254     </ul>
255     </div>
256    
257     <div class="section" id=checking-dom>
258     <h2>Checking <abbr>DOM</abbr></h2>
259    
260     <p>The following algorithms and definitions are applied to
261     <abbr>XML</abbr> documents; especially, they are not applied
262     to <abbr>HTML</abbr> documents.<!-- TODO: ref to HTML5 --></p>
263 wakaba 1.9
264     <div class=section id=definitions>
265     <h3>Definitions</h3>
266    
267 wakaba 1.1 <p>The <dfn id=xml-version><abbr>XML</abbr> version</dfn> of a node is
268     the <abbr>XML</abbr> version of the document to which the node belongs.
269     For a <code>Documemt</code> node, the <abbr>XML</abbr> version
270     of the document is the value of the <code>xmlVersion</code>
271 wakaba 1.9 attribute of the node. For a <code>DocumentType</code> node whose
272     <code>ownerDocument</code> attribute is set to <code>null</code>,
273     the <abbr>XML</abbr> version of the document is <code>1.0</code><!--
274     since createDocumentType [DOM3CORE] assumes XML 1.0 [XML10TE] -->.
275 wakaba 1.1 For any other node, the <abbr>XML</abbr> version of the document
276     is that of the <code>Document</code> node contained in the
277     <code>ownerDocument</code> attribute of the node.</p>
278    
279 wakaba 1.9 </div>
280    
281 wakaba 1.10
282     <div class=section id=checking-components>
283     <h3>Checking Components</h3>
284    
285     <p>The algorithm
286     <dfn id=algorithm-to-validate-an-xml-character-data title-"to validate an XML character data">to
287     validate an <abbr>XML</abbr> character data
288     (<dfn id=var-s><var>s</var></dfn>)</dfn> is defined as following:</p>
289     <ol>
290 wakaba 1.11 <li>If <var>s</var> contains a character that is <em>not</em> in
291     the character class <a href="#class-Char10"><code>Char10</code></a>,
292     then raise an
293     <a href="#xml-well-formedness-error" id=wfe-illegal-char><code>xml-well-formedness-error</code></a>.</li>
294     <li>If <var>s</var> contains a character that is in the character
295     class <a href="#class-CompatChar10"><code>CompatChar10</code></a>,
296     then raise an
297     <a href="#xml-misc-warning" id=xmw-compat-char><code>xml-misc-warning</code></a>.</li>
298     <li>If <var>s</var> contains a character that is in the character
299     class <a href="#class-ControlChar10"><code>ControlChar10</code></a>,
300     then raise an
301     <a href="#xml-misc-warning" id=xmw-control-char><code>xml-misc-warning</code></a>.</li>
302     <li class=ed>@@ XML 1.1 support</li>
303 wakaba 1.13 <li>If <var>s</var> contains a <code class=char>U+000D</code>
304     <code class=charname>CARRIAGE RETURN</code> character, then
305     raise a
306     <a href="#round-trip-error" id=rte-cr><code>round-trip-error</code></a>.
307     <span class=ed>@@ We should not raise duplicate errors for U+000D
308     in attribute values. In addition, we should support a mode where
309     U+000D will be serialized as &#x000D; (so that no round-trip-error
310     will be raised).</span></li>
311 wakaba 1.10 </ol>
312    
313     <p>The algorithm
314     <dfn id=algorithm-to-validate-a-name title="to validate a Name">to validate a
315 wakaba 1.12 <code>Name</code> (<dfn id=var-name-s><var>s</var></dfn>)</dfn> is defined
316 wakaba 1.10 as following:</p>
317     <ol>
318 wakaba 1.12 <li>If <var>s</var> begins with the string <code>xml</code> (in any
319     case combination), then raise an
320     <a href="#xml-misc-warning" id=xmw-reserved-name><code>xml-misc-warning</code></a>.
321     <span class=ed>@@ except for attribute names <code>xml:lang</code>,
322     <code>xml:space</code>, <code>xml:base</code>, <code>xml:id</code>,
323     <code>xmlns</code>, <code>xmlns:<var>*</var></code>,
324 wakaba 1.15 pi name <code>xml-stylesheet</code>.</span><!--
325     "names beginning with a match to (('X'|'x')('M'|'m')('L'|'l')) are reserved for standardization in this or future versions of this specification.":
326     xml:base and xml:id specifications violate to this sentense!
327     --></li>
328 wakaba 1.12 <!-- COLON in Name is a lowercase "should not" in a Note of [XML10],
329     [XML11]. -->
330 wakaba 1.10 <li class=ed>@@</li>
331     </ol>
332    
333     <p>The algorithm
334     <dfn id=algorithm-to-validate-a-ncname title="to validate an NCName">to
335     validate an <code>NCName</code> (<dfn id=var-name><var>name</var></dfn>)</dfn>
336     is defined as following:</p>
337     <ol>
338     <li class=ed>@@</li>
339     </ol>
340    
341     <p>To <dfn id=algorithm-to-validate-a-public-identifier title="validate a public identifier">validate
342     a public identifier (<dfn id=var-pid><var>pid</var></dfn>)</dfn>, the
343     algorithm below <em class=rfc2119>MUST</em> be used:</p>
344     <ol>
345     <li>If <var>pid</var> contains any character
346     that is outside of the range of <code>#x20 | #xD | #xA |
347     [a-zA-Z0-9] | [-'()+,./:=?;!*#@$_%]</code><!-- @@ TODO: formal def -->,
348     then it is an
349     <a href="#xml-well-formedness-error" id=wfe-pubid-char><code>xml-well-formedness-error</code></a>.</li>
350     <li>If <var>pid</var> contains one of <code class=char>U+0009</code>
351     <code class=charname>CHARACTER TABULATION</code>,
352     <code class=char>U+000A</code> <code class=charname>CARRIAGE RETURN</code>,
353     and <code class=char>U+000D</code> <code class=charname>LINE FEED</code>
354     characters, if the first character of <var>pid</var> is
355     <code class=char>U+0020</code> <code class=charname>SPACE</code> character,
356     if the last character of <var>pid</var> is <code class=char>U+0020</code>
357     <code class=charname>SPACE</code> character, or if there is a
358     <code class=char>U+0020</code> <code class=charname>SPACE</code> character
359     immediately followed by another <code class=char>U+0020</code>
360     <code class=charname>SPACE</code> character in <var>pid</var>, then it is a
361     <a href="#round-trip-error" id=rte-pubid-space><code>round-trip-error</code></a>.</li>
362     <li class=ed>@@ Should we check formal-public-identifierness?</li>
363     </ol>
364    
365     </div>
366    
367 wakaba 1.9 <div class=section id=checking-node>
368     <h3>Checking <code>Node</code></h3>
369    
370 wakaba 1.1 <p>The algorithm <dfn title="to check a node" id=algorithm-to-check-a-node>to
371     check a node (<dfn id=var-n><var>n</var></dfn>)</dfn> is defined as
372     following:</p>
373     <dl class=switch>
374     <dt>If <var>n</var> is an <code>Attr</code> node</dt>
375     <dd>
376     <ol>
377     <li><a href="#algorithm-to-validate-a-ncname">Validate the
378     <code>localName</code> attribute value as an <code>NCName</code></a>.</li>
379     <li>If the <code>prefix</code> attribute value is different from
380     <code>null</code>, then <a href="#algorithm-to-validate-a-ncname">validate
381     the <code>prefix</code> attribute value as an <code>NCName</code></a>.</li>
382 wakaba 1.8 <li>For each node <dfn id=var-attr-nc><var>n<sub><var>c</var></sub></var></dfn> in the
383 wakaba 1.4 <code>childNodes</code> list of <var>n</var>,
384 wakaba 1.8 <ol>
385     <li>If <var>n<sub><var>c</var></sub></var> is <em>not</em> a
386     <code>Text</code> or <code>EntityReference</code> node, then it is an
387     <a href="#xml-well-formedness-error" id=wfe-attr-child><code>xml-well-formedness-error</code></a>.</li>
388     <li>Otherwise, if <var>n<sub><var>c</var></sub></var> is an
389     <code>EntityReference</code> node, then it is an
390     <a href="#entity-error" id=ee-attr-er><code>entity-error</code></a>.</li>
391     <li>Otherwise,
392     <a href="#algorithm-to-check-a-node" title="check a node">check
393     <var>n<sub><var>c</var></sub></var></a> recusrively.</li>
394     </ol></li>
395 wakaba 1.13 <li>If <code>nodeName</code> attribute of <var>n</var> is
396     <code>xml:space</code> <span class=ed>@@ or {xml namespace}:space ?</span>
397     and <code>value</code> attribute of <var>n</var> is neither
398     <code>default</code> nor <code>preserve</code>, then it is an
399     <a href="#xml-misc-error" id=xme-attr-xml-space><code>xml-misc-error</code></a>.<!--
400     Note that <!ATTLIST e xml:space (default|preserve) "a">...
401     <e xml:space="default"/> is conforming and valid. --></li>
402     <li class=ed>@@ xml:lang value is not a language tag [RFC 3066 or its
403     successor] or an empty string, then xml-misc-warning
404     (a "fact"-level error; not an XML error).</li>
405 wakaba 1.1 <li class=ed>@@ <code>specified</code>,
406 wakaba 1.15 <code>manakaiAttributeType</code> (#ValueType Validity constraint: Attribute Value Type)</li>
407 wakaba 1.13 <!-- xml:space MUST be declared to be valid. -->
408 wakaba 1.1 </ol>
409     </dd>
410     <dt>If <var>n</var> is an <code>AttributeDefinition</code> node</dt>
411 wakaba 1.8 <dd>
412     <ol>
413     <li class=ed></li>
414 wakaba 1.13 <li>If <code>nodeName</code> attribute of <var>n</var> is
415     <code>xml:space</code> <span class=ed>@@ or {xml namespace}:space ?</span>
416     and <span class=ed>its declared type is different from (default|preserve),
417     (default), or (preserve)</span>, then raise an
418     <a href="#xml-misc-error" id=xme-at-xml-space><code>xml-misc-error</code></a>.</li>
419 wakaba 1.8 <li>For each node <dfn id=var-ad-nc><var>n<sub><var>c</var></sub></var></dfn> in the
420     <code>childNodes</code> list of <var>n</var>,
421     <ol>
422     <li>If <var>n<sub><var>c</var></sub></var> is <em>not</em> a
423     <code>Text</code> or <code>EntityReference</code> node, then it is an
424     <a href="#xml-well-formedness-error" id=wfe-at-child><code>xml-well-formedness-error</code></a>.</li>
425     <li>Otherwise, if <var>n<sub><var>c</var></sub></var> is an
426     <code>EntityReference</code> node, then it is an
427     <a href="#entity-error" id=ee-at-er><code>entity-error</code></a>.</li>
428     <li>Otherwise,
429     <a href="#algorithm-to-check-a-node" title="check a node">check
430     <var>n<sub><var>c</var></sub></var></a> recusrively.</li>
431     </ol></li>
432     </ol>
433     </dd>
434 wakaba 1.1 <dt>If <var>n</var> is a <code>CDATASection</code> node</dt>
435     <dd>
436     <ol>
437     <li><a href="#algorithm-to-validate-an-xml-character-data">Validate the
438     <code>data</code> attribute value as an <abbr>XML</abbr> character
439     data</a>.</li>
440     <li>If the <code>data</code> attribute value contains
441 wakaba 1.12 a string <code>]]></code>, then raise an
442     <a href="#xml-well-formedness-error" id=wfe-cs-mse><code>xml-well-formedness-error</code></a>.<!-- "for compatibility" --></li>
443 wakaba 1.1 <li>If the <code>childNodes</code> list of <var>n</var> contains
444     any nodes, they are in
445 wakaba 1.8 <a href="#xml-well-formedness-error" id=wfe-cs-child><code>xml-well-formedness-error</code></a>.</li>
446 wakaba 1.1 </ol>
447     </dd>
448     <dt>If <var>n</var> is a <code>Comment</code> node</dt>
449     <dd>
450     <ol>
451 wakaba 1.12 <li>Raise an
452     <a href="#round-trip-warning" id=rtw-comment><code>round-trip-warning</code></a>.</li>
453 wakaba 1.1 <li><a href="#algorithm-to-validate-an-xml-character-data">Validate the
454     <code>data</code> attribute value as an <abbr>XML</abbr> character
455     data</a>.</li>
456     <li>If the <code>data</code> attribute value contains
457     a string <code>--</code>, or if it ends with a character
458 wakaba 1.12 <code>-</code>, then raise an
459     <a href="#xml-well-formedness-error" id=wfe-comment-com><code>xml-well-formedness-error</code></a>.<!--
460     "for compatibility" --></li>
461 wakaba 1.1 <li>If the <code>childNodes</code> list of <var>n</var> contains
462     any nodes, they are in
463 wakaba 1.8 <a href="#xml-well-formedness-error" id=wfe-comment-child><code>xml-well-formedness-error</code></a>.</li>
464 wakaba 1.1 </ol>
465     </dd>
466     <dt>If <var>n</var> is a <code>Document</code> node</dt>
467     <dd>
468     <ol>
469     <li>If <a href="#xml-version"><abbr>XML</abbr> version</a> of <var>n</var>
470     is different from <code>1.0</code> or <code>1.1</code>,
471     then it is an <code class=ed>unknown-error?</code>.</li>
472     <li>If the <code>xmlEncoding</code> attribute value does <em>not</em>
473     match to <code>[A-Za-z] ([A-Za-z0-9._] | '-')*</code>
474 wakaba 1.8 <span class=ed>@@ formal def</span>, then it is an
475 wakaba 1.1 <a href="#xml-well-formedness-error" id=wfe-encoding><code>xml-well-formedness-error</code></a>.</li>
476     <li>The <code>childNodes</code> list of <var>n</var> have to
477     consist of zero or more <code>Comment</code> and/or
478     <code>ProcessingInstruction</code> nodes, followed by
479     an optional <code>DocumentType</code> node, followed
480     by zero or more <code>Comment</code> and/or
481     <code>ProcessingInstruction</code> nodes, followed by
482     an <code>Element</code> node, followed
483     by zero or more <code>Comment</code> and/or
484 wakaba 1.8 <code>ProcessingInstruction</code> nodes. Any violation to this is an
485 wakaba 1.1 <a href="#xml-well-formedness-error" id=wfe-document-child><code>xml-well-formedness-error</code></a>.</li>
486 wakaba 1.8 <li>For each node <dfn id=var-document-nc><var>n<sub><var>c</var></sub></var></dfn>
487     in the <code>childNodes</code> list of <var>n</var>,
488     <ol>
489     <li>If <var>n<sub><var>c</var></sub></var> is <em>not</em> an
490     <code>EntityReference</code> node, then
491     <a href="#algorithm-to-check-a-node" title="check a node">check
492     <var>n<sub><var>c</var></sub></var></a> recursively.</li>
493     </ol></li>
494 wakaba 1.1 <li class=ed>@@ <code>allDeclarationsProcessed</code></li>
495     </ol>
496     </dd>
497     <dt>If <var>n</var> is a <code>DocumentFragment</code> node</dt>
498     <dd>
499     <ol>
500 wakaba 1.8 <li>For each node <dfn id=var-df-nc><var>n<sub><var>c</var></sub></var></dfn>
501     in the <code>childNodes</code> list of <var>n</var>,
502     <ol>
503     <li>If <var>n<sub><var>c</var></sub></var> is <em>not</em> an
504     <code>Element</code>, <code>Text</code>, <code>CDATASection</code>,
505     <code>Comment</code>, <code>ProcessingInstruction</code>, or
506     <code>EntityReference</code> node, then it is an
507     <a href="#xml-well-formedness-error" id=wfe-df-child><code>xml-well-formedness-error</code></a>.</li>
508     <li>Otherwise, if <var>n<sub><var>c</var></sub></var> is an
509     <code>EntityReference</code> node, then it is an
510     <a href="#entity-error" id=ee-df-er><code>entity-error</code></a>.</li>
511     <li>Otherwise,
512     <a href="#algorithm-to-check-a-node" title="check a node">check
513     <var>n<sub><var>c</var></sub></var></a> recursively.</li>
514     </ol></li>
515 wakaba 1.1 </ol>
516     </dd>
517     <dt>If <var>n</var> is a <code>DocumentType</code> node</dt>
518     <dd>
519     <ol>
520     <li><a href="#algorithm-to-validate-a-ncname">Validate the
521     <code>nodeName</code> attribute value as an <code>NCName</code></a>.</li>
522 wakaba 1.13 <li>Follow the following substeps:
523     <ol>
524     <li>If <code>ownerDocument</code> attribute of <var>n</var> is
525     <code>null</code>, then abort these substeps.</li>
526     <li>If <code>documentElement</code> attribute of the node
527     set to <code>ownerDocument</code> attribute of <var>n</var> is
528     <code>null</code>, then abort these substeps.</li>
529     <li>If <code>nodeName</code> attribute of the node set to
530     <code>documentElement</code> attribute of the node set to
531     <code>ownerDocument</code> attribute of <var>n</var> is
532     different from <code>nodeName</code> of <var>n</var>,
533     then raise an
534     <a href="#xml-validity-error" id=vc-roottype><code>xml-validity-error</code></a>.</li></li>
535     </ol>
536     </li>
537 wakaba 1.5 <li><a href="#algorithm-to-validate-a-public-identifier" title="validate a public identifier">Validate
538     the <code>publicId</code> attribute value as a public identifier</a>.</li>
539 wakaba 1.1 <li>If the <code>systemId</code> attribute value contains
540     both <code>"</code> and <code>'</code> characters, it is a
541     <a href="#xml-well-formedness-error" id=wfe-dt-system-id><code>xml-well-formedness-error</code></a>.</li>
542     <!-- publicId = non-null and systemId = null -->
543 wakaba 1.8 <li>For each node <dfn id=var-dt-nc><var>n<sub><var>c</var></sub></var></dfn>
544     in the <code>childNodes</code> list of <var>n</var>,
545     <ol>
546     <li>If <var>n<sub><var>c</var></sub></var> is <em>not</em> a
547     <code>ProcessingInstruction</code> node, then it is an
548     <a href="#xml-well-formedness-error" id=wfe-dt-child><code>xml-well-formedness-error</code></a>.
549     <span class=ed>@@ ref to manakai's extensions</span></li>
550     <li>Otherwise, <!-- if n_c is not an EntityReference node, -->
551     <a href="#algorithm-to-check-a-node" title="check a node">check
552     <var>n<sub><var>c</var></sub></var></a> recusrively.</li>
553     </ol></li>
554 wakaba 1.1 <li class=ed>@@ <code>entities</code>, <code>notations</code>,
555     <code>elementTypes</code>, externally declared?</li>
556     </ol>
557     </dd>
558     <dt>If <var>n</var> is an <code>Element</code> node</dt>
559     <dd>
560     <ol>
561     <li><a href="#algorithm-to-validate-a-ncname">Validate the
562     <code>localName</code> attribute value as an <code>NCName</code></a>.</li>
563     <li>If the <code>prefix</code> attribute value is different from
564     <code>null</code>, then <a href="#algorithm-to-validate-a-ncname">validate
565     the <code>prefix</code> attribute value as an <code>NCName</code></a>.</li>
566 wakaba 1.8 <li>For each node <dfn id=var-element-nc><var>n<sub><var>c</var></sub></var></dfn>
567     in the <code>childNodes</code> list of <var>n</var>,
568     <ol>
569     <li>If <var>n<sub><var>c</var></sub></var> is <em>not</em> an
570     <code>Element</code>,
571     <code>Text</code>, <code>CDATASection</code>, <code>Comment</code>,
572     <code>ProcessingInstruction</code>, or
573     <code>EntityReference</code> node, then it is an
574     <a href="#xml-well-formedness-error" id=wfe-element-child><code>xml-well-formedness-error</code></a>.</li>
575     <li>Otherwise, if <var>n<sub><var>c</var></sub></var> is an
576     <code>EntityReference</code> node, then it is an
577     <a href="#entity-error" id=ee-element-er><code>entity-error</code></a>.</li>
578     <li>Otherwise,
579     <a href="#algorithm-to-check-a-node" title="check a node">check
580     <var>n<sub><var>c</var></sub></var></a> recursively.</li>
581     </ol></li>
582 wakaba 1.15 <li class=ed>@@ #elementvalid Validity constraint: Element Valid</li>
583     <li class=ed>@@ #uniqattspec Well-formedness constraint: Unique Att Spec</li>
584 wakaba 1.8 </ol>
585     </dd>
586     <dt>If <var>n</var> is an <code>ElementTypeDefinition</code> node</dt>
587     <dd>
588     <ol>
589     <li class=ed></li>
590 wakaba 1.1 <li>If the <code>childNodes</code> list of <var>n</var> contains
591 wakaba 1.8 any nodes, they are in
592     <a href="#xml-well-formedness-error" id=wfe-et-child><code>xml-well-formedness-error</code></a>.</li>
593 wakaba 1.1 </ol>
594     </dd>
595     <dt>If <var>n</var> is an <code>Entity</code> node</dt>
596     <dd>
597     <ol>
598     <li>An <a href="#entity-error" id=ee-entity-node><code>entity-error</code></a> <span class=ed>@@ if !notationName</span>.</li>
599     <li><a href="#algorithm-to-validate-a-ncname">Validate the
600     <code>nodeName</code> attribute value as an <code>NCName</code></a>.</li>
601 wakaba 1.5 <li><a href="#algorithm-to-validate-a-public-identifier" title="validate a public identifier">Validate
602     the <code>publicId</code> attribute value as a public identifier</a>.</li>
603 wakaba 1.1 <li>If the <code>systemId</code> attribute value contains
604     both <code>"</code> and <code>'</code> characters, it is a
605     <a href="#xml-well-formedness-error" id=wfe-dt-system-id><code>xml-well-formedness-error</code></a>.</li>
606     <!-- publicId = non-null and systemId = null -->
607     <li class=ed>@@ <code>notationName</code></li>
608 wakaba 1.8 <li>For each node <dfn id=var-entity-nc><var>n<sub><var>c</var></sub></var></dfn>
609     in the <code>childNodes</code> list of <var>n</var>,
610     <ol>
611     <li>If <var>n<sub><var>c</var></sub></var> is <em>not</em> an
612     <code>Element</code>,
613     <code>Text</code>, <code>CDATASection</code>, <code>Comment</code>,
614     <code>ProcessingInstruction</code>, or <code>EntityReference</code>
615     node, then it is an
616     <a href="#xml-well-formedness-error" id=wfe-entity-child><code>xml-well-formedness-error</code></a>.</li>
617     <li>Otherwise, if <var>n<sub><var>c</var></sub></var> is an
618     <code>EntityReference</code> node, then it is an
619     <a href="#entity-error" id=ee-er-er><code>entity-error</code></a>.</li>
620     <li>Otherwise,
621     <a href="#algorithm-to-check-a-node" title="check a node">check
622     <var>n<sub><var>c</var></sub></var></a> recursively.</li>
623     </ol></li>
624 wakaba 1.1 </ol>
625     </dd>
626     <dt>If <var>n</var> is an <code>EntityReference</code> node</dt>
627     <dd>
628     <ol>
629     <li>An <a href="#entity-error" id=ee-er-node><code>entity-error</code></a>.</li>
630     <li><a href="#algorithm-to-validate-a-ncname">Validate the
631     <code>nodeName</code> attribute value as an <code>NCName</code></a>.</li>
632 wakaba 1.8 <li>For each node <dfn id=var-er-nc><var>n<sub><var>c</var></sub></var></dfn>
633     in the <code>childNodes</code> list of <var>n</var>,
634     <ol>
635     <li>If <var>n<sub><var>c</var></sub></var> is <em>not</em> an
636     <code>Element</code>,
637     <code>Text</code>, <code>CDATASection</code>, <code>Comment</code>,
638     <code>ProcessingInstruction</code>, or <code>EntityReference</code>
639     node, then it is an
640     <a href="#xml-well-formedness-error" id=wfe-er-child><code>xml-well-formedness-error</code></a>.</li>
641     <li>Otherwise, if <var>n<sub><var>c</var></sub></var> is <em>not</em> an
642     <code>EntityReference</code> node, then it is an
643     <a href="#entity-error" id=ee-entity-er><code>entity-error</code></a>.</li>
644     <li>Otherwise,
645     <a href="#algorithm-to-check-a-node" title="check a node">check
646     <var>n<sub><var>c</var></sub></var></a> recursively.</li>
647     </ol></li>
648 wakaba 1.1 </ol>
649     </dd>
650     <dt>If <var>n</var> is a <code>Notation</code> node</dt>
651     <dd>
652     <ol>
653     <li><a href="#algorithm-to-validate-a-ncname">Validate the
654     <code>nodeName</code> attribute value as an <code>NCName</code></a>.</li>
655 wakaba 1.5 <li><a href="#algorithm-to-validate-a-public-identifier" title="validate a public identifier">Validate
656     the <code>publicId</code> attribute value as a public identifier</a>.</li>
657 wakaba 1.1 <li>If the <code>systemId</code> attribute value contains
658     both <code>"</code> and <code>'</code> characters, it is a
659     <a href="#xml-well-formedness-error" id=wfe-dt-system-id><code>xml-well-formedness-error</code></a>.</li>
660     <li>If the <code>childNodes</code> list of <var>n</var> contains
661     any nodes, they are in
662 wakaba 1.8 <a href="#xml-well-formedness-error" id=wfe-notation-child><code>xml-well-formedness-error</code></a>.</li>
663 wakaba 1.1 </ol>
664     </dd>
665     <dt>If <var>n</var> is a <code>ProcessingInstruction</code> node</dt>
666     <dd>
667     <ol>
668 wakaba 1.13 <li>If the <code>target</code> attribute value matches to the string
669     <code>xml</code> in any case combination, then raise a
670     <a href="#xml-well-formedness-error" id=wfe-pi-xml><code>xml-well-formedness-error</code></a>.</li>
671     <li>Otherwise, <a href="#algorithm-to-validate-a-ncname">validate the
672 wakaba 1.1 <code>target</code> attribute value as an <code>NCName</code></a>.</li>
673 wakaba 1.13 <li>Then,
674     <a href="#algorithm-to-validate-an-xml-character-data" title="validate an XML character data">validate
675     the <code>data</code> attribute value as an <abbr>XML</abbr> character
676 wakaba 1.1 data</a>.</li>
677 wakaba 1.13 <li>If the <code>data</code> attribute value contains a string
678     <code>?></code>, then raise a
679     <a href="#xml-well-formedness-error" id=wfe-pi-pic><code>xml-well-formedness-error</code></a>.</li>
680     <li>If the <code>data</code> attribute value starts with either
681     <code class=char>U+0009</code> <code class=charname>CHARACTER
682     TABULATION</code>, <code class=char>U+000A</code> <code class=charname>LINE
683     FEED</code>, <code class=char>U+000D</code> <code class=charname>CARRIAGE
684     RETURN</code>, or <code class=char>U+0020</code>
685     <code class=charname>SPACE</code> character, then raise a
686     <a href="#round-trip-error" id=rte-pi-s><code>round-trip-error</code></a>.</li>
687 wakaba 1.1 <li>If the <code>childNodes</code> list of <var>n</var> contains
688 wakaba 1.13 any nodes, then raise an
689 wakaba 1.8 <a href="#xml-well-formedness-error" id=wfe-pi-child><code>xml-well-formedness-error</code></a>.</li>
690 wakaba 1.1 </ol>
691     </dd>
692     <dt>If <var>n</var> is a <code>Text</code> node</dt>
693     <dd>
694     <ol>
695     <li><a href="#algorithm-to-validate-an-xml-character-data">Validate the
696     <code>data</code> attribute value as an <abbr>XML</abbr> character
697     data</a>.</li>
698     <li>If the <code>childNodes</code> list of <var>n</var> contains
699     any nodes, they are in
700 wakaba 1.8 <a href="#xml-well-formedness-error" id=wfe-text-child><code>xml-well-formedness-error</code></a>.</li>
701 wakaba 1.1 </ol>
702     </dd>
703     <dt>Otherwise</dt>
704     <dd><span class=ed>xml-well-formedness-error? unknown-error?</span></dd>
705     </dl>
706    
707 wakaba 1.11 </div>
708    
709     </div>
710    
711     <div id=classes class=section>
712     <h2>Character Classes</h2>
713    
714     <p>This section defines a couple of character classes.
715     These classes are referred to by algorithms specified above.</p>
716    
717     <p>Character class <dfn id=class-Char10><code>Char10</code></dfn>
718     contains the following characters:</p>
719     <ul>
720     <li><code class=char>U+0009</code> <code class=charname>CHARACTER
721     TABULATION</code></li>
722     <li><code class=char>U+000A</code> <code class=charname>LINE FEED</code></li>
723     <li><code class=char>U+000D</code> <code class=charname>CARRIAGE
724     RETURN</code></li>
725     <li><code class=char>U+0020</code> <code class=charname>SPACE</code>
726     .. <code class=char>U+D7FF</code></li>
727     <li><code class=char>U+E000</code> .. <code class=char>U+FFFD</code>
728     <code class=charname>REPLACEMENT CHARACTER</code></li>
729     <li><code class=char>U+10000</code> .. <code class=char>U+10FFFF</code></li>
730     </ul>
731     <div class="note memo">
732     <p>This character class contains all characters allowed in the production rule
733     <a href="http://www.w3.org/TR/2006/REC-xml-20060816/#NT-Char"><code>Char</code></a>
734     of <abbr>XML</abbr> 1.0
735     <cite class="bibref normative">[<a href="#ref-XML10">XML10</a>]</cite>.</p>
736     </div>
737    
738     <p>Character class <dfn id=class-CompatChar10><code>CompatChar10</code></dfn>
739     contains the following characters:</p>
740     <ul>
741     <li class=ed>@@ <q>Document authors are encouraged to avoid "compatibility characters", as defined in section 6.8 of [Unicode @@ Unicode 2.0 @@] (see also D21 in section 3.6 of [Unicode3]).</q></li>
742     </ul>
743    
744     <p>Character class <dfn id=class-ControlChar10><code>ControlChar10</code></dfn>
745     contains the following characters:</p>
746     <ul>
747     <li><code class=char>U+007F</code> <code class=charname>DELETE</code> ..
748     <code class=char>U+0084</code> <code class=charname>INDEX</code></li>
749     <li><code class=char>U+0086</code> <code class=charname>START OF SELECTED
750     AREA</code> .. <code class=char>U+009F</code> <code class=charname>APPLICATION
751     PROGRAM COMMAND</code></li>
752     <li><code class=char>U+FDD0</code> .. <code class=char>U+FDEF</code></li>
753     <li><code class=char>U+1FFFE</code> .. <code class=char>U+1FFFF</code></li>
754     <li><code class=char>U+2FFFE</code> .. <code class=char>U+2FFFF</code></li>
755     <li><code class=char>U+3FFFE</code> .. <code class=char>U+3FFFF</code></li>
756     <li><code class=char>U+4FFFE</code> .. <code class=char>U+4FFFF</code></li>
757     <li><code class=char>U+5FFFE</code> .. <code class=char>U+5FFFF</code></li>
758     <li><code class=char>U+6FFFE</code> .. <code class=char>U+6FFFF</code></li>
759     <li><code class=char>U+7FFFE</code> .. <code class=char>U+7FFFF</code></li>
760     <li><code class=char>U+8FFFE</code> .. <code class=char>U+8FFFF</code></li>
761     <li><code class=char>U+9FFFE</code> .. <code class=char>U+9FFFF</code></li>
762     <li><code class=char>U+AFFFE</code> .. <code class=char>U+AFFFF</code></li>
763     <li><code class=char>U+BFFFE</code> .. <code class=char>U+BFFFF</code></li>
764     <li><code class=char>U+CFFFE</code> .. <code class=char>U+CFFFF</code></li>
765     <li><code class=char>U+DFFFE</code> .. <code class=char>U+DFFFF</code></li>
766     <li><code class=char>U+EFFFE</code> .. <code class=char>U+EFFFF</code></li>
767     <li><code class=char>U+FFFFE</code> .. <code class=char>U+FFFFF</code></li>
768     <li><code class=char>U+10FFFE</code> .. <code class=char>U+10FFFF</code></li>
769     </ul>
770     <div class="note memo">
771     <p>This character class contains the characters listed in the Note in
772     <a href="http://www.w3.org/TR/2006/REC-xml-20060816/#charsets">Section 2.2</a>
773     of <abbr>XML</abbr> 1.0
774     <cite class="bibref normative">[<a href="#ref-XML10">XML10</a>]</cite>,
775     as amended by
776     <a href="http://www.w3.org/XML/xml-V10-4e-errata#E02">errata</a>.</p>
777 wakaba 1.1 </div>
778    
779     </div>
780    
781     <div id="references" class="section reference">
782     <h2>References</h2>
783    
784     <div id="normative-references" class="section normative reference">
785     <h3>Normative References</h3>
786    
787     <dl>
788 wakaba 1.3 <dt id=ref-DOM3CORE>DOM3CORE</dt>
789     <dd class=ed>@@ W3C DOM Level 3 Core</dd>
790     <dt id=ref-DOMDTDEF>DOMDTDEF</dt>
791     <dd class=ed>@@ manakai's extension to DOM for document type definitions</dd>
792 wakaba 1.1 <dt id="ref-KEYWORDS">KEYWORDS</dt>
793     <dd><cite><a href="urn:ietf:rfc:2119">Key words for use in
794     <abbr>RFCs</abbr> to Indicate Requirement Levels</a></cite>,
795     <abbr title="Internet Engineering Task Force">IETF</abbr>
796     <a href="urn:ietf:bcp:14"><abbr title="Best Current Practice">BCP</abbr>
797     14</a>, <abbr title="Request for Comments">RFC</abbr> 2119,
798     <time datetime=1997-03>March 1997</time>.
799     <em>This</em> version of the specification is referenced.</dd>
800     <dt id=ref-INFOSET>INFOSET</dt>
801     <dd class=ed>@@</dd>
802     <dt id=ref-XML10">XML10</dt>
803     <dd><cite><a href="http://www.w3.org/TR/2006/REC-xml-20060816">Extensible
804     Markup Language (<abbr>XML</abbr>) 1.0 (Fourth Edition)</a></cite>,
805     <abbr>W3C</abbr> Recommendation, <time datetime=2006-08-16>16 August
806     2006</time>, edited in place <time datetime=2006-09-29>29 September
807     2006</time>. Tje latest version of the specification is available at
808     <code class=uri>&lt;<a href="http://www.w3.org/TR/xml">http://www.w3.org/TR/xml</a>&gt;</code>.
809     <em>This</em> version of the specification is referenced.</dd>
810     <dt id=ref-XML11>XML11</dt>
811     <dd class=ed>@@</dd>
812     </dl>
813     </div>
814    
815     <div id="informative-references" class="section informative reference">
816     <h3>Non$B!>(Bnormative References</h3>
817    
818     <dl class=ed>
819     <dt id=ref-CSS>CSS</dt>
820     <dd><cite><a href="http://www.w3.org/TR/2007/CR-CSS21-20070719">Cascading
821     Style Sheets Level 2 Revision 1 (<abbr>CSS</abbr> 2.1)
822     Specification</a></cite>,
823     <abbr title="World Wide Web Consortium">W3C</abbr> Candidate
824     Recommendation, <time datetime=2007-07-19>19 July 2007</time>.
825     Work in progress. The latest version of the specification is
826     available at
827     <code class=URI>&lt;<a href="http://www.w3.org/TR/CSS21">http://www.w3.org/TR/CSS21</a>></code>.</dd>
828     <dt id=ref-CSSOM>CSSOM</dt>
829     <dd><cite><a href="http://dev.w3.org/cvsweb/~checkout~/csswg/cssom/Overview.html?rev=1.55&amp;content-type=text/html;%20charset=utf-8">Cascading
830     Style Sheets Object Model (<abbr>CSSOM</abbr>)</a></cite>,
831     <abbr title="World Wide Web Consortium">W3C</abbr> Editor's Draft,
832     <time datetime=2007-06-18>18 June 2007</time>. Work in progress.
833     The latest Editor's Draft of the specification is available at
834     <code class=URI>&lt;<a href="http://dev.w3.org/csswg/cssom/Overview.html">http://dev.w3.org/csswg/cssom/Overview.html</a>></code>.</dd>
835     <dt id=ref-HTML5>HTML5</dt>
836     <dd><cite><a href="http://whatwg.org/html5"><abbr>HTML</abbr> 5</a></cite>,
837     <abbr title="Web Hypertext Application Technology Working Group">WHATWG</abbr>
838     Working Draft. Work in progress.</dd>
839     <dt id=ref-SAPI>SAPI</dt>
840     <dd><cite><a href="http://dev.w3.org/cvsweb/~checkout~/2006/webapi/selectors-api/Overview.html?rev=1.28&amp;content-type=text/html;%20charset=utf-8">Selectors <abbr>API</abbr></a></cite>,
841     <abbr title="World Wide Web Consortium">W3C</abbr> Editor's Draft,
842     <time datetime=2007-08-29>29 August 2007</time>. Work in progress.
843     The latest Editor's Draft of the specification is available at
844     <code class=URI>&lt;<a href="http://dev.w3.org/2006/webapi/selectors-api/Overview.html">http://dev.w3.org/2006/webapi/selectors-api/Overview.html</a>></code>.
845     The latest published version of the specification is available at
846     <code class=URI>&lt;<a href="http://www.w3.org/TR/selectors-api/">http://www.w3.org/TR/selectors-api/</a>></code>.</dd>
847     <dt id=XBL2>XBL2</dt>
848     <dd><cite><a href="http://www.mozilla.org/projects/xbl/xbl2.html"><abbr>XBL</abbr>
849     2.0</a></cite>, Mozilla.org, <time datetime=2007-03-15>15 Mar 2007</time>.
850     Work in progress. The latest
851     <abbr title="World Wide Web Consortium">W3C</abbr>$B!>(Bpublished
852     version of the specification is available at
853     <code class=URI>&lt;<a href="http://www.w3.org/TR/xbl/">http://www.w3.org/TR/xbl/</a>></code>.</dd>
854 wakaba 1.3 <dt id=ref-XML5>XML5</dt>
855     <dd class=ed>@@</dd>
856 wakaba 1.1 </dl>
857     </div>
858    
859     </div>
860    
861     </body>
862     </html>

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24