Your xs:schemaLocation is missing the namespace for the XSD

should be xs:schemaLocation=""http://drools.org/drools-5.0/change-set http://drools.org/drools-5.0/change-set.xsd"

On Thu, Nov 19, 2009 at 11:20 AM, Asif Iqbal <Asif.Iqbal@infor.com> wrote:
Hi all,

I have the following change set xml:

<?xml version="1.0" encoding="UTF-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">
       <add>
               <resource source='file://rules/com/test/' type='DRL'/>
       </add>
</change-set>

All the rule files exist under the package rules/com/test.

Every time I run it gives me the following errors

'http://drools.org/drools-5.0/change-set.xsd' must have even number of URI's.

Cannot find the declaration of element 'change-set'


Anyone have any ideas?

thanks

_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users