Problems manipulating the khtml DOM
Dirk Mueller
mueller at kde.org
Sun Oct 27 03:14:11 GMT 2002
On Sam, 26 Okt 2002, Ravikiran Rajagopal wrote:
> Hello,
> DOM::HTMLElement::appendChild() seems to throw a NOT_FOUND_ERR exception
> when it should not. I tried to track the problem down to
> DOM::NodeImpl::appendChild() but I quickly got lost. Here's a simple test
> case which throws the NOT_FOUND_ERR exception:
you have to associate the nodes you want to append to the right document.
this is DOM.
i.e. use document::createNode / createText etc.
maybe it should throw a wrong_document_error to make that more clear.
--
Dirk (received 140 mails today)
More information about the kfm-devel
mailing list