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

sonytvpm at gmail.com sonytvpm at gmail.com
Thu Aug 26 00:53:57 EDT 2010


Following code will work without Any issues it's working for me
I am using netbeans 6.9

Sent from my iPod

On Aug 26, 2010, at 11:55 AM, Mark Proctor <mproctor at codehaus.org> wrote:

>  I don't know what the problem is there, i'd probably need a unit test 
> to fix it... I'm working on other things at the moment, so if someone 
> can work on a patch for this I'll apply it.
> 
> Mark
> On 26/08/2010 02:32, sony.john at kie.com.sg wrote:
>> 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.
>> _______________________________________________
>> rules-users mailing list
>> rules-users at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-users
>> 
>> 
> 
> 
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users




More information about the rules-users mailing list