[ https://issues.apache.org/jira/browse/JCR-269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Julian Reschke closed JCR-269. ------------------------------ > Support other than equality comparisons for the XPath position() function > ------------------------------------------------------------------------- > > Key: JCR-269 > URL: https://issues.apache.org/jira/browse/JCR-269 > Project: Jackrabbit Content Repository > Issue Type: Improvement > Components: jackrabbit-core, xpath > Reporter: Jukka Zitting > Priority: Minor > > Currently only the equality comparison can be used with the XPath position() > function, making queries like "//name[position()=1]" (select the first node > with the given name) possible but not queries like "//name[position()<=10]" > (select first ten nodes with the given name). Supporting other comparison > operators would be a nice addition for some use cases. -- This message was sent by Atlassian Jira (v8.20.10#820010)