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=‘sip:a.dellarmi@elis.org’]//basic[. != ‘open’] with open
The same query without[@entity=‘…’] works!
What’s wrong?
BRGS
@nto

Hello @nto,

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

Thanks,
Trevor.