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

Diff of /markup/xml/domdtdef/domdtdef-work.en.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.21 by wakaba, Sat Dec 8 07:01:08 2007 UTC revision 1.22 by wakaba, Sat Dec 8 08:16:53 2007 UTC
# Line 50  available at <code class="URI">&lt;<a Line 50  available at <code class="URI">&lt;<a
50  <div id="abstract" class="section">  <div id="abstract" class="section">
51  <h2>Abstract</h2>  <h2>Abstract</h2>
52    
53  <div class="ed issue">...</div>  <p>The <abbr>DOM</abbr> Document Type Definition module is a set of
54    <abbr>DOM</abbr> interfaces, including both new interfaces and modifications
55    to existing <abbr>DOM</abbr> interfaces, over which <abbr>DOM</abbr>
56    applications are able to access to the definitions of the document type.</p>
57  </div>  </div>
58    
59  <div id="status" class="section">  <div id="status" class="section">
# Line 80  normative version.</p> Line 82  normative version.</p>
82    
83  <p class=section-info>This section is <em>non$B!>(Bnormative</em>.</p>  <p class=section-info>This section is <em>non$B!>(Bnormative</em>.</p>
84    
 <div class="issue ed">  
 <p>This is a work-in-progress specification for DOM Document Type  
 Definition module, as implemented by manakai and  
 <a href="http://suika.fam.cx/gate/2005/sw/DOM%20XML%20Document%20Type%20Definition">partially documented in the SuikaWiki</a>.</p>  
 </div>  
   
85  <p>The <dfn id=term-dom-dtdef><abbr>DOM</abbr> Document Type Definition</dfn>  <p>The <dfn id=term-dom-dtdef><abbr>DOM</abbr> Document Type Definition</dfn>
86  module is a set of <abbr>DOM</abbr> interfaces, including both new  module is a set of <abbr>DOM</abbr> interfaces, including both new
87  interfaces and modifications to existing <abbr>DOM</abbr> interfaces,  interfaces and modifications to existing <abbr>DOM</abbr> interfaces,
# Line 99  early drafts of <abbr>DOM</abbr> level 1 Line 95  early drafts of <abbr>DOM</abbr> level 1
95  any of them as a whole.</p>  any of them as a whole.</p>
96  </div>  </div>
97    
98  <div class="section" id="terminology">  <div class="section" id=conformance>
99  <h2>Terminology</h2>  <h2>Conformance Requirements</h2>
100    
101  <p>The key words <q><em class="rfc2119">MUST</em></q>,  <div class=section id=terminology>
102  <q><em class="rfc2119">MUST NOT</em></q>,  <h3>Terminology</h3>
 <q><em class="rfc2119">SHOULD</em></q>,  
 <q><em class="rfc2119">SHOULD NOT</em></q>, and  
 <q><em class=rfc2119>MAY</em></q> in this  
 document are to be interpreted as described in  
 <a href="urn:ietf:rfc:2119"><abbr title="Request for Comments">RFC</abbr>  
 2119</a>  
 <cite class="bibref normative">[<a href="#ref-KEYWORDS">KEYWORDS</a>]</cite>.</p>  
103    
 <!-- Strictly speaking the paragraph below is not part of terminology. -->  
104  <p>All examples and notes in this specification are non$B!>(Bnormative,  <p>All examples and notes in this specification are non$B!>(Bnormative,
105  as are all sections explicitly marked non$B!>(Bnormative.  Everything  as are all sections explicitly marked non$B!>(Bnormative.  Everything
106  else in this specification is normative.</p>  else in this specification is normative.</p>
107    
108  <p><span class=ed>Algorithm is normative but non-normative</span>.  <p>The key words <q><em class="rfc2119">MUST</em></q>,
109  In addition, the order in which <a href="#errors">errors</a> are  <q><em class="rfc2119">MUST NOT</em></q>, and <q><em class=rfc2119>MAY</em></q>
110  raised is undefined.</p>  in this document are to be interpreted as described in
111    <a href="urn:ietf:rfc:2119"><abbr title="Request for Comments">RFC</abbr>
112    2119</a>
113    <cite class="bibref normative">[<a href="#ref-KEYWORDS">KEYWORDS</a>]</cite>.</p>
114    
115  <p class=ed><var>A</var> object is an object implementing <var>A</var>  <p>Conformance requirements phrased as algorithms or specific steps
116  interface.</p>  <em class=rfc2119>MAY</em> be implemented in any manner, so long as the end
117    result is equivalent.  Requirements phrased in the imperative as part of
118    algorithms are to be interpreted with the meaning of the key word used in
119    introducing the algorithm.</p>
120    
121    <p>Sometimes an exception is phrased as being required to be raised.  As
122    specified in the <abbr>DOM</abbr> Core specification
123    <span class=ed>[DOM3]</span>,
124    when the value of the <code>strictErrorChecking</code> attribute of the
125    <a href="#Document"><code>Document</code></a> node is <code>false</code>,
126    then the exception is not have to be raised.</p>
127    
128    <p>Some conformance requirements are phrased as requirements on interfaces,
129    attributes, methods, or objects.  Such requirements are applied to
130    implementations.</p>
131    
132    <p>The construction <q>a <code><var>Foo</var></code> object</q>, where
133    <code><var>Foo</var></code> is an interface, is used instead of the more
134    accurate <q>an object implementing the interface
135    <code><var>Foo</var></code></q>.</p>
136    
137    <p>The construction <q>raise a <code><var>Bar</var></code></q>, where
138    <code><var>Bar</var></code> is an exception code, is used instead of the more
139    accurate <q>raise an exception implementing the interface
140    <code>DOMException</code> <span class=ed>[DOM3]</span> with its
141    <code>code</code> attribute set to <code><var>Bar</var></code></q>.</p>
142    
143    <p>The term
144    <q id=live><a href="http://www.whatwg.org/specs/web-apps/current-work/#live">live</a></q>
145    is defined in the HTML5 specification <span class=ed>[HTML5]</span>.</p>
146    
147  <p class=ed>@@ ref to DOM Binding Spec</p>  <p class=ed>@@ ref to DOM Binding Spec</p>
148    </div>
149    
150  <p>If the <code>strictErrorChecking</code> attribute of the  <div class=section id=conformance-categories>
151  <code>Document</code> node is <code>false</code>, the methods are  <h3>Conformance Categories</h3>
 not required to raise exceptions <span class=ed>[DOM3]</span>.</p>  
152    
153  <div class=ed>  <p>There are several kinds of products that can be claim to conform to
154  <p>Conformant product classes: implementation, XML parser (XML document ->  this specification:</p>
155  DOM converter), XML serializer (DOM -> XML document covnerter).  <dl>
156  XML Infoset -> DOM converter, and DOM -> XML Infoset converter.</p>  <dt id=category-dom-implementation><abbr>DOM</abbr> Implementation</dt>
157      <dd>A <abbr>DOM</abbr> implementation (or just written as
158      <q>implementation</q> in this document) provides a way to access
159      <abbr>DOM</abbr> trees for applications by implementing interfaces defined
160      by this and other documents.  Unless otherwise noted, requirements in this
161      document are applied to <abbr>DOM</abbr> implementations.  To implement
162      all the features in this document, the implementation have to implement
163      some version of <abbr>DOM</abbr> Core (e.g. <abbr>DOM</abbr> level 3
164      <span class=ed>[DOM3]</span>) with one or more language binding (e.g.
165      ECMAScript or Java binding <span class=ed>[BINDINGS]</span> or
166      Perl binding <span class=ed>[PERLBINDING]</span>).</dd>
167    <dt id=category-xml-parser><abbr>XML</abbr> Parser (<abbr>XML</abbr> document
168    to <abbr>DOM</abbr> tree converter)</dt>
169      <dd>A software component that converts
170      <abbr>XML</abbr> 1.0 or 1.1 document (or fragment thereof) into a
171      <abbr>DOM</abbr> tree (or fragment thereof) in the context of this
172      document.  Note that this document does not define any particular way to
173      parse an <abbr>XML</abbr> document or to construct an <abbr>DOM</abbr>
174      document, but it defines constraints for such processing.</dd>
175    <dt id=category-xml-serializer><abbr>XML</abbr> Serializer (<abbr>DOM</abbr>
176    tree to <abbr>XML</abbr> document converter)</dt>
177      <dd>A software component that converts
178      <abbr>DOM</abbr> tree (or fragment thereof) into an <abbr>XML</abbr> 1.0 or
179      1.1 document (or fragment thereof).  Note that this document does not define
180      any particular way to serialize a <abbr>DOM</abbr> tree, but it defines
181      constraints for such processing.</dd>
182    <dt id=category-infoset-dom><abbr>XML</abbr> Information Set to
183    <abbr>DOM</abbr> Tree Converter</dt>
184      <dd>A software component that converts an <abbr>XML</abbr> information set
185      into a <abbr>DOM</abbr> tree.  Note that this documetn does not define
186      any particular way for the convertion, but it defines constraints for
187      such processing.</dd>
188    <dt id=category-dom-infoset><abbr>DOM</abbr> Tree to <abbr>XML</abbr>
189    Information Set Converter</dt>
190      <dd>A software component that converts a <abbr>DOM</abbr> tree into
191      an <abbr>XML</abbr> information set.  Note that this documetn does not define
192      any particular way for the convertion, but it defines constraints for
193      such processing.</dd>
194    </dl>
195  </div>  </div>
196  </div>  </div>
197    
# Line 154  In addition, it modifies existing interf Line 212  In addition, it modifies existing interf
212  <a href="#Notation"><code>Notation</code></a>.</p>  <a href="#Notation"><code>Notation</code></a>.</p>
213    
214  <div class=section id=features>  <div class=section id=features>
215  <h3>Feature Name</h3>  <h3>Feature String</h3>
216    
217  <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
218  the <abbr>DOM</abbr> Document Type Definition module, the  the <abbr>DOM</abbr> Document Type Definition module, the
# Line 162  the <abbr>DOM</abbr> Document Type Defin Line 220  the <abbr>DOM</abbr> Document Type Defin
220  <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
221  set to  set to
222  <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>
223  and <dfn id=feature-XDoctype-3.0><code>3.0</code></dfn> respectively.</p>  and <dfn id=feature-XDoctype-3.0><code>3.0</code></dfn> respectively.  Any
224    method that takes one or more feature names, with or without version number,
225  <p>In such an implementation, the <code>getFeature</code> method of a  such as <code>hasFeature</code> or <code>getFeature</code>,
226  <code>Document</code> object <em class=rfc2119>MUST</em> return the (at least  <em class=rfc2119>MUST</em> behave in a manner consistent with it.</p>
 conceptually) same object implementing the  
 <a href="#DocumentXDoctype"><code>DocumentXDoctype</code></a> interface when  
 the parameters are set to  
 <a href="#feature-XDoctype"><code>http://suika.fam.cx/www/2006/feature/XDoctype</code></a>  
 and <a href="#feature-XDoctype-3.0"><code>3.0</code></a> respectively.    
 Likewise, any method that takes one or more feature names with or without  
 version number, including the methods <code>hasFeature</code> and  
 <code>getFeature</code>, <em class=rfc2119>MUST</em> behave in a manner  
 consistent with the aforementioned cases.</p>  
227  </div>  </div>
228    
229  <div class=section id=section-node>  <div class=section id=section-node>
# Line 216  these kinds of nodes, methods and attrib Line 265  these kinds of nodes, methods and attrib
265      Note that the value might be <code>null</code>.</p>      Note that the value might be <code>null</code>.</p>
266    </dd>    </dd>
267  <dt><code id=cloneNode>cloneNode</code></dt>  <dt><code id=cloneNode>cloneNode</code></dt>
268    <dd class=ed>@@</dd>    <dd class=ed>
269        <p>A future version of the specification is expected to define the
270        behavior of the <a href="#cloneNode"><code>cloneNode</code></a> method
271        for those kinds of nodes.  In addition, it might revise behavior of
272        the method for <a href="#Entity"><code>Entity</code></a>,
273        <a href="#Notation"><code>Notation</code></a>, and/or
274        <a href="#DocumentType"><code>DocumentType</code></a> nodes.</p>
275      </dd>
276      <!--
277    <dd class=ed>@@ If Attr and AttributeDefinition is inconsistent, then ...</dd>    <dd class=ed>@@ If Attr and AttributeDefinition is inconsistent, then ...</dd>
278      -->
279  <dt><code id=compareDocumentPosition>compareDocumentPosition</code></dt>  <dt><code id=compareDocumentPosition>compareDocumentPosition</code></dt>
280    <dd class=ed>@@</dd>    <dd class=ed>
281        <p>A future version of the specification is expected to define the
282        behavior of the method
283        for those kinds of nodes.  In addition, it might revise behavior of
284        the method for <a href="#Entity"><code>Entity</code></a>,
285        <a href="#Notation"><code>Notation</code></a>, and/or
286        <a href="#DocumentType"><code>DocumentType</code></a> nodes.</p>
287      </dd>
288  <dt><code id=isDefaultNamespace>isDefaultNamespace</code></dt>  <dt><code id=isDefaultNamespace>isDefaultNamespace</code></dt>
289    <dd><p>When invoked, the method <em class=rfc2119>MUST</em> return    <dd><p>When invoked, the method <em class=rfc2119>MUST</em> return
290    <code>false</code>.</p></dd>    <code>false</code>.</p></dd>
# Line 359  following:</p> Line 424  following:</p>
424    is normalized, any nodes in the <code>NamedNodeMap</code> object in the    is normalized, any nodes in the <code>NamedNodeMap</code> object in the
425    <a href="#attributeDefinitions"><code>attributeDefinitions</code></a>    <a href="#attributeDefinitions"><code>attributeDefinitions</code></a>
426    attribute <em class=rfc2119>MUST</em> be normalized as well.</p></dd>    attribute <em class=rfc2119>MUST</em> be normalized as well.</p></dd>
 <dt class=ed>@@ ...</dt>  
427  </dl>  </dl>
428    
429  </div>  </div>
# Line 367  following:</p> Line 431  following:</p>
431  <div class=section id=section-document>  <div class=section id=section-document>
432  <h3>Modifications to the <code id=Document>Document</code> Interface</h3>  <h3>Modifications to the <code id=Document>Document</code> Interface</h3>
433    
434    <!--
435  <p>If an attempt is made to adopt an  <p>If an attempt is made to adopt an
436  <a href="#ElementTypeDefinition"><code>ElementTypeDefinition</code></a> or  <a href="#ElementTypeDefinition"><code>ElementTypeDefinition</code></a> or
437  <a href="#AttributeDefinition"><code>AttributeDefinition</code></a> node,  <a href="#AttributeDefinition"><code>AttributeDefinition</code></a> node,
438  the <code id=adoptNode>adoptNode</code> method <em class=rfc2119>MUST</em>  the <code id=adoptNode>adoptNode</code> method <em class=rfc2119>MUST</em>
439  raise a <code>NOT_SUPPORTED_ERR</code> exception <span class=ed>@@  raise a <code>NOT_SUPPORTED_ERR</code> exception <span class=ed>@@
440  ref</span>.</p>  ref</span>.</p>
441    -->
442    
443    <div class=ed>
444    <p>Future version of the specification is expected to define what should
445    be done if <code>adoptNode</code> or <code>importNode</code> method have to
446    adopt or import an
447    <a href="#ElementTypeDefinition"><code>ElementTypeDefinition</code></a> or
448    <a href="#AttributeDefinition"><code>AttributeDefinition</code></a> node.
449    In addition it might revise behavior of those methods for
450    <a href="#Entity"><code>Entity</code></a>,
451    <a href="#Notation"><code>Notation</code></a>, and/or
452    <a href="#DocumentType"><code>DocumentType</code></a> nodes.
453    Behavior of <code>normalizeDocument</code> method for these kinds of
454    nodes might also be defined in some day.</p>
455    </div>
456    
457  </div>  </div>
458    
459  <div class=section id=section-documentxdoctype>  <div class=section id=section-documentxdoctype>
460  <h3>The <code>DocumentXDoctype</code> Interface</h3>  <h3>The <code>DocumentXDoctype</code> Interface</h3>
461    
462    <p>The <a href="#Document"><code>Document</code></a> nodes
463    <em class=rfc2119>MUST</em> also implement the
464    <a href="#DocumentXDoctype"><code>DocumentXDoctype</code></a> interface.</p>
465    
466    <p>An instance of the
467    <a href="#DocumentXDoctype"><code>DocumentXDoctype</code></a>
468    interface <em class=rfc2119>MUST</em> be able to be obtained by using
469    binding$B!>(Bspecific casting methods on an instance of the
470    <a href="#Document"><code>Document</code></a> interface (if such
471    casting methods are available) or by using the method <code>getFeature</code>
472    with parameter values
473    <a href="#feature-XDoctype"><code>http://suika.fam.cx/www/2006/feature/XDoctype</code></a>
474    and <a href="#feature-XDoctype-3.0"><code>3.0</code></a> respectively (if the
475    <a href="#Document"><code>Document</code></a> node supports the
476    feature <code>Core</code> version <code>3.0</code>
477    <span class=ed>[DOM3]</span>).</p>
478    
479  <p>The <a href="#DocumentXDoctype"><code>DocumentXDoctype</code></a> interface  <p>The <a href="#DocumentXDoctype"><code>DocumentXDoctype</code></a> interface
480  <em class=rfc2119>MUST</em> be implemented as following:</p>  <em class=rfc2119>MUST</em> be implemented as following:</p>
481  <pre class=idl><code>interface <dfn id=DocumentXDoctype><code>DocumentXDoctype</code></dfn> {  <pre class=idl><code>interface <dfn id=DocumentXDoctype><code>DocumentXDoctype</code></dfn> {
# Line 398  ref</span>.</p> Line 496  ref</span>.</p>
496      raises (DOMException);      raises (DOMException);
497  }</code></pre>  }</code></pre>
498    
 <div class=ed>@@ cast definition</div>  
   
499  <dl>  <dl>
500  <dt><dfn id=createDocumentTypeDefinition class=dom-method><code>createDocumentTypeDefinition</code></dfn>,  <dt><dfn id=createDocumentTypeDefinition class=dom-method><code>createDocumentTypeDefinition</code></dfn>,
501  method</dt>  method</dt>
# Line 702  If the new Line 798  If the new
798  <div class=section id=section-documenttypedefinition>  <div class=section id=section-documenttypedefinition>
799  <h3>The <code>DocumentTypeDefinition</code> Interface</h3>  <h3>The <code>DocumentTypeDefinition</code> Interface</h3>
800    
801    <p>The <a href="#DocumentType"><code>DocumentType</code></a> nodes
802    <em class=rfc2119>MUST</em> also implement the
803    <a href="#DocumentTypeDefinition"><code>DocumentTypeDefinition</code></a>
804    interface.</p>
805    
806    <p>An instance of the
807    <a href="#DocumentTypeDefinition"><code>DocumentTypeDefinition</code></a>
808    interface <em class=rfc2119>MUST</em> be able to be obtained by using
809    binding$B!>(Bspecific casting methods on an instance of the
810    <a href="#DocumentType"><code>DocumentType</code></a> interface (if such
811    casting methods are available) or by using the method <code>getFeature</code>
812    with parameter values
813    <a href="#feature-XDoctype"><code>http://suika.fam.cx/www/2006/feature/XDoctype</code></a>
814    and <a href="#feature-XDoctype-3.0"><code>3.0</code></a> respectively (if the
815    <a href="#DocumentType"><code>DocumentType</code></a> node supports the
816    feature <code>Core</code> version <code>3.0</code>
817    <span class=ed>[DOM3]</span>).</p>
818    
819  <div class="note memo">  <div class="note memo">
820  <p>This interface is a separated interface from the  <p>This interface is a separated interface from the
821  <a href="#DocumentType"><code>DocumentType</code></a>, not a set of extensions  <a href="#DocumentType"><code>DocumentType</code></a>, not a set of extensions
822  to the <a href="#DocumentType"><code>DocumentType</code></a>,  to the <a href="#DocumentType"><code>DocumentType</code></a>,
823  for the historical reason.</p>  for the historical reason.</p>
824    
825    <p class=ed>Should the interface be merged with
826    <a href="#DocumentType"><code>DocumentType</code></a>?</p>
827  </div>  </div>
828    
829  <p>The  <p>The
# Line 735  interface <em class=rfc2119>MUST</em> be Line 852  interface <em class=rfc2119>MUST</em> be
852      raises (DOMException);      raises (DOMException);
853  }</code></pre>  }</code></pre>
854    
 <pre class=ed>  
 [1] In an implementation that supports the  
 [CODE(URI)@en[[[http://suika.fam.cx/www/2006/feature/XDoctype]]]]  
 feature, a [CODE(DOMi)@en[[[DocumentType]]]] node  
 must implement the [CODE(DOMi)@en[[[DocumentTypeDefinition]]]]  
 interface.  See [[DOM XML Document Type Definition]>>3] for  
 details.  
 </pre>  
   
855  <dl>  <dl>
856  <dt><dfn id=elementTypes class=dom-attr><code>elementTypes</code></dfn> of  <dt><dfn id=elementTypes class=dom-attr><code>elementTypes</code></dfn> of
857  type <code>NamedNodeMap</code>, read$B!>(Bonly</dt>  type <code>NamedNodeMap</code>, read$B!>(Bonly</dt>
858    <dd><p>A live <code>NamedNodeMap</code> object that contains all the element    <dd><p>A <a href="#live">live</a> <code>NamedNodeMap</code> object that
859    type definitions belonging to the <code>DocumentType</code> node.</p>    contains all the element type definitions belonging to the
860      <a href="#DocumentType"><code>DocumentType</code></a> node.</p>
861    
862    <p>On getting, the attribute <em class=rfc2119>MUST</em> return the    <p>On getting, the attribute <em class=rfc2119>MUST</em> return the
863    <code>NamedNodeMap</code> object that contains all the    <code>NamedNodeMap</code> object that contains all the
# Line 756  type <code>NamedNodeMap</code>, read$B! Line 865  type <code>NamedNodeMap</code>, read$B!
865    nodes belonging to the <code>DocumentType</code> node.  The    nodes belonging to the <code>DocumentType</code> node.  The
866    <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
867    if and only if the node is read$B!>(Bonly.  The <code>NamedNodeMap</code>    if and only if the node is read$B!>(Bonly.  The <code>NamedNodeMap</code>
868    object <em class=rfc2119>MUST</em> be live and the same object    object <em class=rfc2119>MUST</em> be <a href="#live">live</a>.</p>
   <em class=rfc2119>MUST</em> be returned for any invocation.</p>  
869    
870    <p>If the <code>DocumentType</code> node is created during the process    <p>If the <code>DocumentType</code> node is created during the process
871    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
# Line 773  type <code>NamedNodeMap</code>, read$B! Line 881  type <code>NamedNodeMap</code>, read$B!
881    <code>NamedNodeMap</code> object.</p></dd>    <code>NamedNodeMap</code> object.</p></dd>
882  <dt><dfn id=generalEntities class=dom-attr><code>generalEntities</code></dfn>  <dt><dfn id=generalEntities class=dom-attr><code>generalEntities</code></dfn>
883  of type <code>NamedNodeMap</code>, read$B!>(Bonly</dt>  of type <code>NamedNodeMap</code>, read$B!>(Bonly</dt>
884    <dd><p>A live <code>NamedNodeMap</code> object that contains all the general    <dd><p>A <a href="#live">live</a> <code>NamedNodeMap</code> object that
885    entities belonging to the <code>DocumentType</code> node.</p>    contains all the general entities belonging to the
886      <a href="#DocumentType"><code>DocumentType</code></a> node.</p>
887        
888    <p>On getting, the attribute <em class=rfc2119>MUST</em> return the    <p>On getting, the attribute <em class=rfc2119>MUST</em> return the
889    same value as the <code>entities</code> attribute (defined in the    same value as the <code>entities</code> attribute (defined in the
890    <code>DocumentType</code> interface) of the same node.</p>    <a href="#DocumentType"><code>DocumentType</code></a> interface) of the same
891      node.</p>
892    
893    <div class="note memo">    <div class="note memo">
894      <p>This attribute is part of the interface for historical reason.</p>      <p>This attribute is part of the interface for historical reason.</p>
# Line 806  reflected by that of the object. Line 916  reflected by that of the object.
916  -->  -->
917  <dt><dfn id=notations class=dom-attr><code>notations</code></dfn> of type  <dt><dfn id=notations class=dom-attr><code>notations</code></dfn> of type
918  <code>notations</code>, read$B!>(Bonly</code>  <code>notations</code>, read$B!>(Bonly</code>
919    <dd><p>A live <code>NamedNodeMap</code> object that contains all the    <dd><p>A <a href="#live">live</a> <code>NamedNodeMap</code> object that
920    notations belonging to the <code>DocumentType</code> node.</p>    contains all the notations belonging to the
921      <a href="#DocumentType"><code>DocumentType</code></a> node.</p>
922        
923    <p>On getting, the attribute <em class=rfc2119>MUST</em> return the    <p>On getting, the attribute <em class=rfc2119>MUST</em> return the
924    same value as the <code>notations</code> attribute (defined in the    same value as the <code>notations</code> attribute (defined in the
925    <code>DocumentType</code> interface) of the same node.</p>    <a href="#DocumentType"><code>DocumentType</code></a> interface) of the same
926      node.</p>
927    
928    <div class="note memo">    <div class="note memo">
929      <p>This attribute is part of the interface for historical reason.</p>      <p>This attribute is part of the interface for historical reason.</p>
930      <p>Implementations are not required to implement the      <p>Implementations are not required to implement the
931      <code>notations</code> attribute twice (for <code>DocumentType</code>      <code>notations</code> attribute twice (for
932      and <code>DocumentTypeDefinition</code> interfaces); they share exactly      <a href="#DocumentType"><code>DocumentType</code></a> and
933      same definition.</p>      <a href="#DocumentTypeDefinition"><code>DocumentTypeDefinition</code></a>
934        interfaces); they share exactly same definition.</p>
935    </div></dd>    </div></dd>
936  <!--  <!--
937  If the [CODE(DOMi)@en[[[DocumentTypeDefinition]]]] node is  If the [CODE(DOMi)@en[[[DocumentTypeDefinition]]]] node is
# Line 1001  of type <a href="#DocumentType"><code>Do Line 1114  of type <a href="#DocumentType"><code>Do
1114    then <code>null</code> <em class=rfc2119>MUST</em> be returned.</p></dd>    then <code>null</code> <em class=rfc2119>MUST</em> be returned.</p></dd>
1115  <dt><dfn id=attributeDefinitions class=dom-attr><code>attributeDefinitions</code></dfn>  <dt><dfn id=attributeDefinitions class=dom-attr><code>attributeDefinitions</code></dfn>
1116  of type NamedNodeMap, read$B!>(Bonly</dt>  of type NamedNodeMap, read$B!>(Bonly</dt>
1117    <dd><p>A live <code>NamedNodeMap</code> object that contains all the    <dd><p>A <a href="#live">live</a> <code>NamedNodeMap</code> object that
1118    attribute definitions belonging to the    contains all the attribute definitions belonging to the
1119    <a href="#ElementTypeDefinition"><code>ElementTypeDefinition</code></a>    <a href="#ElementTypeDefinition"><code>ElementTypeDefinition</code></a>
1120    node.</p>    node.</p>
1121    
# Line 1013  of type NamedNodeMap, read$B!>(Bonly</ Line 1126  of type NamedNodeMap, read$B!>(Bonly</
1126    <a href="#ElementTypeDefinition"><code>ElementTypeDefinition</code></a> node.    <a href="#ElementTypeDefinition"><code>ElementTypeDefinition</code></a> node.
1127    The <code>NamedNodeMap</code> object <em class=rfc2119>MUST</em> be    The <code>NamedNodeMap</code> object <em class=rfc2119>MUST</em> be
1128    read$B!>(Bonly if and only if the node is read$B!>(Bonly.  The    read$B!>(Bonly if and only if the node is read$B!>(Bonly.  The
1129    <code>NamedNodeMap</code> object <em class=rfc2119>MUST</em> be live and    <code>NamedNodeMap</code> object <em class=rfc2119>MUST</em> be
1130    the same object <em class=rfc2119>MUST</em> be returned for any    <a href="#live">live</a>.</p>
   invocation.</p>  
1131        
1132    <p>If the    <p>If the
1133    <a href="#ElementTypeDefinition"><code>ElementTypeDefinition</code></a> node    <a href="#ElementTypeDefinition"><code>ElementTypeDefinition</code></a> node

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24