Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Are the Attributes and Namespaces classes necessary?

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Kevin Herrboldt <kevin AT puppethead.com>
  • To: Elliotte Rusty Harold <elharo AT metalab.unc.edu>
  • Cc: xom-interest <xom-interest AT lists.ibiblio.org>
  • Subject: Re: [XOM-interest] Are the Attributes and Namespaces classes necessary?
  • Date: Thu, 26 Sep 2002 13:41:20 -0500

On Wednesday, Sep 25, 2002, at 15:05 US/Central, Elliotte Rusty Harold wrote:

At 2:29 PM -0500 9/25/02, Kevin Herrboldt wrote:

What about Attribute[] and Namespace[], then? You'd have to add a Namespace class, but that makes
[...]
1. What's the use-case? Simplicity is an explicit goal of XOM, so I don't want to add lots of convenience methods unless they're very helpful.

I've given it some more thought and I find I agree with you. Adding methods to return an enumeration of some sort of all elements or namespaces doesn't add value that I can think of. Just because something can be done doesn't mean it should be.





Archive powered by MHonArc 2.6.24.

Top of Page