Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Builder argument swap

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: jcowan AT reutershealth.com
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] Builder argument swap
  • Date: Sun, 21 Mar 2004 23:13:32 -0500

At 1:27 PM -0500 3/19/04, jcowan AT reutershealth.com wrote:

That said, it's not very clear to me why you want to support File
or String as sources anyhow; it's soooo trivial to wrap the File in
a FileInputStream and the String in a StringReader. It seems to me
like clutter. If you want, mention FileInputStream and StringReader in the
documentation.

File maybe. However, it's been my experience in JDOM that using a StringReader is inobvious to a significant number of users. That is, how to build from a string is a JDOM FAQ.

--

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