xml parsing error <p>I am writing a ocs IM client for android and now I am trying to delete a contact from contact list with the </p> <pre><code>&lt;deleteContact rid="100"&gt;&lt;/deleteContact&gt; &lt;uri&gt;sip:alice@contoso.com&lt;/uri&gt; &lt;/deleteContact&gt; </code></pre> <p>command request to the cwa server... the command is from <a href="http://msdn.microsoft.com/en-us/library/bb969527%28v=office.12%29.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/bb969527%28v=office.12%29.aspx</a>.</p> <p>When I send the request to the ocs server I get the following error:</p> <pre><code>Error in XML document (5, 3): deleteContact was not expected </code></pre> <p>Does somebody know what could be the problem? Or at least tell me please how can I read that error: document (5, 3) ... </p> <p>My original code:</p> <pre><code>&lt;cwaRequests sid="5" xmlns="http://schemas.microsoft.com/2006/09/rtc/cwa"&gt; &lt;deleteContact rid="2"&gt; &lt;uri&gt; sip:emil@domain.org &lt;/uri&gt; &lt;/deleteContact&gt; &lt;/cwaRequests&gt; </code></pre> <p>Thank you very much!</p>