Andy, It is supported and should work just fine. I'll need more details to diagnose the problem.
Make sure you are using the latest codebase, which can be found at http://cvs.apache.org/builds/jakarta-commons/nightly/commons-jxpath/ - Dmitri ----- Original Message ----- From: "Andy Depue" <[EMAIL PROTECTED]> To: "Jakarta Commons Users List" <[EMAIL PROTECTED]> Sent: Friday, June 11, 2004 12:09 PM Subject: [JXPath] traversing into a List with JXPath > Should I not be able to select objects out of a List property using JXPath? > Say I have a property accessor defined thus: > public List getRelations(); > > Should not this XPath return an iterator over objects in the List that contain > an 'entity' property set to 'Sales'? > //relations[entity='Sales'] > However, this returns nothing, even though such objects do exist in the list. > Any ideas? If this is not supported by JXPath, is it possible for me to > customize JXPath to support it in my case? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
