query parser doesn't handle relative XPath expressions
------------------------------------------------------
Key: JCR-1288
URL: https://issues.apache.org/jira/browse/JCR-1288
Project: Jackrabbit
Issue Type: Bug
Components: jackrabbit-core
Reporter: Julian Reschke
Priority: Minor
JSR-170 says that relative query (XPATH) expression are evaluated against
"/jcr:root", thus
(1) a/b
and
(2) /jcr:root/a/b
would be equivalent, while
(3) /a/b
means something else (will never match anything). Unfortunately, the query
parser seems to treat (1) and (3) the same way, which makes it hard to
disnguish the two cases.
(this probably means that Jackrabbit accepts a class of broken queries (3) that
it shouldn't accept)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.