geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r707061 - /geronimo/gshell/trunk/gshell-support/gshell-spring/src/main/java/org/apache/geronimo/gshell/spring/BeanContainerContextSupport.java
Date Wed, 22 Oct 2008 12:58:21 GMT
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);
 	}
 



Mime
View raw message