jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raphaël Franchet <raph...@anyware-tech.com>
Subject jcr:like and namespaces
Date Mon, 19 Sep 2005 08:44:49 GMT
Hello,

I have got a strange behavior with the jcr:like function:

createQuery("//*[@jcr:primaryType='myns:contentLanguage']"... OK
createQuery("//*[jcr:like(@jcr:primaryType, '%:contentLanguage')]"... OK

but as soon as I use namespaces in jcr:like,

createQuery("//*[jcr:like(@jcr:primaryType, '%ns:contentLanguage')]"... KO
createQuery("//*[jcr:like(@jcr:primaryType, 'myns:contentLanguage')]"... KO

is this a known limitation between jcr:like and namespaces ?

Thanks

ps: I'm using the HEAD version
-- 

Raphaël FRANCHET
IT
ANYWARE TECHNOLOGIES
Tel: +33 (0)5 61 00 73 47
Fax : +33 (0)5 61 00 51 46
www.anyware-tech.com

Mime
View raw message