You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Vikas Saurabh (JIRA)" <ji...@apache.org> on 2017/10/06 17:38:00 UTC

[jira] [Updated] (OAK-6792) rep:facet not supported in xpath

     [ https://issues.apache.org/jira/browse/OAK-6792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vikas Saurabh updated OAK-6792:
-------------------------------
    Description: 
Parsing
{noformat}
//element(*, app:Asset)/(rep:facet(jcr:createdBy))
{noformat}
gives following exception.
{noformat}
Caused by: java.text.ParseException: Query:
/jcr_root//element(*, app:Asset)/rep:facet(jcr:createdBy(*))
{noformat}

/cc [~tmueller]

  was:
Parsing
{noformat}
//element(*, app:Asset)[rep:facet(jcr:createdBy)]
{noformat}
gives following exception.
{noformat}
javax.jcr.query.InvalidQueryException: java.text.ParseException: Query:
//element(*, app:Asset)[rep:facet(jcr:createdBy(*))]; expected: jcr:like | jcr:contains | jcr:score | xs:dateTime | fn:lower-case | fn:upper-case | fn:name | rep:similar | rep:spellcheck | rep:suggest
{noformat}

/cc [~tmueller]


> rep:facet not supported in xpath
> --------------------------------
>
>                 Key: OAK-6792
>                 URL: https://issues.apache.org/jira/browse/OAK-6792
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: query
>            Reporter: Vikas Saurabh
>
> Parsing
> {noformat}
> //element(*, app:Asset)/(rep:facet(jcr:createdBy))
> {noformat}
> gives following exception.
> {noformat}
> Caused by: java.text.ParseException: Query:
> /jcr_root//element(*, app:Asset)/rep:facet(jcr:createdBy(*))
> {noformat}
> /cc [~tmueller]



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)