[rules-users] drools 5.0 .drl as an xml file

Abarna Ramachandran rabarna at archstone.in
Mon Jul 20 00:25:28 EDT 2009


Hi
 I am a newbie to drools. I would like to convert an existing .drl file in
drools2.0 format to drools5.0 format.
The existing file name is exmpldrools2.0.drl but it is in xml format.
But when i just convert the contents of it to drools5.0 xml format and try
to save it as exmpldrools5.0.drl and try to load the .drl file using
knowledgebuilder i get the error,
"[ERR 101] Line 1:0 no viable alternative at input '<' "  . It throws error
in the first line which is <?xml version="1.0" encoding="UTF-8"?>.
Please help me solve this problem.
How do i use xml files instead of .drl files and load the rules?
thanks
ABRA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20090720/e05e7a38/attachment.html 


More information about the rules-users mailing list