http://www.w3.org/DOM/DOMTM git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@225913 13f79535-47bb-0310-9956-ffa450edef68
194 lines
6.2 KiB
HTML
194 lines
6.2 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<!--
|
|
Generated: Thu Nov 09 17:43:01 EST 2000 jfouffa.w3.org
|
|
-->
|
|
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<title>Changes</title>
|
|
<link rel='stylesheet' type='text/css' href='./spec.css' />
|
|
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
|
|
<link rel='next' href='i18n.html' />
|
|
<link rel='contents' href='Overview.html#contents' />
|
|
<link rel='index' href='def-index.html' />
|
|
<link rel='previous' href='core.html' />
|
|
</head>
|
|
<body>
|
|
<div class='navbar' align='center'><a accesskey='p'
|
|
href='core.html'>previous</a> <a accesskey='n'
|
|
href='i18n.html'>next</a> <a accesskey='c'
|
|
href='Overview.html#contents'>contents</a> <a accesskey='i'
|
|
href='def-index.html'>index</a>
|
|
|
|
<hr title='Navigation area separator' />
|
|
</div>
|
|
|
|
<div class='noprint' style='text-align: right'>
|
|
<p style='font-family: monospace;font-size:small'>13 November,
|
|
2000</p>
|
|
</div>
|
|
|
|
<div class='div1'><a id="Changes" name='Changes'></a>
|
|
|
|
<h1 id='Changes-h1' class='adiv1'>Appendix A: Changes</h1>
|
|
|
|
<dl>
|
|
<dt><i>Editors</i></dt>
|
|
|
|
<dd>Arnaud Le Hors, IBM</dd>
|
|
|
|
<dd>Philippe Le Hégaret, W3C</dd>
|
|
</dl>
|
|
|
|
<div class='div2'><a id="DOMLevel1to2Changes"
|
|
name='DOMLevel1to2Changes'></a>
|
|
|
|
<h2 id='DOMLevel1to2Changes-h2' class='adiv2'>A.1: Changes between
|
|
DOM Level 1 Core and DOM Level 2 Core</h2>
|
|
|
|
<dl>
|
|
<dt><b>OMG IDL</b></dt>
|
|
|
|
<dd>The DOM Level 2 specifications are now using Corba 2.3.1
|
|
instead of Corba 2.2.</dd>
|
|
|
|
<dt><b>Type <a
|
|
href='core.html#DOMString'><code>DOMString</code></a></b></dt>
|
|
|
|
<dd>The definition of <a
|
|
href='core.html#DOMString'><code>DOMString</code></a> in IDL is now
|
|
a <code>valuetype</code>.</dd>
|
|
</dl>
|
|
|
|
<div class='div3'><a id="DOMLevel1Changes"
|
|
name='DOMLevel1Changes'></a>
|
|
|
|
<h3 id='DOMLevel1Changes-h3' class='adiv3'>A.1.1: Changes to DOM
|
|
Level 1 Core interfaces and exceptions</h3>
|
|
|
|
<dl>
|
|
<dt><b>Interface <a
|
|
href='core.html#ID-637646024'><code>Attr</code></a></b></dt>
|
|
|
|
<dd>The <a href='core.html#ID-637646024'><code>Attr</code></a>
|
|
interface has one new attribute: <code>ownerElement</code>.</dd>
|
|
|
|
<dt><b>Interface <a
|
|
href='core.html#i-Document'><code>Document</code></a></b></dt>
|
|
|
|
<dd>The <a href='core.html#i-Document'><code>Document</code></a>
|
|
interface has five new methods: <code>importNode</code>,
|
|
<code>createElementNS</code>, <code>createAttributeNS</code>,
|
|
<code>getElementsByTagNameNS</code> and
|
|
<code>getElementById</code>.</dd>
|
|
|
|
<dt><b>Interface <a
|
|
href='core.html#ID-1780488922'><code>NamedNodeMap</code></a></b></dt>
|
|
|
|
<dd>The <a
|
|
href='core.html#ID-1780488922'><code>NamedNodeMap</code></a>
|
|
interface has three new methods: <code>getNamedItemNS</code>,
|
|
<code>setNamedItemNS</code>, <code>removeNamedItemNS</code>.</dd>
|
|
|
|
<dt><b>Interface <a
|
|
href='core.html#ID-1950641247'><code>Node</code></a></b></dt>
|
|
|
|
<dd>The <a href='core.html#ID-1950641247'><code>Node</code></a>
|
|
interface has two new methods: <code>isSupported</code> and
|
|
<code>hasAttributes</code>.<br />
|
|
<code>normalize</code>, previously in the <a
|
|
href='core.html#ID-745549614'><code>Element</code></a> interface,
|
|
has been moved in the <a
|
|
href='core.html#ID-1950641247'><code>Node</code></a>
|
|
interface.<br />
|
|
The <a href='core.html#ID-1950641247'><code>Node</code></a>
|
|
interface has three new attributes: <code>namespaceURI</code>,
|
|
<code>prefix</code> and <code>localName</code>.<br />
|
|
The <code>ownerDocument</code> attribute was specified to be
|
|
<code>null</code> when the node is a <a
|
|
href='core.html#i-Document'><code>Document</code></a>. It now is
|
|
also <code>null</code> when the node is a <a
|
|
href='core.html#ID-412266927'><code>DocumentType</code></a> which
|
|
is not used with any <a class='noxref'
|
|
href='core.html#i-Document'><code>Document</code></a> yet.</dd>
|
|
|
|
<dt><b>Interface <a
|
|
href='core.html#ID-412266927'><code>DocumentType</code></a></b></dt>
|
|
|
|
<dd>The <a
|
|
href='core.html#ID-412266927'><code>DocumentType</code></a>
|
|
interface has three attributes: <code>publicId</code>,
|
|
<code>systemId</code> and <code>internalSubset</code>.</dd>
|
|
|
|
<dt><b>Interface <a
|
|
href='core.html#ID-102161490'><code>DOMImplementation</code></a></b></dt>
|
|
|
|
<dd>The <a
|
|
href='core.html#ID-102161490'><code>DOMImplementation</code></a>
|
|
interface has two new methods: <code>createDocumentType</code> and
|
|
<code>createDocument</code>.</dd>
|
|
|
|
<dt><b>Interface <a
|
|
href='core.html#ID-745549614'><code>Element</code></a></b></dt>
|
|
|
|
<dd>The <a href='core.html#ID-745549614'><code>Element</code></a>
|
|
interface has eight new methods: <code>getAttributeNS</code>,
|
|
<code>setAttributeNS</code>, <code>removeAttributeNS</code>,
|
|
<code>getAttributeNodeNS</code>, <code>setAttributeNodeNS</code>,
|
|
<code>getElementsByTagNameNS</code>, <code>hasAttribute</code> and
|
|
<code>hasAttributeNS</code>.<br />
|
|
The method <code>normalize</code> is now inherited from the <a
|
|
href='core.html#ID-1950641247'><code>Node</code></a> interface
|
|
where it was moved.</dd>
|
|
|
|
<dt><b>Exception <a
|
|
href='core.html#ID-17189187'><code>DOMException</code></a></b></dt>
|
|
|
|
<dd>The <a
|
|
href='core.html#ID-17189187'><code>DOMException</code></a> has five
|
|
new exception codes: <code>INVALID_STATE_ERR</code>,
|
|
<code>SYNTAX_ERR</code>, <code>INVALID_MODIFICATION_ERR</code>,
|
|
<code>NAMESPACE_ERR</code> and
|
|
<code>INVALID_ACCESS_ERR</code>.</dd>
|
|
</dl>
|
|
</div>
|
|
|
|
<!-- div3 DOMLevel1Changes -->
|
|
<div class='div3'><a id="DOMLevel2Addons"
|
|
name='DOMLevel2Addons'></a>
|
|
|
|
<h3 id='DOMLevel2Addons-h3' class='adiv3'>A.1.2: New features</h3>
|
|
|
|
<div class='div4'><a id="DOMLevel2Addons-types"
|
|
name='DOMLevel2Addons-types'></a>
|
|
|
|
<h4 id='DOMLevel2Addons-types-h4' class='adiv4'>A.1.2.1: New
|
|
types</h4>
|
|
|
|
<dl>
|
|
<dt><b><a
|
|
href='core.html#DOMTimeStamp'><code>DOMTimeStamp</code></a></b></dt>
|
|
|
|
<dd>The <a
|
|
href='core.html#DOMTimeStamp'><code>DOMTimeStamp</code></a> type
|
|
was added to the Core module.</dd>
|
|
</dl>
|
|
</div>
|
|
|
|
<!-- div4 DOMLevel2Addons-types --></div>
|
|
|
|
<!-- div3 DOMLevel2Addons --></div>
|
|
|
|
<!-- div2 DOMLevel1to2Changes --></div>
|
|
|
|
<!-- div1 Changes -->
|
|
<div class='navbar' align='center'>
|
|
<hr title='Navigation area separator' />
|
|
<a accesskey='p' href='core.html'>previous</a> <a
|
|
accesskey='n' href='i18n.html'>next</a> <a accesskey='c'
|
|
href='Overview.html#contents'>contents</a> <a accesskey='i'
|
|
href='def-index.html'>index</a></div>
|
|
</body>
|
|
</html>
|
|
|