title: DocumentBuilderFactory cannot setFeature FEATURE_SECURE_PROCESSING
body: <p>I am trying to create an instance of DocumentBuilderFactory with <code>FEATURE_SECURE_PROCESSING</code> set to <code>true</code>. I keep getting ParserConfigurationException when I am trying to setFeature.</p>
  
  <pre><code>        DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
          try{
              factory.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, true);
          }
          catch (ParserConfigurationException e){ //Always gets here
              e.printStackTrace();
          }
  </code></pre>