[rules-users] Problems with change-set xsd
Asif Iqbal
Asif.Iqbal at infor.com
Thu Nov 19 11:48:10 EST 2009
Thanks,
I tried that, now I have the following error:
schema_reference.4: Failed to read schema document 'null', 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>.
My 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 http://drools.org/drools-5.0/change-set.xsd">
<add>
<resource source='file://rules/com/test/' type='DRL'/>
</add>
</change-set>
________________________________
From: rules-users-bounces at lists.jboss.org [mailto:rules-users-bounces at lists.jboss.org] On Behalf Of David Sinclair
Sent: 19 November 2009 16:27
To: Rules Users List
Subject: Re: [rules-users] Problems with change-set xsd
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 at infor.com<mailto:Asif.Iqbal at 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 at lists.jboss.org<mailto:rules-users at lists.jboss.org>
https://lists.jboss.org/mailman/listinfo/rules-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20091119/25f7d29b/attachment.html
More information about the rules-users
mailing list