Re: [rules-users] [rules-dev] Technical Rules

2010-09-14 Thread Leonardo Gomes
I might be wrong, but I think DRL - BRL is still not possible. Just had a look at org.drools.ide.common.server.util.BRDRLPersistence, and we have the following: public RuleModel unmarshal(String str) { throw new UnsupportedOperationException( Still not possible to

Re: [rules-users] [rules-dev] Technical Rules

2010-09-14 Thread Wolfgang Laun
You are right, of course. The BRL editor has its own XML format. I just wonder whether going through a DrlParser - DrlDumper cycle might produce a sufficiently well-behaved DRL text that could be easily enough transformed to the BRL XML. But nothing of this is in the stable API, so it would be

Re: [rules-users] [rules-dev] Technical Rules

2010-09-14 Thread Leonardo Gomes
The thing is that, afaik, the DrlParser in itself doesn't give you something that you can use to generate the BRL XML, even for a well-behaved DRL. You would have to do some sort of model-to-model transformation that would have RuleModel as an outcome. With the RuleModel at hand you can easily

Re: [rules-users] [rules-dev] Technical Rules

2010-09-14 Thread Mark Proctor
On 14/09/2010 21:17, Leonardo Gomes wrote: The thing is that, afaik, the DrlParser in itself doesn't give you something that you can use to generate the BRL XML, even for a well-behaved DRL. You would have to do some sort of model-to-model transformation that would have RuleModel as an

Re: [rules-users] [rules-dev] Technical Rules

2010-09-14 Thread Wolfgang Laun
2010/9/14 Mark Proctor mproc...@codehaus.org Exactly, we don't want to mature and promote a proprietary XML and waste the time and create the confusion from not following a standard. Any XML standard for rules and especially production system rules is way behind what systems like Drools,

Re: [rules-users] [rules-dev] Technical Rules

2010-09-13 Thread Wolfgang Laun
There is a short hint in the Expert Manual, subsection 4.11.3, where conversion between DRL and XML using classes such as DrlParser and XmlDumper is discussed. A .brk is just the native Drools XML format. -W On 14 September 2010 01:17, Leonardo Gomes leonardo.f.go...@gmail.comwrote: Hi Amisha,