582/808 documentimportnode14.xml

-TEST FAILED: The assertion (DOMTEST::EQUALSP DOMTEST-TESTS::|attrValue|
-                                             #(104 116 116 112 58 47 47 119 119
-                                               119 46 110 105 115 116 46 103
-                                               111 118)
-                                             'DOMTEST::%EQUAL) failed.
This commit is contained in:
dlichteblau
2005-12-11 18:13:00 +00:00
parent 31f4f22ede
commit c045b19e3f
2 changed files with 9 additions and 7 deletions

View File

@ -1280,7 +1280,14 @@
(setf (slot-value attributes 'element) result)
(dolist (attribute (dom:items (dom:attributes node)))
(when (or (dom:specified attribute) *clone-not-import*)
(dom:set-attribute result (dom:name attribute) (dom:value attribute))))
(if (dom:namespace-uri attribute)
(dom:set-attribute-ns result
(dom:namespace-uri attribute)
(dom:local-name attribute)
(dom:value attribute))
(dom:set-attribute result
(dom:name attribute)
(dom:value attribute)))))
result))
(defmethod dom:import-node ((document document) (node entity) deep)