* add setAllowUnknownExternalEntities and equivalent getter * move getErrorHandler method within file