Hi,
Hi,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.My first attempt was based on the snippet I found here: http://downloads.jboss.com/drools/docs/5.0.1.26597.FINAL/drools-expert/html/ch03.html#d0e933<?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:classification.dsl' type='DSL' /><resource source='file:classification.drl' type='DSLR' /></add></change-set>but I received the following error:(null: 4, 78): SchemaLocation: schemaLocation value = 'http://drools.org/drools-5.0/change-set.xsd' must have even number of URI's.(null: 4, 78): cvc-elt.1: Cannot find the declaration of element 'change-set'.Then, I found the following old post in the mailing list: http://drools-java-rules-engine.46999.n3.nabble.com/changset-xml-error-when-running-Knowledge-Agent-td182469.htmlwhere it was suggested to"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'"So I changed my file to:<?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 drools-change-set-5.0.xsd' ><add><resource source='file:classification.dsl' type='DSL' /><resource source='file:classification.dslr' type='DSLR' /></add></change-set>but now I receive the following errors:(null: 4, 100): schema_reference.4: Failed to read schema document 'drools-change-set-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.(null: 4, 100): cvc-elt.1: Cannot find the declaration of element 'change-set'.(null: 5, 9): schema_reference.4: Failed to read schema document 'drools-change-set-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.(null: 6, 63): schema_reference.4: Failed to read schema document 'drools-change-set-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.(null: 7, 65): schema_reference.4: Failed to read schema document 'drools-change-set-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.What am I missing?Thanks.Raf
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users