refactor DOMTOXMLZone and try to Test Exception handling