jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lei Zhou <L...@pointalliance.com>
Subject Re: Question on jcr:deref usage
Date Fri, 24 Nov 2006 20:13:48 GMT
Thanks Marcel,
I just tried the query below and got exceptions complaining about "second 
argument type for jcr:like".
//element(*, Document)[@Subject = 'Manual']/jcr:deref(@ProductReference, 
*)
Here is the error: javax.jcr.query.InvalidQueryException: Wrong second 
argument type for jcr:like
I then replaced '*' with '%',  which seems to be accepted, but did not 
return any result: 
//element(*, Document)[@Subject = 'Manual']/jcr:deref(@ProductReference, 
'%')
Did I miss anything? 

Thanks,
Lei


 
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message