[shitou] - add flow to validate text message and process illegal xml in HandlerFactory