repaired clone-node of a document without an internal subset

This commit is contained in:
dlichteblau
2006-08-27 17:29:39 +00:00
parent 8f2254d820
commit 86e32cbf75

View File

@ -1452,7 +1452,7 @@
(slot-value node 'entity-resolver))
(setf (slot-value (dom:entities doctype) 'read-only-p) t)
(setf (slot-value (dom:notations doctype) 'read-only-p) t)
(when doctype
(when (and doctype (slot-boundp doctype 'dom::%internal-subset))
(setf (dom::%internal-subset doctype)
(dom::%internal-subset original-doctype)))
(when (and (dom:document-element node) deep)