Tomek Rękawek created SLING-5654:
------------------------------------
Summary: Use apostrophe to escape paths in ISDESCENDANTNODE
Key: SLING-5654
URL: https://issues.apache.org/jira/browse/SLING-5654
Project: Sling
Issue Type: Improvement
Components: Sling Query
Reporter: Tomek Rękawek
Priority: Minor
Fix For: Sling Query 3.0.2
The JCR strategy for the {{find()}} method creates a JCR-SQL2 query using
{{ISDESCENDANTNODE}} predicate. Right now it uses brackets to escape paths,
which isn't compatible with node names starting with a digit. Change it to an
apostrophe: {{ISDESCENDANTNODE('/content/path')}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)