Catch and suppress DOMParser errors