How do search users?

Hello all,

Everybody helps me to have a look,why searches does not return to the result?

I had not discovered the search requested has the error.

As follows:

outgoingData data

<iq to=“search.chenliguo” type=“get” from="[mailto:test@chenliguo]" id=“search_user_7”>

<query xmlns=“jabber:iq:search”>

<Email>ig</Email>

</query>

</iq>

incomingData data

<iq type=“result” from=“search.chenliguo” to="[mailto:test@chenliguo/xiff]" id=“search_user_7”>

<query xmlns=“jabber:iq:search”>

<instructions>The following fields are available for searching. Wildcard (*) characters are allowed as part the of query.

</instructions>

<Username />

<Name />

<Email />

<x xmlns=“jabber:x:data” type=“form”>

<title>User Search</title>

<instructions>The following fields are available for searching. Wildcard (*) characters are allowed as part the of query.</instructions>

<field var=“FORM_TYPE” type=“hidden”>

<value>jabber:iq:search</value>

</field>

<field label=“Search” var=“search” type=“text-single”>

<required />

</field>

<field label=“Username” var=“Username” type=“boolean”>

<value>1</value>

</field>

<field label=“Name” var=“Name” type=“boolean”>

<value>1</value>

</field>

<field label=“Email” var=“Email” type=“boolean”>

<value>1</value>

</field>

</x>

</query>

</iq>

outgoingData data

<iq type=“get” id=“disco_item8” from="[mailto:test@chenliguo] xmlns="[http://jabber.org/protocol/disco#items]" /></iq>

incomingData data

<iq type=“result” to="[mailto:test@chenliguo/xiff]" id=“disco_item8”>

<query xmlns="[http://jabber.org/protocol/disco#items]">

<item jid=“conference.chenliguo” name="???" />

<item jid=“pubsub.chenliguo” name=“Publish-Subscribe service” />

<item jid=“proxy.chenliguo” name=“Socks 5 Bytestreams Proxy” />

<item jid=“icq.chenliguo” name=“ICQ Transport” />

<item jid=“msn.chenliguo” name=“MSN Transport” />

<item jid=“gtalk.chenliguo” name=“Google Talk Transport” />

<item jid=“search.chenliguo” name=“User Search” />

</query>

</iq>

Oh,was search protocol to write mistakenly, IQ type should be set.