src/com/sun/org/apache/xerces/internal/jaxp/SAXParserFactoryImpl.java

Print this page

        

@@ -41,11 +41,11 @@
  * default implementation for the platform.
  *
  * @author Rajiv Mordani
  * @author Edwin Goei
  *
- * @version $Id: SAXParserFactoryImpl.java,v 1.7 2009/07/28 23:48:32 joehw Exp $
+ * @version $Id: SAXParserFactoryImpl.java,v 1.9 2010-11-01 04:40:06 joehw Exp $
  */
 public class SAXParserFactoryImpl extends SAXParserFactory {
 
     /** Feature identifier: validation. */
     private static final String VALIDATION_FEATURE =

@@ -122,10 +122,11 @@
                 throw new ParserConfigurationException(
                         SAXMessageFormatter.formatMessage(null,
                         "jaxp-secureprocessing-feature", null));
             }
             fSecureProcess = value;
+            putInFeatures(name, value);
             return;
         }
 
         // XXX This is ugly.  We have to collect the features and then
         // later create an XMLReader to verify the features.