On 29.08.2019 17:55, Roy Teeuwen wrote:
Hey all,
(double posted because I thought this might be more relevant in jackrabbit
after thinking about it)
In the framework that we use (AEM) there is a folder structure as following:
/content/launches/2019/08/29/my-launch/content/site-name
I would like to do a query to search for subresources in this site, but it
seems that this gives issues because an xpath query cannot take numbers as path
names:
/jcr:root/content/launches/2019(*)/08/29/my-launch/content/site-name//*[@sling:resourceType='some/components/path'];
expected: jcr:root, /, *, @, (, .
Is there any way around this to still make it work with xpath queries? Can I escape
it in any way? Or can I say "start the query below
/content/launches/2019/08/29/my-launch/content/site-name so that it doesnt see the
numbers in the query
Yes, AFAIR there's an escaping mechanism, based on what you get in the
DocView export format...
Best regards, Julian