Hi,
<div>I am trying to use a change-set file to load my DSL and DSLR resources, but I am not able to get it working.</div><div><br></div><div>My first attempt was based on the snippet I found here: <a href="http://downloads.jboss.com/drools/docs/5.0.1.26597.FINAL/drools-expert/html/ch03.html#d0e933">http://downloads.jboss.com/drools/docs/5.0.1.26597.FINAL/drools-expert/html/ch03.html#d0e933</a></div>

<div><br></div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div><div>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;</div><div>&lt;change-set xmlns=&#39;<a href="http://drools.org/drools-5.0/change-set">http://drools.org/drools-5.0/change-set</a>&#39;</div>

<div>            xmlns:xs=&#39;<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>&#39;</div><div>            xs:schemaLocation=&#39;<a href="http://drools.org/drools-5.0/change-set.xsd">http://drools.org/drools-5.0/change-set.xsd</a>&#39; &gt;</div>

<div>   &lt;add&gt;</div><div>      &lt;resource source=&#39;file:classification.dsl&#39; type=&#39;DSL&#39; /&gt;</div><div>      &lt;resource source=&#39;file:classification.drl&#39; type=&#39;DSLR&#39; /&gt;</div><div>

   &lt;/add&gt;</div><div>&lt;/change-set&gt;</div></div><div><br></div><div>but I received the following error:</div><div>(null: 4, 78): SchemaLocation: schemaLocation value = &#39;<a href="http://drools.org/drools-5.0/change-set.xsd">http://drools.org/drools-5.0/change-set.xsd</a>&#39; must have even number of URI&#39;s.</div>

<div><div>(null: 4, 78): cvc-elt.1: Cannot find the declaration of element &#39;change-set&#39;.</div></div><div><br></div><div>Then, I found the following old post in the mailing list: <a href="http://drools-java-rules-engine.46999.n3.nabble.com/changset-xml-error-when-running-Knowledge-Agent-td182469.html">http://drools-java-rules-engine.46999.n3.nabble.com/changset-xml-error-when-running-Knowledge-Agent-td182469.html</a></div>

<div>where it was suggested to </div><div>&quot;<span class="Apple-style-span" style="font-family: verdana, geneva, helvetica, arial, sans-serif; font-size: 13px; border-collapse: collapse; "><span>Just replace </span><b><span>xs:<b class="highlight" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 102); background-position: initial initial; background-repeat: initial initial; ">schemaLocation</b>=&#39;</span></b><a href="http://drools.org/drools-5.0/change-set.xsd" target="_blank" rel="nofollow" link="external" style="font-size: 1em; "><b><span>http://<b class="highlight" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 102); background-position: initial initial; background-repeat: initial initial; ">drools</b>.org/<b class="highlight" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 102); background-position: initial initial; background-repeat: initial initial; ">drools</b>-5.0/<b class="highlight" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 102); background-position: initial initial; background-repeat: initial initial; ">change</b>-<b class="highlight" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 102); background-position: initial initial; background-repeat: initial initial; ">set</b>.<b class="highlight" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 102); background-position: initial initial; background-repeat: initial initial; ">xsd</b></span></b></a><b><span>&#39;</span></b><span> by </span><b><span>xs:<b class="highlight" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 102); background-position: initial initial; background-repeat: initial initial; ">schemaLocation</b>=&#39;</span><a href="http://drools.org/drools-5.0/change-set" target="_top" rel="nofollow" link="external" style="font-size: 1em; "><span>http://<b class="highlight" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 102); background-position: initial initial; background-repeat: initial initial; ">drools</b>.org/<b class="highlight" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 102); background-position: initial initial; background-repeat: initial initial; ">drools</b>-5.0/<b class="highlight" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 102); background-position: initial initial; background-repeat: initial initial; ">change</b>-<b class="highlight" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 102); background-position: initial initial; background-repeat: initial initial; ">set</b></span></a><span> <b class="highlight" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 102); background-position: initial initial; background-repeat: initial initial; ">drools</b>-<b class="highlight" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 102); background-position: initial initial; background-repeat: initial initial; ">change</b>-<b class="highlight" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 102); background-position: initial initial; background-repeat: initial initial; ">set</b>-5.0.<b class="highlight" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 102); background-position: initial initial; background-repeat: initial initial; ">xsd</b>&#39;</span></b></span>&quot;</div>

<div><br></div><div>So I changed my file to:</div><div><div>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;</div><div>&lt;change-set xmlns=&#39;<a href="http://drools.org/drools-5.0/change-set">http://drools.org/drools-5.0/change-set</a>&#39;</div>

<div>            xmlns:xs=&#39;<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>&#39;</div><div>            xs:schemaLocation=&#39;<a href="http://drools.org/drools-5.0/change-set">http://drools.org/drools-5.0/change-set</a> drools-change-set-5.0.xsd&#39; &gt;</div>

<div>   &lt;add&gt;</div><div>      &lt;resource source=&#39;file:classification.dsl&#39; type=&#39;DSL&#39; /&gt;</div><div>      &lt;resource source=&#39;file:classification.dslr&#39; type=&#39;DSLR&#39; /&gt;</div><div>

   &lt;/add&gt;</div><div>&lt;/change-set&gt;</div></div><meta http-equiv="content-type" content="text/html; charset=utf-8"><meta http-equiv="content-type" content="text/html; charset=utf-8"><div><br></div><div>but now I receive the following errors:</div>

<div><div>(null: 4, 100): schema_reference.4: Failed to read schema document &#39;drools-change-set-5.0.xsd&#39;, because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not &lt;xsd:schema&gt;.</div>

<div>(null: 4, 100): cvc-elt.1: Cannot find the declaration of element &#39;change-set&#39;.</div><div>(null: 5, 9): schema_reference.4: Failed to read schema document &#39;drools-change-set-5.0.xsd&#39;, because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not &lt;xsd:schema&gt;.</div>

<div>(null: 6, 63): schema_reference.4: Failed to read schema document &#39;drools-change-set-5.0.xsd&#39;, because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not &lt;xsd:schema&gt;.</div>

<div>(null: 7, 65): schema_reference.4: Failed to read schema document &#39;drools-change-set-5.0.xsd&#39;, because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not &lt;xsd:schema&gt;.</div>

</div><div><br></div><div>What am I missing?</div><div><br></div><div>Thanks.</div><div>Raf</div>