Marcel Reutegger wrote:
Amir Mistric wrote:
I am trying to compare 2 date properties to determine if the node has been modified.
Here are the queries I tried to use:

1. /jcr:root/www-mysite-org//element(*,mgnl:content)[MetaData/@mgnl:activated='true' and MetaData/@mgnl:lastmodified > MetaData/@mgnl:lastaction]

jackrabbit does not support property names on both sides of a comparison. one of them must be a literal.
...

So that should result in an InvalidQueryException, right?

BR, Julian

Reply via email to