88 |
over which <abbr>DOM</abbr> applications are able to access to the |
over which <abbr>DOM</abbr> applications are able to access to the |
89 |
definitions of the document type.</p> |
definitions of the document type.</p> |
90 |
|
|
91 |
<p>Interfaces defined in this specification are partially modeled from |
<p>Interfaces defined in this document are partially modeled and inspired by |
92 |
early drafts of <abbr>DOM</abbr> level 1 <span class=ed>@@ ref</span>, |
early drafts of <abbr>DOM</abbr> Level 1 |
93 |
<abbr>DOM</abbr> Abstract Schema level 3 <span class=ed>@@ ref</span>, and |
<cite class="bibref informative">[<a href="#ref-DOM1WD">DOM1WD</a>]</cite>, |
94 |
<abbr>XML</abbr> Schema <abbr>API</abbr>, but are not compatible with |
<abbr>DOM</abbr> Level 3 Abstract Schemas <abbr>W3C</abbr> Note |
95 |
any of them as a whole.</p> |
<cite class="bibref informative">[<a href="#ref-DOM3AS">DOM3AS</a>]</cite>, |
96 |
|
and <abbr>XML</abbr> Schema <abbr>API</abbr> specification |
97 |
|
<cite class="bibref informative">[<a href="#ref-XSAPI">XSAPI</a>]</cite>, but |
98 |
|
they are not compatible with any of them as a whole.</p> |
99 |
</div> |
</div> |
100 |
|
|
101 |
<div class="section" id=conformance> |
<div class="section" id=conformance> |
123 |
|
|
124 |
<p>Sometimes an exception is phrased as being required to be raised. As |
<p>Sometimes an exception is phrased as being required to be raised. As |
125 |
specified in the <abbr>DOM</abbr> Core specification |
specified in the <abbr>DOM</abbr> Core specification |
126 |
<span class=ed>[DOM3]</span>, |
<cite class="bibref normative">[<a href="#ref-DOM3CORE">DOM3CORE</a>]</cite>, |
127 |
when the value of the <code>strictErrorChecking</code> attribute of the |
when the value of the <code>strictErrorChecking</code> attribute of the |
128 |
<a href="#Document"><code>Document</code></a> node is <code>false</code>, |
<a href="#Document"><code>Document</code></a> node is <code>false</code>, |
129 |
then the exception is not have to be raised.</p> |
then the exception is not have to be raised.</p> |
140 |
<p>The construction <q>raise a <code><var>Bar</var></code></q>, where |
<p>The construction <q>raise a <code><var>Bar</var></code></q>, where |
141 |
<code><var>Bar</var></code> is an exception code, is used instead of the more |
<code><var>Bar</var></code> is an exception code, is used instead of the more |
142 |
accurate <q>raise an exception implementing the interface |
accurate <q>raise an exception implementing the interface |
143 |
<code>DOMException</code> <span class=ed>[DOM3]</span> with its |
<code>DOMException</code> |
144 |
<code>code</code> attribute set to <code><var>Bar</var></code></q>.</p> |
<cite class="bibref normative">[<a href="#ref-DOM3CORE">DOM3CORE</a>]</cite> |
145 |
|
with its <code>code</code> attribute set to |
146 |
|
<code><var>Bar</var></code></q>.</p> |
147 |
|
|
148 |
|
<p>The terms |
149 |
|
<em id=live><a href="http://www.whatwg.org/specs/web-apps/current-work/#live">live</a></em> |
150 |
|
and <em id=setting>setting</em> and <em id=getting>getting</em> of an attribute |
151 |
|
is defined in the HTML5 specification |
152 |
|
<cite class="bibref normative">[<a href="#ref-HTML5">HTML5</a>]</cite>.</p> |
153 |
|
|
154 |
<p>The term |
<p>The term |
155 |
<q id=live><a href="http://www.whatwg.org/specs/web-apps/current-work/#live">live</a></q> |
<em id=read-only><a href="http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/glossary.html#dt-readonly-node">read$B!>(Bonly (node)</a></em> |
156 |
is defined in the HTML5 specification <span class=ed>[HTML5]</span>.</p> |
is defined in the <abbr>DOM</abbr> Level 3 Core specification |
157 |
|
<cite class="bibref normative">[<a href="#ref-DOM3CORE">DOM3CORE</a>]</cite>.</p> |
158 |
<p class=ed>@@ ref to DOM Binding Spec</p> |
|
159 |
|
<p>The <em id=idl-fragment><abbr>IDL</abbr> fragments</em> in this document are |
160 |
|
to be interpreted as described in the <cite>Language Bindings for |
161 |
|
<abbr>DOM</abbr> Specifications</cite> specification |
162 |
|
<cite class="bibref normative">[<a href="#ref-DOMBIND">DOMBIND</a>]</cite>.</p> |
163 |
|
|
164 |
|
<p>Some <abbr>IDL</abbr> fragments are presented as <i>patch</i> to an |
165 |
|
<abbr>IDL</abbr> fragment defined in another document. They are to be |
166 |
|
interpreted as an instance of |
167 |
|
<a href="http://www.w3.org/TR/2007/WD-DOM-Bindings-20071017/#proddef-InterfaceMembers"><code>InterfaceMembers</code></a> |
168 |
|
<cite class="bibref normative">[<a href="#ref-DOMBIND">DOMBIND</a>]</cite>. |
169 |
|
If the <abbr>IDL</abbr> fragment to which the <i>patch</i> is applied has any |
170 |
|
instance of |
171 |
|
<a href="http://www.w3.org/TR/2007/WD-DOM-Bindings-20071017/#proddef-InterfaceMember"><code>InterfaceMember</code></a> |
172 |
|
with same |
173 |
|
<a href="http://www.w3.org/TR/2007/WD-DOM-Bindings-20071017/#prod-identifier"><code>identifier</code></a> |
174 |
|
part as that of any instance of |
175 |
|
<a href="http://www.w3.org/TR/2007/WD-DOM-Bindings-20071017/#proddef-InterfaceMember"><code>InterfaceMember</code></a> |
176 |
|
in the <i>patch</i>, then the former instance of |
177 |
|
<a href="http://www.w3.org/TR/2007/WD-DOM-Bindings-20071017/#proddef-InterfaceMember"><code>InterfaceMember</code></a> |
178 |
|
<em class=rfc2119>MUST</em> be ignored.</p> |
179 |
</div> |
</div> |
180 |
|
|
181 |
<div class=section id=conformance-categories> |
<div class=section id=conformance-categories> |
191 |
by this and other documents. Unless otherwise noted, requirements in this |
by this and other documents. Unless otherwise noted, requirements in this |
192 |
document are applied to <abbr>DOM</abbr> implementations. To implement |
document are applied to <abbr>DOM</abbr> implementations. To implement |
193 |
all the features in this document, the implementation have to implement |
all the features in this document, the implementation have to implement |
194 |
some version of <abbr>DOM</abbr> Core (e.g. <abbr>DOM</abbr> level 3 |
some version of <abbr>DOM</abbr> Core (e.g. <abbr>DOM</abbr> Level 3 Core |
195 |
<span class=ed>[DOM3]</span>) with one or more language binding (e.g. |
<cite class="bibref normative">[<a href="#ref-DOM3CORE">DOM3CORE</a>]</cite>) |
196 |
ECMAScript or Java binding <span class=ed>[BINDINGS]</span> or |
with one or more language binding (e.g. ECMAScript and Java bindings |
197 |
Perl binding <span class=ed>[PERLBINDING]</span>).</dd> |
<cite class="bibref normative">[<a href="#ref-DOMBIND">DOMBIND</a>]</cite> |
198 |
|
or Perl binding |
199 |
|
<cite class="bibref normative">[<a href="#ref-DOMPERL">DOMPERL</a>]</cite>). |
200 |
|
A conforming implementation <em class=rfc2119>MUST</em> also be a |
201 |
|
<a href="http://www.w3.org/TR/2007/WD-DOM-Bindings-20071017/#dfn-conforming-implementation">conforming |
202 |
|
implementation</a> of the <abbr>IDL</abbr> fragments in this document, as |
203 |
|
described in the <cite>Language Bindings for <abbr>DOM</abbr> |
204 |
|
Specifications</cite> specification |
205 |
|
<cite class="bibref normative">[<a href="#ref-DOMBIND">DOMBIND</a>]</cite>.</dd> |
206 |
<dt id=category-xml-parser><abbr>XML</abbr> Parser (<abbr>XML</abbr> document |
<dt id=category-xml-parser><abbr>XML</abbr> Parser (<abbr>XML</abbr> document |
207 |
to <abbr>DOM</abbr> tree converter)</dt> |
to <abbr>DOM</abbr> tree converter)</dt> |
208 |
<dd>A software component that converts |
<dd>A software component that converts |
209 |
<abbr>XML</abbr> 1.0 or 1.1 document (or fragment thereof) into a |
<abbr>XML</abbr> 1.0 or 1.1 document |
210 |
|
<cite class="bibref normative">[<a href="#ref-XML10">XML10</a>, |
211 |
|
<a href="#ref-XML11">XML11</a>]</cite> (or fragment thereof) into a |
212 |
<abbr>DOM</abbr> tree (or fragment thereof) in the context of this |
<abbr>DOM</abbr> tree (or fragment thereof) in the context of this |
213 |
document. Note that this document does not define any particular way to |
document. Note that this document does not define any particular way to |
214 |
parse an <abbr>XML</abbr> document or to construct an <abbr>DOM</abbr> |
parse an <abbr>XML</abbr> document or to construct an <abbr>DOM</abbr> |
223 |
<dt id=category-infoset-dom><abbr>XML</abbr> Information Set to |
<dt id=category-infoset-dom><abbr>XML</abbr> Information Set to |
224 |
<abbr>DOM</abbr> Tree Converter</dt> |
<abbr>DOM</abbr> Tree Converter</dt> |
225 |
<dd>A software component that converts an <abbr>XML</abbr> information set |
<dd>A software component that converts an <abbr>XML</abbr> information set |
226 |
|
<cite class="bibref normative">[<a href="#ref-INFOSET">INFOSET</a>]</cite> |
227 |
into a <abbr>DOM</abbr> tree. Note that this documetn does not define |
into a <abbr>DOM</abbr> tree. Note that this documetn does not define |
228 |
any particular way for the convertion, but it defines constraints for |
any particular way for the convertion, but it defines constraints for |
229 |
such processing.</dd> |
such processing.</dd> |
251 |
<a href="#Document"><code>Document</code></a>, |
<a href="#Document"><code>Document</code></a>, |
252 |
<a href="#DocumentType"><code>DocumentType</code></a>, |
<a href="#DocumentType"><code>DocumentType</code></a>, |
253 |
<a href="#Entity"><code>Entity</code></a>, and |
<a href="#Entity"><code>Entity</code></a>, and |
254 |
<a href="#Notation"><code>Notation</code></a>.</p> |
<a href="#Notation"><code>Notation</code></a> |
255 |
|
<cite class="bibref normative">[<a href="#ref-DOM3CORE">DOM3CORE</a>]</cite>.</p> |
256 |
|
|
257 |
<div class=section id=features> |
<div class=section id=features> |
258 |
<h3>Feature String</h3> |
<h3>Feature String</h3> |
260 |
<p>In a <abbr>DOM</abbr> implementation that supports the version 3.0 of |
<p>In a <abbr>DOM</abbr> implementation that supports the version 3.0 of |
261 |
the <abbr>DOM</abbr> Document Type Definition module, the |
the <abbr>DOM</abbr> Document Type Definition module, the |
262 |
<code>hasFeature</code> method of a <code>DOMImplementation</code> object |
<code>hasFeature</code> method of a <code>DOMImplementation</code> object |
263 |
|
<cite class="bibref normative">[<a href="#ref-DOM3CORE">DOM3CORE</a>]</cite> |
264 |
<em class=rfc2119>MUST</em> return <code>true</code> when the parameters are |
<em class=rfc2119>MUST</em> return <code>true</code> when the parameters are |
265 |
set to |
set to |
266 |
<dfn id=feature-XDoctype><code>http://suika.fam.cx/www/2006/feature/XDoctype</code></dfn> |
<dfn id=feature-XDoctype><code>http://suika.fam.cx/www/2006/feature/XDoctype</code></dfn> |
275 |
|
|
276 |
<p>The implementation of the |
<p>The implementation of the |
277 |
<a href="#Node"><code>Node</code></a> interface |
<a href="#Node"><code>Node</code></a> interface |
278 |
<em class=rfc2119>MUST</em> be modified as following:</p> |
<em class=rfc2119>MUST</em> be modified as the following |
279 |
|
<a href="#idl-fragment"><abbr>IDL</abbr> fragment</a>:</p> |
280 |
<pre class=idl><code>// Additions to the Node interface |
<pre class=idl><code>// Additions to the Node interface |
281 |
|
|
282 |
// Additions to the NodeType definition group |
// Additions to the NodeType definition group |
343 |
and at least one of them has the support for the feature |
and at least one of them has the support for the feature |
344 |
<a href="#feature-XDoctype"><code>http://suika.fam.cx/www/2006/feature/XDoctype</code></a>:</p> |
<a href="#feature-XDoctype"><code>http://suika.fam.cx/www/2006/feature/XDoctype</code></a>:</p> |
345 |
<ul> |
<ul> |
346 |
<li>they are equal according to <abbr>DOM</abbr> level 3 definition |
<li>they are equal according to <abbr>DOM</abbr> Level 3 Core definition |
347 |
<span class=ed>@@ ref</span>, and |
<cite class="bibref normative">[<a href="#ref-DOM3CORE">DOM3CORE</a>]</cite>, |
348 |
|
and |
349 |
<li>either: |
<li>either: |
350 |
<ul><!-- |
<ul><!-- |
351 |
<li>both of them does not support the feature |
<li>both of them does not support the feature |
409 |
</dd> |
</dd> |
410 |
<dt><code id=nodeType>nodeType</code></dt> |
<dt><code id=nodeType>nodeType</code></dt> |
411 |
<dd> |
<dd> |
412 |
<p>On getting, the attribute <em class=rfc2119>MUST</em> return |
<p>On getting, the attribute <!--<em class=rfc2119>MUST</em>--> returns |
413 |
|
<!-- NOTE: No MUST, to avoid circular reference (nodeType==8100[12] |
414 |
|
is defined that they MUST implement ElementType|AttributeDefinition). --> |
415 |
<a href="#ELEMENT_TYPE_DEFINITION_NODE"><code>ELEMENT_TYPE_DEFINITION_NODE</code></a> |
<a href="#ELEMENT_TYPE_DEFINITION_NODE"><code>ELEMENT_TYPE_DEFINITION_NODE</code></a> |
416 |
(if the node is an |
(if the node is an |
417 |
<a href="#ElementTypeDefinition"><code>ElementTypeDefinition</code></a>) or |
<a href="#ElementTypeDefinition"><code>ElementTypeDefinition</code></a>) or |
447 |
On getting, the attributes <em class=rfc2119>MUST</em> return |
On getting, the attributes <em class=rfc2119>MUST</em> return |
448 |
<code>null</code>.</p> |
<code>null</code>.</p> |
449 |
|
|
450 |
<div class="note memo"> |
<div class="note memo"> |
451 |
<p>Thus, on setting the attributes does nothing |
<p>Thus, on setting the attributes does nothing |
452 |
<span class=ed>[DOM3]</span>.</p> |
<cite class="bibref normative">[<a href="#ref-DOM3CORE">DOM3CORE</a>]</cite>.</p> |
453 |
</div> |
</div> |
|
|
|
|
<p>On setting, the <a href="#textContent"><code>textContent</code></a> |
|
|
attribute <em class=rfc2119>MUST NOT</em> raise a |
|
|
<code>NO_MODIFICATION_ALLOWED_ERR</code> <span class=ed>@@ ref</span>. |
|
|
<span class=ed>@@ I forgot why this requirement is necessary.</span></p> |
|
454 |
|
|
455 |
<p>If the node is an |
<p>If the node is an |
456 |
<a href="#AttributeDefinition"><code>AttributeDefinition</code></a>: |
<a href="#AttributeDefinition"><code>AttributeDefinition</code></a>: |
457 |
The attribute <em class=rfc2119>MUST</em> behave as if the node |
The attribute <em class=rfc2119>MUST</em> behave as if the node |
458 |
were <code>Attr</code> <span class=ed>[DOM3]</span>.</p></dd> |
were <code>Attr</code> |
459 |
|
<cite class="bibref normative">[<a href="#ref-DOM3CORE">DOM3CORE</a>]</cite>.</p></dd> |
460 |
<dt><code id=normalize>normalize</code></dt> |
<dt><code id=normalize>normalize</code></dt> |
461 |
<dd><p>When a <a href="#DocumentType"><code>DocumentType</code></a> is |
<dd><p>When a <a href="#DocumentType"><code>DocumentType</code></a> is |
462 |
normalized, any nodes in the <code>NamedNodeMap</code> object in the |
normalized, any nodes in the <code>NamedNodeMap</code> object in the |
518 |
and <a href="#feature-XDoctype-3.0"><code>3.0</code></a> respectively (if the |
and <a href="#feature-XDoctype-3.0"><code>3.0</code></a> respectively (if the |
519 |
<a href="#Document"><code>Document</code></a> node supports the |
<a href="#Document"><code>Document</code></a> node supports the |
520 |
feature <code>Core</code> version <code>3.0</code> |
feature <code>Core</code> version <code>3.0</code> |
521 |
<span class=ed>[DOM3]</span>).</p> |
<cite class="bibref normative">[<a href="#ref-DOM3CORE">DOM3CORE</a>]</cite>).</p> |
522 |
|
|
523 |
<p>The <a href="#DocumentXDoctype"><code>DocumentXDoctype</code></a> interface |
<p>The <a href="#DocumentXDoctype"><code>DocumentXDoctype</code></a> interface |
524 |
<em class=rfc2119>MUST</em> be implemented as following:</p> |
<em class=rfc2119>MUST</em> be implemented as the following |
525 |
|
<a href="#idl-fragment"><abbr>IDL</abbr> fragment</a>:</p> |
526 |
<pre class=idl><code>interface <dfn id=DocumentXDoctype><code>DocumentXDoctype</code></dfn> { |
<pre class=idl><code>interface <dfn id=DocumentXDoctype><code>DocumentXDoctype</code></dfn> { |
527 |
DocumentType <a href="#createDocumentTypeDefinition">createDocumentTypeDefinition</a> |
DocumentType <a href="#createDocumentTypeDefinition">createDocumentTypeDefinition</a> |
528 |
(in DOMString <a href="#createDocumentTypeDefinition-name"><var>name</var></a>) |
(in DOMString <a href="#createDocumentTypeDefinition-name"><var>name</var></a>) |
547 |
<dd> |
<dd> |
548 |
<p>This method creates a <code>DocumentType</code> node with the specified |
<p>This method creates a <code>DocumentType</code> node with the specified |
549 |
name, belonging to the document.</p> |
name, belonging to the document.</p> |
550 |
<p>The <dfn id=createDocumentTypeDefinition-name class=dom-param><var>name</var></dfn> |
<p>The |
551 |
|
<dfn id=createDocumentTypeDefinition-name class=dom-param><var>name</var></dfn> |
552 |
parameter is the name of the document type.</p> |
parameter is the name of the document type.</p> |
553 |
|
|
554 |
<p>When invoked, the method <em class=rfc2119>MUST</em> create and |
<p>When invoked, the method <em class=rfc2119>MUST</em> create and |
555 |
return a <code>DocumentType</code> node with the following attributes:</p> |
return a <a href="#DocumentType"><code>DocumentType</code></a> node with |
556 |
|
the following attributes:</p> |
557 |
<dl> |
<dl> |
558 |
<dt><code>attributes</code>, <code>parentNode</code></dt> |
<dt><code>attributes</code>, <code>parentNode</code></dt> |
559 |
<dd><code>null</code>.</dd> |
<dd><code>null</code>.</dd> |
560 |
<dt><code>elementTypes</code>, <code>generalEntities</code>, and |
<dt><a href="#elementTypes"><code>elementTypes</code></a>, |
561 |
<code>notations</code></dt> |
<a href="#entities"><code>entities</code></a>, and |
562 |
<dd>Empty <code>NamedNodeMap</code> objects.</dd> |
<a href="#notations"><code>notations</code></a></dt> |
563 |
<dt><code>entities</code></dt> |
<dd>Empty <code>NamedNodeMap</code> objects respectively.</dd> |
|
<dd>The same value as the <code>generalEntities</code> attribute.</dd> |
|
564 |
<dt><code>childNodes</code></dt> |
<dt><code>childNodes</code></dt> |
565 |
<dd>An empty <code>NodeList</code> object.</dd> |
<dd>An empty <code>NodeList</code> object.</dd> |
566 |
<dt><code>internalSubset</code>, <code>publicId</code>, and |
<dt><a href="#internalSubset"><code>internalSubset</code></a>, |
567 |
<code>systemId</code></dt> |
<a href="#publicId"><code>publicId</code></a>, and |
568 |
|
<a href="#systemId"><code>systemId</code></a></dt> |
569 |
<dd>Empty strings.</dd> |
<dd>Empty strings.</dd> |
570 |
<dt><code>manakaiReadOnly</code> <span class=ed>[manakai]</span></dt> |
<dt><code>manakaiReadOnly</code> <span class=ed>[manakai]</span></dt> |
571 |
<dd><code>false</code>.</dd> |
<dd><code>false</code>.</dd> |
572 |
<dt><code>nodeName</code></dt> |
<dt><code>nodeName</code></dt> |
573 |
<dd><a href="#createDocumentTypeDefinition-name"><var>name</var></a>.</dd> |
<dd><a href="#createDocumentTypeDefinition-name"><var>name</var></a>.</dd> |
574 |
<dt><code>ownerDocument</code></dt> |
<dt><code>ownerDocument</code></dt> |
575 |
<dd>The <code>Document</code> over which the method is invoked.</dd> |
<dd>The <a href="#Document"><code>Document</code></a> node over which the |
576 |
|
method is invoked.</dd> |
577 |
</dl> |
</dl> |
578 |
<p>In addition, the method <em class=rfc2119>MUST</em> be marked as |
<p>In addition, the method <em class=rfc2119>MUST</em> be marked as |
579 |
containing five general entity declarations: <code>amp</code>, |
containing five general entity declarations: <code>amp</code>, |
596 |
<dl> |
<dl> |
597 |
<dt><a href="#attributeDefinitions"><code>attributeDefinitions</code></a></dt> |
<dt><a href="#attributeDefinitions"><code>attributeDefinitions</code></a></dt> |
598 |
<dd>An empty <code>NamedNodeMap</code> object.</dd> |
<dd>An empty <code>NamedNodeMap</code> object.</dd> |
599 |
<dt><code>attributes</code>, <code>parentNode</code></dt> |
<dt><a href="#attributes"><code>attributes</code></a>, |
600 |
|
<code>parentNode</code></dt> |
601 |
<dd><code>null</code>.</dd> |
<dd><code>null</code>.</dd> |
602 |
<dt><code>childNodes</code></dt> |
<dt><code>childNodes</code></dt> |
603 |
<dd>An empty <code>NodeList</code> object.</dd> |
<dd>An empty <code>NodeList</code> object.</dd> |
604 |
<dt><code>manakaiReadOnly</code> <span class=ed>[manakai]</span></dt> |
<dt><code>manakaiReadOnly</code> <span class=ed>[manakai]</span></dt> |
605 |
<dd><code>false</code>.</dd> |
<dd><code>false</code>.</dd> |
606 |
<dt><code>nodeName</code></dt> |
<dt><a href="#nodeName"><code>nodeName</code></a></dt> |
607 |
<dd><a href="#createElementTypeDefinition-name"><var>name</var></a>.</dd> |
<dd><a href="#createElementTypeDefinition-name"><var>name</var></a>.</dd> |
608 |
<dt><code>ownerDocument</code></dt> |
<dt><code>ownerDocument</code></dt> |
609 |
<dd>The <code>Document</code> node over which the method is invoked.</dd> |
<dd>The <code>Document</code> node over which the method is invoked.</dd> |
626 |
<a href="#AttributeDefinition"><code>AttributeDefinition</code></a> |
<a href="#AttributeDefinition"><code>AttributeDefinition</code></a> |
627 |
node with the following attributes:</p> |
node with the following attributes:</p> |
628 |
<dl> |
<dl> |
629 |
<dt><code>allowedTokens</code></dt> |
<dt><a href="#allowedTokens"><code>allowedTokens</code></a></dt> |
630 |
<dd>An empty <code>DOMStringList</code> object.</dd> |
<dd>An empty <code>DOMStringList</code> object.</dd> |
631 |
<dt><code>attributes</code>, |
<dt><a href="#attributes"><code>attributes</code></a>, |
632 |
<a href="#ownerElementTypeDefinition"><code>ownerElementTypeDefinition</code></a>, |
<a href="#ownerElementTypeDefinition"><code>ownerElementTypeDefinition</code></a>, |
633 |
and <code>parentNode</code></dt> |
and <code>parentNode</code></dt> |
634 |
<dd><code>null</code>.</dd> |
<dd><code>null</code>.</dd> |
635 |
<dt><code>childNodes</code></dt> |
<dt><code>childNodes</code></dt> |
636 |
<dd>An empty <code>NodeList</code> object.</dd> |
<dd>An empty <code>NodeList</code> object.</dd> |
637 |
<dt><code>declaredType</code></dt> |
<dt><a href="#declaredType"><code>declaredType</code></a></dt> |
638 |
<dd><a href="#NO_TYPE_ATTR"><code>NO_TYPE_ATTR</code></a>.</dd> |
<dd><a href="#NO_TYPE_ATTR"><code>NO_TYPE_ATTR</code></a>.</dd> |
639 |
<dt><code>defaultType</code></dt> |
<dt><a href="#defaultType"><code>defaultType</code></a></dt> |
640 |
<dd><a href="#UNKNOWN_DEFAULT"><code>UNKNOWN_DEFAULT</code></a>.</dd> |
<dd><a href="#UNKNOWN_DEFAULT"><code>UNKNOWN_DEFAULT</code></a>.</dd> |
641 |
<dt><code>manakaiReadOnly</code> <span class=ed>[manakai]</span></dt> |
<dt><code>manakaiReadOnly</code> <span class=ed>[manakai]</span></dt> |
642 |
<dd><code>false</code>.</dd> |
<dd><code>false</code>.</dd> |
643 |
<dt><code>nodeName</code></dt> |
<dt><a href="#nodeName"><code>nodeName</code></a></dt> |
644 |
<dd><a href="#createAttributeDefinition-name"><var>name</var></a>.</dd> |
<dd><a href="#createAttributeDefinition-name"><var>name</var></a>.</dd> |
645 |
<dt><code>ownerDocument</code></dt> |
<dt><code>ownerDocument</code></dt> |
646 |
<dd>The <code>Document</code> node over which the method is invoked.</dd> |
<dd>The <code>Document</code> node over which the method is invoked.</dd> |
647 |
<dt class=ed>@@ Ensure all attributes are defined</dt> |
<dt class=ed>@@ Ensure all attributes are defined</dt> |
648 |
</dl> |
</dl> |
649 |
|
|
650 |
|
<!-- This requirement, if not droped, should be part of xml-id spec. |
651 |
<div class=ed> |
<div class=ed> |
652 |
<p>@@ Should we keep these statements?: |
<p>@@ Should we keep these statements?: |
653 |
However, if the <cfg::cfg|xml-id> configuration |
However, if the <cfg::cfg|xml-id> configuration |
655 |
is <code>xml:id</code>, then the [CODE(DOMa)@en[[[declaredType]]]] |
is <code>xml:id</code>, then the [CODE(DOMa)@en[[[declaredType]]]] |
656 |
attribute is set to <code>ID_ATTR</code>. |
attribute is set to <code>ID_ATTR</code>. |
657 |
[CODE(DOMa)@en[[[defaultType]]]]?</p> |
[CODE(DOMa)@en[[[defaultType]]]]?</p> |
658 |
</div> |
</div>--> |
659 |
</dd> |
</dd> |
660 |
<dt><dfn id=createGeneralEntity class=dom-method><code>createGeneralEntity</code></dfn>, |
<dt><dfn id=createGeneralEntity class=dom-method><code>createGeneralEntity</code></dfn>, |
661 |
method</dt> |
method</dt> |
670 |
an <a href="#Entity"><code>Entity</code></a> node with the following |
an <a href="#Entity"><code>Entity</code></a> node with the following |
671 |
attributes:</p> |
attributes:</p> |
672 |
<dl> |
<dl> |
673 |
<dt><code>attributes</code>, <code>notationName</code>, |
<dt><code>attributes</code>, |
674 |
|
<a href="#notationName"><code>notationName</code></a>, |
675 |
<a href="#ownerDocumentTypeDefinition"><code>ownerDocumentTypeDefinition</code></a>, |
<a href="#ownerDocumentTypeDefinition"><code>ownerDocumentTypeDefinition</code></a>, |
676 |
and <code>parentNode</code></dt> |
and <code>parentNode</code></dt> |
677 |
<dd><code>null</code>.</dd> |
<dd><code>null</code>.</dd> |
700 |
</dd> |
</dd> |
701 |
<dt><code>ownerDocument</code></dt> |
<dt><code>ownerDocument</code></dt> |
702 |
<dd>The <code>Document</code> node over which the method is invoked.</dd> |
<dd>The <code>Document</code> node over which the method is invoked.</dd> |
703 |
<dt><code>publicId</code>, and <code>systemId</code></dt> |
<dt><a href="#publicId"><code>publicId</code></a> and |
704 |
|
<a href="#systemId"><code>systemId</code></a></dt> |
705 |
<dd><code>null</code>.</dd> |
<dd><code>null</code>.</dd> |
706 |
<dd class=ed>@@ publicId and systemId should be empty string?</dd> |
<dd class=ed>@@ publicId and systemId should be empty string?</dd> |
707 |
<dt class=ed>@@ Ensure all attributes are defined</dd> |
<dt class=ed>@@ Ensure all attributes are defined</dd> |
732 |
<dd><a href="#createNotation-name"><var>name</var></a>.</dd> |
<dd><a href="#createNotation-name"><var>name</var></a>.</dd> |
733 |
<dt><code>ownerDocument</code></dt> |
<dt><code>ownerDocument</code></dt> |
734 |
<dd>The <code>Document</code> node over which the method is invoked.</dd> |
<dd>The <code>Document</code> node over which the method is invoked.</dd> |
735 |
<dt><code>publicId</code> and <code>systemId</code></dt> |
<dt><a href="#publicId"><code>publicId</code></a> and |
736 |
|
<a href="#systemId"><code>systemId</code></a></dt> |
737 |
<dd><code>null</code>.</dd> |
<dd><code>null</code>.</dd> |
738 |
<dd class=ed>@@ publicId and systemId should be empty string?</dd> |
<dd class=ed>@@ publicId and systemId should be empty string?</dd> |
739 |
<dt class=ed>@@ Ensure all attributes are defined</dt> |
<dt class=ed>@@ Ensure all attributes are defined</dt> |
742 |
</dl> |
</dl> |
743 |
|
|
744 |
<p>These methods <em class=rfc2119>MUST</em> raise an |
<p>These methods <em class=rfc2119>MUST</em> raise an |
745 |
<code>INVALID_CHARACTER_ERR</code> exception <span class=ed>@@ ref</span> |
<code>INVALID_CHARACTER_ERR</code> if <var>name</var> is <em>not</em> a legal |
746 |
if <var>name</var> is <em>not</em> a legal <code>Name</code> according to |
<code>Name</code> |
747 |
the <abbr>XML</abbr> version in use, as specified in the |
<cite class="bibref normative">[<a href="#ref-XML10">XML10</a>, |
748 |
<code>xmlVersion</code> attribute of the <code>Document</code> node.</p> |
<a href="#ref-XML11">XML11</a>]</cite> according to the <abbr>XML</abbr> |
749 |
|
version specified in the <code>xmlVersion</code> attribute of the |
750 |
|
<a href="#Document"><code>Document</code></a> node.</p> |
751 |
|
|
752 |
<div class="note memo"> |
<div class="note memo"> |
753 |
<p>Non$B!>(B<abbr>XML</abbr> case is intentionally left unspecified for now, |
<p>Non$B!>(B<abbr>XML</abbr> case is intentionally left unspecified for now, |
754 |
since <abbr>DOM3</abbr> specification <span class=ed>@@ ref</span> does not |
since <abbr>DOM</abbr> Level 3 Core specification |
755 |
define it for <code>Document</code> methods.</p> |
<cite class="bibref normative">[<a href="#ref-DOM3CORE">DOM3CORE</a>]</cite> |
756 |
|
does not define it for <a href="#Document"><code>Document</code></a> |
757 |
|
methods.</p> |
758 |
|
|
759 |
<p><var>name</var> does not have to be a namespace qualified name.</p> |
<p><var>name</var> does not have to be a namespace qualified name.</p> |
760 |
</div> |
</div> |
779 |
object <em class=rfc2119>MUST</em> contains the |
object <em class=rfc2119>MUST</em> contains the |
780 |
<a href="#ProcessingInstruction"><code>ProcessingInstruction</code></a> |
<a href="#ProcessingInstruction"><code>ProcessingInstruction</code></a> |
781 |
nodes representing the processing instructions in the document type |
nodes representing the processing instructions in the document type |
782 |
definition of the document processed <span class=ed>@@ ref</span> by |
definition of the document processed |
783 |
the <abbr>XML</abbr> processor. If the |
<cite class="bibref normative">[<a href="#ref-XML10">XML10</a>, |
784 |
<a href="#DocumentType"><code>DocumentType</code></a> node is marked |
<a href="#ref-XML11">XML11</a>]</cite> by the <abbr>XML</abbr> processor. If |
785 |
as read$B!>(Bonly, then all the child nodes <em class=rfc2119>MUST</em> |
the <a href="#DocumentType"><code>DocumentType</code></a> node is marked as |
786 |
also be marked as read$B!>(Bonly.</p> |
<a href="#read-only">read$B!>(Bonly</a>, then all the child nodes |
787 |
|
<em class=rfc2119>MUST</em> also be marked as |
788 |
|
<a href="#read-only">read$B!>(Bonly</a>.</p> |
789 |
|
|
790 |
<p>If a <a href="#DocumentType"><code>DocumentType</code></a> node is created |
<p>If a <a href="#DocumentType"><code>DocumentType</code></a> node is created |
791 |
from a document type declaration information item <span class=ed>@@ ref</span>, |
from a |
792 |
|
<a href="http://www.w3.org/TR/2004/REC-xml-infoset-20040204/#infoitem.doctype">document |
793 |
|
type declaration information item</a> |
794 |
|
<cite class="bibref normative">[<a href="#ref-INFOSET">INFOSET</a>]</cite>, |
795 |
the <code>NodeList</code> object in the <code>childNodes</code> attribute |
the <code>NodeList</code> object in the <code>childNodes</code> attribute |
796 |
of the node <em class=rfc2119>MUST</em> contain the |
of the node <em class=rfc2119>MUST</em> contain the |
797 |
<a href="#ProcessingInstruction"><code>ProcessingInstruction</code></a> nodes |
<a href="#ProcessingInstruction"><code>ProcessingInstruction</code></a> nodes |
809 |
|
|
810 |
<p>The implementation of the |
<p>The implementation of the |
811 |
<a href="#DocumentType"><code>DocumentType</code></a> interface |
<a href="#DocumentType"><code>DocumentType</code></a> interface |
812 |
<em class=rfc2119>MUST</em> be modified as following:</p> |
<em class=rfc2119>MUST</em> be modified as the following |
813 |
|
<a href="#idl-fragment"><abbr>IDL</abbr> fragment</a>:</p> |
814 |
<pre class=idl><code>// Modifications to the DocumentType interface |
<pre class=idl><code>// Modifications to the DocumentType interface |
815 |
attribute DOMString <a href="#publicId">publicId</a>; |
attribute DOMString <a href="#publicId">publicId</a>; |
816 |
attribute DOMString <a href="#systemId">systemId</a>; |
attribute DOMString <a href="#systemId">systemId</a>; |
826 |
read$B!>(Bonly.</p> |
read$B!>(Bonly.</p> |
827 |
|
|
828 |
<p>On setting, the attribute <em class=rfc2119>MUST</em> raise a |
<p>On setting, the attribute <em class=rfc2119>MUST</em> raise a |
829 |
<code>NO_MODIFICATION_ALLOWED_ERR</code> <span class=ed>@@ ref</span> |
<code>NO_MODIFICATION_ALLOWED_ERR</code> if the node is |
830 |
exception if the node is read$B!>(Bonly <span class=ed>@@ ref</span>. |
<a href="#read-only">read$B!>(Bonly</a>. Otherwise, it <em class=rfc2119>MUST</em> |
831 |
Otherwise, it <em class=rfc2119>MUST</em> set the specified value as the value |
set the specified value as the value associated to the attribute. No |
832 |
associated to the attribute. No normalization, relative reference resolution, |
normalization, relative reference resolution, or lexical validation is |
833 |
or lexical validation is performed. <span class=ed>@@ If the new |
performed. <span class=ed>@@ If the new value is <code>null</code>, should an e |
834 |
value is <code>null</code>, ...</span></p> |
mpty string be set?</span></p> |
835 |
|
|
836 |
<div class="note memo"> |
<div class="note memo"> |
837 |
<p>Setting an invalid identifier might make the node unserializable. |
<p>Setting an invalid identifier might make the node unserializable. |
849 |
read$B!>(Bonly.</p> |
read$B!>(Bonly.</p> |
850 |
|
|
851 |
<p>On setting, the attribute <em class=rfc2119>MUST</em> raise a |
<p>On setting, the attribute <em class=rfc2119>MUST</em> raise a |
852 |
<code>NO_MODIFICATION_ALLOWED_ERR</code> <span class=ed>@@ ref</span> |
<code>NO_MODIFICATION_ALLOWED_ERR</code> if the node is |
853 |
exception if the node is read$B!>(Bonly <span class=ed>@@ ref</span>. |
<a href="#read-only">read$B!>(Bonly</a>. Otherwise, it <em class=rfc2119>MUST</em> |
854 |
Otherwise, it <em class=rfc2119>MUST</em> set the specified value as the value |
set the specified value as the value associated to the attribute. No |
855 |
associated to the attribute. No normalization, or lexical validation is |
normalization, or lexical validation is performed. <span class=ed>@@ If the |
856 |
performed. <span class=ed>@@ If the new value is <code>null</code>, |
new value is <code>null</code>, should an empty string be set?</span></p> |
|
...</span></p> |
|
857 |
|
|
858 |
</div> |
</div> |
859 |
|
|
876 |
and <a href="#feature-XDoctype-3.0"><code>3.0</code></a> respectively (if the |
and <a href="#feature-XDoctype-3.0"><code>3.0</code></a> respectively (if the |
877 |
<a href="#DocumentType"><code>DocumentType</code></a> node supports the |
<a href="#DocumentType"><code>DocumentType</code></a> node supports the |
878 |
feature <code>Core</code> version <code>3.0</code> |
feature <code>Core</code> version <code>3.0</code> |
879 |
<span class=ed>[DOM3]</span>).</p> |
<cite class="bibref normative">[<a href="#ref-DOM3CORE">DOM3CORE</a>]</cite>).</p> |
880 |
|
|
881 |
<div class="note memo"> |
<div class="note memo"> |
882 |
<p>This interface is a separated interface from the |
<p>This interface is a separated interface from the |
890 |
|
|
891 |
<p>The |
<p>The |
892 |
<a href="#DocumentTypeDefinition"><code>DocumentTypeDefinition</code></a> |
<a href="#DocumentTypeDefinition"><code>DocumentTypeDefinition</code></a> |
893 |
interface <em class=rfc2119>MUST</em> be implemented as following:</p> |
interface <em class=rfc2119>MUST</em> be implemented as the following |
894 |
|
<a href="#idl-fragment"><abbr>IDL</abbr> fragment</a>:</p> |
895 |
<pre class=idl><code>interface <dfn id=DocumentTypeDefinition><code>DocumentTypeDefinition</code></dfn> { |
<pre class=idl><code>interface <dfn id=DocumentTypeDefinition><code>DocumentTypeDefinition</code></dfn> { |
896 |
readonly attribute NamedNodeMap <a href="#elementTypes">elementTypes</a>; |
readonly attribute NamedNodeMap <a href="#elementTypes">elementTypes</a>; |
897 |
readonly attribute NamedNodeMap <a href="#generalEntities">generalEntities</a>; |
readonly attribute NamedNodeMap <a href="#generalEntities">generalEntities</a>; |
927 |
<a href="#ElementTypeDefinition"><code>ElementTypeDefinition</code></a> |
<a href="#ElementTypeDefinition"><code>ElementTypeDefinition</code></a> |
928 |
nodes belonging to the <code>DocumentType</code> node. The |
nodes belonging to the <code>DocumentType</code> node. The |
929 |
<code>NamedNodeMap</code> object <em class=rfc2119>MUST</em> be read$B!>(Bonly |
<code>NamedNodeMap</code> object <em class=rfc2119>MUST</em> be read$B!>(Bonly |
930 |
if and only if the node is read$B!>(Bonly. The <code>NamedNodeMap</code> |
if and only if the node is <a href="#read-only">read$B!>(Bonly</a>. The |
931 |
object <em class=rfc2119>MUST</em> be <a href="#live">live</a>.</p> |
<code>NamedNodeMap</code> object <em class=rfc2119>MUST</em> be |
932 |
|
<a href="#live">live</a>.</p> |
933 |
|
|
934 |
<p>If the <code>DocumentType</code> node is created during the process |
<p>If the <code>DocumentType</code> node is created during the process |
935 |
to create a <abbr>DOM</abbr> from an <abbr>XML</abbr> document, the following |
to create a <abbr>DOM</abbr> from an <abbr>XML</abbr> document, the following |
938 |
<em class=rfc2119>MUST</em> be so transformed that the object contains |
<em class=rfc2119>MUST</em> be so transformed that the object contains |
939 |
the <code>ElementTypeDefinition</code> nodes for the element types |
the <code>ElementTypeDefinition</code> nodes for the element types |
940 |
whose name is presented as the <code>Name</code> of the element type or |
whose name is presented as the <code>Name</code> of the element type or |
941 |
attribute definition list declarations processed by the <abbr>XML</abbr> |
attribute definition list declarations processed |
942 |
|
<cite class="bibref normative">[<a href="#ref-XML10">XML10</a>, |
943 |
|
<a href="#ref-XML11">XML11</a>]</cite> by the <abbr>XML</abbr> |
944 |
processor. If there are more than one element type declarations for an |
processor. If there are more than one element type declarations for an |
945 |
element type, then the declarations other than the first one |
element type, then the declarations other than the first one |
946 |
<em class=rfc2119>MUST</em> be ignored for the purpose of constructing the |
<em class=rfc2119>MUST</em> be ignored for the purpose of constructing the |
1078 |
<code>null</code>.</p></dd> |
<code>null</code>.</p></dd> |
1079 |
<dt><dfn id=getNotationNode class=dom-method><code>getNotationNode</code></dfn>, |
<dt><dfn id=getNotationNode class=dom-method><code>getNotationNode</code></dfn>, |
1080 |
method</dt> |
method</dt> |
1081 |
<dd><p>Returns the <a href="#Notation"><code>Notation>/code></a> node |
<dd><p>Returns the <a href="#Notation"><code>Notation</code></a> node |
1082 |
with the specified name.</p> |
with the specified name.</p> |
1083 |
|
|
1084 |
<p>The |
<p>The |
1142 |
cannot have any child node.</p> |
cannot have any child node.</p> |
1143 |
|
|
1144 |
<p>The <a href="#ElementTypeDefinition"><code>ElementTypeDefinition</code></a> |
<p>The <a href="#ElementTypeDefinition"><code>ElementTypeDefinition</code></a> |
1145 |
interface <em class=rfc2119>MUST</em> be implemented as following:</p> |
interface <em class=rfc2119>MUST</em> be implemented as the following |
1146 |
|
<a href="#idl-fragment"><abbr>IDL</abbr> fragment</a>:</p> |
1147 |
<pre class=idl><code>interface <dfn id=ElementTypeDefinition><code>ElementTypeDefinition</code></dfn> : <a href="#Node">Node</a> { |
<pre class=idl><code>interface <dfn id=ElementTypeDefinition><code>ElementTypeDefinition</code></dfn> : <a href="#Node">Node</a> { |
1148 |
readonly attribute <a href="#DocumentType">DocumentType</a> <a href="#ownerDocumentTypeDefinition">ownerDocumentTypeDefinition</a>; |
readonly attribute <a href="#DocumentType">DocumentType</a> <a href="#ownerDocumentTypeDefinition">ownerDocumentTypeDefinition</a>; |
1149 |
|
|
1163 |
attribute of |
attribute of |
1164 |
<a href="#ElementTypeDefinition"><code>ElementTypeDefinition</code></a>, |
<a href="#ElementTypeDefinition"><code>ElementTypeDefinition</code></a>, |
1165 |
<a href="#Entity"><code>Entity</code></a>, and |
<a href="#Entity"><code>Entity</code></a>, and |
1166 |
<a href="#Notation"><code>Notation</code></a> interface contains the |
<a href="#Notation"><code>Notation</code></a> interfaces contain the |
1167 |
<a href="#DocumentType"><code>DocumentType</code></a> node to which the node |
<a href="#DocumentType"><code>DocumentType</code></a> node to which the node |
1168 |
is attached.</p> |
is attached.</p> |
1169 |
|
|
1192 |
belonging to the |
belonging to the |
1193 |
<a href="#ElementTypeDefinition"><code>ElementTypeDefinition</code></a> node. |
<a href="#ElementTypeDefinition"><code>ElementTypeDefinition</code></a> node. |
1194 |
The <code>NamedNodeMap</code> object <em class=rfc2119>MUST</em> be |
The <code>NamedNodeMap</code> object <em class=rfc2119>MUST</em> be |
1195 |
read$B!>(Bonly if and only if the node is read$B!>(Bonly. The |
read$B!>(Bonly if and only if the node is <a href="#read-only">read$B!>(Bonly</a>. |
1196 |
<code>NamedNodeMap</code> object <em class=rfc2119>MUST</em> be |
The <code>NamedNodeMap</code> object <em class=rfc2119>MUST</em> be |
1197 |
<a href="#live">live</a>.</p> |
<a href="#live">live</a>.</p> |
1198 |
|
|
1199 |
<p>If the |
<p>If the |
1206 |
contains the |
contains the |
1207 |
<a href="#AttributeDefinition"><code>AttributeDefinition</code></a> node |
<a href="#AttributeDefinition"><code>AttributeDefinition</code></a> node |
1208 |
corresponding to the attribute definitions in the attribute definition |
corresponding to the attribute definitions in the attribute definition |
1209 |
list declarations processed by the <abbr>XML</abbr> processor and |
list declarations processed |
1210 |
|
<cite class="bibref normative">[<a href="#ref-XML10">XML10</a>, |
1211 |
|
<a href="#ref-XML11">XML11</a>]</cite> by the <abbr>XML</abbr> processor and |
1212 |
associated to the element type represented by the node. If there are more |
associated to the element type represented by the node. If there are more |
1213 |
than one attribute definitions for an attribute, then the definitions other |
than one attribute definitions for an attribute, then the definitions other |
1214 |
than the first one <em class=rfc2119>MUST</em> be ignored for the purpose |
than the first one <em class=rfc2119>MUST</em> be ignored for the purpose |
1267 |
node cannot be a child of any node. An |
node cannot be a child of any node. An |
1268 |
<a href="#AttributeDefinition"><code>AttributeDefinition</code></a> node |
<a href="#AttributeDefinition"><code>AttributeDefinition</code></a> node |
1269 |
can have zero or more child nodes of same kinds as those allowed for |
can have zero or more child nodes of same kinds as those allowed for |
1270 |
<code>Attr</code> nodes <span class=ed>[DOM3]</span>.</p> |
<code>Attr</code> nodes |
1271 |
|
<cite class="bibref normative">[<a href="#ref-DOM3CORE">DOM3CORE</a>]</cite>.</p> |
1272 |
|
|
1273 |
<p>The <a href="#AttributeDefinition"><code>AttributeDefinition</code></a> |
<p>The <a href="#AttributeDefinition"><code>AttributeDefinition</code></a> |
1274 |
interface <em class=rfc2119>MUST</em> be implemented as following:</p> |
interface <em class=rfc2119>MUST</em> be implemented as the following |
1275 |
|
<a href="#idl-fragment"><abbr>IDL</abbr> fragment</a>:</p> |
1276 |
<pre class=idl><code>interface <dfn id=AttributeDefinition><code>AttributeDefinition</code></dfn> : <a href="#Node">Node</a> { |
<pre class=idl><code>interface <dfn id=AttributeDefinition><code>AttributeDefinition</code></dfn> : <a href="#Node">Node</a> { |
1277 |
<span class=comment>// <a href="#DeclaredValueType">DeclaredValueType</a></span> |
<span class=comment>// <a href="#DeclaredValueType">DeclaredValueType</a></span> |
1278 |
const unsigned short <a href="#NO_TYPE_ATTR">NO_TYPE_ATTR</a> = 0; |
const unsigned short <a href="#NO_TYPE_ATTR">NO_TYPE_ATTR</a> = 0; |
1323 |
then <code>null</code> <em class=rfc2119>MUST</em> be returned.</p> |
then <code>null</code> <em class=rfc2119>MUST</em> be returned.</p> |
1324 |
<dt><dfn id=declaredType class=dom-attr><code>declaredType</code></dfn> of type |
<dt><dfn id=declaredType class=dom-attr><code>declaredType</code></dfn> of type |
1325 |
<code>unsigned short</code></dt> |
<code>unsigned short</code></dt> |
1326 |
<dd><p>The declared type <span class=ed>@@ ref</span> of the attribute. |
<dd><p>The declared type |
1327 |
It is expected that this attribute contains a value from the definition group |
<cite class="bibref normative">[<a href="#ref-XML10">XML10</a>, |
1328 |
|
<a href="#ref-XML11">XML11</a>]</cite> of the attribute. It is expected that |
1329 |
|
this attribute contains a value from the definition group |
1330 |
<a href="#DeclaredValueType"><code>DeclaredValueType</code></a>.</p> |
<a href="#DeclaredValueType"><code>DeclaredValueType</code></a>.</p> |
1331 |
|
|
1332 |
<p>On getting, the attribute <em class=rfc2119>MUST</em> return the |
<p>On getting, the attribute <em class=rfc2119>MUST</em> return the |
1333 |
value associated to this attribute.</p> |
value associated to this attribute.</p> |
1334 |
|
|
1335 |
<p>On setting, the attribute <em class=rfc2119>MUST</em> raise a |
<p>On setting, the attribute <em class=rfc2119>MUST</em> raise a |
1336 |
<code>NO_MODIFICATION_ALLOWED_ERR</code> <span class=ed>@@ ref</span> |
<code>NO_MODIFICATION_ALLOWED_ERR</code> if the |
|
exception if the |
|
1337 |
<a href="#AttributeDefinition"><code>AttributeDefinition</code></a> node |
<a href="#AttributeDefinition"><code>AttributeDefinition</code></a> node |
1338 |
is read$B!>(Bonly <span class=ed>@@ ref</span>. Otherwise, it |
is <a href="#read-only">read$B!>(Bonly</a>. Otherwise, it |
1339 |
<em class=rfc2119>MUST</em> set the specified value as the value |
<em class=rfc2119>MUST</em> set the specified value as the value |
1340 |
associated to this attribute.</p> |
associated to this attribute.</p> |
1341 |
|
|
1358 |
<tbody> |
<tbody> |
1359 |
<tr> |
<tr> |
1360 |
<th scope=row><dfn id=NO_TYPE_ATTR class=dom-const><code>NO_TYPE_ATTR</code> |
<th scope=row><dfn id=NO_TYPE_ATTR class=dom-const><code>NO_TYPE_ATTR</code> |
1361 |
<td><code>0</code><td>No value <span class=ed>[INFOSET]</span>.</tr> |
<td><code>0</code><td><a href="http://www.w3.org/TR/2004/REC-xml-infoset-20040204/#intro.null">No |
1362 |
|
value</a> |
1363 |
|
<cite class="bibref normative">[<a href="#ref-INFOSET">INFOSET</a>]</cite>.</tr> |
1364 |
<tr> |
<tr> |
1365 |
<th scope=row><dfn id=CDATA_ATTR class=dom-const><code>CDATA_ATTR</code> |
<th scope=row><dfn id=CDATA_ATTR class=dom-const><code>CDATA_ATTR</code> |
1366 |
<td><code>1</code><td><code>CDATA</code> <span class=ed>[XML]</span>.</tr> |
<td><code>1</code><td><code>CDATA</code> |
1367 |
|
<cite class="bibref normative">[<a href="#ref-XML10">XML10</a>, |
1368 |
|
<a href="#ref-XML11">XML11</a>]</cite>.</tr> |
1369 |
<tr> |
<tr> |
1370 |
<th scope=row><dfn id=ID_ATTR class=dom-const><code>ID_ATTR</code> |
<th scope=row><dfn id=ID_ATTR class=dom-const><code>ID_ATTR</code> |
1371 |
<td><code>2</code><td><code>ID</code> <span class=ed>[XML]</span>.</tr> |
<td><code>2</code><td><code>ID</code> |
1372 |
|
<cite class="bibref normative">[<a href="#ref-XML10">XML10</a>, |
1373 |
|
<a href="#ref-XML11">XML11</a>]</cite>.</tr> |
1374 |
<tr> |
<tr> |
1375 |
<th scope=row><dfn id=IDREF_ATTR class=dom-const><code>IDREF_ATTR</code> |
<th scope=row><dfn id=IDREF_ATTR class=dom-const><code>IDREF_ATTR</code> |
1376 |
<td><code>3</code><td><code>IDREF</code> <span class=ed>[XML]</span>.</tr> |
<td><code>3</code><td><code>IDREF</code> |
1377 |
|
<cite class="bibref normative">[<a href="#ref-XML10">XML10</a>, |
1378 |
|
<a href="#ref-XML11">XML11</a>]</cite>.</tr> |
1379 |
<tr> |
<tr> |
1380 |
<th scope=row><dfn id=IDREFS_ATTR class=dom-const><code>IDREFS_ATTR</code> |
<th scope=row><dfn id=IDREFS_ATTR class=dom-const><code>IDREFS_ATTR</code> |
1381 |
<td><code>4</code><td><code>IDREFS</code> <span class=ed>[XML]</span>.</tr> |
<td><code>4</code><td><code>IDREFS</code> |
1382 |
|
<cite class="bibref normative">[<a href="#ref-XML10">XML10</a>, |
1383 |
|
<a href="#ref-XML11">XML11</a>]</cite>.</tr> |
1384 |
<tr> |
<tr> |
1385 |
<th scope=row><dfn id=ENTITY_ATTR class=dom-const><code>ENTITY_ATTR</code> |
<th scope=row><dfn id=ENTITY_ATTR class=dom-const><code>ENTITY_ATTR</code> |
1386 |
<td><code>5</code><td><code>ENTITY</code> <span class=ed>[XML]</span>.</tr> |
<td><code>5</code><td><code>ENTITY</code> |
1387 |
|
<cite class="bibref normative">[<a href="#ref-XML10">XML10</a>, |
1388 |
|
<a href="#ref-XML11">XML11</a>]</cite>.</tr> |
1389 |
<tr> |
<tr> |
1390 |
<th scope=row><dfn id=ENTITIES_ATTR class=dom-const><code>ENTITIES_ATTR</code> |
<th scope=row><dfn id=ENTITIES_ATTR class=dom-const><code>ENTITIES_ATTR</code> |
1391 |
<td><code>6</code><td><code>ENTITIES</code> <span class=ed>[XML]</span>.</tr> |
<td><code>6</code><td><code>ENTITIES</code> |
1392 |
|
<cite class="bibref normative">[<a href="#ref-XML10">XML10</a>, |
1393 |
|
<a href="#ref-XML11">XML11</a>]</cite>.</tr> |
1394 |
<tr> |
<tr> |
1395 |
<th scope=row><dfn id=NMTOKEN_ATTR class=dom-const><code>NMTOKEN_ATTR</code> |
<th scope=row><dfn id=NMTOKEN_ATTR class=dom-const><code>NMTOKEN_ATTR</code> |
1396 |
<td><code>7</code><td><code>NMTOKEN</code> <span class=ed>[XML]</span>.</tr> |
<td><code>7</code><td><code>NMTOKEN</code> |
1397 |
|
<cite class="bibref normative">[<a href="#ref-XML10">XML10</a>, |
1398 |
|
<a href="#ref-XML11">XML11</a>]</cite>.</tr> |
1399 |
<tr> |
<tr> |
1400 |
<th scope=row><dfn id=NMTOKENS_ATTR class=dom-const><code>NMTOKENS_ATTR</code> |
<th scope=row><dfn id=NMTOKENS_ATTR class=dom-const><code>NMTOKENS_ATTR</code> |
1401 |
<td><code>8</code><td><code>NMTOKENS</code> <span class=ed>[XML]</span>.</tr> |
<td><code>8</code><td><code>NMTOKENS</code> |
1402 |
|
<cite class="bibref normative">[<a href="#ref-XML10">XML10</a>, |
1403 |
|
<a href="#ref-XML11">XML11</a>]</cite>.</tr> |
1404 |
<tr> |
<tr> |
1405 |
<th scope=row><dfn id=NOTATION_ATTR class=dom-const><code>NOTATION_ATTR</code> |
<th scope=row><dfn id=NOTATION_ATTR class=dom-const><code>NOTATION_ATTR</code> |
1406 |
<td><code>9</code><td><code>NOTATION</code> <span class=ed>[XML]</span>.</tr> |
<td><code>9</code><td><code>NOTATION</code> |
1407 |
|
<cite class="bibref normative">[<a href="#ref-XML10">XML10</a>, |
1408 |
|
<a href="#ref-XML11">XML11</a>]</cite>.</tr> |
1409 |
<tr> |
<tr> |
1410 |
<th scope=row><dfn id=ENUMERATION_ATTR class=dom-const><code>ENUMERATION_ATTR</code> |
<th scope=row><dfn id=ENUMERATION_ATTR class=dom-const><code>ENUMERATION_ATTR</code> |
1411 |
<td><code>10</code><td>Enumeration <span class=ed>[XML]</span>.</tr> |
<td><code>10</code><td>Enumeration |
1412 |
|
<cite class="bibref normative">[<a href="#ref-XML10">XML10</a>, |
1413 |
|
<a href="#ref-XML11">XML11</a>]</cite>.</tr> |
1414 |
<tr> |
<tr> |
1415 |
<th scope=row><dfn id=UNKNOWN_ATTR class=dom-const><code>UNKNOWN_ATTR</code> |
<th scope=row><dfn id=UNKNOWN_ATTR class=dom-const><code>UNKNOWN_ATTR</code> |
1416 |
<td><code>11</code><td>Unknown, because no declaration for the attribute |
<td><code>11</code><td><a href="http://www.w3.org/TR/2004/REC-xml-infoset-20040204/#intro.null">Unknown</a>, |
1417 |
has been read but the [all declaration processed] property |
because no declaration for the attribute has been read but the |
1418 |
<span class=ed>[INFOSET]</span> would be false.</tr> |
<a href="http://www.w3.org/TR/2004/REC-xml-infoset-20040204/#infoitem.document">[all declaration processed]</a> |
1419 |
|
property |
1420 |
|
<cite class="bibref normative">[<a href="#ref-INFOSET">INFOSET</a>]</cite> |
1421 |
|
would be false.</tr> |
1422 |
</tbody> |
</tbody> |
1423 |
</table> |
</table> |
1424 |
|
|
1425 |
<p>If no attribute type information is available, or if the source |
<p>If no attribute type information is available, or if the source |
1426 |
of the information does not distinguish <q>no value</q> and <q>unknown</q> |
of the information does not distinguish |
1427 |
<span class=ed>[INFOSET]</span>, then the value |
<a href="http://www.w3.org/TR/2004/REC-xml-infoset-20040204/#intro.null">no |
1428 |
|
value</a> and |
1429 |
|
<a href="http://www.w3.org/TR/2004/REC-xml-infoset-20040204/#intro.null">unknown</a> |
1430 |
|
<cite class="bibref normative">[<a href="#ref-INFOSET">INFOSET</a>]</cite>, |
1431 |
|
then the value |
1432 |
<a href="#NO_TYPE_ATTR"><code>NO_TYPE_ATTR</code></a> |
<a href="#NO_TYPE_ATTR"><code>NO_TYPE_ATTR</code></a> |
1433 |
<em class=rfc2119>MUST</em> be used.</p> |
<em class=rfc2119>MUST</em> be used.</p> |
1434 |
|
|
1440 |
set to <a href="#NO_TYPE_ATTR"><code>NO_TYPE_ATTR</code></a>.</p> |
set to <a href="#NO_TYPE_ATTR"><code>NO_TYPE_ATTR</code></a>.</p> |
1441 |
</div> |
</div> |
1442 |
|
|
1443 |
<p>If the source of the information does not distinguish <q>no value</q> |
<p>If the source of the information does not distinguish |
1444 |
and/or <q>unknown</q> <span class=ed>[INFOSET]</span> and |
<a href="http://www.w3.org/TR/2004/REC-xml-infoset-20040204/#intro.null">no |
1445 |
<code>CDATA</code> <span class=ed>[XML]</span>, then the value |
value</a> and/or |
1446 |
|
<a href="http://www.w3.org/TR/2004/REC-xml-infoset-20040204/#intro.null">unknown</a> |
1447 |
|
<cite class="bibref normative">[<a href="#ref-INFOSET">INFOSET</a>]</cite> and |
1448 |
|
<code>CDATA</code> |
1449 |
|
<cite class="bibref normative">[<a href="#ref-XML10">XML10</a>, |
1450 |
|
<a href="#ref-XML11">XML11</a>]</cite>, then the value |
1451 |
<a href="#CDATA_ATTR"><code>CDATA_ATTR</code></a> <em class=rfc2119>MUST</em> |
<a href="#CDATA_ATTR"><code>CDATA_ATTR</code></a> <em class=rfc2119>MUST</em> |
1452 |
be used.</p> |
be used.</p> |
1453 |
|
|
1454 |
<p>In Perl binding <span class=ed>[PERLBINDING]</span>, the |
<p>In Perl binding |
1455 |
|
<cite class="bibref normative">[<a href="#ref-DOMPERL">DOMPERL</a>]</cite>, the |
1456 |
<code>Attr</code> nodes <em class=rfc2119>MUST</em> implement the |
<code>Attr</code> nodes <em class=rfc2119>MUST</em> implement the |
1457 |
<a href="#DeclaredValueType"><code>DeclaredValueType</code></a> |
<a href="#DeclaredValueType"><code>DeclaredValueType</code></a> |
1458 |
definition group.</p> |
definition group.</p> |
1467 |
<em class=rfc2119>MAY</em> contain zero or more ordered strings, consist of |
<em class=rfc2119>MAY</em> contain zero or more ordered strings, consist of |
1468 |
zero or more characters respectively, possibly with duplications. The |
zero or more characters respectively, possibly with duplications. The |
1469 |
object <em class=rfc2119>MUST</em> be read$B!>(Bonly if and only if the node |
object <em class=rfc2119>MUST</em> be read$B!>(Bonly if and only if the node |
1470 |
is read$B!>(Bonly.</p> |
is <a href="#read-only">read$B!>(Bonly</a>.</p> |
1471 |
|
|
1472 |
<p>If the <a href="#AttributeDefinition"><code>AttributeDefinition</code></a> |
<p>If the <a href="#AttributeDefinition"><code>AttributeDefinition</code></a> |
1473 |
node is created during the process to create a <abbr>DOM</abbr> from an |
node is created during the process to create a <abbr>DOM</abbr> from an |
1499 |
the value associated to this attribute.</p> |
the value associated to this attribute.</p> |
1500 |
|
|
1501 |
<p>On setting, the attribute <em class=rfc2119>MUST</em> raise a |
<p>On setting, the attribute <em class=rfc2119>MUST</em> raise a |
1502 |
<code>NO_MODIFICATION_ALLOWED_ERR</code> <span class=ed>@@ ref</span> |
<code>NO_MODIFICATION_ALLOWED_ERR</code> if the |
|
exception if the |
|
1503 |
<a href="#AttributeDefinition"><code>AttributeDefinition</code></a> node |
<a href="#AttributeDefinition"><code>AttributeDefinition</code></a> node |
1504 |
is read$B!>(Bonly <span class=ed>@@ ref</span>. Otherwise, it |
is <a href="#read-only">read$B!>(Bonly</a>. Otherwise, it |
1505 |
<em class=rfc2119>MUST</em> set the specified value as the value |
<em class=rfc2119>MUST</em> set the specified value as the value |
1506 |
associated to this attribute.</p> |
associated to this attribute.</p> |
1507 |
|
|
1528 |
<td><code>0</code><td>Unknown.</tr> |
<td><code>0</code><td>Unknown.</tr> |
1529 |
<tr> |
<tr> |
1530 |
<th scope=row><dfn id=FIXED_DEFAULT class=dom-const><code>FIXED_DEFAULT</code></dfn> |
<th scope=row><dfn id=FIXED_DEFAULT class=dom-const><code>FIXED_DEFAULT</code></dfn> |
1531 |
<td><code>1</code><td>Provided explicitly and fixed |
<td><code>1</code><td>Provided explicitly and only the value is allowed. |
1532 |
<span class=ed>@@ ref</span> to that value.</tr> |
<cite class="bibref normative">[<a href="#ref-XML10">XML10</a>, |
1533 |
|
<a href="#ref-XML11">XML11</a>]</cite>.</tr> |
1534 |
<tr> |
<tr> |
1535 |
<th scope=row><dfn id=REQUIRED_DEFAULT class=dom-const><code>REQUIRED_DEFAULT</code></dfn> |
<th scope=row><dfn id=REQUIRED_DEFAULT class=dom-const><code>REQUIRED_DEFAULT</code></dfn> |
1536 |
<td><code>2</code><td>No default value and the attribute have to be |
<td><code>2</code><td>No default value and the attribute have to be |
1537 |
explicitly specified.</tr> |
explicitly specified.</tr> |
1538 |
<tr> |
<tr> |
1539 |
<th scope=row><dfn id=IMPLIED_DEFAULT class=dom-const><code>IMPLIED_DEFAULT</code></dfn> |
<th scope=row><dfn id=IMPLIED_DEFAULT class=dom-const><code>IMPLIED_DEFAULT</code></dfn> |
1540 |
<td><code>3</code><td>Implied <span class=ed>@@ ref</span>.</tr> |
<td><code>3</code><td>Implied |
1541 |
|
<cite class="bibref normative">[<a href="#ref-XML10">XML10</a>, |
1542 |
|
<a href="#ref-XML11">XML11</a>]</cite>.</tr> |
1543 |
<tr> |
<tr> |
1544 |
<th scope=row><dfn id=EXPLICIT_DEFAULT class=dom-const><code>EXPLICIT_DEFAULT</code></dfn> |
<th scope=row><dfn id=EXPLICIT_DEFAULT class=dom-const><code>EXPLICIT_DEFAULT</code></dfn> |
1545 |
<td><code>4</code><td>Provided explicitly.</tr> |
<td><code>4</code><td>Provided explicitly.</tr> |
1567 |
<h3>Modifications to the <code id=Entity>Entity</code> Interface</h3> |
<h3>Modifications to the <code id=Entity>Entity</code> Interface</h3> |
1568 |
|
|
1569 |
<p>The implementation of the <a href="#Entity"><code>Entity</code></a> |
<p>The implementation of the <a href="#Entity"><code>Entity</code></a> |
1570 |
interface <em class=rfc2119>MUST</em> be modified as following:</p> |
interface <em class=rfc2119>MUST</em> be modified as the following |
1571 |
|
<a href="#idl-fragment"><abbr>IDL</abbr> fragment</a>:</p> |
1572 |
<pre class=idl><code>// Modifications to the Entity interface |
<pre class=idl><code>// Modifications to the Entity interface |
1573 |
attribute DOMString <a href="#publicId">publicId</a>; |
attribute DOMString <a href="#publicId">publicId</a>; |
1574 |
attribute DOMString <a href="#systemId">systemId</a>; |
attribute DOMString <a href="#systemId">systemId</a>; |
1586 |
read$B!>(Bonly.</p> |
read$B!>(Bonly.</p> |
1587 |
|
|
1588 |
<p>On setting, the attribute <em class=rfc2119>MUST</em> raise a |
<p>On setting, the attribute <em class=rfc2119>MUST</em> raise a |
1589 |
<code>NO_MODIFICATION_ALLOWED_ERR</code> <span class=ed>@@ ref</span> |
<code>NO_MODIFICATION_ALLOWED_ERR</code> if the node is |
1590 |
exception if the node is read$B!>(Bonly <span class=ed>@@ ref</span>. |
<a href="#read-only">read$B!>(Bonly</a>. Otherwise, it <em class=rfc2119>MUST</em> |
1591 |
Otherwise, it <em class=rfc2119>MUST</em> set the specified value as the value |
set the specified value as the value associated to the attribute. No lexical |
1592 |
associated to the attribute. No lexical validation is performed. The new |
validation is performed. The new value <em class=rfc2119>MAY</em> be |
1593 |
value <em class=rfc2119>MAY</em> be <code>null</code>.</p> |
<code>null</code>.</p> |
1594 |
|
|
1595 |
<dl> |
<dl> |
1596 |
<dt><dfn id=hasReplacementTree class=dom-attr><code>hasReplacementTree</code></dfn> |
<dt><dfn id=hasReplacementTree class=dom-attr><code>hasReplacementTree</code></dfn> |
1603 |
the value associated to this attribute.</p> |
the value associated to this attribute.</p> |
1604 |
|
|
1605 |
<p>On setting, the attribute <em class=rfc2119>MUST</em> raise a |
<p>On setting, the attribute <em class=rfc2119>MUST</em> raise a |
1606 |
<code>NO_MODIFICATION_ALLOWED_ERR</code> <span class=ed>@@ ref</span> |
<code>NO_MODIFICATION_ALLOWED_ERR</code> if the node is |
1607 |
exception if the node is read$B!>(Bonly <span class=ed>@@ ref</span>. |
<a href="#read-only">read$B!>(Bonly</a>. Otherwise, it |
1608 |
Otherwise, it <em class=rfc2119>MUST</em> set the specified value as the |
<em class=rfc2119>MUST</em> set the specified value as the |
1609 |
value associated to this attribute.</p> |
value associated to this attribute.</p> |
1610 |
|
|
1611 |
<div class="note memo"> |
<div class="note memo"> |
1649 |
the value associated to this attribute.</p> |
the value associated to this attribute.</p> |
1650 |
|
|
1651 |
<p>On setting, the attribute <em class=rfc2119>MUST</em> raise a |
<p>On setting, the attribute <em class=rfc2119>MUST</em> raise a |
1652 |
<code>NO_MODIFICATION_ALLOWED_ERR</code> <span class=ed>@@ ref</span> |
<code>NO_MODIFICATION_ALLOWED_ERR</code> if the node is |
1653 |
exception if the node is read$B!>(Bonly <span class=ed>@@ ref</span>. |
<a href="#read-only">read$B!>(Bonly</a>. Otherwise, it |
1654 |
Otherwise, it <em class=rfc2119>MUST</em> set the specified value as the |
<em class=rfc2119>MUST</em> set the specified value as the value associated |
1655 |
value associated to this attribute.</p> |
to this attribute.</p> |
1656 |
|
|
1657 |
<p>If the <a href="#Entity"><code>Entity</code></a> node is created during |
<p>If the <a href="#Entity"><code>Entity</code></a> node is created during |
1658 |
the process to create a <abbr>DOM</abbr> from an <abbr>XML</abbr> document, |
the process to create a <abbr>DOM</abbr> from an <abbr>XML</abbr> document, |
1668 |
<h3>Modifications to the <code id=Notation>Notation</code> Interface</h3> |
<h3>Modifications to the <code id=Notation>Notation</code> Interface</h3> |
1669 |
|
|
1670 |
<p>The implementation of the <a href="#Notation"><code>Notation</code></a> |
<p>The implementation of the <a href="#Notation"><code>Notation</code></a> |
1671 |
interface <em class=rfc2119>MUST</em> be modified as following:</p> |
interface <em class=rfc2119>MUST</em> be modified as the following |
1672 |
|
<a href="#idl-fragment"><abbr>IDL</abbr> fragment</a>:</p> |
1673 |
<pre class=idl><code>// Modifications to the Notation interface |
<pre class=idl><code>// Modifications to the Notation interface |
1674 |
attribute DOMString <a href="#publicId">publicId</a>; |
attribute DOMString <a href="#publicId">publicId</a>; |
1675 |
attribute DOMString <a href="#systemId">systemId</a>; |
attribute DOMString <a href="#systemId">systemId</a>; |
1689 |
|
|
1690 |
<dl> |
<dl> |
1691 |
<dt id=ref-DOM3CORE>DOM3CORE</dt> |
<dt id=ref-DOM3CORE>DOM3CORE</dt> |
1692 |
<dd class=ed>@@ W3C DOM Level 3 Core</dd> |
<dd><cite><a href="http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407">Document |
1693 |
<dt id=ref-DOMDTDEF>DOMDTDEF</dt> |
Object Model (<abbr>DOM</abbr>) Level 3 Core Specification, Version |
1694 |
<dd class=ed>@@ manakai's extension to DOM for document type definitions</dd> |
1.0</a></cite>, <abbr>W3C</abbr> Recommendation, <time datetime=2004-04-07>7 |
1695 |
|
April 2004</time>. <em>This</em> version of the specification is referenced. |
1696 |
|
The latest version of the specification is available at |
1697 |
|
<code class=uri><<a href="http://www.w3.org/TR/DOM-Level-3-Core">http://www.w3.org/TR/DOM-Level-3-Core</a>></code>.</dd> |
1698 |
|
<dt id=ref-DOMBIND>DOMBIND</dt> |
1699 |
|
<dd><cite><a href="http://www.w3.org/TR/2007/WD-DOM-Bindings-20071017/">Language |
1700 |
|
Bindings for <abbr>DOM</abbr> Specifications</a></cite>, <abbr>W3C</abbr> |
1701 |
|
Working Draft, <time datetime=2007-10-17>17 October 2007</time>. |
1702 |
|
<em>This</em> version of the specification is referenced. The latest version |
1703 |
|
of the specification is available at |
1704 |
|
<code class=uri><<a href="http://www.w3.org/TR/DOM-Bindings/">http://www.w3.org/TR/DOM-Bindings/</a>></code>.</dd> |
1705 |
|
<dt id=ref-DOMPERL>DOMPERL</dt> |
1706 |
|
<dd><cite><a href="http://suika.fam.cx/gate/2005/sw/manakai/DOM%20Perl%20Binding">manakai's |
1707 |
|
<abbr>DOM</abbr> Perl Binding</a></cite>, editor's draft. Work in |
1708 |
|
progress.</dd> |
1709 |
|
<dt id=ref-HTML5>HTML5</dt> |
1710 |
|
<dd><cite><a href="http://whatwg.org/html5"><abbr>HTML</abbr> 5</a></cite>, |
1711 |
|
<abbr title="Web Hypertext Application Technology Working Group">WHATWG</abbr> |
1712 |
|
Working Draft. Work in progress.</dd> |
1713 |
|
<dt id=ref-INFOSET>INFOSET</dt> |
1714 |
|
<dd><cite><a href="http://www.w3.org/TR/2004/REC-xml-infoset-20040204"><abbr>XML</abbr> |
1715 |
|
Information Set (Second Edition)</a></cite>, <abbr>W3C</abbr> Recommendation, |
1716 |
|
<time datetime=2004-02-04>4 February 2004</time>. <em>This</em> version of |
1717 |
|
the specification is referenced. The latest version of the specification is |
1718 |
|
available at |
1719 |
|
<code class=uri><<a href="http://www.w3.org/TR/xml-infoset">http://www.w3.org/TR/xml-infoset</a>></code>.</dd> |
1720 |
<dt id="ref-KEYWORDS">KEYWORDS</dt> |
<dt id="ref-KEYWORDS">KEYWORDS</dt> |
1721 |
<dd><cite><a href="urn:ietf:rfc:2119">Key words for use in |
<dd><cite><a href="urn:ietf:rfc:2119">Key words for use in |
1722 |
<abbr>RFCs</abbr> to Indicate Requirement Levels</a></cite>, |
<abbr>RFCs</abbr> to Indicate Requirement Levels</a></cite>, |
1725 |
14</a>, <abbr title="Request for Comments">RFC</abbr> 2119, |
14</a>, <abbr title="Request for Comments">RFC</abbr> 2119, |
1726 |
<time datetime=1997-03>March 1997</time>. |
<time datetime=1997-03>March 1997</time>. |
1727 |
<em>This</em> version of the specification is referenced.</dd> |
<em>This</em> version of the specification is referenced.</dd> |
|
<dt id=ref-INFOSET>INFOSET</dt> |
|
|
<dd class=ed>@@</dd> |
|
1728 |
<dt id=ref-XML10">XML10</dt> |
<dt id=ref-XML10">XML10</dt> |
1729 |
<dd><cite><a href="http://www.w3.org/TR/2006/REC-xml-20060816">Extensible |
<dd><cite><a href="http://www.w3.org/TR/2006/REC-xml-20060816">Extensible |
1730 |
Markup Language (<abbr>XML</abbr>) 1.0 (Fourth Edition)</a></cite>, |
Markup Language (<abbr>XML</abbr>) 1.0 (Fourth Edition)</a></cite>, |
1731 |
<abbr>W3C</abbr> Recommendation, <time datetime=2006-08-16>16 August |
<abbr>W3C</abbr> Recommendation, <time datetime=2006-08-16>16 August |
1732 |
2006</time>, edited in place <time datetime=2006-09-29>29 September |
2006</time>, edited in place <time datetime=2006-09-29>29 September |
1733 |
2006</time>. Tje latest version of the specification is available at |
2006</time>. <em>This</em> version of the specification is referenced. The |
1734 |
<code class=uri><<a href="http://www.w3.org/TR/xml">http://www.w3.org/TR/xml</a>></code>. |
latest version of the specification is available at |
1735 |
<em>This</em> version of the specification is referenced.</dd> |
<code class=uri><<a href="http://www.w3.org/TR/xml">http://www.w3.org/TR/xml</a>></code>.</dd> |
1736 |
<dt id=ref-XML11>XML11</dt> |
<dt id=ref-XML11>XML11</dt> |
1737 |
<dd class=ed>@@</dd> |
<dd><cite><a href="http://www.w3.org/TR/2006/REC-xml11-20060816/">Extensible |
1738 |
|
Markup Language (<abbr>XML</abbr>) 1.1 (Second Edition)</a></cite>, |
1739 |
|
<abbr>W3C</abbr> Recommendation, <time datetime=2006-08-16>16 August |
1740 |
|
2006</time>, edited in place <time datetime=2006-09-29>29 September |
1741 |
|
2006</time>. <em>This</em> version of the specification is referenced. The |
1742 |
|
latest version of the specification is available at |
1743 |
|
<code class=uri><<a href="http://www.w3.org/TR/xml11">http://www.w3.org/TR/xml11</a>></code>.</dd> |
1744 |
</dl> |
</dl> |
1745 |
</div> |
</div> |
1746 |
|
|
1747 |
<div id="informative-references" class="section informative reference"> |
<div id="informative-references" class="section informative reference"> |
1748 |
<h3>Non$B!>(Bnormative References</h3> |
<h3>Non$B!>(Bnormative References</h3> |
1749 |
|
|
1750 |
<dl class=ed> |
<dl> |
1751 |
<dt id=ref-CSS>CSS</dt> |
<dt id=ref-DOM1WD>DOM1WD</dt> |
1752 |
<dd><cite><a href="http://www.w3.org/TR/2007/CR-CSS21-20070719">Cascading |
<dd><cite><a href="http://www.w3.org/TR/WD-DOM-971209/">Document Object |
1753 |
Style Sheets Level 2 Revision 1 (<abbr>CSS</abbr> 2.1) |
Model Specification</a></cite>, <abbr>W3C</abbr> Working Draft, |
1754 |
Specification</a></cite>, |
<time datetime=1997-12-09>9 December 1998</time>.</dd> |
1755 |
<abbr title="World Wide Web Consortium">W3C</abbr> Candidate |
<dd><cite><a href="http://www.w3.org/TR/WD-DOM-19980318/">Document Object |
1756 |
Recommendation, <time datetime=2007-07-19>19 July 2007</time>. |
Model Specification</a></cite>, <abbr>W3C</abbr> Working Draft, |
1757 |
Work in progress. The latest version of the specification is |
<time datetime=1998-03-18>18 March 1998</time>.</dd> |
1758 |
available at |
<dd><cite><a href="http://www.w3.org/TR/1998/WD-DOM-19980416/">Document |
1759 |
<code class=URI><<a href="http://www.w3.org/TR/CSS21">http://www.w3.org/TR/CSS21</a>></code>.</dd> |
Object Model Specification, Version 1.0</a></cite>, <abbr>W3C</abbr> Working |
1760 |
<dt id=ref-CSSOM>CSSOM</dt> |
Draft, <time datetime=1998-04-16>16 April 1998</time>.</dd> |
1761 |
<dd><cite><a href="http://dev.w3.org/cvsweb/~checkout~/csswg/cssom/Overview.html?rev=1.55&content-type=text/html;%20charset=utf-8">Cascading |
<dt id=ref-DOM3AS>DOM3AS</dt> |
1762 |
Style Sheets Object Model (<abbr>CSSOM</abbr>)</a></cite>, |
<dd><cite><a href="http://www.w3.org/TR/2002/NOTE-DOM-Level-3-AS-20020725/">Document |
1763 |
<abbr title="World Wide Web Consortium">W3C</abbr> Editor's Draft, |
Object Model (<abbr>DOM</abbr>) Level 3 Abstract Schemas Specification, |
1764 |
<time datetime=2007-06-18>18 June 2007</time>. Work in progress. |
Version 1.0</a></cite>, <abbr>W3C</abbr> Note, <time datetime=2002-07-25>25 |
1765 |
The latest Editor's Draft of the specification is available at |
July 2002</time>. The latest version of the specification is available at |
1766 |
<code class=URI><<a href="http://dev.w3.org/csswg/cssom/Overview.html">http://dev.w3.org/csswg/cssom/Overview.html</a>></code>.</dd> |
<code class=uri><<a href="http://www.w3.org/TR/DOM-Level-3-AS">http://www.w3.org/TR/DOM-Level-3-AS</a>></code>.</dd> |
1767 |
<dt id=ref-HTML5>HTML5</dt> |
<dt id=ref-XSAPI>XSAPI</dt> |
1768 |
<dd><cite><a href="http://whatwg.org/html5"><abbr>HTML</abbr> 5</a></cite>, |
<dd><cite><a href="http://www.w3.org/Submission/2004/SUBM-xmlschema-api-20040309/"><abbr>XML</abbr> |
1769 |
<abbr title="Web Hypertext Application Technology Working Group">WHATWG</abbr> |
Schema <abbr>API</abbr></a></cite>, <abbr>W3C</abbr> Member Submission, |
1770 |
Working Draft. Work in progress.</dd> |
<time datetime=2004-03-09>9 March 2004</time>. The latest version of the |
1771 |
<dt id=ref-SAPI>SAPI</dt> |
specification is available at |
1772 |
<dd><cite><a href="http://dev.w3.org/cvsweb/~checkout~/2006/webapi/selectors-api/Overview.html?rev=1.28&content-type=text/html;%20charset=utf-8">Selectors <abbr>API</abbr></a></cite>, |
<code class=uri><<a href="http://www.w3.org/Submission/xmlschema-api/">http://www.w3.org/Submission/xmlschema-api/</a>></code>.</dd> |
|
<abbr title="World Wide Web Consortium">W3C</abbr> Editor's Draft, |
|
|
<time datetime=2007-08-29>29 August 2007</time>. Work in progress. |
|
|
The latest Editor's Draft of the specification is available at |
|
|
<code class=URI><<a href="http://dev.w3.org/2006/webapi/selectors-api/Overview.html">http://dev.w3.org/2006/webapi/selectors-api/Overview.html</a>></code>. |
|
|
The latest published version of the specification is available at |
|
|
<code class=URI><<a href="http://www.w3.org/TR/selectors-api/">http://www.w3.org/TR/selectors-api/</a>></code>.</dd> |
|
|
<dt id=XBL2>XBL2</dt> |
|
|
<dd><cite><a href="http://www.mozilla.org/projects/xbl/xbl2.html"><abbr>XBL</abbr> |
|
|
2.0</a></cite>, Mozilla.org, <time datetime=2007-03-15>15 Mar 2007</time>. |
|
|
Work in progress. The latest |
|
|
<abbr title="World Wide Web Consortium">W3C</abbr>$B!>(Bpublished |
|
|
version of the specification is available at |
|
|
<code class=URI><<a href="http://www.w3.org/TR/xbl/">http://www.w3.org/TR/xbl/</a>></code>.</dd> |
|
|
<dt id=ref-XML5>XML5</dt> |
|
|
<dd class=ed>@@</dd> |
|
1773 |
</dl> |
</dl> |
1774 |
</div> |
</div> |
1775 |
|
|