src/com/sun/org/apache/xerces/internal/jaxp/validation/XMLSchemaValidatorComponentManager.java

Print this page

        

@@ -438,11 +438,14 @@
         fEntityManager.reset(this);
         fErrorReporter.reset(this);
         fSchemaValidator.reset(this);
         // Mark configuration as fixed.
         fConfigUpdated = false;
+        if (fInitSecurityManager != null) {
+            fInitSecurityManager.resetLimits();
     }
+    }
 
     void setErrorHandler(ErrorHandler errorHandler) {
         fErrorHandler = errorHandler;
         setProperty(ERROR_HANDLER, (errorHandler != null) ? new ErrorHandlerWrapper(errorHandler) :
                 new ErrorHandlerWrapper(DraconianErrorHandler.getInstance()));