[jboss-cvs] JBossAS SVN: r109928 - trunk/server/src/etc/deployers.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Dec 15 11:25:06 EST 2010


Author: alex.loubyansky at jboss.com
Date: 2010-12-15 11:25:05 -0500 (Wed, 15 Dec 2010)
New Revision: 109928

Modified:
   trunk/server/src/etc/deployers/metadata-deployer-jboss-beans.xml
Log:
JBAS-8745

Modified: trunk/server/src/etc/deployers/metadata-deployer-jboss-beans.xml
===================================================================
--- trunk/server/src/etc/deployers/metadata-deployer-jboss-beans.xml	2010-12-15 16:19:40 UTC (rev 109927)
+++ trunk/server/src/etc/deployers/metadata-deployer-jboss-beans.xml	2010-12-15 16:25:05 UTC (rev 109928)
@@ -18,6 +18,31 @@
    <bean name="SchemaResolverConfig"
       class="org.jboss.xb.binding.sunday.unmarshalling.SchemaResolverConfig">
       
+      <property name="schemaInitializerInstances">
+         <map keyClass="java.lang.String" valueClass="java.lang.String">
+            <entry>
+               <key>http://java.sun.com/xml/ns/javaee</key>
+               <value>
+                  <!-- Every specified property in this schema initializer
+                       will override the value of the corresponding SchemaBinding property
+                       which was initialized from binding annotations.
+                       Properties that are commented will not affect the corresponding SchemaBinding properties. -->
+                  <bean class="org.jboss.xb.util.SchemaBindingPropertyInitializer">
+                     <!-- must all content have a valid binding
+                     <property name="strictSchema">true</property> -->
+                     <!-- Should ${x} references be replaced with x system property
+                     <property name="replacePropertyRefs">true</property> -->
+                     <!-- if all the characters in the mixed content are whitespaces
+                          should they be considered indentation and ignored?
+                     <property name="ignoreWhitespacesInMixedContent">true</property> -->
+                     <!-- whether to trim string values
+                     <property name="normalizeSpace">true</property> -->
+                  </bean>
+               </value>
+            </entry>
+         </map>
+      </property>
+      
       <!-- schemaLocation to JBossXBuilder binding classes -->
       <property name="bindingClassesByLocations">
          <map keyClass="java.lang.String" valueClass="java.lang.String">



More information about the jboss-cvs-commits mailing list