Make XHTML parsing more robust & display error in case there is one