I ran a quick test on my jackrabbit svn checkout and all your queries returned the correct result. are you able to reproduce the behaviour in a simple test case?
you can also re-index the workspace and see if the problem persists. regards marcel > I'm trying to do wildcard searches against my repository, but I'm > getting odd results from the system. > > In my repository, I have one node with an attribute @test which has the > value 'Test', and all my searches are with XPath. > > //[EMAIL PROTECTED]'Test'] returns 1 result. > //*[jcr:contains(.,'Test') returns several results (because other things > say 'Test' in other attributes), including my one node. > //*[jcr:like(@test,'Test') returns 1 result. > //*[jcr:like(@test,'Test%') returns 1 result. > //*[jcr:like(@test,'%Test%') returns 0 results. > //*[jcr:like(@test,'%Tes%') returns 0 results. > //*[jcr:like(@test,'Tes%') returns 0 results. > //*[jcr:like(@test,'%s%') returns 0 results. > //*[jcr:like(@test,'%') returns every node in the repository. > > Anyone have any thoughts? > > Thanks, > > --Nick Allmaker -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
