[rules-users] Schema Error with Drools spring xsd

Mark Proctor mproctor at codehaus.org
Mon Sep 20 11:21:30 EDT 2010


  We do not maintain publicly accessible schemas. So take the xsds from 
the jar and host them somewhere locally and make the schemaLocation 
referenec that.

Mark
On 20/09/2010 15:35, Evert Penninckx wrote:
> Hi
>
> I had a similar problem. Since the drools jars contain the xsd I tried
> referring to them with "http://drools.org/schema/drools-spring-1.0.0.xsd".
> Didn't work. Might be because spring.schemas in
> drools-container/drools-spring/src/main/resources/META-INF has not been
> updated. If I refer to drools-spring.xsd it's solved.
>
> -Evert
>
>
> <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:tx="http://www.springframework.org/schema/tx"
>         xmlns:util="http://www.springframework.org/schema/util"
>         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/aop
>             http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
>             http://www.springframework.org/schema/context
>
> http://www.springframework.org/schema/context/spring-context-3.0.xsd
>             http://www.springframework.org/schema/tx
>             http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
>             http://www.springframework.org/schema/util
>             http://www.springframework.org/schema/util/spring-util-3.0.xsd
>             http://drools.org/schema/drools-spring
>             http://drools.org/schema/drools-spring.xsd">
>





More information about the rules-users mailing list