>SAXException</a></pre>
<div class="block">Validates that an "update" (add, commit or optimize) results in success.

 :TODO: currently only deals with one add/doc at a time, this will need changed if/when SOLR-2 is resolved</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>xml</code> - The XML of the update</dd>
<dt><span class="strong">Returns:</span></dt><dd>null if successful, otherwise the XML response to the update</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="h