title: WARNING: JAXP feature XMLConstants.FEATURE_SECURE_PROCESSING on Jersey2.x Client
body: <p>Sep 22, 2013 5:15:00 PM org.glassfish.jersey.message.internal.SecureSaxParserFactory </p>
  
  <pre><code>WARNING: JAXP feature XMLConstants.FEATURE_SECURE_PROCESSING cannot be set on a SAXParserFactory. External general entity processing is disabled but other potential security related features will not be enabled.
  org.xml.sax.SAXNotRecognizedException: Feature 'http://javax.xml.XMLConstants/feature/secure-processing' is not recognized.
      at org.apache.xerces.parsers.AbstractSAXParser.setFeature(Unknown Source)
      at org.apache.xerces.jaxp.SAXParserImpl.setFeatures(Unknown Source)
      at org.apache.xerces.jaxp.SAXParserImpl.&lt;init&gt;(Unknown Source)
      at org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParserImpl(Unknown Source)
      at org.apache.xerces.jaxp.SAXParserFactoryImpl.setFeature(Unknown Source)
      at org.glassfish.jersey.message.internal.SecureSaxParserFactory.&lt;init&gt;(SecureSaxParserFactory.java:107)...
  </code></pre>
  
  <p>I can use 
  <code>config.getFeatures().put(FeaturesAndProperties.FEATURE_DISABLE_XML_SECURITY, true);</code> </p>
  
  <p>to avoid this warning message on <strong>Jersey1.x</strong>, but when I migrated to <strong>Jersey2.x</strong>, there's no this feature setting.
  How could I do to avoid it again on Jersey2.x?
  Thanks!</p>