12 Replies Latest reply on Feb 11, 2007 3:42 PM by ypasmk

    drools rule file.

    tony.herstell1

      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?