DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4284>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4284

Java serialization problematic for broad trees





------- Additional Comments From [EMAIL PROTECTED]  2003-10-09 14:32 -------
I dont' think that "the proper serialized representation for DOM trees is XML".
Suppose you have an object containing both a DOM and references to nodes within
that DOM for faster access (what we have in an EJB application). You would lose
that references when creating a textual (ie XML) representation of the DOM and
parse it again.

Of course, standard Java serialization should be able to handle arbitrary object
trees. But until that happens, this very problem could be solved by marking the
sibling reference transient and walk the DOM manually for serialization. This
would probably improve performance that currently is a nightmare when compared
to parsing or XML text generation.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to