[jboss-user] [JBoss Seam] - drools rule file.

tony.herstell@gmail.com do-not-reply at jboss.com
Fri Feb 9 14:55:05 EST 2007


I get this warning:


  | cvc-complex-type.2.3: Element 'drools:rule-files' cannot have character [children], because the  type's content type is element-only.
  | 

when using


  | <components xmlns="http://jboss.com/products/seam/components"
  |             xmlns:core="http://jboss.com/products/seam/core"
  |             xmlns:security="http://jboss.com/products/seam/security"
  |             xmlns:drools="http://jboss.com/products/seam/drools"
  |             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  |             xsi:schemaLocation=
  |                 "http://jboss.com/products/seam/core http://jboss.com/products/seam/core-1.1.xsd 
  |                  http://jboss.com/products/seam/components http://jboss.com/products/seam/components-1.1.xsd
  |                  http://jboss.com/products/seam/security http://jboss.com/products/seam/security-1.1.xsd
  |                  http://jboss.com/products/seam/drools http://jboss.com/products/seam/drools-1.1.xsd">
  | 
  |     <component name="org.jboss.seam.core.init">
  |         <property name="debug">true</property>
  |         <property name="myFacesLifecycleBug">false</property>
  |         <property name="jndiPattern">risingstars/#{ejbName}/local</property>
  |     </component>
  |     
  |     <!-- 120 second conversation timeout -->
  |     <component name="org.jboss.seam.core.manager">
  |         <property name="conversationTimeout">120000</property>
  |     </component>
  |     
  |     <component class="org.jboss.seam.core.Ejb" 
  |            installed="false"/>
  | 
  | 	<!-- Security -->
  | 	<security:identity authenticate-method="#{authenticationController.authenticate}"/>
  | 	
  | 	<drools:rule-base name="securityRules">
  | 		<drools:rule-files>/META-INF/security-rules.drl</drools:rule-files>
  | 	</drools:rule-base>
  | 	
  | </components>
  | 


Is this expected?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013847#4013847

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013847



More information about the jboss-user mailing list