[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Error when cloning DOM nodes



Hi!
When executing cloneNode for an ozone DOM element (stored in a
LocalDatabase),
the following error is thrown:

DOMException(11): DOMException: Exception reason is unspecified. (code
11)
Argument 'into' not same type as this node.

This is because the _ownerDocument stored in ElementImpl is of the type
DocumentImpl_Proxy.
And the _ownerDocument creates an element of type ElementImpl_Proxy,
which is different
from ElementImpl.
Is this a minor bug, or is there an achitectural error?

Michael Keuchen