[jdom-interest] Why don't Comment, Element, Text, etc extend common jdom object?

bob mcwhirter bob at werken.com
Tue May 28 11:06:17 PDT 2002


> When I was first using JDOM and I wanted to remove elements from a list, the
> first thing I tried was iterating through getChildren() and using
> Iterator.remove(). Unfortunately, in JDOM beta 7 (or was it 6?) this didn't
> work and I had to use a workaround. I rejoice now that it works correctly in
> beta 8.

Oh, I agree completely.  Live lists rock my world.  Wouldn't do without them.

But, I'm just analyzing the traffic on this list regarding FAQs, and wondering
how many are because folks don't read documentation, and how many are because
the software itself is sometimes counter-intuitive.

	Lazy user:  xpath/selectElementsByTagName

	Obscure API?:	detach()/remove()

	Wacky XML standards: Namespaces

-bob




More information about the jdom-interest mailing list