You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Julian Reschke (JIRA)" <ji...@apache.org> on 2007/08/26 15:43:30 UTC

[jira] Created: (JCR-1089) Xpath query parser accepts "/a | /b" and treats it as "/a/b"

Xpath query parser accepts "/a | /b" and treats it as "/a/b"
------------------------------------------------------------

                 Key: JCR-1089
                 URL: https://issues.apache.org/jira/browse/JCR-1089
             Project: Jackrabbit
          Issue Type: Bug
          Components: query
            Reporter: Julian Reschke
            Priority: Minor


The XPath query parser accepts the query

  /a | /b

and parses it into a query tree corresponging the Xpath query

  /a/b

It should be rejected instead.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (JCR-1089) Xpath query parser accepts "/a | /b" and treats it as "/a/b"

Posted by "Julian Reschke (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-1089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Julian Reschke closed JCR-1089.
-------------------------------

    Resolution: Fixed
      Assignee: Julian Reschke

Closes as duplicate.


> Xpath query parser accepts "/a | /b" and treats it as "/a/b"
> ------------------------------------------------------------
>
>                 Key: JCR-1089
>                 URL: https://issues.apache.org/jira/browse/JCR-1089
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: query
>            Reporter: Julian Reschke
>            Assignee: Julian Reschke
>            Priority: Minor
>
> The XPath query parser accepts the query
>   /a | /b
> and parses it into a query tree corresponging the Xpath query
>   /a/b
> It should be rejected instead.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.