2008/8/11 Michael Albinus <[EMAIL PROTECTED]>:
> Hi,
>
> I want to send a user query for "<[EMAIL PROTECTED]>". That
> doesn't seem to work, due to the < and > characters (tested with strigi).
>
> How can I encode such characters? Note, that sending a user query for
> "[EMAIL PROTECTED]" has no problems, but for some reasons I need
> the full email address in the query. Or is it just a bug, that the
> query is not performed?

The < and >'s needs to be XML escaped at the minimum. Since a user
query is encapsulated in XML, ie:

<request>
  <userQuery>
    &lt;[EMAIL PROTECTED]&gt;
  </userQuery>
</request>

So, are you using any client libs, or just the raw dbus interface? And
what version of strigi are you running?

Cheers,
Mikkel


-- 
Cheers,
Mikkel
_______________________________________________
Xesam mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/xesam

Reply via email to