| OLD | NEW | 
|---|
| 1 | 1 | 
| 2 /* | 2 /* | 
| 3 Copyright © 2001-2004 World Wide Web Consortium, | 3 Copyright © 2001-2004 World Wide Web Consortium, | 
| 4 (Massachusetts Institute of Technology, European Research Consortium | 4 (Massachusetts Institute of Technology, European Research Consortium | 
| 5 for Informatics and Mathematics, Keio University). All | 5 for Informatics and Mathematics, Keio University). All | 
| 6 Rights Reserved. This work is distributed under the W3C® Software License [1] i
     n the | 6 Rights Reserved. This work is distributed under the W3C® Software License [1] i
     n the | 
| 7 hope that it will be useful, but WITHOUT ANY WARRANTY; without even | 7 hope that it will be useful, but WITHOUT ANY WARRANTY; without even | 
| 8 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | 8 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | 
| 9 | 9 | 
| 10 [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 | 10 [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 | 
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 105       } | 105       } | 
| 106       doc = load(docRef, "doc", "hc_staff"); | 106       doc = load(docRef, "doc", "hc_staff"); | 
| 107       docElem = doc.documentElement; | 107       docElem = doc.documentElement; | 
| 108 | 108 | 
| 109       rootNS = docElem.namespaceURI; | 109       rootNS = docElem.namespaceURI; | 
| 110 | 110 | 
| 111       rootName = docElem.tagName; | 111       rootName = docElem.tagName; | 
| 112 | 112 | 
| 113       domImpl = doc.implementation; | 113       domImpl = doc.implementation; | 
| 114 newDoc = domImpl.createDocument(rootNS,rootName,nullDocType); | 114 newDoc = domImpl.createDocument(rootNS,rootName,nullDocType); | 
| 115       attr1 = doc.createAttribute("root"); | 115       attr1 = doc.createAttributeNS(nullNSURI,"root"); | 
| 116       attr2 = newDoc.importNode(attr1,true); | 116       attr2 = newDoc.importNode(attr1,true); | 
| 117       isEqual = attr1.isEqualNode(attr2); | 117       isEqual = attr1.isEqualNode(attr2); | 
| 118       assertTrue("nodeisequalnode17",isEqual); | 118       assertTrue("nodeisequalnode17",isEqual); | 
| 119 | 119 | 
| 120 } | 120 } | 
| 121 | 121 | 
| 122 | 122 | 
| 123 | 123 | 
| 124 | 124 | 
| 125 function runTest() { | 125 function runTest() { | 
| 126    nodeisequalnode17(); | 126    nodeisequalnode17(); | 
| 127 } | 127 } | 
| OLD | NEW | 
|---|