You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by Danh Hoai <ho...@indent.org> on 2002/06/25 16:22:00 UTC

Problem of inserting new node into the DOM

Hi everyone,

I am trying to read an element from the database and then insert it into the
DOM, but batik generates errors as below:

Exception occurred during event dispatching:
org.w3c.dom.DOMException: The given node (type: 1, name: g) was not created
by the current document.
 at org.apache.batik.dom.AbstractNode.createDOMException(Unknown Source)
 at org.apache.batik.dom.AbstractParentNode.checkAndRemove(Unknown Source)
 at org.apache.batik.dom.AbstractParentNode.appendChild(Unknown Source)

I write a program that saves serialized objects into the database and then
it extracts elements in the Objects into the DOM.

Anyone knows how to solve the above errors, please help.

Danh


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org