/[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.23 by wakaba, Sat Dec 8 10:24:35 2007 UTC revision 1.24 by wakaba, Sat Dec 8 13:10:28 2007 UTC
# Line 156  is defined in the HTML5 specification Line 156  is defined in the HTML5 specification
156  is defined in the <abbr>DOM</abbr> Level 3 Core specification  is defined in the <abbr>DOM</abbr> Level 3 Core specification
157  <cite class="bibref normative">[<a href="#ref-DOM3CORE">DOM3CORE</a>]</cite>.</p>  <cite class="bibref normative">[<a href="#ref-DOM3CORE">DOM3CORE</a>]</cite>.</p>
158    
159  <p class=ed>@@ ref to DOM Binding Spec</p>  <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>
# Line 174  this specification:</p> Line 193  this specification:</p>
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 Core    some version of <abbr>DOM</abbr> Core (e.g. <abbr>DOM</abbr> Level 3 Core
195    <cite class="bibref normative">[<a href="#ref-DOM3CORE">DOM3CORE</a>]</cite>)    <cite class="bibref normative">[<a href="#ref-DOM3CORE">DOM3CORE</a>]</cite>)
196    with one or more language binding (e.g. 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
# Line 248  such as <code>hasFeature</code> or <code Line 275  such as <code>hasFeature</code> or <code
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
# Line 381  these kinds of nodes, methods and attrib Line 409  these kinds of nodes, methods and attrib
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
# Line 491  feature <code>Core</code> version <code> Line 521  feature <code>Core</code> version <code>
521  <cite class="bibref normative">[<a href="#ref-DOM3CORE">DOM3CORE</a>]</cite>).</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>)
# Line 778  of the <a href="#DocumentType"><code>Doc Line 809  of the <a href="#DocumentType"><code>Doc
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>;
# Line 858  for the historical reason.</p> Line 890  for the historical reason.</p>
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>;
# Line 1109  node cannot be a child of any node.  An Line 1142  node cannot be a child of any node.  An
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    
# Line 1237  can have zero or more child nodes of sam Line 1271  can have zero or more child nodes of sam
1271  <cite class="bibref normative">[<a href="#ref-DOM3CORE">DOM3CORE</a>]</cite>.</p>  <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;
# Line 1416  value</a> and/or Line 1451  value</a> and/or
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>
# Line 1531  type <code>unsigned short</code></dt> Line 1567  type <code>unsigned short</code></dt>
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>;
# Line 1631  of type boolean</dt> Line 1668  of type boolean</dt>
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>;
# Line 1657  interface <em class=rfc2119>MUST</em> be Line 1695  interface <em class=rfc2119>MUST</em> be
1695    April 2004</time>.  <em>This</em> version of the specification is referenced.    April 2004</time>.  <em>This</em> version of the specification is referenced.
1696    The latest version of the specification is available at    The latest version of the specification is available at
1697    <code class=uri>&lt;<a href="http://www.w3.org/TR/DOM-Level-3-Core">http://www.w3.org/TR/DOM-Level-3-Core</a>></code>.</dd>    <code class=uri>&lt;<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>&lt;<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>  <dt id=ref-HTML5>HTML5</dt>
1710    <dd><cite><a href="http://whatwg.org/html5"><abbr>HTML</abbr> 5</a></cite>,    <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>    <abbr title="Web Hypertext Application Technology Working Group">WHATWG</abbr>
# Line 1689  interface <em class=rfc2119>MUST</em> be Line 1738  interface <em class=rfc2119>MUST</em> be
1738    Markup Language (<abbr>XML</abbr>) 1.1 (Second Edition)</a></cite>,    Markup Language (<abbr>XML</abbr>) 1.1 (Second Edition)</a></cite>,
1739    <abbr>W3C</abbr> Recommendation, <time datetime=2006-08-16>16 August    <abbr>W3C</abbr> Recommendation, <time datetime=2006-08-16>16 August
1740    2006</time>, edited in place <time datetime=2006-09-29>29 September    2006</time>, edited in place <time datetime=2006-09-29>29 September
1741    2006</time>.  <em>This version of the specification is referenced.  The    2006</time>.  <em>This</em> version of the specification is referenced.  The
1742    latest version of the specification is available at    latest version of the specification is available at
1743    <code class=uri>&lt;<a href="http://www.w3.org/TR/xml11">http://www.w3.org/TR/xml11</a>></code>.</dd>    <code class=uri>&lt;<a href="http://www.w3.org/TR/xml11">http://www.w3.org/TR/xml11</a>></code>.</dd>
1744  </dl>  </dl>

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24