Ah ah !! You are fast !! Thank you.
----- Original Message ----- From: "Thomas DeWeese" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, September 24, 2004 1:30 PM Subject: Re: Problem in GVTTreeWalker ? Hervé Girod wrote: > I'm using the GVTTreeWalker class to iterate through a GVT Tree. When I > used it previously for iterating beginning from the GVT root of the > tree, I had no problem. > > [...] > > I think the exception will always be raised if the beginning node is not > the root node of the GVT Tree (because node.getRoot() returns the tree > root Node). So it is impossible to begin with another node than the root. > > Am I right ? Not any more. I checked in a slightly modified version of GVTTreeWalker that let's you start with any element in the tree. The walk should be restricted to that subtree. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]