[ 
https://issues.apache.org/jira/browse/JCR-739?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12471986
 ] 

Julian Reschke commented on JCR-739:
------------------------------------

Oops.

I think JSR-170 is precise in that it's not an XQuery expression, but an XPath 
expression plus "orderby" extension. Thus we can't use a standard XQuery parser 
out of the box. Seems we need to hack it, or use an XPath parser and extract 
the orderby stuff before parsing.


> Predefined entity references are not decoded in string literal
> --------------------------------------------------------------
>
>                 Key: JCR-739
>                 URL: https://issues.apache.org/jira/browse/JCR-739
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: query
>    Affects Versions: 0.9, 1.0, 1.0.1, 1.1, 1.1.1, 1.2.1
>            Reporter: Marcel Reutegger
>         Assigned To: Marcel Reutegger
>            Priority: Minor
>             Fix For: 1.3
>
>
> The entity reference is interpreted as is but should be decoded before the 
> query is executed.
> Example:
> //element(*, nt:base)[jcr:contains(., 'max&moritz')]

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

Reply via email to