Exactly. Guvnor is a little bit lenient as it is able to look at the DSL itself rather
than just the DSRL.
I use DSL to support rules being written in the guided editor too. But I tend to find
it's still worth creating a JUnit test which loads the DSL and a test DSRL file
containing a rule for each pattern in your DSL. The rules don't need to do much, but
it ensures that your DSL is generating valid DRL.
Steve
On 11 Feb 2013, at 16:45, rjr201 <rich.j.riley(a)gmail.com> wrote:
Yes, that's a good point. I guess the confusion arises in the way
the guided
editor creates two separate input boxes, one for the fact_name and one for
the fact_label. I didn't think about the DSRL that the Guided Editor is
(presumably) using behind the scenes. I guess the DSRL has no concept of the
input boxes the user used to input the values. It just takes them and
inserts them blindly into the DSRL.
Thanks for your help.
Rich.
--
View this message in context:
http://drools.46999.n3.nabble.com/DSL-Bug-tp4022209p4022217.html
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users