1 |
<!DOCTYPE html> |
<!DOCTYPE html> |
2 |
<html lang="en" class="formal-specification status-work-in-progress"> |
<html lang="en" class="formal-specification"><!-- status-work-in-progress"--> |
3 |
<head> |
<head> |
4 |
<title>DOM Document Type Definition Module</title> |
<title>DOM Document Type Definition Module</title> |
5 |
<link rel="stylesheet" href="http://suika.fam.cx/www/style/html/spec"> |
<link rel="stylesheet" href="http://suika.fam.cx/www/style/html/spec"> |
10 |
|
|
11 |
<div class="header"> |
<div class="header"> |
12 |
<h1>DOM Document Type Definition Module</h1> |
<h1>DOM Document Type Definition Module</h1> |
13 |
<h2>Working Draft <time datetime=2007-12-08>8 December 2007</time></h2> |
<h2>First Edition <!-- Working Draft --> |
14 |
|
<time datetime=2007-12-09>9 December 2007</time></h2> |
15 |
|
|
16 |
<dl class="versions-uri"> |
<dl class="versions-uri"> |
17 |
<dt>This Version</dt> |
<dt>This Version</dt> |
18 |
|
<dd><code class="URI"><<a href="http://suika.fam.cx/www/markup/xml/domdtdef/domdtdef-20071209" |
19 |
|
>http://suika.fam.cx/www/markup/xml/domdtdef/domdtdef-20071209</a>></code></dd> |
20 |
|
<!-- |
21 |
<dd><code class="URI"><<a href="http://suika.fam.cx/www/markup/xml/domdtdef/domdtdef-work" |
<dd><code class="URI"><<a href="http://suika.fam.cx/www/markup/xml/domdtdef/domdtdef-work" |
22 |
>http://suika.fam.cx/www/markup/xml/domdtdef/domdtdef-work</a>></code></dd> |
>http://suika.fam.cx/www/markup/xml/domdtdef/domdtdef-work</a>></code></dd> |
23 |
|
--> |
24 |
<dt>Latest Version</dt> |
<dt>Latest Version</dt> |
25 |
<dd><code class="URI"><<a href="http://suika.fam.cx/www/markup/xml/domdtdef/domdtdef" |
<dd><code class="URI"><<a href="http://suika.fam.cx/www/markup/xml/domdtdef/domdtdef" |
26 |
>http://suika.fam.cx/www/markup/xml/domdtdef/domdtdef</a>></code></dd> |
>http://suika.fam.cx/www/markup/xml/domdtdef/domdtdef</a>></code></dd> |
67 |
<p class=section-info>This section describes the status of this document at the |
<p class=section-info>This section describes the status of this document at the |
68 |
time of its publication. Other documents might supersede this document.</p> |
time of its publication. Other documents might supersede this document.</p> |
69 |
|
|
70 |
<p>This document is a working draft, produced as part of the |
<p>This document is a specification<!-- working draft -->, |
71 |
<a href="http://suika.fam.cx/www/manakai-core/doc/web/">manakai</a> |
produced as part of the |
72 |
project. It might be updated, replaced, or obsoleted by |
<a href="http://suika.fam.cx/www/manakai-core/doc/web/">manakai</a> project. |
73 |
other documents at any time. It is inappropriate to |
It might be updated, replaced, or obsoleted by other documents at any time. |
74 |
cite this document as other than <q>work in progress</q>.</p> |
<!-- It is inappropriate to cite this document as other than |
75 |
|
<q>work in progress</q>. --></p> |
76 |
|
|
77 |
<p>Comments on this document are welcome and |
<p>Comments on this document are welcome and |
78 |
may be sent to the <a href="#author">author</a>.</p> |
may be sent to the <a href="#author">author</a>.</p> |
79 |
|
|
80 |
<p>Translations of thie document might be available. |
<p>Translations of this document might be available. |
81 |
The English version of the document is the only |
The English version of the document is the only |
82 |
normative version.</p> |
normative version.</p> |
83 |
</div> |
</div> |
110 |
<h3>Terminology</h3> |
<h3>Terminology</h3> |
111 |
|
|
112 |
<p>All examples and notes in this specification are non$B!>(Bnormative, |
<p>All examples and notes in this specification are non$B!>(Bnormative, |
113 |
as are all sections explicitly marked non$B!>(Bnormative. Everything |
as are all sections explicitly marked non$B!>(Bnormative.</p> |
114 |
else in this specification is normative.</p> |
|
115 |
|
<p class=ed>Known issues are marked like this. They are non$B!>(Bnormative. <!-- |
116 |
|
However, this paragraph itself is normative. One may argue that this paragraph |
117 |
|
is non$B!>(Bnormative, because this paragraph is marked as an editor's note. |
118 |
|
Anyway, the other editor's notes are non$B!>(Bnormative. --></p> |
119 |
|
|
120 |
|
<p>Everything else in this document is normative.</p> |
121 |
|
|
122 |
<p>The key words <q><em class="rfc2119">MUST</em></q>, |
<p>The key words <q><em class="rfc2119">MUST</em></q>, |
123 |
<q><em class="rfc2119">MUST NOT</em></q>, and <q><em class=rfc2119>MAY</em></q> |
<q><em class="rfc2119">MUST NOT</em></q>, and <q><em class=rfc2119>MAY</em></q> |
235 |
<abbr>DOM</abbr> Tree Converter</dt> |
<abbr>DOM</abbr> Tree Converter</dt> |
236 |
<dd>A software component that converts an <abbr>XML</abbr> information set |
<dd>A software component that converts an <abbr>XML</abbr> information set |
237 |
<cite class="bibref normative">[<a href="#ref-INFOSET">INFOSET</a>]</cite> |
<cite class="bibref normative">[<a href="#ref-INFOSET">INFOSET</a>]</cite> |
238 |
into a <abbr>DOM</abbr> tree. Note that this documetn does not define |
into a <abbr>DOM</abbr> tree. Note that this document does not define |
239 |
any particular way for the convertion, but it defines constraints for |
any particular way for the conversion, but it defines constraints for |
240 |
such processing.</dd> |
such processing.</dd> |
241 |
<dt id=category-dom-infoset><abbr>DOM</abbr> Tree to <abbr>XML</abbr> |
<dt id=category-dom-infoset><abbr>DOM</abbr> Tree to <abbr>XML</abbr> |
242 |
Information Set Converter</dt> |
Information Set Converter</dt> |
243 |
<dd>A software component that converts a <abbr>DOM</abbr> tree into |
<dd>A software component that converts a <abbr>DOM</abbr> tree into |
244 |
an <abbr>XML</abbr> information set. Note that this documetn does not define |
an <abbr>XML</abbr> information set. Note that this document does not define |
245 |
any particular way for the convertion, but it defines constraints for |
any particular way for the conversion, but it defines constraints for |
246 |
such processing.</dd> |
such processing.</dd> |
247 |
</dl> |
</dl> |
248 |
</div> |
</div> |
400 |
the values of the <code>DOMStringList</code> objects in the |
the values of the <code>DOMStringList</code> objects in the |
401 |
<a href="#allowedTokens"><code>allowedTokens</code></a> attributes |
<a href="#allowedTokens"><code>allowedTokens</code></a> attributes |
402 |
are equal, i.e. their <code>length</code> attribute values are equal and |
are equal, i.e. their <code>length</code> attribute values are equal and |
403 |
each string exists in a list is contained in another list (their indeces |
each string exists in a list is contained in another list (their indecies |
404 |
may be different), with an additional constraint that the number of the |
may be different), with an additional constraint that the number of the |
405 |
items that are equal to a string in a list is equal to the number |
items that are equal to a string in a list is equal to the number |
406 |
of the items equal to the string in another list.</p></li> |
of the items equal to the string in another list.</p></li> |
848 |
<a href="#read-only">read$B!>(Bonly</a>. Otherwise, it <em class=rfc2119>MUST</em> |
<a href="#read-only">read$B!>(Bonly</a>. Otherwise, it <em class=rfc2119>MUST</em> |
849 |
set the specified value as the value associated to the attribute. No |
set the specified value as the value associated to the attribute. No |
850 |
normalization, relative reference resolution, or lexical validation is |
normalization, relative reference resolution, or lexical validation is |
851 |
performed. <span class=ed>@@ If the new value is <code>null</code>, should an e |
performed. <span class=ed>@@ If the new value is <code>null</code>, should an |
852 |
mpty string be set?</span></p> |
empty string be set?</span></p> |
853 |
|
|
854 |
<div class="note memo"> |
<div class="note memo"> |
855 |
<p>Setting an invalid identifier might make the node unserializable. |
<p>Setting an invalid identifier might make the node unserializable. |
856 |
Setting a public identifier while leaveing system identifier unspecified |
Setting a public identifier while leaving system identifier unspecified |
857 |
would also make the <a href="#DocumentType"><code>DocumentType</code></a> |
would also make the <a href="#DocumentType"><code>DocumentType</code></a> |
858 |
or <a href="#Entity"><code>Entity</code></a> node unserializable.</p> |
or <a href="#Entity"><code>Entity</code></a> node unserializable.</p> |
859 |
</div> |
</div> |
1619 |
<p>The definition group |
<p>The definition group |
1620 |
<dfn id=DefaultValueType><code>DefaultValueType</code></dfn> |
<dfn id=DefaultValueType><code>DefaultValueType</code></dfn> |
1621 |
contains integers indicating the type of the default for the attribute. |
contains integers indicating the type of the default for the attribute. |
1622 |
The definition group contains the following constans:</p> |
The definition group contains the following constants:</p> |
1623 |
|
|
1624 |
<table> |
<table> |
1625 |
<thead> |
<thead> |
1858 |
<dt id=ref-DOM1WD>DOM1WD</dt> |
<dt id=ref-DOM1WD>DOM1WD</dt> |
1859 |
<dd><cite><a href="http://www.w3.org/TR/WD-DOM-971209/">Document Object |
<dd><cite><a href="http://www.w3.org/TR/WD-DOM-971209/">Document Object |
1860 |
Model Specification</a></cite>, <abbr>W3C</abbr> Working Draft, |
Model Specification</a></cite>, <abbr>W3C</abbr> Working Draft, |
1861 |
<time datetime=1997-12-09>9 December 1998</time>.</dd> |
<time datetime=1997-12-09>9 December 1997</time>.</dd> |
1862 |
<dd><cite><a href="http://www.w3.org/TR/WD-DOM-19980318/">Document Object |
<dd><cite><a href="http://www.w3.org/TR/WD-DOM-19980318/">Document Object |
1863 |
Model Specification</a></cite>, <abbr>W3C</abbr> Working Draft, |
Model Specification</a></cite>, <abbr>W3C</abbr> Working Draft, |
1864 |
<time datetime=1998-03-18>18 March 1998</time>.</dd> |
<time datetime=1998-03-18>18 March 1998</time>.</dd> |