Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Three cosmetic patches

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: "Trimmer, Todd" <todd.trimmer AT trizetto.com>
  • Cc: "'xom-interest AT lists.ibiblio.org'" <xom-interest AT lists.ibiblio.org>
  • Subject: Re: [XOM-interest] Three cosmetic patches
  • Date: Thu, 12 Feb 2004 14:39:54 -0500

At 9:49 AM -0700 2/12/04, Trimmer, Todd wrote:

So I have to ask why XOM extension writers have to be forced to use the
Serialzer interface to get to this power? My serializers will still take
arguments like Element, Attribute, etc., but won't necessarily write them in
a purely atomic fashion, the way nu.xom.Serializer does.


They aren't public mainly to keep from cluttering the API. Plus there may be some assumptions abut how and when they the methods of TextWriter are called and used that aren't currently enforced directly in the TextWriter code. I'd have to check. If there were a good use case for directly accessing this stuff, I'd consider making them public, though probably not till after 1.0.
--

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