jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torgeir Veimo <torg...@pobox.com>
Subject jcr:data query question
Date Thu, 10 Jul 2008 08:22:03 GMT
This query works;

/jcr:root/nen:content//element(*,nen:resource)[@dep:isarticle and  
@dep:state = 'published' and @nen:type = '1' and  
jcr:contains(jcr:content/., 'fusce')]

while this one doesn't

/jcr:root/nen:content//element(*,nen:resource)[@dep:isarticle and  
@dep:state = 'published' and @nen:type = '1' and  
jcr:contains(jcr:content/@jcr:data, 'fusce')]

Any idea what is wrong with the second one?

-- 
Torgeir Veimo
torgeir@pobox.com





Mime
View raw message