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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download) (as text)
Sun Dec 2 04:46:21 2007 UTC (16 years, 11 months ago) by wakaba
Branch: MAIN
Changes since 1.2: +65 -2 lines
File MIME type: text/html
DTDEF module introduction copied from wiki

1 wakaba 1.1 <!DOCTYPE html>
2     <html lang="en" class="formal-specification status-work-in-progress">
3     <head>
4 wakaba 1.2 <title>DOM Document Type Definition Module</title>
5 wakaba 1.1 <link rel="stylesheet" href="http://suika.fam.cx/www/style/html/spec">
6     <link rel="license" href="http://suika.fam.cx/c/gnu/fdl">
7     </head>
8     <body class="has-abstract">
9    
10     <div class="header">
11 wakaba 1.2 <h1>DOM Document Type Definition Module</h1>
12 wakaba 1.1 <h2>Working Draft <time datetime=2007-12-01>1 December 2007</time></h2>
13    
14     <dl class="versions-uri">
15     <dt>This Version</dt>
16 wakaba 1.2 <dd><code class="URI">&lt;<a href="http://suika.fam.cx/www/markup/xml/domdtdef/domdtdef-work"
17     >http://suika.fam.cx/www/markup/xml/domdtdef/domdtdef-work</a>&gt;</code></dd>
18 wakaba 1.1 <dt>Latest Version</dt>
19 wakaba 1.2 <dd><code class="URI">&lt;<a href="http://suika.fam.cx/www/markup/xml/domdtdef/domdtdef"
20     >http://suika.fam.cx/www/markup/xml/domdtdef/domdtdef</a>&gt;</code></dd>
21 wakaba 1.1 <dt>Latest Working Draft</dt>
22 wakaba 1.2 <dd><code class="URI">&lt;<a href="http://suika.fam.cx/www/markup/xml/domdtdef/domdtdef-work"
23     >http://suika.fam.cx/www/markup/xml/domdtdef/domdtdef-work</a>&gt;</code></dd>
24 wakaba 1.1 <!-- <dt>Previous Version</dt> -->
25     <dt>Version History</dt>
26 wakaba 1.2 <dd><code class=URI>&lt;<a href="http://suika.fam.cx/gate/cvs/markup/xml/domdtdef/domdtdef-work.en.html">http://suika.fam.cx/gate/cvs/markup/xml/domdtdef/domdtdef-work.en.html</a>&gt;</code></dd>
27     <dt id=author>Author</dt>
28 wakaba 1.1 <dd><a href="http://suika.fam.cx/~wakaba/who?" rel="author"
29     lang=ja>Wakaba</a>
30     <code class="mail">&lt;<a href="mailto:w@suika.fam.cx" rel="author"
31     >w@suika.fam.cx</a>&gt;</code></dd>
32     </dl>
33    
34     <p class="copyright" lang="en">&#xA9; <time>2007</time> <a
35     href="http://suika.fam.cx/~wakaba/who?" rel="author">Wakaba</a>.
36     Permission is granted to copy, distribute and/or modify this document
37     under the terms of the <a rel="license"
38     href="http://www.gnu.org/copyleft/fdl.html">GNU Free Documentation License</a>,
39     Version 1.2
40     or any later version published by the <a
41     href="http://www.fsf.org/">Free Software Foundation</a>;
42     with no Invariant Sections, no Front$B!>(BCover Texts, and no Back$B!>(BCover
43     Texts. A copy of the license is
44     available at <code class="URI">&lt;<a
45     href="http://www.gnu.org/copyleft/fdl.html"
46     rel="license">http://www.gnu.org/copyleft/fdl.html</a>&gt;</code>.</p>
47     </div>
48    
49     <div id="abstract" class="section">
50     <h2>Abstract</h2>
51    
52     <div class="ed issue">...</div>
53    
54     </div>
55    
56     <div id="status" class="section">
57     <h2>Status of This Document</h2>
58    
59     <p class=section-info><em>This section describes the status of this document
60     at the time of its publication. Other documents
61     might supersede this document.</em></p>
62    
63     <p>This document is a working draft, produced as part of the
64     <a href="http://suika.fam.cx/www/manakai-core/doc/web/">manakai</a>
65     project. It might be updated, replaced, or obsoleted by
66     other documents at any time. It is inappropriate to
67     cite this document as other than <q>work in progress</q>.</p>
68    
69     <p>Comments on this document are welcome and
70     may be sent to the <a href="#author">author</a>.</p>
71    
72     <p>Translations of thie document might be available.
73     The English version of the document is the only
74     normative version.</p>
75     </div>
76    
77     <div id="introduction" class="section">
78     <h2>Introduction</h2>
79    
80     <p class=section-info>This section is <em>non$B!>(Bnormative</em>.</p>
81    
82 wakaba 1.2 <div class="issue ed">
83     <p>This is a work-in-progress specification for DOM Document Type
84     Definition module, as implemented by manakai and
85     <a href="http://suika.fam.cx/gate/2005/sw/DOM%20XML%20Document%20Type%20Definition">partially documented in the SuikaWiki</a>.</p>
86     </div>
87 wakaba 1.1
88 wakaba 1.3 <p>The <dfn id=term-dom-dtdef><abbr>DOM</abbr> Document Type Definition</dfn>
89     module is a set of <abbr>DOM</abbr> interfaces, including both new
90     interfaces and modifications to existing <abbr>DOM</abbr> interfaces,
91     over which <abbr>DOM</abbr> applications are able to access to the
92     definitions of the document type.</p>
93    
94     <p>Interfaces defined in this specification are partially modeled from
95     early drafts of <abbr>DOM</abbr> level 1 <span class=ed>@@ ref</span>,
96     <abbr>DOM</abbr> Abstract Schema level 3 <span class=ed>@@ ref</span>, and
97     <abbr>XML</abbr> Schema <abbr>API</abbr>, but are not compatible with
98     any of them as a whole.</p>
99 wakaba 1.1 </div>
100    
101     <div class="section" id="terminology">
102     <h2>Terminology</h2>
103    
104     <p>The key words <q><em class="rfc2119">MUST</em></q>,
105     <q><em class="rfc2119">MUST NOT</em></q>,
106     <q><em class="rfc2119">SHOULD</em></q>,
107     <q><em class="rfc2119">SHOULD NOT</em></q>, and
108     <q><em class=rfc2119>MAY</em></q> in this
109     document are to be interpreted as described in
110     <a href="urn:ietf:rfc:2119"><abbr title="Request for Comments">RFC</abbr>
111     2119</a>
112     <cite class="bibref normative">[<a href="#ref-KEYWORDS">KEYWORDS</a>]</cite>.</p>
113    
114     <!-- Strictly speaking the paragraph below is not part of terminology. -->
115     <p>All examples and notes in this specification are non$B!>(Bnormative,
116     as are all sections explicitly marked non$B!>(Bnormative. Everything
117     else in this specification is normative.</p>
118    
119     <p><span class=ed>Algorithm is normative but non-normative</span>.
120     In addition, the order in which <a href="#errors">errors</a> are
121     raised is undefined.</p>
122 wakaba 1.3
123     <p class=ed><var>A</var> object is an object implementing <var>A</var>
124     interface.</p>
125    
126     <p class=ed>@@ ref to DOM Binding Spec</p>
127     </div>
128    
129     <div class=section id=dom-dtdef>
130     <h2><abbr>DOM</abbr> Document Type Definition Module</h2>
131    
132     <p>The <abbr>DOM</abbr> Document Type Definition module, version 3.0,
133     consists of three interfaces:</p>
134     <ul>
135     <li><a href="#DocumentXDoctype"><code>DocumentXDoctype</code></a></li>
136     <li><a href="#DocumentTypeDefinition"><code>DocumentTypeDefinition</code></a></li>
137     <li><a href="#ElementTypeDefinition"><code>ElementTypeDefinition</code></a></li>
138     <li><a href="#AttributeDefinition"><code>AttributeDefinition</code></a></li>
139     </ul>
140    
141     <p>In addition, it adds methods, attributes, and/or constants to interfaces
142     <a href="#Node"><code>Node</code></a>,
143     <a href="#Entity"><code>Entity</code></a>,
144     <a href="#EntityReference"><code>EntityReference</code></a>, and
145     <a href="#Notation"><code>Notation</code></a>.
146     It modifies semantics of some of methods and attributes in
147     <a href="#Node"><code>Node</code></a> and
148     <a href="#ProcessingInstruction"><code>ProcessingInstruction</code></a>
149     interfaces, for the support of new interfaces.</p>
150    
151     <div class=section id=features>
152     <h3>Feature Name</h3>
153    
154     <p>In a <abbr>DOM</abbr> implementation that supports the version 3.0 of
155     the <abbr>DOM</abbr> Document Type Definition module, the
156     <code>hasFeature</code> method of a <code>DOMImplementation</code> object
157     <em class=rfc2119>MUST</em> return <code>true</code> when the parameters are
158     set to <code>http://suika.fam.cx/www/2006/feature/XDoctype</code> and
159     <code>3.0</code> respectively.</p>
160    
161     <p>In such an implementation, the <code>getFeature</code> method of a
162     <code>Document</code> object <em class=rfc2119>MUST</em> return the (at least
163     conceptually) same object implementing the
164     <a href="#DocumentXDoctype"><code>DocumentXDoctype</code></a> interface when
165     the parameters are set to
166     <code>http://suika.fam.cx/www/2006/feature/XDoctype</code> and
167     <code>3.0</code> respectively. Likewise, any method that takes one or more
168     feature names with or without version number, including the methods
169     <code>hasFeature</code> and <code>getFeature</code>,
170     <em class=rfc2119>MUST</em> behave in a manner consistent with the
171     aforementioned cases.</p>
172     </div>
173    
174 wakaba 1.1 </div>
175 wakaba 1.3
176    
177 wakaba 1.1
178    
179    
180     <div id="references" class="section reference">
181     <h2>References</h2>
182    
183     <div id="normative-references" class="section normative reference">
184     <h3>Normative References</h3>
185    
186     <dl>
187     <dt id=ref-DOM3CORE>DOM3CORE</dt>
188     <dd class=ed>@@ W3C DOM Level 3 Core</dd>
189     <dt id=ref-DOMDTDEF>DOMDTDEF</dt>
190     <dd class=ed>@@ manakai's extension to DOM for document type definitions</dd>
191     <dt id="ref-KEYWORDS">KEYWORDS</dt>
192     <dd><cite><a href="urn:ietf:rfc:2119">Key words for use in
193     <abbr>RFCs</abbr> to Indicate Requirement Levels</a></cite>,
194     <abbr title="Internet Engineering Task Force">IETF</abbr>
195     <a href="urn:ietf:bcp:14"><abbr title="Best Current Practice">BCP</abbr>
196     14</a>, <abbr title="Request for Comments">RFC</abbr> 2119,
197     <time datetime=1997-03>March 1997</time>.
198     <em>This</em> version of the specification is referenced.</dd>
199     <dt id=ref-INFOSET>INFOSET</dt>
200     <dd class=ed>@@</dd>
201     <dt id=ref-XML10">XML10</dt>
202     <dd><cite><a href="http://www.w3.org/TR/2006/REC-xml-20060816">Extensible
203     Markup Language (<abbr>XML</abbr>) 1.0 (Fourth Edition)</a></cite>,
204     <abbr>W3C</abbr> Recommendation, <time datetime=2006-08-16>16 August
205     2006</time>, edited in place <time datetime=2006-09-29>29 September
206     2006</time>. Tje latest version of the specification is available at
207     <code class=uri>&lt;<a href="http://www.w3.org/TR/xml">http://www.w3.org/TR/xml</a>&gt;</code>.
208     <em>This</em> version of the specification is referenced.</dd>
209     <dt id=ref-XML11>XML11</dt>
210     <dd class=ed>@@</dd>
211     </dl>
212     </div>
213    
214     <div id="informative-references" class="section informative reference">
215     <h3>Non$B!>(Bnormative References</h3>
216    
217     <dl class=ed>
218     <dt id=ref-CSS>CSS</dt>
219     <dd><cite><a href="http://www.w3.org/TR/2007/CR-CSS21-20070719">Cascading
220     Style Sheets Level 2 Revision 1 (<abbr>CSS</abbr> 2.1)
221     Specification</a></cite>,
222     <abbr title="World Wide Web Consortium">W3C</abbr> Candidate
223     Recommendation, <time datetime=2007-07-19>19 July 2007</time>.
224     Work in progress. The latest version of the specification is
225     available at
226     <code class=URI>&lt;<a href="http://www.w3.org/TR/CSS21">http://www.w3.org/TR/CSS21</a>></code>.</dd>
227     <dt id=ref-CSSOM>CSSOM</dt>
228     <dd><cite><a href="http://dev.w3.org/cvsweb/~checkout~/csswg/cssom/Overview.html?rev=1.55&amp;content-type=text/html;%20charset=utf-8">Cascading
229     Style Sheets Object Model (<abbr>CSSOM</abbr>)</a></cite>,
230     <abbr title="World Wide Web Consortium">W3C</abbr> Editor's Draft,
231     <time datetime=2007-06-18>18 June 2007</time>. Work in progress.
232     The latest Editor's Draft of the specification is available at
233     <code class=URI>&lt;<a href="http://dev.w3.org/csswg/cssom/Overview.html">http://dev.w3.org/csswg/cssom/Overview.html</a>></code>.</dd>
234     <dt id=ref-HTML5>HTML5</dt>
235     <dd><cite><a href="http://whatwg.org/html5"><abbr>HTML</abbr> 5</a></cite>,
236     <abbr title="Web Hypertext Application Technology Working Group">WHATWG</abbr>
237     Working Draft. Work in progress.</dd>
238     <dt id=ref-SAPI>SAPI</dt>
239     <dd><cite><a href="http://dev.w3.org/cvsweb/~checkout~/2006/webapi/selectors-api/Overview.html?rev=1.28&amp;content-type=text/html;%20charset=utf-8">Selectors <abbr>API</abbr></a></cite>,
240     <abbr title="World Wide Web Consortium">W3C</abbr> Editor's Draft,
241     <time datetime=2007-08-29>29 August 2007</time>. Work in progress.
242     The latest Editor's Draft of the specification is available at
243     <code class=URI>&lt;<a href="http://dev.w3.org/2006/webapi/selectors-api/Overview.html">http://dev.w3.org/2006/webapi/selectors-api/Overview.html</a>></code>.
244     The latest published version of the specification is available at
245     <code class=URI>&lt;<a href="http://www.w3.org/TR/selectors-api/">http://www.w3.org/TR/selectors-api/</a>></code>.</dd>
246     <dt id=XBL2>XBL2</dt>
247     <dd><cite><a href="http://www.mozilla.org/projects/xbl/xbl2.html"><abbr>XBL</abbr>
248     2.0</a></cite>, Mozilla.org, <time datetime=2007-03-15>15 Mar 2007</time>.
249     Work in progress. The latest
250     <abbr title="World Wide Web Consortium">W3C</abbr>$B!>(Bpublished
251     version of the specification is available at
252     <code class=URI>&lt;<a href="http://www.w3.org/TR/xbl/">http://www.w3.org/TR/xbl/</a>></code>.</dd>
253     <dt id=ref-XML5>XML5</dt>
254     <dd class=ed>@@</dd>
255     </dl>
256     </div>
257    
258     </div>
259    
260     </body>
261     </html>

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24