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 <[email protected]> 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
> [email protected]
> https://lists.jboss.org/mailman/listinfo/rules-dev
>



-- 
Michael D Neale
home: www.michaelneale.net
blog: michaelneale.blogspot.com
_______________________________________________
rules-dev mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-dev

Reply via email to