I suspect you're using an older version of JDOM. In the latest beta
10 version getParent() returns a Parent object rather than an Object,
and therefore I doubt you could have gotten away with what you did.
--
Elliotte Rusty Harold
elharo@(protected)
Effective XML (Addison-Wesley, 2003)
http://www.cafeconleche.org/books/effectivexml
http://www.amazon.com/exec/obidos/ISBN%3D0321150406/ref%3Dnosim/cafeaulaitA
_______________________________________________
To control your jdom-interest membership:
http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@(protected)