Hi all, How does JXPath handle circular object paths? My object graph is can have circular references to objects that are the same instance (i.e. obj1 == obj2), or are different instances but have equivalent values (i.e. obj1.equals(obj2))
Right now, I'm evaluating JXPath expressions that do not match anything in the object graph and it seems like it's going through an infinite loop. Some of my expressions use the "match anywhere" operator (i.e. //). Does JXPath use a breadth first search or a depth first search through the object graph? Ideally, I'd be able to tell JXPath to recurse a maximum depth, or to recognize that a node has already been traversed Are there hooks for me to do this? Thanks, Warren Liang --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
