Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Serializing objects that contain an instance of nu.xom.Document

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Elliotte Rusty Harold <elharo AT metalab.unc.edu>
  • To: "Brian Sam-Bodden" <bsbodden AT integrallis.com>
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] Serializing objects that contain an instance of nu.xom.Document
  • Date: Thu, 19 Feb 2004 15:23:18 -0500

At 11:21 AM -0800 2/19/04, Brian Sam-Bodden wrote:
XOM users,
Has anyone stumble upon the need for serializing an
object that contains a nu.xom.Document child object? I
trying to pass such an object in a JMS object message
and of course I get a java.io.NotSerializableException.
Is there a reason why Document should not be
serializable?


Yes, because XML is the serialization format for XOM. See http://www.cafeconleche.org/XOM/designprinciples.xhtml#d0e312
--

Elliotte Rusty Harold
elharo AT metalab.unc.edu
Effective XML (Addison-Wesley, 2003)
http://www.cafeconleche.org/books/effectivexml http://www.amazon.com/exec/obidos/ISBN%3D0321150406/ref%3Dnosim/cafeaulaitA



Archive powered by MHonArc 2.6.24.

Top of Page