title: Fortify fix for XML External Entity Injection
body: <p>When I do scan using fortify tool, I got some issues under "XML External Entity Injection". </p>
  
  <pre><code>TransformerFactory trfactory = TransformerFactory.newInstance(); 
  </code></pre>
  
  <p>This is the place where it is showing error. I have given the below fix as suggested by fortify </p>
  
  <pre><code>trfactory.setFeature("http://xml.org/sax/features/external-general-entities", false); 
  trfactory.setFeature("http://xml.org/sax/features/external-parameter-entities", false); 
  </code></pre>
  
  <p>but still the issues are not fixed. How to fix this issue?</p>