I am trying to find assets larger than "XX" bytes in the repository using an XPATH query
Found the equality operation to work in my xpath query
/jcr:root/<folder to be looked in>/element(*, dam:Asset)[(jcr:content/metadata/@dam:size)=('2048')]
But when I use the operators for > or <, the query fails to return results although I know there are several such assets in my repository.Is the property having a Long datatype being read as a String? I tried applying
/jcr:root/<folder to be looked in>/element(*, dam:Asset)[(jcr:content/metadata/@dam:size)>xs:Long('2048')]
but this doesn't work either. Any suggestions