[jdom-interest] Content as a Text Node (was JDOM JSR)

Trimmer, Todd todd.trimmer at trizetto.com
Mon May 21 13:22:59 PDT 2001


I want to retract this statement:

"If no one can come with a good reason for any content type to return
anything BUT an Element when traversing upwards, then we can change goUp()
to return Element."

No, no, no. If XML happens to always return Element when traversing upwards,
then that is merely a coincidence of XML. The Node interface should mimic
generic tree traversal as much as possible, so notions like "Element" should
be hidden from its implementation.


Todd Trimmer



More information about the jdom-interest mailing list