[rules-users] Referenced file contains errors (http://drools.org/schema/drools-spring.xsd)

sony.john at kie.com.sg sony.john at kie.com.sg
Wed Aug 25 21:32:22 EDT 2010


Hi,
I used spring 3.0 with drools 5.1

<?xml version="1.0" encoding="windows-1252"?>
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:context="http://www.springframework.org/schema/context"
xmlns:drools="http://drools.org/schema/drools-spring"
       xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
          http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.0.xsd
           http://drools.org/schema/drools-spring
http://drools.org/schema/drools-spring.xsd
">

 <drools:resource id="resource1" type="DRL"
source="classpath:springtest.drl"/>
    <drools:resource id="resource2" type="DRL"
source="classpath:springtest1.drl"/>
    <drools:kbase id="kbase1">
        <drools:resources>
            <drools:resource type="DRL" source="classpath:springtest.drl"/>
            <drools:resource ref="resource1"/>
             <drools:resource ref="resource2"/>
             </drools:resources>
    </drools:kbase>
    <drools:ksession id="ksession2" type="stateful" kbase="kbase1" />


                                                                           
             nanic23                                                       
             <nanic23 at hotmail.                                             
             com>                                                       To 
             Sent by:                  rules-users at lists.jboss.org         
             rules-users-bounc                                          cc 
             es at lists.jboss.or                                             
             g                                                     Subject 
                                       [rules-users] Referenced file       
                                       contains errors                     
             08/26/2010 01:05          (http://drools.org/schema/drools-sp 
             AM                        ring.xsd)                           
                                                                           
                                                                           
             Please respond to                                             
             Rules Users List                                              
             <rules-users at list                                             
               s.jboss.org>                                                
                                                                           
                                                                           





I wasn't getting this error before but all of a sudden eclipse started
showing this error message.
I'm using drools 5.1.1 (it also happens with 5.1.0).
Here is how my schema definition looks:

http://drools-java-rules-engine.46999.n3.nabble.com/file/n1335740/drools-xsd.jpg


and here is the eclipse error message [ 10, 1 for each flow I have :) ]

http://drools-java-rules-engine.46999.n3.nabble.com/file/n1335740/drools-xsd-error-message.jpg


Drools Spring integration is working fine and all my flows run without
problems but nonetheless the error messages are annoying and I would like
to
have a clean project.

I saw in other posts that a couple of ppl had the same problem. Anyone has
been able to solve it?

I appreciate the comments!

Thanks,

Nick.
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Referenced-file-contains-errors-http-drools-org-schema-drools-spring-xsd-tp1335740p1335740.html

Sent from the Drools - User mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________


Information in this e-mail is intended solely for the person(s) to whom it is addressed and may contain confidential information. If you are not the intended recipient, please notify the sender and delete this e-mail message and any other record of it from your system immediately. You should not disclose or disseminate the information to any person, use it for any purpose or store or copy the information in any form or manner.  



More information about the rules-users mailing list