Hello!

If I try to compile a query that looks like:

 

 

      Query = “for $e in /*/*[string(.)='"+searchString+"'] order by string($e) return $e”;

      XQueryExpression exp = xquery.compileQuery(Query);

 

And searchString contains characters like ‘,\,* and some more, I get exceptions.

What can I do about it?

      Thank you

            Irena