Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Xstream/Stax integration

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Elliotte Harold <elharo AT metalab.unc.edu>
  • To: Dan Diephouse <dan AT envoisolutions.com>
  • Cc: xom-interest <xom-interest AT lists.ibiblio.org>
  • Subject: Re: [XOM-interest] Xstream/Stax integration
  • Date: Wed, 24 Aug 2005 06:02:10 -0400

Wolfgang Hoschek wrote:

Same question as for the builder: should the Stax Serializer be a subclass of the XOM Serializer, or standalone, or implement some common interface?

Converting a XOM document to StAX events isn't really serialization to my way of thinking. The SAXConverter isn't a serializer either. Serialization to me means converting to a byte stream or perhaps character stream. Now that I think about it I could see an event sequence might be interpreted as a serial sequence of events, but that's certainly not how Serializer was designed. I think this would need to be a separate class.

--
Elliotte Rusty Harold elharo AT metalab.unc.edu
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim




Archive powered by MHonArc 2.6.24.

Top of Page