commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Depue <a...@marathon-man.com>
Subject Re: [JXPath] traversing into a List with JXPath
Date Fri, 11 Jun 2004 18:45:31 GMT
I downloaded the latest nightly build, and now it works fine.  I think it was 
a combination of using an older build (release 1.1) and the way I was using 
Pointers.

Thanks,
  Andy

On Friday 11 June 2004 10:11 am, Dmitri Plotnikov wrote:
> 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" <andy@marathon-man.com>
> To: "Jakarta Commons Users List" <commons-user@jakarta.apache.org>
> 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: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message