RunTime QueryException

Hi all,
i have a problem with the following query.I get a RunTime QueryException.

declare namespace tns=‘urn:ietf:params:xml:ns:cpim-pidf’ update replace input()/tns:presence[@entity=‘’]//basic[. != ‘open’] with open
The same query without[@entity=’…’] works!
What’s wrong?

Hello @nto,

could you please post the schema you are using (for tns: presence), the document which matches the [@entity=‘’] filter and information on the version of Tamino that the problem occurs with?