jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andre <avdsch...@gmail.com>
Subject Possible bug with jcr:contains and underscore
Date Tue, 19 Sep 2006 09:49:34 GMT
This is my first posting here, please tell me if I need to post elsewhere.

I have a property named "ref" on a node, with a value of "TEST_REFERENCE". I
cannot match this property, apparently due to the underscore. I've read the JCR
spec, the underscore does not need to be encoded. There seems to be a problem
with matching this value using jcr:contains. I cannot use jcr:find because it is
not case sensitive, which is not an option for me. 

These searches fail (finds no results):

If I change the value to "TESTREFERENCE" or "testReference", the first search
above works.

These searches work:

I have tried changing the property name, and the results are the same. I don't
have issues with any other characters. Is this a bug? If so, is there a
workaround, and should I log it on bug tracking?


View raw message