Xpath Query With Not Operator Doesn't Order -------------------------------------------
Key: JCR-2858 URL: https://issues.apache.org/jira/browse/JCR-2858 Project: Jackrabbit Content Repository Issue Type: Bug Components: xpath Affects Versions: 2.0.0 Reporter: Zacchaeus Sim Ordering doesn't work with the following queries - /jcr:root/content//element(*, cq:Page)[not(@jcr:content/last:Published)] order by jcr:content/@cq:lastModified ascending /jcr:root/content//element(*, cq:Page)[not(@jcr:content/last:Published)] order by jcr:content/@cq:lastModified descending Workaround where ordering works fine - /jcr:root/content//element(*, cq:Page)[not(jcr:like(@jcr:content/last:Published,''))] order by jcr:content/@cq:lastModified ascending /jcr:root/content//element(*, cq:Page)[not(jcr:like(@jcr:content/last:Published,''))] order by jcr:content/@cq:lastModified descending -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.