/[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.24 by wakaba, Sat Dec 8 13:10:28 2007 UTC revision 1.25 by wakaba, Sat Dec 8 13:41:36 2007 UTC
# Line 297  these kinds of nodes, methods and attrib Line 297  these kinds of nodes, methods and attrib
297  <a href="#Node"><code>Node</code></a> interface must behave as following:</p>  <a href="#Node"><code>Node</code></a> interface must behave as following:</p>
298    
299  <dl>  <dl>
300  <dt><code id=attributes>attributes</code></dt>  <dt><code id=attributes>attributes</code>,
301    <code id=localName>localName</code>,
302    <code id=manakaiLocalName>manakaiLocalName</code>
303    <cite class="bibref normative">[<a href="#ref-MANAKAI">MANAKAI</a>]</cite>,
304    <code id=namespaceURI>namespaceURI</code>, and
305    <code id=prefix>prefix</code></dt>
306    <dd>    <dd>
307      <p>On getting, the attribute <em class=rfc2119>MUST</em> return      <p>On getting, the attributes <em class=rfc2119>MUST</em> return
308      <code>null</code>.</p>      <code>null</code>.</p>
309    </dd>    </dd>
310  <dt><code id=baseURI>baseURI</code></dt>  <dt><code id=baseURI>baseURI</code></dt>
# Line 567  method</dt> Line 572  method</dt>
572      <a href="#publicId"><code>publicId</code></a>, and      <a href="#publicId"><code>publicId</code></a>, and
573      <a href="#systemId"><code>systemId</code></a></dt>      <a href="#systemId"><code>systemId</code></a></dt>
574        <dd>Empty strings.</dd>        <dd>Empty strings.</dd>
     <dt><code>manakaiReadOnly</code> <span class=ed>[manakai]</span></dt>  
       <dd><code>false</code>.</dd>  
575      <dt><code>nodeName</code></dt>      <dt><code>nodeName</code></dt>
576        <dd><a href="#createDocumentTypeDefinition-name"><var>name</var></a>.</dd>        <dd><a href="#createDocumentTypeDefinition-name"><var>name</var></a>.</dd>
577      <dt><code>ownerDocument</code></dt>      <dt><code>ownerDocument</code></dt>
578        <dd>The <a href="#Document"><code>Document</code></a> node over which the        <dd>The <a href="#Document"><code>Document</code></a> node over which the
579        method is invoked.</dd>        method is invoked.</dd>
580      </dl>      </dl>
581        <p>The returned node <em class=rfc2119>MUST NOT</em> be marked as
582        <a href="#read-only">read$B!>(Bonly</a>.</p>
583      <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
584      containing five general entity declarations: <code>amp</code>,      containing five general entity declarations: <code>amp</code>,
585      <code>lt</code>, <code>gt</code>, <code>quot</code>, and      <code>lt</code>, <code>gt</code>, <code>quot</code>, and
# Line 596  method</dt> Line 601  method</dt>
601      <dl>      <dl>
602      <dt><a href="#attributeDefinitions"><code>attributeDefinitions</code></a></dt>      <dt><a href="#attributeDefinitions"><code>attributeDefinitions</code></a></dt>
603        <dd>An empty <code>NamedNodeMap</code> object.</dd>        <dd>An empty <code>NamedNodeMap</code> object.</dd>
     <dt><a href="#attributes"><code>attributes</code></a>,  
     <code>parentNode</code></dt>  
       <dd><code>null</code>.</dd>  
604      <dt><code>childNodes</code></dt>      <dt><code>childNodes</code></dt>
605        <dd>An empty <code>NodeList</code> object.</dd>        <dd>An empty <code>NodeList</code> object.</dd>
     <dt><code>manakaiReadOnly</code> <span class=ed>[manakai]</span></dt>  
       <dd><code>false</code>.</dd>  
606      <dt><a href="#nodeName"><code>nodeName</code></a></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>
610      <dt><a href="#ownerDocumentTypeDefinition"><code>ownerDocumentTypeDefinition</code></a></dt>      <dt><a href="#ownerDocumentTypeDefinition"><code>ownerDocumentTypeDefinition</code></a>
611        and <code>parentNode</code></dt>
612        <dd><code>null</code>.</dd>        <dd><code>null</code>.</dd>
     <dt class=ed>@@ Ensure all attributes are defined</dt>  
613      </dl>      </dl>
614        <p>The returned node <em class=rfc2119>MUST NOT</em> be marked as
615        <a href="#read-only">read$B!>(Bonly</a>.</p>
616    </dd>    </dd>
617  <dt><dfn id=createAttributeDefinition class=dom-method><code>createAttributeDefinition</code></dfn>,  <dt><dfn id=createAttributeDefinition class=dom-method><code>createAttributeDefinition</code></dfn>,
618  method</dt>  method</dt>
# Line 628  method</dt> Line 630  method</dt>
630      <dl>      <dl>
631      <dt><a href="#allowedTokens"><code>allowedTokens</code></a></dt>      <dt><a href="#allowedTokens"><code>allowedTokens</code></a></dt>
632        <dd>An empty <code>DOMStringList</code> object.</dd>        <dd>An empty <code>DOMStringList</code> object.</dd>
     <dt><a href="#attributes"><code>attributes</code></a>,  
     <a href="#ownerElementTypeDefinition"><code>ownerElementTypeDefinition</code></a>,  
     and <code>parentNode</code></dt>  
       <dd><code>null</code>.</dd>  
633      <dt><code>childNodes</code></dt>      <dt><code>childNodes</code></dt>
634        <dd>An empty <code>NodeList</code> object.</dd>        <dd>An empty <code>NodeList</code> object.</dd>
635      <dt><a href="#declaredType"><code>declaredType</code></a></dt>      <dt><a href="#declaredType"><code>declaredType</code></a></dt>
636        <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>
637      <dt><a href="#defaultType"><code>defaultType</code></a></dt>      <dt><a href="#defaultType"><code>defaultType</code></a></dt>
638        <dd><a href="#UNKNOWN_DEFAULT"><code>UNKNOWN_DEFAULT</code></a>.</dd>        <dd><a href="#UNKNOWN_DEFAULT"><code>UNKNOWN_DEFAULT</code></a>.</dd>
     <dt><code>manakaiReadOnly</code> <span class=ed>[manakai]</span></dt>  
       <dd><code>false</code>.</dd>  
639      <dt><a href="#nodeName"><code>nodeName</code></a></dt>      <dt><a href="#nodeName"><code>nodeName</code></a></dt>
640        <dd><a href="#createAttributeDefinition-name"><var>name</var></a>.</dd>        <dd><a href="#createAttributeDefinition-name"><var>name</var></a>.</dd>
641      <dt><code>ownerDocument</code></dt>      <dt><code>ownerDocument</code></dt>
642        <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>
643      <dt class=ed>@@ Ensure all attributes are defined</dt>      <dt><a href="#ownerElementTypeDefinition"><code>ownerElementTypeDefinition</code></a>
644        and <code>parentNode</code></dt>
645          <dd><code>null</code>.</dd>
646      </dl>      </dl>
647        <p>The returned node <em class=rfc2119>MUST NOT</em> be marked as
648        <a href="#read-only">read$B!>(Bonly</a>.</p>
649    
650      <!-- This requirement, if not droped, should be part of xml-id spec.      <!-- This requirement, if not droped, should be part of xml-id spec.
651      <div class=ed>      <div class=ed>
# Line 670  method</dt> Line 670  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>
     <dt><code>attributes</code>,  
     <a href="#notationName"><code>notationName</code></a>,  
     <a href="#ownerDocumentTypeDefinition"><code>ownerDocumentTypeDefinition</code></a>,  
     and <code>parentNode</code></dt>  
       <dd><code>null</code>.</dd>  
673      <dt><code>childNodes</code></dt>      <dt><code>childNodes</code></dt>
674        <dd>An empty <code>NodeList</code> object.</dd>        <dd>An empty <code>NodeList</code> object.</dd>
675      <dt><code>manakaiDeclarationBaseURI</code>,      <dt><code>manakaiDeclarationBaseURI</code>,
676      <code>manakaiEntityBaseURI</code>, and      <code>manakaiEntityBaseURI</code>, and <code>manakaiEntityURI</code>
677      <code>manakaiEntityURI</code> <span class=ed>@@ ref</span></dt>      <cite class="bibref normative">[<a href="#ref-MANAKAI">MANAKAI</a>]</cite></dt>
678        <dd>No explicit value is set.</dd>        <dd>No explicit value is set.</dd>
679      <dt><a href="#hasReplacementTree"><code>hasReplacementTree</code></a> and      <dt><a href="#hasReplacementTree"><code>hasReplacementTree</code></a></dt>
     <code>manakaiReadOnly</code> <span class=ed>[manakai]</span></dt>  
680        <dd><code>false</code>.</dd>        <dd><code>false</code>.</dd>
681      <dt><code>nodeName</code></dt>      <dt><code>nodeName</code></dt>
682        <dd><a href="#createGeneralEntity-name"><var>name</var></a>.</dd>        <dd><a href="#createGeneralEntity-name"><var>name</var></a>.</dd>
# Line 698  method</dt> Line 692  method</dt>
692            with its <code>nodeName</code> attribute set to <code>amp</code>.</p>            with its <code>nodeName</code> attribute set to <code>amp</code>.</p>
693          </div>          </div>
694        </dd>        </dd>
695        <dt><a href="#notationName"><code>notationName</code></a>,
696        <a href="#ownerDocumentTypeDefinition"><code>ownerDocumentTypeDefinition</code></a>,
697        and <code>parentNode</code></dt>
698          <dd><code>null</code>.</dd>
699      <dt><code>ownerDocument</code></dt>      <dt><code>ownerDocument</code></dt>
700        <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>
701      <dt><a href="#publicId"><code>publicId</code></a> and      <dt><a href="#publicId"><code>publicId</code></a> and
702      <a href="#systemId"><code>systemId</code></a></dt>      <a href="#systemId"><code>systemId</code></a></dt>
703        <dd><code>null</code>.</dd>        <dd><code>null</code>.</dd>
704        <dd class=ed>@@ publicId and systemId should be empty string?</dd>        <dd class=ed>@@ publicId and systemId should be empty string?</dd>
     <dt class=ed>@@ Ensure all attributes are defined</dd>  
705      </dl>      </dl>
706    </dd>    <p>The returned node <em class=rfc2119>MUST NOT</em> be marked as
707      <a href="#read-only">read$B!>(Bonly</a>.</p></dd>
708  <dt><dfn id=createNotation class=dom-method><code>createNotation</code></dfn>,  <dt><dfn id=createNotation class=dom-method><code>createNotation</code></dfn>,
709  method</dt>  method</dt>
710    <dd>    <dd>
# Line 718  method</dt> Line 716  method</dt>
716      <p>When invoked, the method <em class=rfc2119>MUST</em> create and return      <p>When invoked, the method <em class=rfc2119>MUST</em> create and return
717      a <code>Notation</code> node with the following attributes:</p>      a <code>Notation</code> node with the following attributes:</p>
718      <dl>      <dl>
     <dt><code>attributes</code>,  
     <a href="#ownerDocumentTypeDefinition"><code>ownerDocumentTypeDefinition</code></a>,  
     and <code>parentNode</code></dt>  
       <dd><code>null</code>.</dd>  
719      <dt><code>childNodes</code></dt>      <dt><code>childNodes</code></dt>
720        <dd>An empty <code>NodeList</code> object.</dd>        <dd>An empty <code>NodeList</code> object.</dd>
721      <dt><code>manakaiDeclarationBaseURI</code></dt>      <dt><code>manakaiDeclarationBaseURI</code>
722        <cite class="bibref normative">[<a href="#ref-MANAKAI">MANAKAI</a>]</cite></dt>
723        <dd>No explicit value is set.</dd>        <dd>No explicit value is set.</dd>
     <dt><code>manakaiReadOnly</code> <span class=ed>[manakai]</span></dt>  
       <dd><code>false</code>.</dd>  
724      <dt><code>nodeName</code></dt>      <dt><code>nodeName</code></dt>
725        <dd><a href="#createNotation-name"><var>name</var></a>.</dd>        <dd><a href="#createNotation-name"><var>name</var></a>.</dd>
726      <dt><code>ownerDocument</code></dt>      <dt><code>ownerDocument</code></dt>
727        <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>
728        <dt><a href="#ownerDocumentTypeDefinition"><code>ownerDocumentTypeDefinition</code></a>
729        and <code>parentNode</code></dt>
730          <dd><code>null</code>.</dd>
731      <dt><a href="#publicId"><code>publicId</code></a> and      <dt><a href="#publicId"><code>publicId</code></a> and
732      <a href="#systemId"><code>systemId</code></a></dt>      <a href="#systemId"><code>systemId</code></a></dt>
733        <dd><code>null</code>.</dd>        <dd><code>null</code>.</dd>
734        <dd class=ed>@@ publicId and systemId should be empty string?</dd>        <dd class=ed>@@ publicId and systemId should be empty string?</dd>
     <dt class=ed>@@ Ensure all attributes are defined</dt>  
735      </dl>      </dl>
736    </dd>    <p>The returned node <em class=rfc2119>MUST NOT</em> be marked as
737      <a href="#read-only">read$B!>(Bonly</a>.</p></dd>
738  </dl>  </dl>
739    
740  <p>These methods <em class=rfc2119>MUST</em> raise an  <p>These methods <em class=rfc2119>MUST</em> raise an
# Line 795  type declaration information item</a> Line 791  type declaration information item</a>
791  the <code>NodeList</code> object in the <code>childNodes</code> attribute  the <code>NodeList</code> object in the <code>childNodes</code> attribute
792  of the node <em class=rfc2119>MUST</em> contain the  of the node <em class=rfc2119>MUST</em> contain the
793  <a href="#ProcessingInstruction"><code>ProcessingInstruction</code></a> nodes  <a href="#ProcessingInstruction"><code>ProcessingInstruction</code></a> nodes
794  created from the processing instruction information items in the list in the  created from any
795  [children] property of the document type declaration item in the same  <a href="http://www.w3.org/TR/2004/REC-xml-infoset-20040204/#infoitem.pi">processing
796  order.</p>  instruction information items</a> in the list in the [children] property of the
797    <a href="http://www.w3.org/TR/2004/REC-xml-infoset-20040204/#infoitem.doctype">document
798    type declaration item</a> in the same order.</p>
799    
800  <p>If a <a href="#DocumentType"><code>DocumentType</code></a> node is mapped to  <p>If a <a href="#DocumentType"><code>DocumentType</code></a> node is mapped to
801  a document type declaration information item, the list in the [children]  a document type declaration information item, the list in the [children]
# Line 952  of type <code>NamedNodeMap</code>, read Line 950  of type <code>NamedNodeMap</code>, read
950    <a href="#DocumentType"><code>DocumentType</code></a> node.</p>    <a href="#DocumentType"><code>DocumentType</code></a> node.</p>
951        
952    <p>On getting, the attribute <em class=rfc2119>MUST</em> return the    <p>On getting, the attribute <em class=rfc2119>MUST</em> return the
953    same value as the <code>entities</code> attribute (defined in the    same value as the <code id=entities>entities</code> attribute (defined in the
954    <a href="#DocumentType"><code>DocumentType</code></a> interface) of the same    <a href="#DocumentType"><code>DocumentType</code></a> interface) of the same
955    node.</p>    node.</p>
956    
# Line 1725  interface <em class=rfc2119>MUST</em> be Line 1723  interface <em class=rfc2119>MUST</em> be
1723    14</a>, <abbr title="Request for Comments">RFC</abbr> 2119,    14</a>, <abbr title="Request for Comments">RFC</abbr> 2119,
1724    <time datetime=1997-03>March 1997</time>.    <time datetime=1997-03>March 1997</time>.
1725    <em>This</em> version of the specification is referenced.</dd>    <em>This</em> version of the specification is referenced.</dd>
1726    <dt id=ref-MANAKAI>MANAKAI</dt>
1727      <dd><cite><a href="http://suika.fam.cx/gate/2005/sw/manakai/DOM%20Extensions">
1728      manakai's <abbr>DOM</abbr> Extensions</a></cite>, editor's draft.  Work in
1729      progress.</dd>
1730  <dt id=ref-XML10">XML10</dt>  <dt id=ref-XML10">XML10</dt>
1731    <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
1732    Markup Language (<abbr>XML</abbr>) 1.0 (Fourth Edition)</a></cite>,    Markup Language (<abbr>XML</abbr>) 1.0 (Fourth Edition)</a></cite>,

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24