We have the addthis widgets inside ajax outoutpanel which will be redraw when ajax call is being made. However addthis use this particular format for url
When this returned inside an ajax response, it breaks the xml parsing as addthis does not have a namespace map to it. By manually adding the namespace "xmlns:addthis='http://www.addthis.com/apispec'" to the <html> tag, the xml response parse fine. My question is how do you do that in the code as I can't seem to find a way to add namespace to the ajax response. Add to the facelet template works when render normally through request/response. But it does not seems to effect ajax response.