<?xml version="1.0" encoding="utf-8"?>
<!-- $Id: changes.xml 225913 2001-06-01 11:15:37Z dims $ -->
<div1 id="Changes">
  <head>Changes</head>

  <orglist role="editors">
    <member>
      <name>Arnaud Le Hors</name> 
      <affiliation>IBM</affiliation>
    </member>
    <member>
      <name>Philippe Le H&eacute;garet</name>
      <affiliation>W3C</affiliation>
    </member>
  </orglist>

  <div2 id="DOMLevel1to2Changes">
    <head>Changes between DOM Level 1 Core and DOM Level 2 Core</head>

    <glist>
      <gitem>
	<label>OMG IDL</label>
	<def><p>The DOM Level 2 specifications are now using Corba 2.3.1
	    instead of Corba 2.2.</p>
	</def>
      </gitem>
      <gitem>
	<label>Type <code>DOMString</code></label>
	<def><p>The definition of <code>DOMString</code> in IDL is now a
	    <code>valuetype</code>.</p>
	</def>
      </gitem>
    </glist>

    <div3 id="DOMLevel1Changes">
      <head>Changes to DOM Level 1 Core interfaces and exceptions</head>

      <glist>
	<gitem>
	  <label>Interface <code>Attr</code></label>
	  <def><p>The <code>Attr</code> interface has one new
	      attribute: <code>ownerElement</code>.</p>
	  </def>
	</gitem>
	<gitem>
	  <label>Interface <code>Document</code></label>
	  <def><p>The <code>Document</code> interface has five new methods:
	      <code>importNode</code>, <code>createElementNS</code>,
	      <code>createAttributeNS</code>, <code>getElementsByTagNameNS</code>
	      and <code>getElementById</code>.</p>
	  </def>
	</gitem>
	<gitem>
	  <label>Interface <code>NamedNodeMap</code></label>
	  <def><p>The <code>NamedNodeMap</code> interface has three new
	      methods: <code>getNamedItemNS</code>, <code>setNamedItemNS</code>,
	      <code>removeNamedItemNS</code>.</p>
	  </def>
	</gitem>
	<gitem>
	  <label>Interface <code>Node</code></label>
	  <def><p>The <code>Node</code> interface has two new
              methods: <code>isSupported</code> and <code>hasAttributes</code>.</p><p><code>normalize</code>, previously
	      in the <code>Element</code> interface, has been
	      moved in the <code>Node</code> interface.</p>
	    <p>The <code>Node</code> interface has three new attributes:
	    <code>namespaceURI</code>, <code>prefix</code> and
	    <code>localName</code>.</p>
	    <p>The <code>ownerDocument</code> attribute was specified to be
	      <code>null</code> when the node is a <code>Document</code>. It
	      now is also <code>null</code> when the node is a
	      <code>DocumentType</code> which is not used with any
	      <code>Document</code> yet.</p>
	  </def>
	</gitem>
	<gitem>
	  <label>Interface <code>DocumentType</code></label>
	  <def><p>The <code>DocumentType</code> interface has three attributes:
	      <code>publicId</code>, <code>systemId</code> and
	      <code>internalSubset</code>.</p>
	  </def>
	</gitem>
	<gitem>
	  <label>Interface <code>DOMImplementation</code></label>
	  <def><p>The <code>DOMImplementation</code> interface has two new
	      methods: <code>createDocumentType</code> and
	      <code>createDocument</code>.</p>
	  </def>
	</gitem>
	<gitem>
	  <label>Interface <code>Element</code></label>
	  <def><p>The <code>Element</code> 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>.</p>
	      <p>The method <code>normalize</code> is now inherited from
	      the <code>Node</code> interface where it was moved.</p>
	  </def>
	</gitem>
	<gitem>
	  <label>Exception <code>DOMException</code></label>
	  <def><p>The <code>DOMException</code> 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>.</p>
	  </def>
	</gitem>
      </glist>
    </div3>
    <div3 id="DOMLevel2Addons">      
      <head>New features</head>
      <div4 id='DOMLevel2Addons-types'>
	<head>New types</head>
	<glist>
	  <gitem>
	    <label><code>DOMTimeStamp</code></label>
	    <def>
	      <p>
		The <code>DOMTimeStamp</code> type was added to the Core
		module.
	      </p>
	    </def>
	  </gitem>
	</glist>
      </div4>
    </div3>
  </div2>
</div1>
