[jdom-interest] org.jdom.Namespace not implementing Serializable
jhunter at servlets.com
Thu Nov 21 16:34:50 PST 2002
In the end we decided Namespaces shouldn't be serializable, and rather
Element and Attribute handle that data serialization. Look for
readObject/writeObject in those classes.
Of course, using serialization is not the way to make deep copies. Try
Paul Reeves wrote:
> Hi, i need to do a deep copy of an object containing a jdom doc, namespaces
> etc - i've searched through the archives and found the following answer from
> Jason Hunter back in July 2000 but in never made beta8 - are there any plans
> to do this still???
> >1. Should Namespace be Serializable?
> Yes, and making it so is in our public TODO.txt under CVS.
> >2. Anybody got any idea why RMI tries to serialize Namespace in the first
> >place when I'm only trying to pass around an instance of a Document (which
> >contains no references to Namespace)?
> Jools answered this well.
> MSN 8 with e-mail virus protection service: 2 months FREE*
> To control your jdom-interest membership:
More information about the jdom-interest