Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Subclassing Serializer

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: John Cowan <cowan AT mercury.ccil.org>
  • To: Elliotte Rusty Harold <elharo AT metalab.unc.edu>
  • Cc: xom-interest <xom-interest AT lists.ibiblio.org>
  • Subject: Re: [XOM-interest] Subclassing Serializer
  • Date: Sun, 19 Oct 2003 14:20:22 -0400

Elliotte Rusty Harold scripsit:

> After some experimentation, I've pretty much decided against this.
> XOM 1.0 will ship with a single Serializer in the core package that
> outputs XML only.

Fair enough. In that case, it needs to be an architectural principle
that nothing else in XOM depends on the behavior of Serializer, since
the user can't replace it. Currently, it is invoked from various
nu.xom.{tests,benchmarks,samples} classes, which are no problem, and is
subclassed by CanonicalXMLSerializer, which at first glance, at least,
doesn't appear to gain much by the relationship, and in fact has to
override some methods with no-ops.

> Some of this may yet appear as a part of XOM, probably in the samples
> package at first.

Please do release your existing code, as someone may find it useful,
and in the samples package you aren't committed to it as part of the API.

--
John Cowan jcowan AT reutershealth.com www.ccil.org/~cowan
www.reutershealth.com
"If I have not seen as far as others, it is because giants were standing
on my shoulders."
--Hal Abelson




Archive powered by MHonArc 2.6.24.

Top of Page