Hi,
Just replace xs:schemaLocation='http://drools.org/drools-5.0/change-set.xsd' by xs:schemaLocation='http://drools.org/drools-5.0/change-set drools-change-set-5.0.xsd'
Right now the Knowledge Agent is no using the schema to validate the change-set. Now you will see an error/warning like "Failed to read schema document 'drools-change-set-5.0.xsd'", but it will run ok (As long as your changeset .xml file is well formed).

Best,

On Tue, Feb 2, 2010 at 4:50 AM, Wing <wing.tang@amdocs.com> wrote:

Hi,

I am getting the following error below when I run Drools Knowledge Agent
with a changeset:


(null: 3, 79): SchemaLocation: schemaLocation value =
'http://drools.org/drools-5.0/change-set.xsd' must have even number of
URI's.
(null: 3, 79): cvc-elt.1: Cannot find the declaration of element
'change-set'.

My changeset.xml looks like:

<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:///C:/temp/Sample.drl' type='DRL' />
</add>
</change-set>


What is wrong?

Thanks in advance for your help!

Wing Tang
--
View this message in context: http://n3.nabble.com/changset-xml-error-when-running-Knowledge-Agent-tp182469p182469.html
Sent from the Drools - User mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users



--
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Esteban Aliverti