You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2007/09/18 14:28:43 UTC
[jira] Reopened: (JCR-522) XPath parser too tolerant
[ https://issues.apache.org/jira/browse/JCR-522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marcel Reutegger reopened JCR-522:
----------------------------------
I'm afraid this won't work because Jackrabbit should accept the union in the last location step to define, which properties an XPath query selects.
Example:
foo//bar/(@a | @b)
I've reverted the change.
> XPath parser too tolerant
> -------------------------
>
> Key: JCR-522
> URL: https://issues.apache.org/jira/browse/JCR-522
> Project: Jackrabbit
> Issue Type: Bug
> Components: query
> Affects Versions: 0.9, 1.0, 1.0.1
> Reporter: Julian Reschke
> Assignee: Julian Reschke
> Priority: Minor
>
> The XPath parser seems to be too tolerant, in that it accepts expressions Jackrabbit is not designed to deal with, and silently treats them in some other way.
> For instance "/a | /b" is accepted and processed as "/a/b".
> (As mentioned on the mailing list, there may be other related issues such as unsupported function names that are accepted but shouldn't)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.