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: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org
|