You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by jd...@apache.org on 2008/10/22 14:58:21 UTC

svn commit: r707061 - /geronimo/gshell/trunk/gshell-support/gshell-spring/src/main/java/org/apache/geronimo/gshell/spring/BeanContainerContextSupport.java

Author: jdillon
Date: Wed Oct 22 05:58:20 2008
New Revision: 707061

URL: http://svn.apache.org/viewvc?rev=707061&view=rev
Log:
Disable validation for now

Modified:
    geronimo/gshell/trunk/gshell-support/gshell-spring/src/main/java/org/apache/geronimo/gshell/spring/BeanContainerContextSupport.java

Modified: geronimo/gshell/trunk/gshell-support/gshell-spring/src/main/java/org/apache/geronimo/gshell/spring/BeanContainerContextSupport.java
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-support/gshell-spring/src/main/java/org/apache/geronimo/gshell/spring/BeanContainerContextSupport.java?rev=707061&r1=707060&r2=707061&view=diff
==============================================================================
--- geronimo/gshell/trunk/gshell-support/gshell-spring/src/main/java/org/apache/geronimo/gshell/spring/BeanContainerContextSupport.java (original)
+++ geronimo/gshell/trunk/gshell-support/gshell-spring/src/main/java/org/apache/geronimo/gshell/spring/BeanContainerContextSupport.java Wed Oct 22 05:58:20 2008
@@ -519,6 +519,11 @@
 		XmlBeanDefinitionReader reader = new XmlBeanDefinitionReader(beanFactory);
         reader.setResourceLoader(this);
 		reader.setEntityResolver(new ResourceEntityResolver(this));
+        reader.setNamespaceAware(true);
+        
+        // TODO: Make this configurable via system properties, default to VALIDATION_NONE
+        reader.setValidationMode(XmlBeanDefinitionReader.VALIDATION_NONE);
+
 		loadBeanDefinitions(reader);
 	}