[rules-users] XML to DRL

Bruno Freudensprung bruno.freudensprung at temis.com
Wed Jan 12 03:26:51 EST 2011


Hi,

I don't know if it is related but it reminds me a problem I had with the 
changet-set XML.
Drools 5.1 documentation mentions (example 3.8):

<change-set xmlns='http://drools.org/drools-5.0/change-set'
    xmlns:xs='http://www.w3.org/2001/XMLSchema-instance'
    xs:schemaLocation='http://drools.org/drools-5.0/change-set*.xsd* 
http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk/drools-api/src/main/resources/change-set-1.0.0.xsd'>
 
   ....

</change-set>

But it refused to work until I changed it to (please note the removal):

<change-set xmlns="http://drools.org/drools-5.0/change-set"
    xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
    xs:schemaLocation="http://drools.org/drools-5.0/change-set     
http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk/drools-api/src/main/resources/change-set-1.0.0.xsd">
 
   ....

</change-set>

Hope that helps,

Bruno.

T-Otte a écrit :
> Sry i am new to this mailing list system.
> Since my edit doesn't get send to the mailing list i will mention it again:
>
> The output .drl gets created and looks valid despite the errors.
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20110112/57e29bc0/attachment.html 


More information about the rules-users mailing list