When using the StreamGenerator, the code parse a user-provided XML. A specially crafted XML, including external system e…