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: xom-interest <xom-interest AT lists.ibiblio.org>
  • Subject: Re: [XOM-interest] Are the Attributes and Namespaces classes necessary?
  • Date: Wed, 25 Sep 2002 14:29:15 -0500

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

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

How about methods that return a Set of attributes and namespaces? You eliminate the specialized
[...]
That's not type-safe enough for me. It requires casting to actually use the objects in the Set. That's why I created the Attributes and Namespaces classes in the first place.

What about Attribute[] and Namespace[], then? You'd have to add a Namespace class, but that makes sense to me since a namespace in a document has two parts, the prefix and the URI. It might even simplify a lot of stuff elsewhere.





Archive powered by MHonArc 2.6.24.

Top of Page