[rules-dev] Convert drl to brl

Michael Neale michael.neale at gmail.com
Tue Sep 14 19:01:51 EDT 2010


once there is a complete tool-friendly XML (based on RuleML or similar) - at
that point it might be reasonable to have a tool that translates
bi-directionally between drl and the RuleML (which the guided editor could
use) - even in that case there probably would be less information in the drl
to make it GUI editor friendly (but for many cases it could be done).

If you have a specific set of DRLs that follow certain common patterns - you
could do an ad-hoc translator now - that wouldn't be hard, but as mark said
- this is an "internal" format and not documented outside of the code, so be
careful.

On Wed, Sep 15, 2010 at 6:27 AM, Mark Proctor <mproctor at codehaus.org> wrote:

>  On 14/09/2010 19:18, ronaldzo30 wrote:
> > I was wondering if there is a schema for the brl xml so that we can
> > validate our xml to make sure it is going to work in Guvnor.
> >
> > I have done some research on tools to convert drl files to brl but
> haven't
> > found anything yet, if there is one please let me know.
> >
> > In the mean time an schema for the xml that is used for business rules
> (brl)
> > files is very appreciated.
> There is no schema for BRL, and it's considered an "internal" format, I
> think it's just an xstream dump or something. The plan is to move to
> ruleml, see archive for previous emails on this. Also remember not all
> of DRL is supported in the guided editor.
>
> What I'd do is look at the DrlDumper for an example of how to read in
> DRL. Then just visit it and "dump" something that works with the guided
> editor. If you get it to work, then submit a patch :)
>
> Mark
> > Thanks in advance,
> >
> > Ronald
> > -- View this message in context:
> >
> http://drools-java-rules-engine.46999.n3.nabble.com/Convert-drl-to-brl-tp1474694p1474694.html
> > Sent from the Drools - Dev mailing list archive at Nabble.com.
> > ____________________________________
>
>
> _______________________________________________
> rules-dev mailing list
> rules-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-dev
>



-- 
Michael D Neale
home: www.michaelneale.net
blog: michaelneale.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-dev/attachments/20100915/1c6c27b8/attachment.html 


More information about the rules-dev mailing list