Test http://www.w3.org/2001/DOM-Test-Suite/level3/core/nodeisequalnode15

<test name='nodeisequalnode15' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-3 dom3.xsd'>
     <metadata>
          <title>nodeisequalnode15</title>
          <creator>IBM</creator>
          <description> Using isEqualNode check if 2 Attr nodes having the same nodeName and a null namespaceURI attribute, one created using createAttributeNS and the other retreived from this document are equal. </description>
          <contributor>Neil Delima</contributor>
          <date qualifier='created'>2002-06-10</date>
          <subject resource='http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#Node3-isEqualNode'/>
</metadata>
     <var name='doc' type='Document'/>
     <var name='attr1' type='Attr'/>
     <var name='attr2' type='Attr'/>
     <var name='addrElement' type='Element'/>
     <var name='elementList' type='NodeList'/>
     <var name='isEqual' type='boolean'/>
     <var name='nullNS' type='DOMString' isNull='true'/>
     <load var='doc' href='hc_staff' willBeModified='false'/>
     <getElementsByTagName interface='Document' obj='doc' tagname='"acronym"' var='elementList'/>
     <item interface='NodeList' obj='elementList' var='addrElement' index='3'/>
     <getAttributeNodeNS obj='addrElement' var='attr1' namespaceURI='nullNS' localName='"title"'/>
     <if>
          <implementationAttribute name='namespaceAware' value='true'/>
          <createAttributeNS var='attr2' obj='doc' namespaceURI='nullNS' qualifiedName='"title"'/>
          <else>
               <createAttribute var='attr2' obj='doc' name='"title"'/>
          </else>
     </if>
     <value obj='attr2' value='"Yes"'/>
     <isEqualNode var='isEqual' obj='attr1' arg='attr2'/>
     <assertTrue actual='isEqual' id='nodeisequalnode15'/>
</test>

Copyright (c) 2001-2004 World Wide Web Consortium, (Massachusetts Institute of Technology, Institut National de Recherche en Informatique et en Automatique, Keio University). All Rights Reserved. This program is distributed under the W3C's Software Intellectual Property License. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

See W3C License http://www.w3.org/Consortium/Legal/ for more details.