Data Processor callback function not triggered as mentioned

From JSP i return the XML as below format,

<?xml version="1.0" encoding="UTF-8"?>

I bind the action with DataProcessor as,

alert(“Update successful.”);
return true;

But somehow this Data Processor callback function not triggered.

Please help… Thanks in advance.

Be sure that XML is returned with valid content type
otherwise, browser can just not recognize it as valid xml and skip all processing

You can include one more js file on the page
it will show if incoming xml was not processed correctly by some reason.